/* ====================================
   AIIT v2.1 — Synthesia + Stripe inspired
   Light theme + Indigo/Purple accent
   ==================================== */

:root {
  /* Brand colors — Synthesia + Stripe style */
  --purple: #7C3AED;        /* Synthesia deep purple */
  --purple-2: #6D28D9;      /* darker */
  --purple-3: #A78BFA;      /* lighter */
  --indigo: #635BFF;        /* Stripe signature */
  --indigo-2: #5046E4;      /* darker */
  --blue: #2563EB;          /* modern tech blue */
  --blue-2: #1D4ED8;        /* deeper blue */
  --cyan: #06B6D4;          /* accent cyan */
  --purple-glow: rgba(124, 58, 237, 0.18);
  --indigo-glow: rgba(99, 91, 255, 0.18);
  --gradient-primary: linear-gradient(135deg, #0F1F3A 0%, #1E3A8A 50%, #2563EB 100%);
  --gradient-soft: linear-gradient(135deg, rgba(15, 31, 58, 0.06) 0%, rgba(30, 58, 138, 0.06) 100%);
  --gradient-water: linear-gradient(180deg, #0A0E1A 0%, #1E3A8A 100%); /* 水藍漸層 */
  --gradient-silver: linear-gradient(180deg, #FFFFFF 0%, #F3F4F6 100%); /* 金/銀漸層 */
  --gold-accent: #D4AF37;       /* 金色 (稀有使用) */

  /* Light theme - 金/水配色 (Zing 嘅能量學配色) */
  --bg: #FFFFFF;                /* 主背景 - 白 (金) */
  --bg-soft: #FAFAF7;           /* 軟背景 - 米白 (金) */
  --bg-card: #FFFFFF;           /* card - 白 (金) */
  --bg-alt: #F3F4F6;            /* 替代 - 淺灰 (金/水交界) */
  --bg-dark: #0A0E1A;            /* 深色 - 黑 (水) */
  --bg-blue: #0F1F3A;            /* 深藍 - 屬水 */

  /* Text */
  --text: #0A0E1A;              /* 主文字 - 黑 (水) */
  --text-2: #1F2937;            /* 次要 - 深灰 */
  --text-dim: #6B7280;          /* 暗淡 - 中灰 */
  --text-muted: #9CA3AF;        /* 靜音 - 淺灰 */
  --text-on-dark: #FFFFFF;      /* 深底白字 */
  --text-blue: #2563EB;         /* 藍色文字 (水) */

  /* Border */
  --border: rgba(10, 37, 64, 0.08);
  --border-strong: rgba(10, 37, 64, 0.15);

  /* Radius */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(99, 91, 255, 0.04);
  --shadow: 0 4px 16px rgba(99, 91, 255, 0.08);
  --shadow-lg: 0 12px 32px rgba(99, 91, 255, 0.10);
  --shadow-purple: 0 8px 28px var(--purple-glow);
  --shadow-purple-lg: 0 16px 48px var(--purple-glow);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-svg {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.logo-svg:hover {
  transform: rotate(-5deg) scale(1.05);
}
.logo-svg-footer {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
}
.logo-mark {
  font-weight: 800;
  font-size: 26px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.logo-mark-dark {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-dim);
  background: var(--bg-alt);
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-cta {
  padding: 10px 18px !important;
  font-size: 14px !important;
  background: var(--gradient-primary) !important;
  color: #FFFFFF !important;
  border: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

/* ============ LANGUAGE SWITCHER ============ */
/* Wordise: 3-button tab group, water/metal palette, gold active (#F59E0B) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  margin-right: 10px;
  background: rgba(15, 31, 58, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s, background 0.2s;
}
.lang-switcher:hover {
  border-color: var(--blue);
  background: rgba(37, 99, 235, 0.06);
}
.lang-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  user-select: none;
}
.lang-btn:hover {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
}
.lang-btn:active {
  transform: scale(0.94);
}
.lang-btn.active {
  color: #0F1F3A;
  background: #F59E0B;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.lang-btn.active:hover {
  background: #FBBF24;
  color: #0F1F3A;
}
/* Compact on small screens — keep the 3-button lang switcher usable, don't crowd the CTA.
   Note: nav-links are already hidden via @media max-width: 768px in the RESPONSIVE block,
   so on mobile the nav row is logo + lang-switcher + CTA (Zing wants all 3 buttons visible). */
/* ============ LANG SWITCHER RESPONSIVE (Wordise: keep pill + border + navy bg + gold active IDENTICAL to desktop, only shrink sizing for mobile) ============ */
@media (max-width: 768px) {
  /* Pill container — explicitly preserve desktop's pill shape + border + navy bg (don't let media queries accidentally strip them) */
  .lang-switcher {
    margin-right: 6px;
    padding: 2px;
    gap: 1px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(15, 31, 58, 0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  /* Buttons — keep desktop's pill (border-radius 999px), gold active #F59E0B, only shrink font + min-width */
  .lang-btn {
    font-size: 11px;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 999px;
  }
  .lang-btn.active {
    background: #F59E0B;
    color: #0F1F3A;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  .nav-cta { padding: 8px 12px !important; font-size: 13px !important; white-space: nowrap; }
}
@media (max-width: 480px) {
  /* Wordise fix: Zing wants lang switcher visible on mobile (was display:none).
     Keep all 3 buttons in a row, shrink font + paddings to fit beside CTA without breaking nav.
     CRITICAL: preserve desktop's pill shape + border + navy bg + gold active. */
  .lang-switcher {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
    padding: 2px;
    gap: 1px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(15, 31, 58, 0.04);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .lang-btn {
    font-size: 10px;
    min-width: 22px;
    height: 24px;
    padding: 0 5px;
    letter-spacing: 0;
    border-radius: 999px;
  }
  .lang-btn.active {
    background: #F59E0B;
    color: #0F1F3A;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  .lang-btn:hover { color: var(--blue); background: rgba(37, 99, 235, 0.08); }
  .nav-inner { padding: 10px 14px; gap: 6px; }
  .logo-svg { width: 36px; height: 36px; }
  .nav-cta { padding: 7px 10px !important; font-size: 12px !important; }
}
@media (max-width: 360px) {
  /* Extra small Android / iPhone SE portrait — drop non-essential padding but keep 3 buttons.
     Pill shape + border + navy bg + gold active STILL match desktop — only size shrinks further. */
  .lang-switcher {
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    background: rgba(15, 31, 58, 0.04);
  }
  .lang-btn {
    font-size: 10px;
    min-width: 20px;
    padding: 0 4px;
    border-radius: 999px;
  }
  .lang-btn.active {
    background: #F59E0B;
    color: #0F1F3A;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  .nav-cta { padding: 6px 9px !important; font-size: 11px !important; }
  .nav-inner { padding: 8px 10px; }
  .logo-svg { width: 32px; height: 32px; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.32, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn-ghost:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-xl { padding: 16px 36px; font-size: 16px; }

/* ============ HERO (Synthesia-inspired) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  z-index: 0;
  filter: saturate(1.1) contrast(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, transparent 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.6) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.4) 60%, rgba(255,255,255,0.7) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
}
.badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--purple);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(56px, 11vw, 130px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
  color: var(--text);
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 16px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  margin-right: 10px;
  vertical-align: middle;
  text-transform: uppercase;
}
.ai-tag {
  font-weight: 900;
  background: linear-gradient(135deg, #C084FC, #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.08em;
  font-size: 1.1em;
}
.it-tag {
  font-weight: 900;
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.08em;
  font-size: 1.1em;
}
.hero-price {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.8em;
  letter-spacing: -0.07em;
  display: inline-block;
  line-height: 1;
}
.hero-per {
  color: #FF8A3D !important;
  font-size: 0.4em;
  font-weight: 700;
  display: inline-block;
  margin-left: 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(10, 12, 24, 0.9);
}
.hero-sub {
  display: block;
  font-size: 0.32em;
  font-weight: 600;
  color: #FF8A3D !important;
  text-shadow: 0 2px 12px rgba(10, 12, 24, 0.9);
  margin-top: 20px;
  width: 100%;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* ============ HERO BALANCED (Zing spec: 每隻字大細差唔多) ============ */
.hero-title-balanced {
  display: block !important;
  text-align: center;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.5;
  margin: 24px 0;
}
.hero-line {
  display: inline-block;
  max-width: 100%;
  word-spacing: 0.1em;
}
.hero-text {
  display: inline-block;
  font-size: 1em !important;
  font-weight: 700;
  color: #FF8A3D !important;
  text-shadow: 0 2px 12px rgba(10, 12, 24, 0.9), 0 0 30px rgba(255, 138, 61, 0.4);
  margin: 0 0.15em;
  letter-spacing: -0.01em;
}
.hero-text.hero-price {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text.ai-tag {
  background: linear-gradient(135deg, #C084FC, #A78BFA);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-text.it-tag {
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: 19px;
  color: var(--text-2);
  margin-bottom: 48px;
  line-height: 1.6;
}
.hero-tagline strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
}
.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--purple) 0%, transparent 100%);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============ FLOATING CARDS ============ */
.float-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 5;
  animation: float 3s ease-in-out infinite;
}
.float-card-1 {
  top: 25%;
  left: 5%;
}
.float-card-2 {
  bottom: 18%;
  right: 5%;
  animation-delay: 1.5s;
}
.float-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.float-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.float-sub {
  font-size: 12px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============ SECTION ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(180deg, #0A0E27 0%, #1E1B4B 100%);
  color: var(--text-on-dark);
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--text);
}
.section-dark .section-title { color: var(--text-on-dark); }
.section-sub {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.5;
}
.section-dark .section-sub { color: rgba(255, 255, 255, 0.7); }

/* ============ CASE CARDS ============ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple-lg);
  border-color: var(--purple);
}
.case-card:hover::before { transform: scaleX(1); }
.case-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  margin-bottom: 16px;
}
.case-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.case-org {
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 16px;
}
.case-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.case-desc strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.case-stat {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.case-stat-num {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}
.case-stat-label {
  font-size: 13px;
  color: var(--text-dim);
}

/* ============ SERVICES ============ */
.services-group { margin-bottom: 64px; }
.services-group:last-child { margin-bottom: 0; }
.services-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.services-group-icon {
  font-size: 32px;
}
.services-group-header h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.new-badge {
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: var(--gradient-primary);
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}
.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
  position: relative;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  position: relative;
}
.service-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
  position: relative;
}

/* ============ PRICING (Stripe-inspired) ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple-lg);
}
.pricing-card-featured {
  border-color: var(--purple);
  box-shadow: var(--shadow-purple-lg);
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(124, 58, 237, 0.05) 100%);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 5px 14px;
  border-radius: 999px;
}
.pricing-tier {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.pricing-currency {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}
.pricing-num {
  font-size: 64px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pricing-per {
  font-size: 14px;
  color: var(--text-dim);
  margin-left: 4px;
}
.pricing-desc {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}
.pricing-features li {
  font-size: 14px;
  color: var(--text-2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border: none; }
.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-dim);
  font-style: italic;
}

/* ============ PROMO VIDEO SECTION ============ */
.section-promo {
  background: linear-gradient(180deg, #0A0E27 0%, #1E1B4B 100%);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.section-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.section-promo::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.section-promo .section-title { color: var(--text-on-dark); }
.section-promo .section-sub { color: rgba(255, 255, 255, 0.7); }
.promo-video-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(99, 91, 255, 0.4);
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: #000;
  z-index: 1;
}
.promo-video {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
}
.promo-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 48px auto 0;
  position: relative;
  z-index: 1;
}
.promo-info-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r);
  padding: 20px 16px;
  backdrop-filter: blur(10px);
}
.promo-info-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.promo-info-val {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #FFFFFF 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}
.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
}
.process-step-num {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.process-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-on-dark);
}
.process-step p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}
.process-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.stat { text-align: center; }
.stat-num {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, #A78BFA 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.team-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}
.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple);
  box-shadow: var(--shadow-purple);
}
.team-wanted {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--gradient-primary);
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: 0.25em;
  margin-bottom: 20px;
}
.team-avatar {
  font-size: 72px;
  margin-bottom: 16px;
}
.team-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.team-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-sub {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.form-row { margin-bottom: 16px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--bg);
  box-shadow: 0 0 0 4px var(--purple-glow);
}
.form-row textarea {
  resize: vertical;
  min-height: 100px;
}
.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.contact-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 32px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.info-item:last-of-type { border: none; }
.info-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  color: #FFFFFF;
  border-radius: 50%;
  font-weight: 700;
}
.info-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.info-content p {
  font-size: 14px;
  color: var(--text-2);
}
.info-meta {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
}
.info-meta strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

/* ============ FOOTER ============ */
.footer {
  background: linear-gradient(180deg, #0A0E27 0%, #1E1B4B 100%);
  color: var(--text-on-dark);
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 12px;
  max-width: 280px;
}
.footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-on-dark);
}
.footer ul { list-style: none; }
.footer ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer ul li a:hover {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============ ANIMATIONS ============ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.32, 1), transform 0.8s cubic-bezier(0.16, 1, 0.32, 1);
}
[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ CHAT WIDGET + PANEL ============ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.32, 1);
}
.chat-widget:hover { transform: translateY(-3px); }
.chat-widget-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 32px var(--purple-glow), 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}
.chat-widget-pulse {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.4;
  z-index: 1;
  animation: chatPulse 2s infinite;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}
