/* ═══════════════════════════════════════════════════════════
   FLUX — Design System
   Palette: Void Black / Midnight Navy / Electric Violet / Gold
   Typography: Syne (display) + Plus Jakarta Sans (body)
═══════════════════════════════════════════════════════════ */

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

:root {
  --void:       #08091A;
  --midnight:   #0F1035;
  --deep:       #141640;
  --violet:     #6C63FF;
  --violet-dim: #4A44CC;
  --violet-glow:#6C63FF33;
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --white:      #E8E6F0;
  --white-dim:  #A8A6C0;
  --white-faint:#3A3860;
  --surface:    #12133A;
  --surface-2:  #1A1C4A;
  --border:     rgba(108,99,255,0.18);
  --border-soft:rgba(232,230,240,0.08);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(108,99,255,0.12) inset;
  --shadow-glow: 0 0 60px rgba(108,99,255,0.25);
  --shadow-gold: 0 0 40px rgba(201,168,76,0.2);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--void);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--white-faint); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

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

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--violet-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108,99,255,0.45);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline:hover {
  border-color: var(--violet);
  color: var(--violet);
  background: var(--violet-glow);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--white-dim);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--white); }

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  color: rgba(232,230,240,0.7);
  font-family: var(--font-display);
  font-weight: 500;
  transition: var(--transition);
}
.btn-ghost-light:hover { color: var(--white); }

.btn-sm  { padding: 9px 20px; font-size: 0.875rem; }
.btn-lg  { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; padding: 14px 24px; font-size: 0.95rem; }

/* ══════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: var(--transition);
}
.nav-header.scrolled {
  background: rgba(8,9,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}
.logo-mark {
  font-size: 1.5rem;
  color: var(--violet);
  line-height: 1;
  filter: drop-shadow(0 0 8px var(--violet));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white-dim);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); background: var(--border-soft); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Animated gradient mesh background */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(108,99,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 70% at 60% 80%, rgba(108,99,255,0.1) 0%, transparent 60%);
  animation: meshShift 12s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { opacity: 0.8; transform: scale(1) rotate(0deg); }
  100% { opacity: 1;   transform: scale(1.05) rotate(1deg); }
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb--1 {
  width: 500px; height: 500px;
  background: rgba(108,99,255,0.18);
  top: -100px; left: -100px;
  animation: orbFloat1 15s ease-in-out infinite;
}
.hero-orb--2 {
  width: 350px; height: 350px;
  background: rgba(201,168,76,0.12);
  top: 20%; right: -80px;
  animation: orbFloat2 18s ease-in-out infinite;
}
.hero-orb--3 {
  width: 280px; height: 280px;
  background: rgba(108,99,255,0.12);
  bottom: 10%; left: 30%;
  animation: orbFloat3 20s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(40px,-30px) scale(1.05); }
  66%     { transform: translate(-20px,40px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(-30px,20px); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(20px,-40px) scale(1.1); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.3);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet);
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--violet);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--violet);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.6; transform: scale(0.85); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}
.avatar-stack {
  display: flex;
}
.avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--void);
  margin-left: -10px;
  object-fit: cover;
}
.avatar:first-child { margin-left: 0; }
.proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 1px; }
.proof-text span { font-size: 0.82rem; color: var(--white-dim); }
.proof-text strong { color: var(--white); }

