/* ============================================================
   ClientForge.ai — Premium SaaS Landing Page Styles
   ============================================================ */

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

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  --color-text: #111827;
  --color-text-secondary: #6b7280;
  --color-text-tertiary: #9ca3af;
  --color-primary: #6366f1;
  --color-primary-dark: #4f46e5;
  --color-primary-light: #818cf8;
  --color-primary-bg: rgba(99,102,241,0.08);
  --color-purple: #8b5cf6;
  --color-blue: #3b82f6;
  --color-green: #22c55e;
  --color-orange: #f59e0b;
  --color-pink: #ec4899;
  --color-red: #ef4444;
  --color-indigo: #6366f1;
  --color-gray: #9ca3af;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.10);
  --shadow-glow: 0 0 80px rgba(99,102,241,0.15);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 1px 3px rgba(99,102,241,0.3), 0 4px 12px rgba(99,102,241,0.15);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 2px 6px rgba(99,102,241,0.4), 0 8px 24px rgba(99,102,241,0.2);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-bg);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn-ghost:hover {
  color: var(--color-primary);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

/* --- GRADIENT TEXT --- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 50%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250,250,250,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.logo-icon {
  display: flex;
  align-items: center;
}

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

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition);
}

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

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

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

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* --- HERO --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-badge,
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--color-text-tertiary);
  margin-bottom: 56px;
}

/* --- DASHBOARD PREVIEW --- */
.dashboard-preview {
  max-width: 960px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.dashboard-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.12), 0 0 100px rgba(99,102,241,0.1);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f9fafb;
  border-bottom: 1px solid var(--color-border-light);
}

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

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

.preview-url {
  font-size: 12px;
  color: var(--color-text-tertiary);
  background: var(--color-surface);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid var(--color-border-light);
}

.preview-body {
  padding: 24px;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.preview-title {
  font-size: 18px;
  font-weight: 700;
}

.preview-loading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-green);
  font-weight: 500;
}

.preview-loading::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* STAT CARDS */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: all var(--transition);
}

.stat-card:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-text-tertiary);
}

.stat-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon-leads { background: rgba(239,68,68,0.1); color: var(--color-red); }
.stat-icon-qualified { background: rgba(16,185,129,0.1); color: var(--color-green); }
.stat-icon-booked { background: rgba(59,130,246,0.1); color: var(--color-blue); }
.stat-icon-followup { background: rgba(99,102,241,0.1); color: var(--color-primary); }

.stat-value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.stat-change {
  font-size: 12px;
  font-weight: 500;
}

.stat-change.positive { color: var(--color-green); }
.stat-change.neutral { color: var(--color-text-tertiary); }

/* PREVIEW BOTTOM (leads + funnel) */
.preview-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.preview-leads, .preview-funnel {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.preview-leads h4, .preview-funnel h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.lead-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--color-border-light);
}

.lead-row:last-child { border-bottom: none; }

.lead-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lead-dot.green { background: var(--color-green); }
.lead-dot.blue { background: var(--color-blue); }
.lead-dot.purple { background: var(--color-purple); }

.lead-tag {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
}

.lead-tag.qualified { background: rgba(34,197,94,0.1); color: var(--color-green); }
.lead-tag.contacted { background: rgba(59,130,246,0.1); color: var(--color-blue); }
.lead-tag.qualifying { background: rgba(139,92,246,0.1); color: var(--color-purple); }

/* FUNNEL */
.funnel-item {
  display: grid;
  grid-template-columns: 80px 50px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
}

.funnel-count {
  text-align: right;
  font-weight: 600;
  font-size: 12px;
  color: var(--color-text-secondary);
}

.funnel-bar {
  height: 6px;
  background: var(--color-border-light);
  border-radius: 100px;
  overflow: hidden;
}

.funnel-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

.funnel-fill.gray { background: var(--color-gray); }
.funnel-fill.blue { background: var(--color-blue); }
.funnel-fill.purple { background: var(--color-purple); }
.funnel-fill.orange { background: var(--color-orange); }
.funnel-fill.green { background: var(--color-green); }

/* --- LOGOS SECTION --- */
.logos-section {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.logos-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 24px;
}

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

.logo-placeholder {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-border);
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.logo-placeholder:hover {
  color: var(--color-text-tertiary);
}

