/* ==============================
   ZOPTERA AI — Global Stylesheet
   Light Theme Edition
   ============================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── Core Palette — Clean White Base ── */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fbfd;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);

  /* ── Accent Colors ── */
  --accent-deep: #024161;
  --accent-teal: #077a9f;
  --accent-mist: #88c1c5;
  --accent-darker: #013450;
  --accent-bright: #0a9fc0;
  --accent-pale: #b8d9dc;
  --accent-foam: #daeef0;

  /* ── Gradients ── */
  --gradient-primary: linear-gradient(135deg,
      #024161 0%,
      #077a9f 42%,
      #88c1c5 100%);

  --gradient-text: linear-gradient(135deg,
      #024161 0%,
      #077a9f 35%,
      #0a9fc0 65%,
      #88c1c5 100%);

  --gradient-soft: linear-gradient(135deg,
      rgba(2, 65, 97, 0.04) 0%,
      rgba(7, 122, 159, 0.04) 50%,
      rgba(136, 193, 197, 0.04) 100%);

  --gradient-glow: linear-gradient(135deg,
      rgba(2, 65, 97, 0.12) 0%,
      rgba(7, 122, 159, 0.14) 50%,
      rgba(136, 193, 197, 0.10) 100%);

  --gradient-surface: linear-gradient(180deg,
      #ffffff 0%,
      #f8fbfd 100%);

  --gradient-accent-line: linear-gradient(90deg,
      #024161,
      #077a9f,
      #88c1c5);

  --gradient-band: linear-gradient(90deg,
      #024161,
      #077a9f,
      #0a9fc0,
      #88c1c5,
      #b8d9dc,
      #88c1c5,
      #0a9fc0,
      #077a9f,
      #024161);

  --gradient-divider: linear-gradient(90deg,
      transparent,
      rgba(7, 122, 159, 0.25),
      transparent);

  /* ── Text ── */
  --text-primary: #011e2e;
  --text-secondary: #083d56;
  --text-muted: #4a7a8a;
  --text-on-dark: rgba(255, 255, 255, 0.95);
  --text-on-dark-2: rgba(184, 217, 220, 0.82);

  /* ── Borders ── */
  --border-color: rgba(2, 65, 97, 0.10);
  --border-hover: rgba(7, 122, 159, 0.30);
  --border-strong: rgba(136, 193, 197, 0.50);

  /* ── Glass / Elevation ── */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(7, 122, 159, 0.12);
  --glass-shadow: 0 8px 30px rgba(2, 65, 97, 0.08);

  /* ── Shadows ── */
  --shadow-sm: 0 2px 6px rgba(2, 65, 97, 0.06);
  --shadow-md: 0 6px 20px rgba(2, 65, 97, 0.08);
  --shadow-lg: 0 14px 40px rgba(2, 65, 97, 0.12);
  --shadow-xl: 0 24px 60px rgba(2, 65, 97, 0.16);

  /* ── Typography ── */
  --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-display: 'Syne', 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ── Layout ── */
  --section-py: 6rem;
  --container-max: 1200px;
  --nav-height: 64px;

  /* ── Radius ── */
  --radius-sm: 0.4rem;
  --radius-md: 0.6rem;
  --radius-lg: 1rem;
  --radius-xl: 1.4rem;

  /* ── Transitions ── */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Body */
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle Ambient Glow (Clean & Premium) */
body::before {
  content: '';
  position: fixed;
  inset: 0;

  background:
    radial-gradient(circle at 0% 40%, rgba(7, 122, 159, 0.06), transparent 55%),
    radial-gradient(circle at 100% 20%, rgba(136, 193, 197, 0.06), transparent 55%),
    radial-gradient(circle at 60% 100%, rgba(2, 65, 97, 0.04), transparent 60%);

  pointer-events: none;
  z-index: 0;
}

/* Top animated strip (subtle) */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-band);
  background-size: 200% 100%;
  animation: bandScroll 7s linear infinite;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes bandScroll {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}
/* ==============================
   cookie-banner
   ============================== */
   #cookieBanner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 680px;
    background: rgba(18, 18, 28, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 22px 26px;
    color: #fff;
    font-family: inherit;
    z-index: 99999;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  }
  
  #cookieBanner.dismissed {
    transform: translateX(-50%) translateY(140%);
    opacity: 0;
    pointer-events: none;
  }
  
  #stepSimple {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .banner-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
  }
  
  .cookie-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5cff, #5eead4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
  }
  
  .banner-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
  }
  
  .banner-text {
    flex: 1;
    min-width: 200px;
  }
  
  .banner-desc {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.55;
  }
  
  .banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
  }
  
  .prefs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  
  .prefs-title {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 600;
  }
  
  .prefs-sub {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
  }
  
  .prefs-close {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
  }
  
  .prefs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
  }
  
  .pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
  }
  
  .pref-name {
    margin: 0 0 2px;
    font-size: 13px;
    font-weight: 600;
  }
  
  .pref-desc {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
  }
  
  .prefs-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }
  
  /* Toggle switch */
  .toggle {
    width: 42px;
    height: 24px;
    background: #2d2d3a;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s;
  }
  
  .toggle-dot {
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left 0.25s;
  }
  
  .toggle.on {
    background: linear-gradient(135deg, #7c5cff, #5eead4);
  }
  
  .toggle.on .toggle-dot {
    left: 21px;
  }
  
  .toggle-disabled {
    opacity: 0.5;
    pointer-events: none;
    background: linear-gradient(135deg, #7c5cff, #5eead4);
  }
  
  .toggle-disabled .toggle-dot {
    left: 21px;
  }
  
  /* Buttons */
  .btn-manage {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d1d5db;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
  }
  
  .btn-reject {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
  }
  
  .btn-accept {
    background: var(--gradient-primary);
    border: none;
    color: #000;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
  }
  
  /* Toast */
  #successToast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(18, 18, 28, 0.97);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 12px;
    padding: 13px 18px;
    color: #fff;
    font-size: 13px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 99999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  }
  
  .toast-check {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #7c5cff, #5eead4);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #000;
    font-weight: 700;
  }
  
  /* ==============================
     Button hover effects
     ============================== */
  
  .btn-manage,
  .btn-reject,
  .btn-accept {
    transition: all 0.25s ease;
  }
  
  /* subtle lift */
  .btn-manage:hover,
  .btn-reject:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  }
  
  /* accept button - stronger glow */
  .btn-accept:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(94, 234, 212, 0.25);
    filter: brightness(1.05);
  }
  
  /* optional active state (feels nicer on click) */
  .btn-manage:active,
  .btn-reject:active,
  .btn-accept:active {
    transform: translateY(0px) scale(0.98);
    box-shadow: none;
  }

