/* ============================================================
   DataSync Pro — SaaS Platform Stylesheet
   Tech Modern / Vibrant Gradient — Dark Theme
   ============================================================ */

/* ---- CSS VARIABLES ---- */
:root {
  --bg:           #050d1a;
  --primary:      #2563eb;
  --primary-hover:#1d4ed8;
  --secondary:    #06b6d4;
  --accent:       #f59e0b;
  --surface:      #0f1e30;
  --surface-2:    #162840;
  --border:       rgba(37, 99, 235, 0.2);
  --border-hover: rgba(6, 182, 212, 0.5);
  --text:         #f1f5f9;
  --text-muted:   #94a3b8;
  --text-dim:     #475569;
  --gradient-hero: linear-gradient(135deg, #050d1a, #0a1628, #0e2040);
  --gradient-blue: linear-gradient(135deg, #2563eb, #06b6d4);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
  --radius:       12px;
  --radius-lg:    20px;
  --shadow-glow:  0 0 30px rgba(37, 99, 235, 0.3);
  --shadow-cyan:  0 0 30px rgba(6, 182, 212, 0.2);
  --transition:   0.3s ease;
  --font:         'Plus Jakarta Sans', sans-serif;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

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

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

.gradient-text-light {
  background: linear-gradient(135deg, #93c5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-blue);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.07);
  color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block { width: 100%; justify-content: center; }

/* ---- SECTION COMMON ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 100px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 13, 26, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-blue);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.45);
}

.logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav-login {
  margin-left: auto;
}

.nav-cta { 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(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Aurora background animation */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: auroraFloat 8s ease-in-out infinite;
}

.aurora-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 70%);
  top: -15%;
  left: -10%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.aurora-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), transparent 70%);
  top: 20%;
  right: -5%;
  animation-delay: -3s;
  animation-duration: 12s;
}

.aurora-orb--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2), transparent 70%);
  bottom: -10%;
  left: 40%;
  animation-delay: -6s;
  animation-duration: 9s;
}

@keyframes auroraFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(30px, -20px) scale(1.05); }
  50%       { transform: translate(-15px, 30px) scale(0.97); }
  75%       { transform: translate(20px, 15px) scale(1.03); }
}

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
  animation: fadeSlideDown 0.8s ease 0.1s both;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeSlideDown 0.8s ease 0.2s both;
}

.hero-subtitle strong {
  color: var(--secondary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 64px;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}

.hero-trusted {
  animation: fadeSlideDown 0.8s ease 0.4s both;
}

.trusted-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.trusted-logos {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.trusted-logo {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  transition: all var(--transition);
}

.trusted-logo:hover {
  color: var(--text-muted);
  border-color: rgba(255,255,255,0.15);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--secondary);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

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

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  text-align: center;
  position: relative;
  padding: 24px;
}

.stat-number {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.6));
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(37,99,235,0.08), transparent 70%);
  border-radius: var(--radius);
  pointer-events: none;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--bg);
}

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

.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--gradient-blue);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--surface);
  z-index: 0;
  transition: background 0.4s ease;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.15);
}

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

.feature-card--highlight {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.06));
  border-color: rgba(6, 182, 212, 0.3);
}

.feature-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gradient-blue);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--secondary);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(6, 182, 212, 0.2);
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 100px;
  font-size: 12px;
  color: #93c5fd;
  font-weight: 500;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps-wrapper {
  position: relative;
}

.steps-connector {
  position: absolute;
  top: 80px;
  left: calc(16.66% + 40px);
  right: calc(16.66% + 40px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
  opacity: 0.4;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}

.step-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.step-number {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 24px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.step-list li i {
  color: var(--secondary);
  font-size: 11px;
  flex-shrink: 0;
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integrations {
  padding: 100px 0;
  background: var(--bg);
}

.integrations-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}

.integration-pill:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--secondary);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.12);
}

.integration-pill i {
  font-size: 16px;
}

.integration-pill--featured {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.35);
  color: #93c5fd;
}

.integration-pill--featured:hover {
  background: rgba(37, 99, 235, 0.18);
}

.integrations-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.integrations-more span {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
}

.toggle-label.active,
.toggle-label--active { color: var(--text); }