.chat-widget-tooltip {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
}
.chat-widget:hover .chat-widget-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.tooltip-title {
  font-size: 13px;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tooltip-sub {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

/* ============ CHAT PANEL ============ */
.chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  height: 540px;
  max-height: 80vh;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(99, 91, 255, 0.08);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.32, 1);
}
.chat-panel.open { display: flex; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-header {
  background: var(--gradient-primary);
  color: #FFFFFF;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.chat-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.chat-status {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #4ade80;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.chat-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.chat-close:hover { background: rgba(255, 255, 255, 0.3); }
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #FAFAFC;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  display: flex;
  gap: 8px;
  max-width: 85%;
  animation: msgIn 0.3s cubic-bezier(0.16, 1, 0.32, 1);
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; flex-direction: row-reverse; }
.msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.msg-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  word-wrap: break-word;
}
.msg-bot .msg-bubble {
  background: #FFFFFF;
  color: var(--text);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}
.msg-user .msg-bubble {
  background: var(--gradient-primary);
  color: #FFFFFF;
  border-top-right-radius: 4px;
}
.msg-typing {
  display: flex;
  gap: 4px;
  padding: 8px;
}
.msg-typing span {
  width: 6px;
  height: 6px;
  background: #A78BFA;
  border-radius: 50%;
  animation: typing 1.2s infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { transform: scale(0.6); opacity: 0.5; }
  30% { transform: scale(1); opacity: 1; }
}
.chat-input-area {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
#chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color 0.2s;
}
#chat-input:focus {
  outline: none;
  border-color: var(--purple);
  background: #FFFFFF;
}
.chat-send {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.chat-send:hover { transform: scale(1.05); }
.chat-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 80px 0 60px; min-height: 90vh; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .float-card { display: none; }
  .pricing-card-featured { transform: none; }
  .process-stats { gap: 24px; }
}