/* ==============================
   UTILITY
   ============================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  background: rgba(67, 56, 202, 0.09);
  border: 1px solid rgba(67, 56, 202, 0.18);
  padding: 0.32rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

.section-text {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-desc {
  margin: 0 auto;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  z-index: 1;
}

/* ==============================
   GLASS CARD
   ============================== */

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  border-radius: inherit;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

/* Top accent line on hover */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover::after {
  opacity: 1;
}

/* ==============================
   BUTTONS
   ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(67, 56, 202, 0.28);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(67, 56, 202, 0.38);
}

.btn-primary:hover::after {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.glow-btn {
  box-shadow: 0 0 22px rgba(67, 56, 202, 0.28), 0 4px 18px rgba(67, 56, 202, 0.22);
}

.glow-btn:hover {
  box-shadow: 0 0 42px rgba(67, 56, 202, 0.45), 0 8px 30px rgba(67, 56, 202, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-primary);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  border-color: var(--accent-indigo);
  background: rgba(255, 255, 255, 1);
  color: var(--accent-indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-2px);
}

/* ==============================
   NAVBAR (Professional Style)
   ============================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;

  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);

  transition: all 0.25s ease;
}

/* Stronger separation when scrolling */
.navbar.scrolled {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #d1d5db;
}

/* Container */
.nav-container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 14px;

  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-z {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-ai {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;

  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;

  transition: transform 0.2s ease;
}

/* Subtle hover (not playful) */
.logo-img:hover {
  transform: scale(1.015);
}

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;

  border-radius: 4px;
  transition: all 0.2s ease;
}

/* Hover */
.nav-links a:hover {
  color: var(--accent-indigo);
  background: rgba(67, 56, 202, 0.06);
}

/* Active */
.nav-links a.active {
  color: var(--accent-indigo);
  background: rgba(67, 56, 202, 0.08);
  font-weight: 600;
}

/* CTA Button */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;

  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;

  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;

  white-space: nowrap;
  flex-shrink: 0;

  overflow: hidden;
  /* needed for shine effect */
  transition: all 0.25s ease;
}

/* Shine sweep effect */
.nav-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;

  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.35),
      transparent);

  transition: all 0.6s ease;
}

/* CTA Hover */
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

/* Animate shine */
.nav-cta:hover::after {
  left: 125%;
}