.toggle-badge {
  padding: 3px 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

.toggle-switch {
  width: 52px;
  height: 28px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

.toggle-switch.active,
.toggle-switch--on {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--text);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.toggle-switch.active .toggle-thumb,
.toggle-switch--on .toggle-thumb {
  transform: translateX(24px);
}

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

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pricing-card--popular {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.04));
  border-color: rgba(37, 99, 235, 0.5);
  transform: scale(1.03);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
}

.pricing-card--popular:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
}

.pricing-popular-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--gradient-blue);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
}

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: clamp(44px, 5vw, 56px);
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  transition: all 0.35s ease;
}

.price-period {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.pricing-features li i {
  width: 16px;
  font-size: 12px;
  flex-shrink: 0;
}

.pricing-features li i.fa-check { color: var(--secondary); }
.pricing-features li i.fa-xmark { color: var(--text-dim); }
.pricing-features li.disabled { color: var(--text-dim); }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pricing-note i { color: var(--primary); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--bg);
}

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

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-cyan);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(37,99,235,0.07), rgba(6,182,212,0.04));
  border-color: rgba(6, 182, 212, 0.3);
  transform: scale(1.02);
}

.testimonial-card--featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 14px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-quote strong { color: var(--text); font-style: normal; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 100px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open,
.faq-item--open {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition);
  background: none;
}

.faq-question:hover { color: var(--secondary); }

.faq-icon {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.faq-item.open .faq-icon,
.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer,
.faq-item--open .faq-answer { max-height: 400px; }

.faq-answer p {
  padding: 0 24px 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628, #0e2040, #0a1a35);
}

.cta-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(6, 182, 212, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 100px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.cta-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.cta-input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 15px;
}

.cta-input {
  width: 100%;
  padding: 15px 16px 15px 44px;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: all var(--transition);
  outline: none;
}

.cta-input::placeholder { color: var(--text-dim); }

.cta-input:focus {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cta-input.error,
.cta-input.input--error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.cta-input.success {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.cta-form-message {
  min-height: 22px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  transition: all var(--transition);
}

.cta-form-message.error,
.cta-form-message--error   { color: #f87171; }
.cta-form-message.success,
.cta-form-message--success { color: #4ade80; }

/* Mobile nav open state alias */
.nav-links.nav-links--open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(5, 13, 26, 0.97);
  backdrop-filter: blur(20px);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 4px;
  z-index: 999;
}

/* Nav burger active lines */
.nav-toggle--active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle--active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle--active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Stat glow active */
.stat-glow--active {
  background: radial-gradient(circle at center, rgba(37,99,235,0.18), transparent 65%);
}

/* Nav active link */
.nav-links a.active {
  color: var(--text);
  background: rgba(37,99,235,0.1);
}

/* gradient-text-amber for CTA */
.gradient-text-amber {
  background: linear-gradient(135deg, #f59e0b, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-perks {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.cta-perks span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.cta-perks span i {
  color: var(--secondary);
  font-size: 11px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #030a14;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

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

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

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: var(--primary);
  color: #93c5fd;
  transform: translateY(-2px);
}

.footer-links-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy, .footer-made {
  font-size: 13px;
  color: var(--text-dim);
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top    { grid-template-columns: repeat(3, 1fr); }
  .steps-connector { display: none; }
  .steps-grid    { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(5, 13, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

  .features-grid       { grid-template-columns: 1fr; }
  .steps-grid          { grid-template-columns: 1fr; }
  .pricing-grid        { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .pricing-card--popular { transform: none; }

  .hero-actions        { flex-direction: column; align-items: center; }
  .cta-form            { flex-direction: column; align-items: stretch; }
  .cta-input-wrapper   { min-width: 100%; }
  .footer-top          { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom       { flex-direction: column; text-align: center; }
  .integrations-more   { flex-direction: column; gap: 16px; }
  .cta-perks           { gap: 16px; }
}

@media (max-width: 480px) {
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-top   { grid-template-columns: 1fr; }
  .trusted-logos { gap: 10px; }
}

@media (max-width: 380px) {
  .hero-title   { font-size: clamp(22px, 6vw, 32px); }
  .stats-grid   { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-lg       { padding: 12px 20px; font-size: 14px; }
  .cta-perks    { flex-direction: column; gap: 8px; }
}