/* ── UI Mockup ────────────────────────────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  animation: mockupFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes mockupFloat {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  50%     { transform: translateY(-12px) rotate(0.5deg); }
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-soft);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dot--red    { background: #FF5F57; }
.dot--yellow { background: #FEBC2E; }
.dot--green  { background: #28C840; }
.mockup-title {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--white-dim);
  font-weight: 500;
}

.mockup-body {
  display: flex;
  height: 280px;
}

.mockup-sidebar {
  width: 130px;
  flex-shrink: 0;
  padding: 16px 10px;
  border-right: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--white-dim);
  cursor: pointer;
  transition: var(--transition);
}
.sidebar-item--active {
  background: var(--violet-glow);
  color: var(--violet);
  border: 1px solid rgba(108,99,255,0.25);
}
.sidebar-item:hover:not(.sidebar-item--active) {
  background: var(--border-soft);
  color: var(--white);
}

.mockup-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}

.mockup-stat-row {
  display: flex;
  gap: 10px;
}
.mockup-stat {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-label { font-size: 0.65rem; color: var(--white-dim); }
.stat-value { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); }
.stat-delta { font-size: 0.65rem; font-weight: 600; }
.stat-delta--up { color: #4ADE80; }

.mockup-chart {
  flex: 1;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  align-items: flex-end;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  width: 100%;
  height: 60px;
}
.chart-bar {
  flex: 1;
  height: var(--h);
  background: var(--white-faint);
  border-radius: 3px 3px 0 0;
  transition: height 1s ease;
}
.chart-bar--active {
  background: linear-gradient(180deg, var(--violet) 0%, var(--violet-dim) 100%);
  box-shadow: 0 0 12px rgba(108,99,255,0.5);
}

.mockup-flow {
  display: flex;
  align-items: center;
  gap: 6px;
}
.flow-node {
  flex: 1;
  padding: 7px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid;
}
.flow-node--trigger { background: rgba(108,99,255,0.12); border-color: rgba(108,99,255,0.3); color: #A89FFF; }
.flow-node--action  { background: rgba(201,168,76,0.1);  border-color: rgba(201,168,76,0.3);  color: var(--gold-light); }
.flow-node--output  { background: rgba(74,222,128,0.1);  border-color: rgba(74,222,128,0.3);  color: #4ADE80; }
.flow-arrow { color: var(--white-dim); font-size: 0.8rem; flex-shrink: 0; }

.mockup-glow {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(108,99,255,0.3) 0%, transparent 70%);
  bottom: -80px; right: -80px;
  pointer-events: none;
  z-index: 1;
}

/* ── Logos ────────────────────────────────────────────── */
.hero-logos {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px 0;
  border-top: 1px solid var(--border-soft);
  margin-top: 60px;
}
.logos-label {
  font-size: 0.8rem;
  color: var(--white-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.logos-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.logo-pill {
  padding: 8px 20px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white-dim);
  letter-spacing: 0.02em;
  transition: var(--transition);
}
.logo-pill:hover { color: var(--white); border-color: var(--border); }

/* ══════════════════════════════════════════════════════
   SECTION SHARED STYLES
══════════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(108,99,255,0.1);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════════════ */
.features {
  padding: 120px 0;
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108,99,255,0.4), transparent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.feature-card:hover::before { opacity: 1; }

.feature-card--large {
  grid-column: span 2;
}

.feature-icon-wrap { margin-bottom: 20px; }
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(108,99,255,0.12);
  border: 1px solid rgba(108,99,255,0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet);
  transition: var(--transition);
}
.feature-card:hover .feature-icon {
  background: rgba(108,99,255,0.2);
  box-shadow: 0 0 20px rgba(108,99,255,0.3);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.7;
}
.feature-tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.feature-tag {
  padding: 4px 12px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold-light);
}

/* ══════════════════════════════════════════════════════
   STATS BAND
══════════════════════════════════════════════════════ */
.stats-band {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(108,99,255,0.06) 0%, transparent 70%);
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
  margin-left: -4px;
}
.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-top: 4px;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.testimonials {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.carousel-wrapper { position: relative; }

.carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  min-width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--violet);
  opacity: 0.4;
  margin-bottom: 16px;
  font-weight: 800;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 720px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.author-info strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.author-info span {
  font-size: 0.82rem;
  color: var(--white-dim);
}
.testimonial-stars {
  margin-left: auto;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 2px;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.carousel-btn:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--white-faint);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.carousel-dot.active {
  background: var(--violet);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(108,99,255,0.5);
}

/* ══════════════════════════════════════════════════════
   PRICING
══════════════════════════════════════════════════════ */
.pricing {
  padding: 120px 0;
  position: relative;
}
.pricing::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 56px;
}
.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-dim);
}
.toggle-badge {
  padding: 3px 10px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
}
.toggle-switch {
  width: 48px; height: 26px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}
.toggle-switch.active { background: var(--violet); border-color: var(--violet); }
.toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.toggle-switch.active .toggle-thumb { transform: translateX(22px); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  background: linear-gradient(160deg, var(--surface-2) 0%, rgba(108,99,255,0.08) 100%);
  border-color: rgba(108,99,255,0.4);
  box-shadow: 0 0 0 1px rgba(108,99,255,0.15), var(--shadow-glow);
  transform: scale(1.03);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 18px;
  background: linear-gradient(135deg, var(--violet), var(--violet-dim));
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(108,99,255,0.4);
}

.pricing-plan {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 12px;
}
.price-currency {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white-dim);
  align-self: flex-start;
  margin-top: 6px;
}
.price-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: var(--transition);
}
.price-amount--custom {
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.price-period {
  font-size: 0.9rem;
  color: var(--white-dim);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 52px;
}

.pricing-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--white-dim);
}
.check {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4ADE80;
  flex-shrink: 0;
  width: 18px;
}
.check--muted { color: var(--white-faint); }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: var(--white-dim);
}