/* Click (press) effect */
.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.4rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Hamburger Animation */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border-left: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;

    flex-direction: column;
    align-items: flex-start;
    width: 220px;

    padding: 1rem;
    gap: 0.5rem;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.25s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ==============================
   HERO
   ============================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 62% 30%, rgba(29, 78, 216, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 55% 50% at 25% 70%, rgba(109, 40, 217, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 82% 80%, rgba(3, 105, 161, 0.07) 0%, transparent 70%);
}

/* Subtle dot grid overlay */
.hero-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(67, 56, 202, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(67, 56, 202, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 1.5rem;
  margin: 0 auto;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-indigo);
  background: rgba(67, 56, 202, 0.09);
  border: 1px solid rgba(67, 56, 202, 0.2);
  padding: 0.38rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.6rem;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(67, 56, 202, 0.55);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.25);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  height: 38px;
  background: var(--border-color);
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  animation: floatOrb 9s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.18), transparent 70%);
  top: 8%;
  right: 8%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.15), transparent 70%);
  top: 42%;
  right: 28%;
  animation-delay: -3s;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(3, 105, 161, 0.13), transparent 70%);
  bottom: 10%;
  right: 5%;
  animation-delay: -6s;
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate(0, 0);
  }

  33% {
    transform: translate(22px, -32px);
  }

  66% {
    transform: translate(-16px, 18px);
  }
}

/* ==============================
   PAGE HERO (inner pages)
   ============================== */

.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(29, 78, 216, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(109, 40, 217, 0.07) 0%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1rem;
}

/* ==============================
   ABOUT SECTION
   ============================== */

.about-section {
  background: linear-gradient(to bottom, transparent, rgba(67, 56, 202, 0.03), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-card {
  padding: 1.5rem;
}

.about-card-offset {
  margin-left: 2rem;
}

.about-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

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

/* ==============================
   SERVICES SECTION
   ============================== */

.services-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  position: relative;
}

.service-icon-wrap {
  width: 50px;
  height: 50px;
  background: rgba(67, 56, 202, 0.08);
  border: 1px solid rgba(67, 56, 202, 0.16);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(67, 56, 202, 0.14);
  box-shadow: 0 0 22px rgba(67, 56, 202, 0.22);
  transform: scale(1.05);
}

.service-svg {
  width: 24px;
  height: 24px;
  color: var(--accent-indigo);
}

.service-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.68;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.65rem;
  border-radius: 2rem;
  background: rgba(67, 56, 202, 0.08);
  border: 1px solid rgba(67, 56, 202, 0.16);
  color: var(--accent-indigo);
  transition: var(--transition-fast);
}

.tag:hover {
  background: rgba(67, 56, 202, 0.14);
  border-color: var(--border-hover);
}

/* ==============================
   INDUSTRIES SECTION
   ============================== */

.industries-section {
  background: linear-gradient(to bottom, transparent, rgba(67, 56, 202, 0.04), transparent);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
}

.industry-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.industry-card:hover .industry-icon {
  transform: scale(1.08);
}

.healthcare-icon {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.18);
  color: #dc2626;
}

.hospitality-icon {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.18);
  color: #d97706;
}

.manufacturing-icon {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.18);
  color: #059669;
}

.industry-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.industry-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}

.industry-link {
  color: var(--accent-indigo);
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.industry-card:hover .industry-link {
  gap: 0.55rem;
}

.industry-card:hover .industry-link span {
  transform: translateX(4px);
  display: inline-block;
  transition: var(--transition-fast);
}

/* ==============================
   WHY CHOOSE US
   ============================== */

.why-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
  opacity: 1;
}

.why-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  color: var(--text-primary);
}

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

/* ==============================
   CTA BANNER
   ============================== */

.cta-banner {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.07) 0%, transparent 45%);
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

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

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================
   FOOTER
   ============================== */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 0.85rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition-fast);
  background: var(--bg-card);
}

.social-link:hover {
  border-color: var(--accent-indigo);
  color: var(--accent-indigo);
  background: rgba(67, 56, 202, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-links-col ul a:hover {
  color: var(--accent-indigo);
}

.footer-contact-col p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--accent-indigo);
}

/* ==============================
   PRODUCTS PAGE
   ============================== */

