/* =============================================
   GALANT IT — AI-First Design System
   galant-ai.css
   ============================================= */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Color tokens — overridden by themes.css via data-theme / data-palette */
  --bg-primary:    #060b18;
  --bg-surface:    #0d1527;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --border-glass:  rgba(255,255,255,0.08);
  --navbar-bg:     rgba(6, 11, 24, 0.82);
  --navbar-bg-scrolled: rgba(6, 11, 24, 0.96);
  --dropdown-bg:   rgba(13, 21, 39, 0.98);
  --mobile-menu-bg: rgba(6, 11, 24, 0.98);
  --btn-ghost-bg:  rgba(255, 255, 255, 0.04);
  --btn-ghost-border: rgba(255, 255, 255, 0.12);

  --grad-primary:  linear-gradient(135deg, #00c6ff 0%, #7b2ff7 100%);
  --grad-accent:   linear-gradient(135deg, #f72585 0%, #7b2ff7 100%);
  --grad-heal:     linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  --grad-vaid:     linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --grad-biz:      linear-gradient(135deg, #f7971e 0%, #ffd200 100%);

  --color-primary: #00c6ff;
  --color-violet:  #7b2ff7;
  --color-accent:  #f72585;
  --color-heal:    #00d2ff;
  --color-vaid:    #38ef7d;
  --color-biz:     #ffd200;

  --text-primary:  #e2e8f0;
  --text-muted:    #7f8ea3;
  --text-white:    #ffffff;

  --font-body:     'Inter', sans-serif;
  --font-display:  'Outfit', sans-serif;

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;

  --shadow-glow:   0 0 40px rgba(0,198,255,0.15);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.4);
  --shadow-hover:  0 16px 48px rgba(0,0,0,0.5), 0 0 60px rgba(0,198,255,0.1);

  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Body / paragraph typography — headers keep Outfit */
p {
  line-height: 1.8;
  letter-spacing: 0.012em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

.display-1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
.display-2 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; }
.display-3 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 700; }

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-accent {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-heal  { background: var(--grad-heal);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-vaid  { background: var(--grad-vaid);  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.text-gradient-biz   { background: var(--grad-biz);   -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.text-muted { color: var(--text-muted); }
.text-primary { color: var(--color-primary); }

/* ── Layout Utilities ── */
.container-ai {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 140px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-40 { gap: 40px; }

.text-center { text-align: center; }

/* ── Section Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
  letter-spacing: 0.012em;
  font-weight: 400;
}
.section-subtitle.center { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,198,255,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,198,255,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(0,198,255,0.4);
}
.btn-outline:hover {
  background: rgba(0,198,255,0.1);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-white);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(247,37,133,0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247,37,133,0.4);
}

.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  justify-content: center;
}
.btn-whatsapp i {
  font-size: 1.25em;
  line-height: 1;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.contact-info-icon--whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

/* ── Glass Cards ── */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0,198,255,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-pad { padding: 36px 32px; }
.card-pad-sm { padding: 24px 20px; }

/* ── Product Accent Cards ── */
.card-heal { border-top: 2px solid var(--color-heal); }
.card-vaid { border-top: 2px solid var(--color-vaid); }
.card-biz  { border-top: 2px solid var(--color-biz);  }

.card-heal:hover { box-shadow: var(--shadow-card), 0 0 40px rgba(0,210,255,0.15); }
.card-vaid:hover { box-shadow: var(--shadow-card), 0 0 40px rgba(56,239,125,0.15); }
.card-biz:hover  { box-shadow: var(--shadow-card), 0 0 40px rgba(255,210,0,0.15);  }

/* ── Product Icon Badge ── */
.product-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.product-icon i,
.di-icon i,
.module-icon i,
.why-icon i,
.section-label i,
.product-visual-icon i {
  line-height: 1;
}
.product-icon img,
.di-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.product-icon[style*="margin-bottom:0"] img,
.product-icon.icon-heal img,
.product-icon.icon-biz img {
  width: 40px;
  height: 40px;
}
.icon-heal { background: linear-gradient(135deg, rgba(0,210,255,0.2), rgba(58,123,213,0.2)); color: var(--color-heal); }
.icon-vaid { background: linear-gradient(135deg, rgba(17,153,142,0.2), rgba(56,239,125,0.2)); color: var(--color-vaid); }
.icon-biz  { background: linear-gradient(135deg, rgba(247,151,30,0.2), rgba(255,210,0,0.2));  color: var(--color-biz);  }
.icon-agri { background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(22,163,74,0.2)); color: #22c55e; }
.icon-pharmacy { background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(139,92,246,0.2)); color: #a855f7; }
.icon-ward { background: linear-gradient(135deg, rgba(0,198,255,0.2), rgba(14,165,233,0.2)); color: var(--color-primary); }
.icon-hotel { background: linear-gradient(135deg, rgba(251,146,60,0.2), rgba(249,115,22,0.2)); color: #fb923c; }
.icon-iot { background: linear-gradient(135deg, rgba(236,72,153,0.2), rgba(219,39,119,0.2)); color: #ec4899; }
.icon-research { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(79,70,229,0.2)); color: #6366f1; }
.icon-service-health { background: rgba(0,198,255,0.12); color: #00c6ff; }
.icon-service-dev { background: rgba(123,47,247,0.12); color: #a78bfa; }
.icon-service-mfg { background: rgba(255,210,0,0.12); color: #ffd200; }
.icon-service-consult { background: rgba(247,37,133,0.12); color: #f72585; }

/* Large product visual (replaces emoji heroes) */
.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.product-visual img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}
.product-visual-icon {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  font-size: 42px;
  margin-bottom: 20px;
}
[data-theme="light"] .product-visual img {
  filter: drop-shadow(0 4px 16px rgba(15, 23, 42, 0.1));
}

.footer-link i,
.mobile-sub-link i {
  width: 16px;
  flex-shrink: 0;
  text-align: center;
  opacity: 0.85;
  font-size: 12px;
  line-height: 1;
}
.section-label i { margin-right: 6px; }
.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--color-primary);
}

/* ── Product card header & feature grid (products page) ── */
.product-cards-grid {
  align-items: stretch;
}
.product-cards-grid > .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card-top {
  margin-bottom: 20px;
}
.product-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-card-head .product-icon { margin-bottom: 0; }
.product-card-title {
  flex: 1;
  min-width: 0;
}
.product-card-title h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}
.product-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.product-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  min-height: 4.5em;
  margin: 0 0 16px;
}
.product-card-features.feature-list {
  flex: 1 1 auto;
  margin: 0 0 24px;
}
.product-card-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.product-cta-heal {
  border-color: rgba(0, 210, 255, 0.35);
  color: var(--color-heal);
}
.product-cta-heal:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: var(--color-heal);
}
.product-cta-vaid {
  border-color: rgba(56, 239, 125, 0.35);
  color: var(--color-vaid);
}
.product-cta-vaid:hover {
  background: rgba(56, 239, 125, 0.08);
  border-color: var(--color-vaid);
}
.product-cta-biz {
  border-color: rgba(255, 210, 0, 0.45);
  color: var(--color-biz);
}
.product-cta-biz:hover {
  background: rgba(255, 210, 0, 0.08);
  border-color: var(--color-biz);
}
[data-theme="light"] .product-cta-heal {
  border-color: rgba(2, 132, 199, 0.35);
  color: #0284c7;
}
[data-theme="light"] .product-cta-vaid {
  border-color: rgba(5, 150, 105, 0.35);
  color: #059669;
}
[data-theme="light"] .product-cta-biz {
  border-color: rgba(217, 119, 6, 0.35);
  color: #d97706;
}
[data-theme="light"] .badge-heal {
  background: rgba(2, 132, 199, 0.1);
  border-color: rgba(2, 132, 199, 0.22);
  color: #0284c7;
}
[data-theme="light"] .badge-vaid {
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.22);
  color: #059669;
}
[data-theme="light"] .badge-biz {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.22);
  color: #d97706;
}
[data-theme="light"] .badge-ai {
  background: rgba(79, 70, 229, 0.1);
  border-color: rgba(79, 70, 229, 0.22);
  color: #4f46e5;
}
[data-theme="light"] .icon-heal {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(37, 99, 235, 0.12));
  color: #0284c7;
}
[data-theme="light"] .icon-vaid {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.12), rgba(16, 185, 129, 0.12));
  color: #059669;
}
[data-theme="light"] .icon-biz {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(245, 158, 11, 0.12));
  color: #d97706;
}
[data-theme="light"] .product-icon {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
[data-theme="light"] .product-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
[data-theme="light"] .badge-ai {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.22);
  color: #7c3aed;
}
[data-theme="light"] .timeline-era {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-muted);
}
[data-theme="light"] .timeline-footnote {
  background: rgba(2, 132, 199, 0.06);
  border-left-color: #0284c7;
}
[data-theme="light"] .card-heal { border-top-color: #0284c7; }
[data-theme="light"] .card-vaid { border-top-color: #059669; }
[data-theme="light"] .card-biz { border-top-color: #d97706; }
[data-theme="light"] .btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--text-primary);
  border-color: var(--btn-ghost-border);
}
.product-card-title h2 { margin: 0; }
.product-feature-grid .feature-item {
  font-size: 13px;
}
.product-feature-grid .feature-item::before { display: none; }
.product-feature-grid .feature-check {
  font-size: 11px;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.compare-check {
  font-size: 14px;
}

/* ── Feature List ── */
.feature-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 24px; }
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.feature-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ── Badge / Tag ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.badge-ai {
  background: rgba(123,47,247,0.15);
  border: 1px solid rgba(123,47,247,0.3);
  color: #a78bfa;
}
.badge-ai i { font-size: 10px; }
.badge-new {
  background: rgba(247,37,133,0.15);
  border: 1px solid rgba(247,37,133,0.3);
  color: #f472b6;
}
.badge-heal {
  background: rgba(0,210,255,0.12);
  border: 1px solid rgba(0,210,255,0.25);
  color: var(--color-heal);
}
.badge-vaid {
  background: rgba(56,239,125,0.12);
  border: 1px solid rgba(56,239,125,0.25);
  color: var(--color-vaid);
}
.badge-biz {
  background: rgba(255,210,0,0.12);
  border: 1px solid rgba(255,210,0,0.25);
  color: var(--color-biz);
}

/* ── Divider ── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: 2px;
  margin: 16px 0 24px;
}
.divider-center { margin: 16px auto 24px; }

/* ── Glow Orbs (background decoration) ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}
.orb-cyan  { background: #00c6ff; }
.orb-violet{ background: #7b2ff7; }
.orb-pink  { background: #f72585; }

/* =============================================
   NAVBAR
   ============================================= */
.g-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
  padding-top: env(safe-area-inset-top, 0px);
}