/* ══════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════ */
.cta-band {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border-top: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.cta-orb--1 {
  width: 400px; height: 400px;
  background: rgba(108,99,255,0.2);
  top: -100px; left: -100px;
}
.cta-orb--2 {
  width: 300px; height: 300px;
  background: rgba(201,168,76,0.12);
  bottom: -80px; right: -80px;
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--white-dim);
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-soft);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo { margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition: var(--transition);
}
.social-link:hover {
  background: var(--violet-glow);
  border-color: var(--border);
  color: var(--violet);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--white-dim);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.82rem;
  color: var(--white-dim);
}
.footer-made { color: var(--white-dim); }

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.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; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-social-proof { justify-content: center; }
  .hero-visual { justify-content: center; }
  .ui-mockup { max-width: 420px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card--large { grid-column: span 2; }

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

  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }

  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }

  /* Mobile nav open state */
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(8,9,26,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border-soft);
    z-index: 99;
  }
  .nav-links.mobile-open .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  .nav-actions.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: auto;
    left: 0; right: 0;
    background: rgba(8,9,26,0.97);
    backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    gap: 10px;
    z-index: 99;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-actions.mobile-open .btn-primary,
  .nav-actions.mobile-open .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  .hero { padding: 100px 0 60px; }
  .hero-headline { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary,
  .hero-cta .btn-outline { justify-content: center; }

  .ui-mockup { max-width: 100%; }
  .mockup-sidebar { width: 100px; }
  .mockup-stat-row { flex-direction: column; gap: 6px; }

  .features { padding: 80px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .stats-band { padding: 60px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .testimonials { padding: 80px 0; }
  .testimonial-card { padding: 32px 24px; }
  .testimonial-text { font-size: 1rem; }
  .testimonial-stars { display: none; }

  .pricing { padding: 80px 0; }

  .cta-band { padding: 80px 0; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn-primary,
  .cta-actions .btn-ghost-light { justify-content: center; }

  .footer { padding: 60px 0 32px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* FAQ responsive */
  .faq-grid { grid-template-columns: 1fr; gap: 0; }
  .faq-col:last-child .faq-item:first-child { border-top: none; }
}

/* ══════════════════════════════════════════════════════
   MARQUEE LOGO CLOUD
══════════════════════════════════════════════════════ */
.marquee-section {
  padding: 40px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}

.marquee-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white-dim);
  margin-bottom: 24px;
}

.marquee-track-wrap {
  position: relative;
  overflow: hidden;
}

.marquee-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-fade--left {
  left: 0;
  background: linear-gradient(90deg, var(--void) 0%, transparent 100%);
}
.marquee-fade--right {
  right: 0;
  background: linear-gradient(270deg, var(--void) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: marqueeScroll 32s linear infinite;
  flex-shrink: 0;
}
.marquee-inner--dup {
  animation: marqueeScroll 32s linear infinite;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-track:hover .marquee-inner,
.marquee-track:hover .marquee-inner--dup {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 28px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white-dim);
  white-space: nowrap;
  border-right: 1px solid var(--border-soft);
  transition: color var(--transition);
  cursor: default;
}
.marquee-item:hover { color: var(--white); }
.marquee-item svg { opacity: 0.6; flex-shrink: 0; }
.marquee-item:hover svg { opacity: 1; }

/* ══════════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════════ */
.faq {
  padding: 120px 0;
  position: relative;
}
.faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.faq-contact-link {
  color: var(--violet);
  font-weight: 600;
  transition: var(--transition);
}
.faq-contact-link:hover { color: var(--gold-light); }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  align-items: start;
}

.faq-col {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border-soft); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--white);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--violet); }
.faq-question[aria-expanded="true"] { color: var(--violet); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  transition: var(--transition);
}
.faq-question:hover .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--violet-glow);
  border-color: rgba(108,99,255,0.4);
  color: var(--violet);
}
.faq-question[aria-expanded="true"] .faq-icon svg {
  transform: rotate(180deg);
}
.faq-icon svg {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.3s ease,
              padding 0.3s ease;
  opacity: 0;
}
.faq-answer.open {
  max-height: 300px;
  opacity: 1;
  padding-bottom: 20px;
}
.faq-answer p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .mockup-body { height: 220px; }
  .mockup-sidebar { display: none; }
}