/* Onboarding Modal Styles */
.onboarding-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 41, 59, 0.65);
  align-items: center;
  justify-content: center;
}
.onboarding-modal.active {
  display: flex;
}
.onboarding-content {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 2.5rem 2rem 2rem 2rem;
  max-width: 400px;
  width: 90vw;
  position: relative;
  animation: fadeInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.onboarding-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  transition: color 0.2s;
}
.onboarding-close:hover {
  color: #0ea5e9;
}
.onboarding-step h2 {
  margin-bottom: 0.5rem;
  color: #2563eb;
  font-size: 1.5rem;
}
.onboarding-step p {
  margin-bottom: 1rem;
}
.onboarding-step ol {
  margin-bottom: 1.5rem;
  padding-left: 1.2rem;
}
.onboarding-next,
.onboarding-signup-btn {
  background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.onboarding-next:hover,
.onboarding-signup-btn:hover {
  background: linear-gradient(90deg, #1d4ed8 0%, #0ea5e9 100%);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --accent: #0ea5e9;
  --green: #10b981;
  --orange: #f59e0b;
  --pink: #ec4899;
  --teal: #14b8a6;
  --blue: #3b82f6;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --radius: 12px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--gray-700);
  background: white;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Display typeface for brand-forward headings. Space Grotesk gives the site
   a distinctive geometric personality vs. the default Inter-everywhere AI
   template look. Body copy stays Inter for readability. */
.hero-title,
.hero-gradient-text,
.section-title,
.gradient-text,
.feature-card h3,
.ai-showcase-card h3,
.step-card h3,
.testimonial-card strong {
  font-family: "Space Grotesk", "Inter", -apple-system, system-ui, sans-serif;
  letter-spacing: -0.015em;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  background: rgba(255, 255, 255, 0);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

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

.logo-accent {
  background: linear-gradient(135deg, #F5A623, #2196F3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 10px 0;
}

.nav-links a.mobile-signin {
  display: none;
}

.nav-links a:hover {
  color: var(--gray-900);
}

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

.nav-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-btn-ghost {
  color: var(--gray-600);
}

.nav-btn-ghost:hover {
  color: var(--gray-900);
  background: var(--gray-100);
}

.nav-btn-primary {
  background: var(--primary);
  color: white;
}

.nav-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hero {
  position: relative;
  padding: 160px 0 60px;
  overflow: hidden;
  text-align: center;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #f0f0ff 0%, #faf5ff 30%, white 70%);
}

.hero-grid {
  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;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    black 30%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 30%,
    black 30%,
    transparent 70%
  );
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--primary-light);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: 0;
  right: -80px;
}

.hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
}

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

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

.hero-title {
  /* Modular scale ~1.5: hero 56 → section 36 → card 24 */
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.cta-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.cta-btn-outline {
  background: white;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}

.cta-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}

.hero-preview {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 60px auto 0;
  padding: 0 24px;
}

.preview-window {
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 25px 60px -12px rgba(0, 0, 0, 0.4),
    0 0 120px rgba(37, 99, 235, 0.12);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-dots {
  display: flex;
  gap: 8px;
}

.preview-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.preview-dots span:nth-child(1) {
  background: #ef4444;
}
.preview-dots span:nth-child(2) {
  background: #f59e0b;
}
.preview-dots span:nth-child(3) {
  background: #10b981;
}

.preview-url {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--gray-400);
  font-family: "SF Mono", "Fira Code", monospace;
}

.preview-content {
  display: flex;
  min-height: 340px;
}

.preview-sidebar {
  width: 60px;
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preview-sidebar-item {
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.preview-sidebar-item.active {
  background: rgba(37, 99, 235, 0.3);
}

.preview-main {
  flex: 1;
  padding: 24px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.preview-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 20px;
}

.preview-card-icon {
  margin-bottom: 12px;
}

.preview-card-label {
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.preview-card-value {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.preview-table {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  overflow: hidden;
}

.preview-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.preview-row-header {
  background: rgba(255, 255, 255, 0.04);
  color: var(--gray-400);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-name {
  color: white;
  font-weight: 500;
}
.preview-skills {
  color: var(--gray-400);
}
.preview-score {
  color: var(--green);
  font-weight: 700;
  text-align: right;
}

.logos-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-100);
}

.logos-label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logos-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

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

.section-title {
  /* Part of modular scale (hero 56 → section 36 → card 24). Was 44, pulled
     down to 36 so section/card jump isn't 2.2x. */
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.gradient-text {
  color: var(--primary);
}

.section-desc {
  font-size: 18px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.features {
  padding: 60px 0;
  background: var(--gray-50);
}

.features-grid {
  /* Asymmetric grid: first card spans 2 cols (hero feature), remainder flow
     in 2 cols of equal width. Breaks the 3-col "AI template" rhythm and
     elevates the primary feature visually. */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.features-grid > .feature-card:first-child {
  grid-column: 1 / -1;
  padding: 40px 44px;
}

.feature-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  /* Flat icon — no colored circle background (was AI-slop anti-pattern #3). */
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-icon-purple,
.feature-icon-blue,
.feature-icon-green,
.feature-icon-orange,
.feature-icon-pink,
.feature-icon-teal {
  color: var(--primary);
  background: transparent;
}

.feature-card h3 {
  /* Lifted from 20→24 to close the old H2→H3 2.2x jump. Now 36→24 = 1.5x. */
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* AI Showcase Section */
.ai-showcase {
  padding: 60px 0;
  background: white;
}

.ai-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.ai-showcase-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ai-showcase-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.ai-showcase-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.ai-showcase-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.ai-showcase-card > p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.ai-showcase-features {
  list-style: none;
  margin-bottom: 24px;
}

.ai-showcase-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 8px;
  line-height: 1.5;
}

.ai-showcase-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.ai-showcase-btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.ai-showcase-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .ai-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.how-it-works {
  padding: 60px 0;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-card {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.step-content p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.step-mock {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px;
  width: 100%;
  max-width: 320px;
}

.mock-input {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.mock-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.mock-text {
  font-size: 13px;
  color: var(--gray-600);
}

.mock-btn {
  background: var(--primary);
  color: white;
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.mock-candidate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
}

.mock-candidate:last-child {
  border: none;
}

.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  flex-shrink: 0;
}

.mock-info {
  flex: 1;
}

.mock-name {
  width: 80px;
  height: 10px;
  background: var(--gray-300);
  border-radius: 4px;
  margin-bottom: 6px;
}

.mock-detail {
  width: 100px;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px;
}

.mock-score {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}

.mock-channels {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.mock-channel {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.mock-ch-email {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}
.mock-ch-whatsapp {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}
.mock-ch-linkedin {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.mock-pipeline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-stage {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-600);
}

.mock-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mock-dot-blue {
  background: var(--blue);
}
.mock-dot-yellow {
  background: var(--orange);
}
.mock-dot-green {
  background: var(--green);
}

.mock-stage-line {
  flex: 1;
  height: 2px;
  background: var(--gray-200);
  min-width: 16px;
}

.testimonials {
  padding: 60px 0;
  background: var(--gray-50);
}

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

.testimonial-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-avatar-1 {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
}
.testimonial-avatar-2 {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.testimonial-avatar-3 {
  background: linear-gradient(135deg, #ec4899, #0ea5e9);
}

.testimonial-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
}

.testimonial-role {
  font-size: 13px;
  color: var(--gray-400);
}

.pricing {
  padding: 100px 0;
}

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

.pricing-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.pricing-card-featured {
  border: 2px solid var(--primary);
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.08),
    var(--shadow-lg);
}

.pricing-card-featured:hover {
  box-shadow:
    0 0 0 4px rgba(37, 99, 235, 0.12),
    var(--shadow-xl);
}

.pricing-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-plan {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-900);
}

.pricing-desc {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

.pricing-price {
  margin: 28px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.03em;
  line-height: 1;
}

.pricing-period {
  font-size: 16px;
  color: var(--gray-400);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.pricing-features svg {
  flex-shrink: 0;
}

.pricing-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pricing-btn-primary {
  background: var(--primary);
  color: white;
}

.pricing-btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.pricing-btn-outline {
  background: white;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}

.pricing-btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cta-section {
  padding: 60px 0;
}

.cta-card {
  position: relative;
  background: var(--dark);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-glow-1 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.3);
  top: -150px;
  left: -100px;
}

.cta-glow-2 {
  width: 350px;
  height: 350px;
  background: rgba(139, 92, 246, 0.25);
  bottom: -150px;
  right: -100px;
}

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

.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 18px;
  color: var(--gray-400);
  margin-bottom: 32px;
}

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

.cta-btn-white {
  background: white;
  color: var(--gray-900);
  box-shadow: var(--shadow-lg);
}

.cta-btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-note {
  font-size: 14px !important;
  color: var(--gray-500) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

.footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 64px 0 32px;
}

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

.footer-tagline {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--gray-500);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-400);
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fade-up 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .step-card {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .step-visual {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 12px;
  }

  .nav-links.mobile-open .mobile-signin {
    display: block !important;
    padding: 10px 16px;
    background: linear-gradient(135deg, #818cf8, #6366f1);
    color: white !important;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    margin-top: 8px;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
  }

  .nav-actions.mobile-open {
    display: flex;
    position: absolute;
    top: calc(100% + 160px);
    left: 0;
    right: 0;
    background: white;
    padding: 0 24px 20px;
    box-shadow: var(--shadow-lg);
  }

  .hero {
    padding: 120px 0 40px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: center;
  }

  .step-number {
    font-size: 40px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-divider {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .preview-content {
    flex-direction: column;
  }

  .preview-sidebar {
    flex-direction: row;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .preview-sidebar-item {
    height: 8px;
    flex: 1;
  }

  .preview-cards {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 24px;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border-radius: var(--radius);
  z-index: 200;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* Reveal scroll-triggered content for users who opt out of motion — otherwise
     the IntersectionObserver never fires and the page looks half-empty. */
  [data-animate],
  .animate-fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