.g-navbar.scrolled {
  background: var(--navbar-bg-scrolled);
  border-bottom-color: rgba(0,198,255,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
  flex-wrap: nowrap;
  min-height: 72px;
}

.navbar-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-fallback-name,
.logo-fallback-it {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
}
.logo-fallback-name { color: var(--text-white); }
.logo-fallback-it { color: var(--color-primary); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.has-dropdown.is-open > .nav-link {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

.nav-link .nav-chevron { font-size: 10px; margin-left: 4px; opacity: 0.65; transition: transform 0.2s; }

/* Dropdown */
.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  z-index: 99;
}

.has-dropdown:hover .nav-link .nav-chevron,
.has-dropdown.is-open .nav-link .nav-chevron { transform: rotate(180deg); }

.dropdown-menu-ai {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: var(--dropdown-bg);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  box-shadow: var(--shadow-card);
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu-ai,
.has-dropdown.is-open .dropdown-menu-ai {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-item-ai {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}
.dropdown-item-ai:hover {
  background: var(--bg-card-hover);
}
.dropdown-item-ai .di-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.dropdown-item-ai .di-icon--muted {
  background: var(--bg-card-hover);
  color: var(--color-primary);
  border: 1px solid var(--border-glass);
}
.dropdown-item-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}
.dropdown-item-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}
.dropdown-item-meta {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.dropdown-item-ai--footer {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}
.dropdown-item-ai--text {
  padding-left: 12px;
}

[data-theme="light"] .g-navbar.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .dropdown-menu-ai {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.navbar-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Theme controls — mode + color palette */
.theme-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.theme-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: var(--btn-ghost-bg);
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}
.theme-switch-btn {
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}
.theme-switch-btn:hover { color: var(--text-primary); }
.theme-switch-btn.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.palette-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: var(--btn-ghost-bg);
}
.palette-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  flex-shrink: 0;
}
.palette-dot[data-palette-set="aurora"] { background: linear-gradient(135deg, #6366f1, #7c3aed); }
.palette-dot[data-palette-set="professional"] { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.palette-dot[data-palette-set="healthcare"] { background: linear-gradient(135deg, #0d9488, #0f766e); }
.palette-dot:hover { transform: scale(1.08); }
.palette-dot.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 2px var(--bg-primary);
}
.palette-switch--mobile .palette-dot {
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-body);
}
.palette-switch--mobile .palette-dot span { display: block; }
.mobile-theme-switch {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
}
.mobile-theme-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 100px 32px 40px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}
.mobile-nav-link:hover { color: var(--color-primary); }

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav-sub {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.mobile-sub-link:hover { color: var(--color-primary); }

.mobile-nav-heading {
  padding-bottom: 4px;
  border-bottom: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
  cursor: default;
}
.mobile-menu-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-site-note {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.75;
  text-align: center;
  margin: 16px auto 0;
  max-width: 720px;
  line-height: 1.55;
  padding: 0 16px;
}
.footer-site-note a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* =============================================
   HERO — HOMEPAGE
   ============================================= */
.hero-home {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: calc(96px + env(safe-area-inset-top, 0px));
  padding-bottom: 48px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  padding: 0 4px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  background: var(--hero-tag-bg);
  border: 1px solid var(--hero-tag-border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: clamp(11px, 2.4vw, 13px);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  line-height: 1.45;
  word-break: break-word;
  animation: fadeInDown 0.8s ease both;
}
.hero-tag-text-short { display: none; }
.hero-tag .pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse-anim 1.5s ease-in-out infinite;
}

.hero-heading {
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 2.1vw, 1.1875rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 660px;
  line-height: 1.85;
  letter-spacing: 0.014em;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-products {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-product-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}
.hero-product-badge:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: rgba(0,198,255,0.3);
}
.hero-product-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.dot-heal { background: var(--color-heal); box-shadow: 0 0 8px var(--color-heal); }
.dot-vaid { background: var(--color-vaid); box-shadow: 0 0 8px var(--color-vaid); }
.dot-biz  { background: var(--color-biz);  box-shadow: 0 0 8px var(--color-biz);  }

/* =============================================
   INNER PAGE HERO BANNER
   ============================================= */
.page-hero {
  position: relative;
  padding: calc(140px + env(safe-area-inset-top, 0px)) 0 80px;
  overflow-x: hidden;
  overflow-y: visible;
  background: var(--page-hero-bg);
  border-bottom: 1px solid var(--border-glass);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,198,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(123,47,247,0.08) 0%, transparent 60%);
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb-ai {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb-ai a { color: var(--color-primary); transition: var(--transition); }
.breadcrumb-ai a:hover { color: var(--text-white); }
.breadcrumb-ai span { color: var(--text-muted); }

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border-glass);
  position: relative;
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* =============================================
   MARQUEE / CLIENT LOGOS
   ============================================= */
.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  background: var(--bg-surface);
}
.marquee-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee-scroll 30s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logo {
  height: 36px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: var(--transition);
  flex-shrink: 0;
}
.marquee-logo:hover { opacity: 1; }

/* =============================================
   TESTIMONIALS (hidden until enabled)
   Remove .testimonials-section--hidden when quotes are ready.
   ============================================= */
.testimonials-section--hidden {
  display: none !important;
}

.testimonials-grid {
  margin-top: 56px;
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-4px);
}

.testimonial-quote-mark {
  font-size: 1.25rem;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: 16px;
}

.testimonial-quote {
  margin: 0 0 24px;
  flex: 1;
}

.testimonial-quote p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,198,255,0.2), rgba(123,47,247,0.2));
  border: 1px solid rgba(0,198,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d1b3e 0%, #1a0633 100%);
  border-top: 1px solid rgba(123,47,247,0.2);
  border-bottom: 1px solid rgba(123,47,247,0.2);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,47,247,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* =============================================
   FOOTER
   ============================================= */
.g-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-glass);
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 16px 0 24px;
  line-height: 1.8;
  letter-spacing: 0.012em;
  max-width: 280px;
}
.footer-logo { height: 44px; width: auto; }
.footer-social {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 15px;
  transition: var(--transition);
}
.social-link:hover {
  background: rgba(0,198,255,0.1);
  border-color: rgba(0,198,255,0.3);
  color: var(--color-primary);
  transform: translateY(-2px);
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-link:hover {
  color: var(--color-primary);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* =============================================
   SCROLL-REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 1;
  transform: none;
}
.js-enabled .reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Essential content must stay visible without scroll JS (file:// previews, slow loads) */
.reveal.reveal-static {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   AI DASHBOARD PREVIEW SECTION
   ============================================= */
.dashboard-preview {
  position: relative;
  background: var(--bg-surface);
  overflow: hidden;
}
.dashboard-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}
.mockup-preview-label {
  display: none;
}
.mockup-caption {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.72;
  line-height: 1.45;
  margin: 10px 0 0;
  text-align: center;
  font-weight: 400;
}
.mockup-preview-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(0, 198, 255, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(0, 198, 255, 0.25);
}
.mockup-preview-badge--ai {
  display: none;
}
.ai-output-notice,
.ai-output-notice--card,
.ai-output-notice--section {
  display: none !important;
}
.ai-disclaimer-callout {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(247, 37, 133, 0.08);
  border: 1px solid rgba(247, 37, 133, 0.22);
  font-size: 14px;
  line-height: 1.7;
}
.ai-disclaimer-callout strong {
  color: var(--text-primary);
}
.dashboard-mockup {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.mockup-disclaimer {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-glass);
  display: inline-block;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-glass);
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.mockup-tabs {
  display: flex;
  gap: 8px;
  margin-left: 16px;
}
.mockup-tab {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mockup-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}
.mockup-tab.active {
  background: rgba(0,198,255,0.1);
  color: var(--color-primary);
}

.mockup-panel { display: none; }
.mockup-panel.active { display: block; }

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.mockup-stat {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 14px;
}
.mockup-stat .ms-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.mockup-stat .ms-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.mockup-stat .ms-trend {
  font-size: 11px;
  color: var(--color-vaid);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mockup-stat .ms-trend i {
  font-size: 9px;
}
.mockup-insight-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.mockup-insight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-muted);
}
.mockup-insight-item i {
  color: var(--color-primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.mockup-insight-item strong {
  color: var(--text-primary);
  font-weight: 600;
}
.mockup-report-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.mockup-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12px;
}
.mockup-report-row span:first-child {
  color: var(--text-primary);
  font-weight: 500;
}
.mockup-report-row span:last-child {
  color: var(--text-muted);
  font-size: 11px;
}

.mockup-chart {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 16px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  overflow: hidden;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--grad-primary);
  opacity: 0.7;
  animation: chart-grow 1s ease both;
}

/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-anim {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,198,255,0.4); }
  50%       { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0,198,255,0); }
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes chart-grow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.08; }
  50%       { opacity: 0.18; }
}

