/* ═══════════════════════════════════════════════════════════
   Pilomerce Waitlist — Design System & Styles
   Premium dark glassmorphic theme
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  /* Colors */
  --bg-primary: #070a13;
  --bg-secondary: #0c1021;
  --bg-card: rgba(12, 16, 33, 0.6);
  --bg-card-hover: rgba(20, 26, 50, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --emerald: #10b981;
  --emerald-light: #34d399;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --rose: #f43f5e;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --text-on-primary: #ffffff;

  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(99, 102, 241, 0.3);

  /* Spacing */
  --section-padding: 120px 24px;
  --section-padding-sm: 80px 16px;
  --max-width: 1200px;
  --max-width-narrow: 800px;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-glow-lg: 0 0 80px rgba(99, 102, 241, 0.2), 0 0 160px rgba(6, 182, 212, 0.1);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-md: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

/* ─── Utility Classes ────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 50%, var(--emerald-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--text-on-primary);
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4), 0 0 60px rgba(99, 102, 241, 0.15);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 80px rgba(99, 102, 241, 0.25);
}

.btn-nav {
  font-size: 0.82rem;
  padding: 10px 22px;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  background: var(--bg-glass);
}

.btn-nav:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

/* Google Sign-In Button */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  padding: 14px 28px;
  background: #ffffff;
  color: #1f2937;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-fast);
}

.btn-google:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.btn-google:active {
  transform: translateY(0);
}

.google-icon {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 1: Navbar
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: all var(--transition-md);
}

.navbar.scrolled {
  background: rgba(7, 10, 19, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar-logo-img {
  height: 28px;
  width: auto;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.navbar-logo:hover .navbar-logo-img {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 2: Hero
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

/* Grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  bottom: -5%;
  right: -5%;
  animation-delay: -7s;
  animation-duration: 25s;
}

.hero-orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
  animation-duration: 30s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--secondary-light);
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 40px;
}

/* Signup area */
.hero-signup {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.google-signin-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.signup-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 380px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.signup-divider::before,
.signup-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.email-form {
  width: 100%;
  max-width: 380px;
}

.email-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

.email-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all var(--transition-fast);
  min-width: 0;
}

.email-input::placeholder {
  color: var(--text-muted);
}

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

/* Success & Error States */
.signup-success {
  text-align: center;
  padding: 24px;
  animation: scaleIn 0.5s var(--ease-spring);
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--emerald);
}

.signup-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.signup-success p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.signup-error {
  text-align: center;
  padding: 12px 20px;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius-md);
  color: var(--rose);
  font-size: 0.85rem;
  animation: shakeX 0.5s var(--ease-out);
}

.hero-note {
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 3: Social Proof
   ═══════════════════════════════════════════════════════════ */
.social-proof {
  padding: 0 24px;
  margin-top: -20px;
  position: relative;
  z-index: 3;
}

.social-proof-inner {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 28px 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
}

.proof-counter {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.counter-number {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.proof-platforms {
  display: flex;
  align-items: center;
  gap: 16px;
}

.proof-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.platform-logos {
  display: flex;
  gap: 8px;
}

.platform-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.platform-logo:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-glass-hover);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 4: Features
   ═══════════════════════════════════════════════════════════ */
.features {
  padding: var(--section-padding);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  opacity: 0;
  transition: opacity var(--transition-md);
}

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

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

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

.feature-icon-purple {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(99, 102, 241, 0.15);
}

.feature-icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary-light);
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.feature-icon-emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.feature-icon-amber {
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-light);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.feature-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 5: How It Works
   ═══════════════════════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-padding);
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.02) 50%, transparent 100%);
}

.steps-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.step-number {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-light);
  transition: all var(--transition-md);
}

.step-card:nth-child(3) .step-icon {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.12);
  color: var(--secondary-light);
}

.step-card:nth-child(5) .step-icon {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.12);
  color: var(--emerald-light);
}

.step-card:hover .step-icon {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 6: Dashboard Preview
   ═══════════════════════════════════════════════════════════ */
.preview {
  padding: var(--section-padding);
}

.preview-window {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-glow-lg);
  transition: transform var(--transition-slow);
}

.preview-window:hover {
  transform: perspective(1200px) rotateX(2deg);
}

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(12, 16, 33, 0.9);
  border-bottom: 1px solid var(--border);
}

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

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-url {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex: 1;
  max-width: 280px;
}

.preview-content {
  position: relative;
  background: var(--bg-secondary);
  min-height: 400px;
}

/* Mock dashboard */
.preview-placeholder {
  display: flex;
  height: 400px;
}

.mock-sidebar {
  width: 60px;
  background: rgba(0, 0, 0, 0.3);
  border-right: 1px solid var(--border);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.mock-logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin-bottom: 12px;
}

.mock-nav-item {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.mock-nav-item.active {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.mock-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mock-header {
  height: 16px;
  width: 200px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.mock-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mock-card-lg {
  grid-row: span 1;
  align-items: stretch;
}

.mock-card-header {
  height: 10px;
  width: 80px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.mock-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.mock-chart-svg {
  width: 100%;
  height: 100%;
}

.mock-stat {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-light);
  letter-spacing: -0.03em;
}

.mock-stat-cyan { color: var(--secondary-light); }
.mock-stat-emerald { color: var(--emerald-light); }

.mock-stat-label {
  height: 8px;
  width: 50px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  margin-top: 8px;
}

/* Overlay */
.preview-overlay {
  position: absolute;
  inset: 0;
  top: 40px; /* below browser bar */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: rgba(7, 10, 19, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition-md);
}

.preview-window:hover .preview-overlay {
  opacity: 1;
}

.preview-overlay p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   SECTION 7: Final CTA
   ═══════════════════════════════════════════════════════════ */
.final-cta {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 30% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 70% 40%, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
}

.final-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   SECTION 8: Footer
   ═══════════════════════════════════════════════════════════ */
.footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 24px;
  width: auto;
  margin: 0 auto 10px;
  opacity: 0.7;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-divider {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ─── Confetti Canvas ────────────────────────────────────── */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Floating orbs */
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(10px, -10px) scale(1.02);
  }
}

/* Pulse dot */
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 8px var(--secondary);
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 16px var(--secondary), 0 0 32px rgba(6, 182, 212, 0.3);
  }
}

/* Scale in */
@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Shake */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

/* Staggered feature cards */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .mock-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mock-card-lg {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 16px;
  }

  .hero {
    padding: 120px 16px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .steps-container {
    flex-direction: column;
    gap: 8px;
  }

  .step-connector {
    transform: rotate(90deg);
  }

  .social-proof-inner {
    flex-direction: column;
    gap: 20px;
    padding: 24px 28px;
  }

  .proof-divider {
    width: 60px;
    height: 1px;
  }

  .proof-counter {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }

  .proof-platforms {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .preview-window:hover {
    transform: none;
  }

  .preview-overlay {
    opacity: 1;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .mock-card-lg {
    grid-column: span 1;
  }

  .email-input-group {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
  }

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

  .navbar-logo-img {
    height: 22px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .btn-google {
    padding: 12px 20px;
    font-size: 0.88rem;
  }
}