.llm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.llm-feature {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.llm-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.llm-feature h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.llm-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.llm-detail {
  padding: 2.5rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.llm-detail h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(67, 56, 202, 0.3);
}

.step-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.step-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Industry sections (products page) */
.industry-section {
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid var(--border-color);
}

.industry-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.industry-header {
  margin-bottom: 2.5rem;
}

.industry-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.education-badge {
  background: rgba(29, 78, 216, 0.08);
  border: 1px solid rgba(29, 78, 216, 0.22);
  color: #1d4ed8;
}

.healthcare-badge {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: #dc2626;
}

.hospitality-badge {
  background: rgba(217, 119, 6, 0.08);
  border: 1px solid rgba(217, 119, 6, 0.22);
  color: #d97706;
}

.manufacturing-badge {
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.22);
  color: #059669;
}

.industry-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.industry-header>p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.7;
}

.industry-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-feature-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.industry-feature-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.feature-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

/* ==============================
   ABOUT PAGE
   ============================== */

.about-story-section .story-grid {
  display: block;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.story-text h2 {
  margin-bottom: 1.5rem;
}

.story-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.story-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1rem;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 2.5rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gradient-primary);
  opacity: 0.25;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-indigo);
  width: 3rem;
  text-align: right;
  padding-top: 0.1rem;
  flex-shrink: 0;
}

.timeline-content {
  position: relative;
  padding-left: 1rem;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -0.8rem;
  top: 0.45rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 0 10px rgba(67, 56, 202, 0.5);
}

.timeline-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.mv-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mv-card {
  text-align: center;
}

.mv-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.mv-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.mv-statement {
  font-size: 0.95rem;
  color: var(--accent-indigo);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 1rem;
  border-left: 2px solid var(--accent-indigo);
  padding-left: 1rem;
  text-align: left;
}

.mv-card>p:not(.mv-statement) {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: left;
}

.values-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.values-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.55;
}

.values-list li::before {
  content: '→';
  color: var(--accent-indigo);
  font-size: 0.75rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.team-section {
  background: linear-gradient(to bottom, transparent, rgba(67, 56, 202, 0.03), transparent);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  margin: 0 auto 1rem;
  width: 72px;
  height: 72px;
}

.avatar-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 6px 20px rgba(67, 56, 202, 0.28);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.team-role {
  font-size: 0.75rem;
  color: var(--accent-indigo);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  display: block;
  margin-bottom: 0.75rem;
}

.team-card>p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.stats-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-big-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-big-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==============================
   CONTACT PAGE
   ============================== */

.contact-section {
  padding: 3rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-form-card h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.contact-form-card>p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.required {
  color: var(--accent-purple);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.78rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: #fff;
  color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-indigo);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(67, 56, 202, 0.1), var(--shadow-sm);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.error-msg {
  font-size: 0.78rem;
  color: #dc2626;
  display: none;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  cursor: pointer;
  accent-color: var(--accent-indigo);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.form-checkbox label a {
  color: var(--accent-indigo);
  text-decoration: none;
}

.form-checkbox label a:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.success-message {
  text-align: center;
  padding: 2rem;
  background: rgba(5, 150, 105, 0.06);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(5, 150, 105, 0.12);
  border: 2px solid rgba(5, 150, 105, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #059669;
  margin: 0 auto 1rem;
}

.success-message h3 {
  font-size: 1.1rem;
  color: #059669;
  margin-bottom: 0.4rem;
}

.success-message p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.contact-info-card p a {
  color: var(--accent-indigo);
  text-decoration: none;
}

.contact-info-card p a:hover {
  text-decoration: underline;
}

.map-placeholder {
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.05), rgba(109, 40, 217, 0.05));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(29, 78, 216, 0.07), transparent 70%);
}

.map-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.map-pin {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.map-inner p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ==============================
   FADE-IN ANIMATION
   ============================== */

.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   RESPONSIVE
   ============================== */

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(244, 247, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-card-offset {
    margin-left: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    gap: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .llm-grid {
    grid-template-columns: 1fr;
  }

  .industry-features-grid {
    grid-template-columns: 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-form-card {
    padding: 1.8rem 1.4rem;
  }

  .contact-info-card {
    padding: 1.4rem 1.5rem;
  }

  .contact-info-items {
    margin-top: 30px;
  }

  .map-placeholder {
    height: 210px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .stat-divider {
    display: none;
  }

  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  .contact-info-card {
    padding: 1.25rem 1.3rem;
  }

  .map-placeholder {
    height: 195px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
  }
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
  }
}

/* ==================== COOKIE BANNER FIX ==================== */
#cookieBanner {
  display: none;                    /* default hidden */
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 680px;
  background: rgba(18, 18, 28, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 22px 26px;
  color: #fff;
  z-index: 999999;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

#cookieBanner.dismissed {
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  pointer-events: none;
}

/* Make sure simple step is visible when shown */
#stepSimple {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

#stepPrefs {
  display: none;
}