:root {
  color-scheme: light;

  --primary-color: #0052FF;
  --primary-900: #0B1220;
  --primary-800: #111827;
  --dark-color: #0B1220;
  --text-color: #2C3344;
  --text-light-color: #6B7280;
  --surface-color: #FFFFFF;
  --background-color: #F7F8FA;
  --border-color: #E5E7EB;
  --glass: rgba(255, 255, 255, 0.08);
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-1: 8px;
  --radius-2: 12px;
  --radius-3: 18px;
  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; }

body {
  background: var(--surface-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--surface-color);
  font-size: 16px;
  line-height: 1.7;
  /* Prevent iOS Safari zoom on input focus */
  -webkit-text-size-adjust: 100%;
}

/* Dark theme */
:root.dark {
  color-scheme: dark;
  --surface-color: #0b1220;
  --background-color: #0c1424;
  --text-color: #d1d5db;
  --text-light-color: #9ca3af;
  --border-color: #24304a;
}

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 24px; 
  width: 100%;
}

/* Header & Nav */
.main-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}
.main-header nav { display: flex; justify-content: space-between; align-items: center; height: 72px; gap: 16px; }
.logo img { height: 40px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary-color); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.cta-button { background: var(--primary-color); color: #fff; border: none; padding: 10px 18px; border-radius: var(--radius-1); font-weight: 600; cursor: pointer; transition: transform 0.25s, background 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.cta-button:hover { transform: translateY(-2px); background: #0048E0; }
.cta-button.ghost { background: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
.cta-button-large { display: inline-block; background: var(--primary-color); color: white; padding: 14px 28px; border-radius: var(--radius-2); text-decoration: none; font-weight: 600; font-size: 18px; transition: transform 0.3s, box-shadow .3s; }
.cta-button-large.ghost { background: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); }
.cta-button-large:hover { transform: translateY(-3px); }
.glow { box-shadow: 0 0 0 rgba(0,82,255,0); position: relative; }
.glow:hover { box-shadow: 0 12px 30px rgba(0,82,255,.35); }
.nav-toggle { display: none; background: transparent; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: 96px 0 40px; overflow: hidden; background: linear-gradient(180deg, #F6F8FF 0%, #FFFFFF 70%); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(1000px 600px at 10% -10%, rgba(0,82,255,0.15), transparent), radial-gradient(1000px 600px at 90% 10%, rgba(0,82,255,0.12), transparent); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
.hero-content h1 { font-size: 56px; font-weight: 900; color: var(--dark-color); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
.hero-content .slogan { font-size: 20px; color: var(--primary-color); font-weight: 600; margin-top: 16px; }
.hero-content p { font-size: 18px; color: var(--text-light-color); margin-top: 18px; max-width: 640px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.trust-strip { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; color: var(--text-light-color); font-weight: 500; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; background: #F3F6FF; border: 1px solid #E6EBFF; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

.browser-window { border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-2); background: #fff; }
.browser-header { height: 36px; background-color: var(--border-color); display: flex; align-items: center; padding: 0 12px; }
.browser-header::before, .browser-header::after { content: ''; display: block; width: 12px; height: 12px; border-radius: 50%; background-color: #E0E0E0; margin-right: 8px; }
.browser-header::after { background-color: #C7C7C7; }
.browser-window img { display: block; width: 100%; height: auto; }
.screen-stack { position: relative; }
.phone-window { position: absolute; right: -24px; bottom: -24px; width: 240px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-2); border: 1px solid var(--border-color); }
.phone-window img { width: 100%; display: block; }
.glass { background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); }
.floating-badges { position: absolute; top: -10px; right: -10px; display: flex; flex-direction: column; gap: 10px; }
.floating-badges .badge { background: #0b1220; color: #fff; padding: 8px 12px; border-radius: 999px; font-size: 12px; box-shadow: var(--shadow-2); opacity: 0.95; }

/* Sections */
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 { font-size: 42px; font-weight: 800; color: var(--dark-color); margin: 0; }
.section-title p { font-size: 18px; color: var(--text-light-color); max-width: 700px; margin: 14px auto 0; }
.section-subtitle { display:flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-subtitle h3 { margin: 0; font-size: 24px; }

/* Features */
.features-section { padding: 96px 0; background: linear-gradient(180deg, #FFFFFF, #F7F8FA); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { border: 1px solid var(--border-color); border-radius: 16px; padding: 20px; background: #fff; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.feature-card::after { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,82,255,0.08), transparent 55%); transition: .2s; pointer-events: none; }
.feature-card h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--text-light-color); }

/* Feature Highlight (for AI section) */
.feature-highlight-card { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background-color: var(--background-color); border-radius: 24px; padding: 48px; margin-bottom: 64px; }
.feature-highlight-card h3 { font-size: 28px; font-weight: 800; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; color: var(--primary-color); }
.feature-highlight-card p { font-size: 16px; line-height: 1.8; color: var(--text-light-color); }
.feature-highlight-card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.feature-highlight-card li { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; font-weight: 500; }
.feature-highlight-card .feature-image img {
    width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-1);
    margin: 0 auto;
    display: block;
}

/* Gallery / Carousel */
.gallery { margin-top: 48px; }
.carousel { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--border-color); }
.carousel-track { display: flex; gap: 0; transition: transform 0.6s ease; }
.carousel-track img { width: 100%; height: auto; max-height: 520px; object-fit: contain; display: block; cursor: pointer; flex-shrink: 0; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(11,18,32,0.5); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; z-index: 10; }
.carousel-btn:hover { background: rgba(11,18,32,0.7); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* AI */
.ai-section { padding: 96px 0; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ai-card { border: 1px solid var(--border-color); border-radius: 16px; padding: 18px; background: linear-gradient(180deg, #f8fbff, #eef4ff); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.ai-card::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,82,255,0.08), transparent 55%); transition: .2s; pointer-events: none; }
.ai-card h4 { margin: 0 0 6px; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.ai-card p { margin: 0 0 8px; color: var(--text-light-color); font-size: 14px; }
.stat-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-block; background: #111827; color: #fff; padding: 2px 8px; border-radius: 999px; font-size: 12px; }

/* Platforms */
.platforms-section { padding: 96px 0; background-color: var(--background-color); }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.platform-card { position: relative; background: var(--surface-color); border-radius: 12px; text-align: center; padding: 20px; box-shadow: var(--shadow-1); transition: transform 0.25s, box-shadow .25s; border: 1px solid var(--border-color); overflow: hidden; }
.platform-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2); }
.platform-card img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 14px; }
.platform-card h4 { font-size: 18px; margin: 0 0 8px; }
.platform-card p { color: var(--text-light-color); margin: 0; }
.version-badge { position: absolute; top: 12px; left: 12px; font-size: 12px; padding: 4px 8px; border-radius: 999px; color: #fff; }
.version-badge.pro { background: linear-gradient(90deg, #8a2be2, #0052ff); }
.version-badge.oss { background: linear-gradient(90deg, #059669, #16a34a); }

/* Versions */
.versions-section { padding: 96px 0; background: linear-gradient(180deg, #FFFFFF, #F7F8FA); }
.versions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.version-card { position: relative; border: 1px solid var(--border-color); border-radius: 16px; padding: 24px; background: #fff; box-shadow: var(--shadow-1); transition: transform .25s, box-shadow .25s; overflow: hidden; }
.version-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.version-card .ribbon { position: absolute; top: 16px; right: -30px; transform: rotate(45deg); background: #111827; color: #fff; padding: 4px 40px; font-size: 12px; }
.version-card .ribbon-pro { background: linear-gradient(90deg, #8a2be2, #0052ff); }
.version-card .ribbon-enterprise { background: linear-gradient(90deg, #ef4444, #f97316); }
.vrows { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 6px; }
.vrow { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--border-color); }
.vrow:last-child { border-bottom: none; }
.vlabel { font-weight: 700; color: var(--dark-color); }
.vvalue { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; border: 1px solid var(--border-color); border-radius: 999px; padding: 2px 8px; font-size: 12px; background: #fff; }
.tag-off { background: #f9fafb; color: #9ca3af; border-style: dashed; }
@media (max-width: 640px) {
  .vrow { grid-template-columns: 72px 1fr; }
}

/* Security */
.security-section { padding: 96px 0; background: linear-gradient(180deg, #FFFFFF, #f6f8ff); }
.security-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.security-card { border: 1px solid var(--border-color); border-radius: 16px; padding: 18px; background: #fff; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.security-card::after { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,82,255,0.08), transparent 55%); transition: .2s; pointer-events: none; }
.security-card h4 { margin: 0 0 8px; display:flex; align-items:center; gap: 8px; font-size: 16px; }
.security-card ul { margin: 0; padding-left: 18px; color: var(--text-light-color); font-size: 14px; }
.security-card li { margin: 6px 0; }

/* Tech stack */
.tech-stack-section { padding: 96px 0; }
.tech-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
.tech-category { background: linear-gradient(180deg, #f8fbff, #eef4ff); padding: 24px; border-radius: 12px; border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.tech-category::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(0,82,255,0.08), transparent 50%); transition: .2s; pointer-events:none; }
.tech-category h4 { font-size: 20px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--dark-color); }
.tech-category ul { color: var(--text-light-color); margin: 0; padding-left: 20px; }
.tech-category li { margin-bottom: 10px; }

/* FAQ */
.faq-section { padding: 96px 0; background: linear-gradient(180deg, #FFFFFF 0%, #F6F8FF 100%); }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.faq-grid details { border: 1px solid var(--border-color); border-radius: 12px; padding: 14px 18px; background: #fff; box-shadow: var(--shadow-1); }
.faq-grid summary { cursor: pointer; font-weight: 700; color: var(--dark-color); }
.faq-grid p { margin: 10px 0 4px; color: var(--text-light-color); }

/* Footer */
.main-footer { padding: 80px 0; background: var(--dark-color); color: white; text-align: center; }
.main-footer h2 { font-size: 32px; margin: 0 0 18px; }
.footer-ctas { display: flex; justify-content: center; gap: 12px; margin-bottom: 24px; }
.footer-bottom { margin-top: 14px; padding-top: 18px; border-top: 1px solid #374151; color: #9CA3AF; }
.footer-bottom p { margin: 6px 0; }
.footer-bottom a { color: #9CA3AF; text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive - Mobile First Approach */
/* Mobile first: styles for mobile devices */
body {
  font-size: 15px; /* Slightly smaller base font for mobile */
  line-height: 1.6;
}

.container {
  padding: 0 16px; /* Less padding on mobile */
}

.main-header nav {
  height: 60px; /* Shorter header on mobile */
  padding: 0 16px;
}

.logo img {
  height: 32px; /* Smaller logo on mobile */
}

/* Hide desktop navigation by default on mobile */
.nav-links,
.nav-cta {
  display: none;
}

/* Show hamburger menu on mobile */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile menu styles */
.main-header.open .nav-links,
.main-header.open .nav-cta {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-color);
  padding: 16px;
  gap: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.main-header.open .nav-links {
  margin-bottom: 12px;
}

.main-header.open .nav-links a,
.main-header.open .nav-cta a,
.main-header.open .nav-cta .cta-button {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 12px;
  font-size: 16px;
}

/* Hero section adjustments for mobile */
.hero {
  padding: 60px 0 30px;
  text-align: center;
}

.hero-content h1 {
  font-size: 28px; /* Much smaller heading for mobile */
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-content .slogan {
  font-size: 16px;
  margin-top: 12px;
}

.hero-content p {
  font-size: 15px;
  margin-top: 16px;
}

.hero-ctas {
  flex-direction: column;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}

.cta-button-large {
  width: 100%;
  max-width: 300px;
  padding: 14px 20px;
  font-size: 16px;
  justify-content: center;
}

.trust-strip {
  justify-content: center;
  margin-top: 24px;
  gap: 10px;
}

.trust-strip span {
  font-size: 12px;
  padding: 5px 8px;
}

.hero-inner {
  grid-template-columns: 1fr;
  gap: 32px;
}

.phone-window {
  position: static;
  width: 180px; /* Smaller phone image */
  height: auto;
  margin: 0 auto;
  border-radius: 20px;
}

.screen-stack {
  display: flex;
  justify-content: center;
}

/* Section padding adjustments for mobile */
.features-section,
.ai-section,
.platforms-section,
.versions-section,
.security-section,
.tech-stack-section,
.faq-section {
  padding: 48px 0;
}

.section-title {
  margin-bottom: 32px;
}

.section-title h2 {
  font-size: 24px;
}

.section-title p {
  font-size: 15px;
}

/* Grid adjustments for mobile */
.features-grid,
.ai-grid,
.platforms-grid,
.versions-grid,
.security-grid,
.tech-stack-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Card adjustments for mobile */
.feature-card,
.ai-card,
.platform-card,
.version-card,
.security-card,
.tech-category {
  padding: 16px;
}

.feature-card h4,
.ai-card h4,
.platform-card h4,
.security-card h4,
.tech-category h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p,
.ai-card p,
.platform-card p,
.security-card p,
.tech-category p,
.tech-category li {
  font-size: 14px;
}

/* AI highlight section adjustments */
.feature-highlight-card {
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 20px;
  margin-bottom: 32px;
  border-radius: 12px;
}

.feature-highlight-card h3 {
  font-size: 20px;
  text-align: center;
}

.feature-highlight-card p,
.feature-highlight-card li {
  font-size: 14px;
}

.feature-highlight-card ul {
  margin: 12px 0 0;
  padding-left: 16px;
}

.feature-highlight-card .feature-image img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

/* Gallery adjustments */
.gallery {
  margin-top: 32px;
}

.section-subtitle {
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.section-subtitle h3 {
  font-size: 18px;
}

.carousel-track img {
  max-height: 250px;
}

.carousel-btn {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

.carousel-btn.prev {
  left: 8px;
}

.carousel-btn.next {
  right: 8px;
}

/* FAQ adjustments */
.faq-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq-grid details {
  padding: 14px 16px;
}

.faq-grid summary {
  font-size: 16px;
}

.faq-grid p {
  font-size: 14px;
  margin: 8px 0 0;
}

/* Footer adjustments */
.main-footer {
  padding: 48px 0 24px;
}

.main-footer h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.footer-ctas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-bottom {
  font-size: 13px;
  padding-top: 16px;
  margin-top: 24px;
}

.footer-bottom p {
  margin: 8px 0;
}

/* Modal adjustments for mobile */
.modal-content {
  margin: 15% auto;
  width: 90%;
  max-width: none;
  padding: 20px;
  border-radius: 10px;
}

.modal-content h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info {
  padding: 14px;
  border-radius: 8px;
  margin: 16px 0;
}

.contact-info p {
  font-size: 15px;
  margin: 10px 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-info strong {
  min-width: 0;
  margin-bottom: 2px;
}

#imageModal .modal-content {
  width: 95%;
  max-width: none;
  max-height: 80%;
}

#imageModal .modal-content img {
  max-height: 70vh;
}

.close {
  top: 10px;
  right: 12px;
  width: 26px;
  height: 26px;
  font-size: 20px;
}

#imageModal .close {
  top: 12px;
  right: 12px;
  font-size: 28px;
}

/* Tablet and larger devices */
@media (min-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .container {
    padding: 0 24px;
  }
  
  .main-header nav {
    height: 72px;
    padding: 0 24px;
  }
  
  .logo img {
    height: 40px;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .nav-links,
  .nav-cta {
    display: flex;
  }
  
  .nav-links {
    gap: 24px;
  }
  
  .nav-cta {
    gap: 12px;
  }
  
  .hero {
    padding: 80px 0 40px;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }
  
  .hero-content .slogan {
    font-size: 20px;
  }
  
  .hero-content p {
    font-size: 18px;
    max-width: 640px;
  }
  
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
  }
  
  .cta-button-large {
    width: auto;
    max-width: none;
    padding: 14px 28px;
    font-size: 18px;
  }
  
  .trust-strip {
    justify-content: center;
    gap: 18px;
  }
  
  .trust-strip span {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  
  .phone-window {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 240px;
    height: auto;
    border-radius: 28px;
  }
  
  .screen-stack {
    display: block;
    text-align: right;
  }
  
  .features-section,
  .ai-section,
  .platforms-section,
  .versions-section,
  .security-section,
  .tech-stack-section,
  .faq-section {
    padding: 64px 0;
  }
  
  .section-title h2 {
    font-size: 36px;
  }
  
  .section-title p {
    font-size: 18px;
  }
  
  .features-grid,
  .ai-grid,
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-highlight-card {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 40px;
    margin-bottom: 56px;
  }
  
  .feature-highlight-card h3 {
    font-size: 28px;
    text-align: left;
  }
  
  .feature-highlight-card .feature-image img {
    width: 80%;
    max-width: none;
    margin: 0 auto;
  }
  
  .gallery {
    margin-top: 48px;
  }
  
  .carousel-track img {
    max-height: 520px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .carousel-btn.prev {
    left: 12px;
  }
  
  .carousel-btn.next {
    right: 12px;
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-footer {
    padding: 64px 0 32px;
  }
  
  .main-footer h2 {
    font-size: 32px;
  }
  
  .footer-ctas {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }
  
  .footer-bottom {
    font-size: 16px;
  }
  
  .modal-content {
    margin: 5% auto;
    width: 80%;
    max-width: 500px;
    padding: 30px;
    border-radius: var(--radius-2);
  }
  
  .modal-content h2 {
    font-size: 28px;
  }
  
  .contact-info {
    padding: 20px;
    margin: 20px 0;
  }
  
  .contact-info p {
    font-size: 18px;
    margin: 10px 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
  
  .contact-info strong {
    min-width: 60px;
    margin-bottom: 0;
  }
  
  #imageModal .modal-content {
    width: 80%;
    max-width: 800px;
    max-height: 80%;
  }
  
  #imageModal .modal-content img {
    max-height: 80vh;
  }
  
  .close {
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 28px;
  }
  
  #imageModal .close {
    top: 20px;
    right: 35px;
    font-size: 40px;
  }
}

/* Desktop and larger */
@media (min-width: 1024px) {
  .features-grid,
  .ai-grid,
  .platforms-grid,
  .security-grid,
  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .versions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .tech-stack-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .vrow {
    grid-template-columns: 88px 1fr;
  }
  
  .vlabel {
    margin-bottom: 0;
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .features-section,
  .ai-section,
  .platforms-section,
  .versions-section,
  .security-section,
  .tech-stack-section,
  .faq-section {
    padding: 96px 0;
  }
  
  .section-title {
    margin-bottom: 52px;
  }
  
  .section-title h2 {
    font-size: 42px;
  }
  
  .hero {
    padding: 96px 0 40px;
  }
  
  .hero-content h1 {
    font-size: 56px;
  }
  
  .hero-ctas {
    margin-top: 26px;
  }
  
  .trust-strip {
    margin-top: 18px;
  }
  
  .hero-inner {
    gap: 48px;
  }
  
  .main-footer {
    padding: 80px 0;
  }
  
  .main-footer h2 {
    font-size: 32px;
  }
}

/* Contact Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-2);
  position: relative;
  animation: modalopen 0.4s;
}

@keyframes modalopen {
  from {opacity: 0; transform: translateY(-60px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: var(--text-light-color);
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.close:hover,
.close:focus {
  color: var(--text-color);
  background-color: var(--background-color);
}

.modal-content h2 {
  margin-top: 0;
  color: var(--dark-color);
  text-align: center;
}

.modal-content p {
  color: var(--text-light-color);
  line-height: 1.6;
}

.contact-info {
  background: var(--background-color);
  border-radius: var(--radius-1);
}

.contact-info strong {
  color: var(--dark-color);
}

/* Gallery / Carousel Modal */
#imageModal .modal-content {
  margin: auto;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

#imageModal .modal-content img {
    width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

#imageModal .close {
  color: #f1f1f1;
  background: transparent;
  width: auto;
  height: auto;
}

#imageModal .close:hover,
#imageModal .close:focus {
  color: #bbb;
  background: transparent;
}