/* Floating effect for images */
.float-anim { animation: float-y 5s ease-in-out infinite; }

/* =============================================
   SCROLL-TO-TOP BUTTON
   ============================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,198,255,0.4);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  z-index: 500;
  border: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,198,255,0.5); }

/* =============================================
   ABOUT PAGE SPECIFICS
   ============================================= */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline--single {
  max-width: 720px;
  margin: 56px auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-violet), transparent);
}
.timeline-item {
  position: relative;
  padding-bottom: 48px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(0,198,255,0.5);
}
.timeline-item--highlight::before {
  width: 14px;
  height: 14px;
  left: -47px;
  top: 3px;
  box-shadow: 0 0 16px rgba(0,198,255,0.45);
}
.timeline-item--future::before {
  background: var(--color-violet);
  box-shadow: 0 0 12px rgba(123,47,247,0.4);
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-era {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-card-hover);
  border: 1px solid var(--border-glass);
  border-radius: 100px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.timeline-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.75; }
.timeline-footnote {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  border-left: 3px solid var(--color-primary);
  background: var(--bg-card-hover);
  border-radius: var(--radius-sm);
}
.stat-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Team Cards */
.team-card {
  text-align: center;
  padding: 40px 24px;
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: var(--grad-primary);
  margin: 0 auto 16px;
  color: #fff;
}
.team-avatar i { line-height: 1; }
.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--text-muted); }