/* --- SECTION HEADER --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* --- VALUE PROPOSITION --- */
.value-section {
  padding: 60px 0 40px;
}

/* --- FEATURES --- */
.features-section {
  padding: 80px 0 100px;
}

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

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

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon.purple { background: rgba(139,92,246,0.1); color: var(--color-purple); }
.feature-icon.blue { background: rgba(59,130,246,0.1); color: var(--color-blue); }
.feature-icon.green { background: rgba(34,197,94,0.1); color: var(--color-green); }
.feature-icon.orange { background: rgba(245,158,11,0.1); color: var(--color-orange); }
.feature-icon.pink { background: rgba(236,72,153,0.1); color: var(--color-pink); }
.feature-icon.indigo { background: rgba(99,102,241,0.1); color: var(--color-indigo); }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card-link:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.15);
}

.feature-card-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- SERVICE PAGES --- */
.service-hero {
  padding: 80px 0 60px;
}

.service-hero .hero-container {
  text-align: center;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  text-decoration: none;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--color-primary);
}

.service-hero .hero-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
}

.service-hero .hero-subtitle {
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 24px;
}

.service-hero .btn {
  margin-top: 8px;
}

.service-content-section {
  padding: 60px 0 80px;
}

.service-content {
  max-width: 720px;
  margin: 0 auto;
}

.service-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 16px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.service-content .btn {
  margin-top: 16px;
}

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

.steps-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 32px;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.step-connector {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-purple));
  margin-top: 56px;
  border-radius: 2px;
  flex-shrink: 0;
  opacity: 0.3;
}

/* --- WHO IT'S FOR --- */
.who-section {
  padding: 100px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
}

.who-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.who-card {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.who-card:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

/* --- SERVICES --- */
.services-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--color-border-light);
}

/* --- PRICING --- */
.pricing-section {
  padding: 100px 0;
}

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

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

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

.pricing-card.popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--color-primary);
  transform: scale(1.03);
}

.pricing-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--color-primary);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--color-text-tertiary);
}

.pricing-price {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 15px;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

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

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

.pricing-consultation {
  margin-top: 48px;
  padding: 32px;
  text-align: center;
  background: var(--color-primary-bg);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
}

.pricing-consultation p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  padding: 100px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

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

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

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

.stars {
  color: var(--color-orange);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

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

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--color-text-tertiary);
}

/* --- CONTACT --- */
.contact-section {
  padding: 100px 0;
}

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

.contact-info h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
}

.contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: all var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group-optin {
  margin-bottom: 20px;
}

.optin-checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 400 !important;
  font-size: 13px !important;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.optin-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.optin-checkbox span {
  flex: 1;
}

/* --- FOOTER --- */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-links h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}

.footer-socials a:hover {
  color: #fff;
}

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

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

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

@media (max-width: 768px) {
  .navbar {
    z-index: 1000;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .navbar.nav-open .nav-container {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  }

  .navbar.nav-open .logo {
    order: 1;
  }

  .navbar.nav-open .mobile-toggle {
    order: 2;
    margin-left: auto;
  }

  .navbar.nav-open .nav-links,
  .navbar.nav-open .nav-actions {
    display: flex;
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    animation: nav-panel-in 0.2s ease;
  }

  .navbar.nav-open .nav-links {
    order: 3;
    list-style: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border-light);
  }

  .navbar.nav-open .nav-links li {
    border-bottom: 1px solid var(--color-border-light);
  }

  .navbar.nav-open .nav-links li:last-child {
    border-bottom: none;
  }

  .navbar.nav-open .nav-links a {
    display: block;
    padding: 14px 4px;
    font-size: 15px;
    font-weight: 500;
  }

  .navbar.nav-open .nav-actions {
    order: 4;
    margin-top: 8px;
    padding-top: 16px;
    gap: 10px;
    border-top: 1px solid var(--color-border);
  }

  .navbar.nav-open .nav-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  @keyframes nav-panel-in {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .mobile-toggle {
    display: flex;
    z-index: 1;
  }

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

  .hero-title {
    font-size: 32px;
  }

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

  .hero-cta {
    flex-direction: column;
  }

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

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

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

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 32px;
    margin: 0;
  }

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

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

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

  .logos-row {
    gap: 24px;
  }
}

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

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

  .form-row {
    grid-template-columns: 1fr;
  }
}
