/* ==========================================
   QUANTA Website - Design System
   ========================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   CSS Custom Properties - Light Theme
   ========================================== */
:root {
  /* Brand Colors */
  --brand-primary: #2BA4E5;
  --brand-primary-dark: #1a8fd0;
  --brand-primary-light: #5bbcf0;
  --brand-gradient: linear-gradient(135deg, #2BA4E5 0%, #1a6fb5 100%);
  --brand-gradient-hover: linear-gradient(135deg, #3db5f5 0%, #2BA4E5 100%);
  
  /* Accent Colors */
  --accent-green: #27ae60;
  --accent-purple: #9b59b6;
  --accent-orange: #f39c12;
  --accent-red: #e74c3c;
  
  /* Theme Colors - Light */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #f0f2f5;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fa;
  --bg-nav: rgba(255, 255, 255, 0.92);
  --bg-hero: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  --bg-footer: #1a1a2e;
  
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-tertiary: #888;
  --text-inverse: #ffffff;
  
  --border-color: #e0e0e0;
  --border-light: #f0f0f0;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.12);
  
  /* Pricing */
  --pricing-popular-bg: linear-gradient(135deg, #2BA4E5 0%, #1a6fb5 100%);
  --pricing-popular-shadow: 0 8px 40px rgba(43, 164, 229, 0.3);
  --pricing-card-bg: var(--bg-card);
  
  /* Typography */
  --font-ar: 'Noto Kufi Arabic', sans-serif;
  --font-en: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* ==========================================
   Dark Theme (System Preference)
   ========================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #0d0d1a;
    --bg-secondary: #141428;
    --bg-tertiary: #1a1a33;
    --bg-card: #1a1a33;
    --bg-card-hover: #222244;
    --bg-nav: rgba(13, 13, 26, 0.92);
    --bg-hero: linear-gradient(180deg, #0d0d1a 0%, #141428 100%);
    --bg-footer: #080812;
    
    --text-primary: #f0f0f5;
    --text-secondary: #b0b0c0;
    --text-tertiary: #707088;
    --text-inverse: #ffffff;
    
    --border-color: #2a2a44;
    --border-light: #1e1e3a;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-card: 0 4px 24px rgba(0,0,0,0.3);
    --shadow-card-hover: 0 8px 40px rgba(43, 164, 229, 0.15);
    
    --pricing-popular-shadow: 0 8px 40px rgba(43, 164, 229, 0.2);
    --pricing-card-bg: #1e1e38;
  }
}

/* ==========================================
   Reset & Base
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-ar);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body[dir="ltr"] {
  font-family: var(--font-en);
}

a {
  text-decoration: none;
  color: var(--brand-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand-primary);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--brand-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.lang-switch:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.nav-cta {
  background: var(--brand-gradient);
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(43, 164, 229, 0.3);
}

.nav-cta:hover {
  box-shadow: 0 4px 20px rgba(43, 164, 229, 0.4);
  transform: translateY(-1px);
  color: white !important;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(43, 164, 229, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(43, 164, 229, 0.08);
  border: 1px solid rgba(43, 164, 229, 0.2);
  color: var(--brand-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-title .highlight {
  color: var(--brand-primary);
  position: relative;
  display: block;
  font-size: 1.25em;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--brand-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(43, 164, 229, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 30px rgba(43, 164, 229, 0.5);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-mockup {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16/10;
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.hero-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ==========================================
   Stats Bar
   ========================================== */
.stats-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--brand-primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* ==========================================
   Section Common
   ========================================== */
.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(43, 164, 229, 0.08);
  color: var(--brand-primary);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================
   Features
   ========================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(43, 164, 229, 0.12); color: #2BA4E5; }
.feature-icon.green { background: rgba(39, 174, 96, 0.12); color: #27ae60; }
.feature-icon.purple { background: rgba(155, 89, 182, 0.12); color: #9b59b6; }
.feature-icon.orange { background: rgba(243, 156, 18, 0.12); color: #f39c12; }
.feature-icon.red { background: rgba(231, 76, 60, 0.12); color: #e74c3c; }
.feature-icon.teal { background: rgba(0, 188, 212, 0.12); color: #00bcd4; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   Screenshots Section
   ========================================== */
.screenshots-container {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.screenshots-list {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screenshot-tab {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: right;
  transition: all var(--transition-fast);
}

body[dir="ltr"] .screenshot-tab {
  text-align: left;
}

.screenshot-tab:hover {
  background: var(--bg-card-hover);
  border-color: var(--brand-primary);
  transform: translateX(-4px);
}

body[dir="ltr"] .screenshot-tab:hover {
  transform: translateX(4px);
}

.screenshot-tab.active {
  background: var(--brand-primary);
  color: white;
  border-color: var(--brand-primary);
  box-shadow: 0 4px 15px rgba(43, 164, 229, 0.3);
  transform: translateX(-8px);
}

body[dir="ltr"] .screenshot-tab.active {
  transform: translateX(8px);
}

.screenshot-tab.active .tab-icon {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.screenshot-tab.active .tab-text p {
  color: rgba(255, 255, 255, 0.9);
}

.tab-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(43, 164, 229, 0.1);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.tab-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: inherit;
}

.tab-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.screenshots-preview {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.screenshots-preview img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: opacity 0.2s ease;
}

.screenshots-preview img.fade-out {
  opacity: 0;
}

/* ==========================================
   Pricing
   ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--pricing-card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.popular {
  background: var(--pricing-popular-bg);
  color: white;
  border-color: transparent;
  box-shadow: var(--pricing-popular-shadow);
  transform: scale(1.04);
}

.pricing-card.popular:hover {
  transform: scale(1.06) translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: white;
  padding: 4px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card .plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card .plan-devices {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 20px;
}

.pricing-card .plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.pricing-card .plan-price .currency {
  font-size: 1.2rem;
  font-weight: 600;
}

.pricing-card .plan-period {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 8px;
}

.pricing-card .plan-renewal {
  font-size: 0.82rem;
  opacity: 0.65;
  margin-bottom: 24px;
}

.pricing-card .plan-features {
  list-style: none;
  text-align: start;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pricing-card .plan-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-card .plan-features li::before {
  content: '✓';
  font-weight: 800;
  color: var(--accent-green);
  font-size: 1rem;
}

.pricing-card.popular .plan-features li::before {
  color: #7af5a0;
}

.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
  border: none;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.pricing-card .btn-pricing {
  background: var(--brand-gradient);
  color: white;
}

.pricing-card .btn-pricing:hover {
  box-shadow: 0 4px 20px rgba(43, 164, 229, 0.3);
}

.pricing-card.popular .btn-pricing {
  background: white;
  color: var(--brand-primary);
}

.pricing-card.popular .btn-pricing:hover {
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.pricing-enterprise {
  text-align: center;
  margin-top: 40px;
  padding: 32px;
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
}

.pricing-enterprise h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-enterprise p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* ==========================================
   Download / CTA
   ========================================== */
.cta-section {
  padding: var(--section-padding);
  text-align: center;
  background: var(--brand-gradient);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-white {
  background: white;
  color: var(--brand-primary);
  padding: 16px 40px;
  font-weight: 800;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: var(--brand-primary-dark);
}

/* ==========================================
   Contact
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition-normal);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact-card a {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--bg-footer);
  color: #ccc;
  padding: 50px 0 30px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: #999;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-primary);
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid #2a2a44;
  font-size: 0.85rem;
  color: #666;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-nav);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .navbar .container {
    height: 60px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-cta {
    padding: 6px 14px;
    font-size: 0.85rem;
  }
  .lang-switch {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
  .nav-logo {
    font-size: 1.25rem;
    gap: 8px;
  }
  .nav-logo img, .nav-logo svg {
    width: 28px;
    height: 28px;
  }

  /* Scale Down Everything */
  .hero { padding-top: 100px; padding-bottom: 50px; }
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.95rem; line-height: 1.6; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .hero-badge { margin-bottom: 16px; padding: 4px 12px; font-size: 0.75rem; }
  
  .section { padding: 50px 0; }
  .section-title { font-size: 1.4rem; margin-bottom: 12px; }
  .section-desc { font-size: 0.9rem; }
  .section-tag { margin-bottom: 12px; padding: 4px 12px; font-size: 0.75rem; }
  
  .stat-number { font-size: 1.6rem; }
  .stat-label { font-size: 0.8rem; }

  /* Feature Grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .feature-card {
    padding: 16px 12px;
  }
  .feature-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .feature-card h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }
  .feature-card p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  /* Screenshots */
  .screenshots-container {
    flex-direction: column-reverse;
    gap: 16px;
  }
  .screenshots-preview {
    width: 100%;
    min-height: 200px;
    padding: 8px;
  }
  .screenshots-list {
    flex: none;
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .screenshot-tab {
    flex: 0 0 220px;
    padding: 10px;
    gap: 10px;
    scroll-snap-align: start;
    transform: none !important;
  }
  .tab-icon { width: 36px; height: 36px; font-size: 1.2rem; }
  .tab-text h4 { font-size: 0.95rem; }
  .tab-text p { font-size: 0.75rem; }

  /* Pricing Grid */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
    margin: 0;
  }
  .pricing-card {
    padding: 16px 12px;
  }
  .pricing-card .plan-price { font-size: 1.6rem; margin-bottom: 2px; }
  .pricing-card .plan-name { font-size: 0.95rem; }
  .pricing-card .plan-devices, 
  .pricing-card .plan-period, 
  .pricing-card .plan-renewal { 
    font-size: 0.75rem; 
    margin-bottom: 8px; 
  }
  .pricing-card .plan-features { margin-bottom: 16px; }
  .pricing-card .plan-features li { padding: 4px 0; font-size: 0.8rem; }
  .btn-pricing { padding: 10px; font-size: 0.85rem; }
  .pricing-badge { font-size: 0.7rem; padding: 2px 10px; top: -10px; }

  .pricing-card.popular {
    transform: scale(1);
  }
  .pricing-card.popular:hover {
    transform: translateY(-2px);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