/* =============================================
   CAREERS PAGE
   ============================================= */
.job-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(0,198,255,0.1);
  color: var(--color-primary);
  border: 1px solid rgba(0,198,255,0.2);
  margin-bottom: 8px;
}
.job-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.job-meta  { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; }

.perks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.perk-card { text-align: center; padding: 32px 20px; }
.perk-icon { font-size: 36px; margin-bottom: 16px; }
.perk-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.perk-desc  { font-size: 14px; color: var(--text-muted); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.contact-form-group { margin-bottom: 20px; }
.contact-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.contact-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}
.contact-input:focus {
  border-color: rgba(0,198,255,0.4);
  background: rgba(0,198,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,198,255,0.08);
}
.contact-input::placeholder { color: var(--text-muted); }
textarea.contact-input { resize: vertical; min-height: 120px; }

.contact-status {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  display: none;
}
.contact-status.visible { display: block; }
.contact-status.success {
  background: rgba(17, 153, 142, 0.12);
  border: 1px solid rgba(56, 239, 125, 0.25);
  color: #6ee7b7;
}
.contact-status.error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.25);
  color: #fca5a5;
}

[data-theme="light"] .contact-status.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
[data-theme="light"] .contact-status.error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.contact-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  cursor: pointer;
}
.contact-checkbox-label input { margin-top: 3px; flex-shrink: 0; }

[data-theme="light"] .contact-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: var(--text-primary);
}
[data-theme="light"] .contact-input:focus {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
[data-theme="light"] select.contact-input option {
  background-color: #ffffff;
  color: #0f172a;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

select.contact-input {
  appearance: none;
  cursor: pointer;
  background-color: var(--bg-card);
  color: var(--text-primary);
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 2px), calc(100% - 12px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

select.contact-input option {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

/* =============================================
   SERVICES / FEATURES GRID
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { padding: 32px 28px; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-desc  { font-size: 15px; color: var(--text-muted); line-height: 1.8; letter-spacing: 0.012em; }

/* Module cards (product pages) */
.module-card { padding: 28px 24px; }
.module-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--color-primary);
}
.module-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.module-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.75; letter-spacing: 0.012em; }

/* Why Choose section */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: rgba(123,47,247,0.1);
  border: 1px solid rgba(123,47,247,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #a78bfa; flex-shrink: 0;
}
.why-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.why-text p  { font-size: 15px; color: var(--text-muted); line-height: 1.8; letter-spacing: 0.012em; }

/* =============================================
   PRIVACY POLICY PAGE
   ============================================= */
.policy-content h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.policy-content h3 { font-size: 1.1rem; margin: 24px 0 8px; color: var(--color-primary); }
.policy-content p  { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.policy-content ul { padding-left: 20px; }
.policy-content ul li { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 6px; list-style: disc; }
.policy-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.policy-table th, .policy-table td { border: 1px solid var(--border-subtle, rgba(255,255,255,0.12)); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--text-muted); }
.policy-table th { color: var(--text-primary, #fff); font-weight: 600; background: rgba(255,255,255,0.03); }
.inline-cookie-prefs, .footer-cookie-prefs {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-cookie-prefs:hover, .footer-cookie-prefs:hover { color: var(--color-primary); }

/* Cookie consent banner */
.cookie-consent-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 12000;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 22px;
  border-radius: var(--radius-lg, 16px);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  color: #f8fafc;
}
.cookie-consent-banner[hidden] { display: none !important; }
.cookie-consent-banner h3 {
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: #f8fafc;
}
.cookie-consent-banner p {
  font-size: 14px;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.65;
  margin: 0 0 16px;
}
.cookie-consent-banner a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-consent-actions .btn {
  font-size: 13px;
  padding: 10px 16px;
  min-height: 42px;
  font-weight: 600;
}
.cookie-consent-banner .btn-ghost,
.cookie-consent-panel .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.cookie-consent-banner .btn-ghost:hover,
.cookie-consent-panel .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  transform: translateY(-1px);
}
[data-theme="light"] .cookie-consent-banner {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
  color: #0f172a;
}
[data-theme="light"] .cookie-consent-banner h3 { color: #0f172a; }
[data-theme="light"] .cookie-consent-banner p { color: #475569; }
[data-theme="light"] .cookie-consent-banner .btn-ghost,
[data-theme="light"] .cookie-consent-panel .btn-ghost {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.22);
}
[data-theme="light"] .cookie-consent-banner .btn-ghost:hover,
[data-theme="light"] .cookie-consent-panel .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.38);
  color: #0f172a;
}
.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 12001;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,0.55);
}
.cookie-consent-modal[hidden] { display: none !important; }
.cookie-consent-panel {
  width: min(560px, 100%);
  max-height: min(85vh, 720px);
  overflow: auto;
  padding: 24px;
  border-radius: var(--radius-lg, 16px);
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}
.cookie-consent-panel h3 { margin: 0 0 8px; color: #f8fafc; }
.cookie-consent-panel > p {
  font-size: 14px;
  color: rgba(248, 250, 252, 0.82);
  margin: 0 0 18px;
}
[data-theme="light"] .cookie-consent-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
}
[data-theme="light"] .cookie-consent-panel h3 { color: #0f172a; }
[data-theme="light"] .cookie-consent-panel > p { color: #475569; }
.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .cookie-pref-row {
  border-top-color: rgba(15, 23, 42, 0.08);
}
.cookie-pref-row:first-of-type { border-top: none; padding-top: 0; }
.cookie-pref-row h4 { font-size: 0.95rem; margin: 0 0 4px; color: inherit; }
.cookie-pref-row p { font-size: 13px; color: rgba(248, 250, 252, 0.72); margin: 0; line-height: 1.6; }
[data-theme="light"] .cookie-pref-row p { color: #64748b; }
.cookie-pref-row .pref-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  white-space: nowrap;
}
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle span {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.cookie-toggle span::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + span { background: var(--color-primary); }
.cookie-toggle input:checked + span::before { transform: translateX(20px); }
.cookie-toggle input:disabled + span { opacity: 0.65; cursor: not-allowed; }
.cookie-consent-panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.footer-legal a, .footer-legal button { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--color-primary); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-lg { padding: 100px 0; }

  .navbar-nav, .navbar-cta .btn:not(.theme-switch-btn) { display: none; }
  .navbar-cta .theme-controls { display: none; }
  .mobile-theme-switch { display: block; }
  .hamburger { display: flex; }

  .hero-home {
    padding-top: calc(88px + env(safe-area-inset-top, 0px));
    align-items: flex-start;
    padding-bottom: 40px;
  }

  .hero-tag-text-long { display: none; }
  .hero-tag-text-short { display: inline; }
  .hero-tag { border-radius: var(--radius-md); padding: 10px 16px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .hero-heading { font-size: clamp(1.85rem, 8vw, 2.75rem); max-width: none; }
  .hero-sub { font-size: 1.0625rem; line-height: 1.8; }

  .job-card { flex-direction: column; }

  .mockup-stats { grid-template-columns: repeat(2,1fr); }

  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .container-ai { padding: 0 16px; }
  .section { padding: 60px 0; }
  .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-glass); }
  .stat-item:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .card-pad { padding: 24px 20px; }
}
