/* ============================================================
   Cook-iQ — Apple-Inspired Landing Page
   ============================================================ */

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

:root {
  --black:   #000000;
  --white:   #ffffff;
  --off-white: #f5f5f7;
  --gray-1:  #1d1d1f;
  --gray-2:  #424245;
  --gray-3:  #6e6e73;
  --gray-4:  #a1a1a6;
  --gray-5:  #d2d2d7;
  --gray-6:  #e8e8ed;
  --gray-7:  #f5f5f7;
  --accent:  #0071e3;
  --accent-dark: #0051a2;
  --radius:  18px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.35s cubic-bezier(0.42, 0, 0.18, 1.05);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--gray-1);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ============================================================
   UTILITIES
   ============================================================ */
.hidden { display: none !important; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--black);
  transition: background var(--transition), color var(--transition), transform 0.2s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: var(--gray-1); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--gray-5);
  transition: border-color var(--transition), transform 0.2s;
  letter-spacing: -0.01em;
}
.btn-outline:hover { border-color: var(--black); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-1);
  padding: 8px 16px;
  border-radius: 100px;
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--gray-7); }

.btn-lg { font-size: 17px; padding: 16px 32px; }

.w-full { width: 100%; }

.gradient-text {
  background: linear-gradient(135deg, #000 0%, #555 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
#splash {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s cubic-bezier(0.42, 0, 0.18, 1.05),
              visibility 0.7s;
}

#splash.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}

.iq-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  cursor: pointer;
  animation: splashReveal 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: scale(0.88) translateY(20px);
}

@keyframes splashReveal {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.iq-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s;
}

.iq-logo-wrap:hover .iq-img {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.12));
}

.splash-hint {
  font-size: 14px;
  color: var(--gray-4);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: hintPulse 2.4s ease-in-out infinite 1.4s;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.splash-overlay {
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.splash-overlay.active { opacity: 1; }

/* ============================================================
   NAV
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
  background: rgba(255,255,255,0);
}

#navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

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

.nav-logo { flex-shrink: 0; }
.nav-logo-img { height: 75px; object-fit: contain; transition: opacity 0.2s; }
.nav-logo-img:hover { opacity: 0.8; }

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-2);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--black); background: var(--gray-7); }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-1);
  border-radius: 2px;
  transition: transform 0.3s;
}

/* ============================================================
   MAIN SITE REVEAL
   ============================================================ */
#mainSite {
  animation: siteReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
  transform: translateY(16px);
}

@keyframes siteReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 18px;
  color: var(--gray-3);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-2);
  background: var(--gray-7);
  border: 1px solid var(--gray-6);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 20px;
  color: var(--gray-3);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.stat-label {
  font-size: 13px;
  color: var(--gray-4);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--gray-5);
}

/* ---- Hero Visual ---- */
.hero-visual {
  flex-shrink: 0;
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.mockup-phone {
  width: 280px;
  border-radius: 40px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 2px 4px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid var(--gray-6);
  position: relative;
  z-index: 1;
  animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.mockup-screen { padding: 20px 16px; background: var(--white); }

.app-header { margin-bottom: 16px; }
.app-logo-sm { height: 18px; object-fit: contain; }

.app-search { margin-bottom: 16px; }
.search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gray-7);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--gray-4);
}

.app-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }

.app-card {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--gray-7);
  border-radius: 12px;
  padding: 10px;
}

.ac-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
}

.ac1 .ac-img { background: linear-gradient(135deg, #1a1a1a, #444); }
.ac2 .ac-img { background: linear-gradient(135deg, #222, #555); }
.ac3 .ac-img { background: linear-gradient(135deg, #333, #666); }

.ac-title { font-size: 11px; font-weight: 600; color: var(--gray-1); margin-bottom: 2px; }
.ac-chef { font-size: 10px; color: var(--gray-4); }
.ac-price { font-size: 11px; font-weight: 700; color: var(--black); margin-top: 2px; }

.app-ai-rec {
  background: var(--black);
  border-radius: 12px;
  padding: 12px;
  color: var(--white);
}

.ai-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin-bottom: 8px;
}

.ai-book { display: flex; gap: 10px; align-items: center; }
.ai-cover { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,0.12); flex-shrink: 0; }
.ai-title { font-size: 11px; font-weight: 600; }
.ai-sub { font-size: 10px; opacity: 0.5; margin-top: 2px; }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-section {
  border-top: 1px solid var(--gray-6);
  border-bottom: 1px solid var(--gray-6);
  padding: 20px 0;
  overflow: hidden;
  background: var(--white);
}

.marquee-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 12px;
}

.marquee-track { overflow: hidden; }

.marquee-inner {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: marqueeScroll 22s linear infinite;
  font-size: 14px;
  color: var(--gray-3);
  font-weight: 500;
}

.marquee-inner span { white-space: nowrap; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   PLATFORM GRID
   ============================================================ */
.platform { background: var(--white); }

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

.platform-card {
  background: var(--gray-7);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s;
  border: 2px solid transparent;
}

.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: #000;
}

.p-card-lg {
  grid-column: span 3;
  background: var(--black);
  color: var(--white);
}

.p-card-lg .pcard-icon { color: rgba(255,255,255,0.5); }
.p-card-lg h3 { color: var(--white); }
.p-card-lg p { color: rgba(255,255,255,0.65); }

.pcard-icon {
  width: 40px;
  height: 40px;
  color: var(--gray-3);
  margin-bottom: 20px;
}

.pcard-icon svg { width: 100%; height: 100%; }

.platform-card h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 10px;
}

.platform-card p {
  font-size: 15px;
  color: var(--gray-3);
  line-height: 1.6;
}

/* ============================================================
   FOR CHEFS
   ============================================================ */
.for-chefs { background: var(--off-white); }

.two-col {
  display: flex;
  gap: 80px;
  align-items: center;
}

.two-col-text { flex: 1; }
.two-col-visual { flex: 1; }

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-2);
}

.check-list li svg {
  width: 20px;
  height: 20px;
  color: var(--black);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Dashboard Mockup ---- */
.chef-dashboard {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.1);
  border: 1px solid var(--gray-6);
}

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

.db-title { font-size: 14px; font-weight: 700; color: var(--gray-1); }

.db-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.db-dot.green { background: #30d158; }

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

.db-stat {
  background: var(--gray-7);
  border-radius: 12px;
  padding: 14px;
}

.db-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 2px;
}

.db-lbl {
  font-size: 11px;
  color: var(--gray-4);
  font-weight: 500;
}

.db-chart { margin-bottom: 20px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.bar {
  flex: 1;
  background: var(--black);
  border-radius: 4px 4px 0 0;
  opacity: 0.15;
  transition: opacity 0.3s;
}

.bar:last-child { opacity: 0.85; }
.bar:nth-last-child(2) { opacity: 0.5; }

.db-ai-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-7);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--gray-2);
}

.ai-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--black);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.db-books { display: flex; flex-direction: column; gap: 12px; }

.db-book {
  display: flex;
  align-items: center;
  gap: 12px;
}

.db-book-cover {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
}

.db-book-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-1);
  margin-bottom: 2px;
}

.db-book-sales { font-size: 11px; color: var(--gray-4); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--white); }

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

.feat-card {
  background: var(--gray-7);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.2s;
  border: 2px solid transparent;
  border-top: 3px solid #000;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: #000;
  border-top-color: #000;
}

.feat-card h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 8px;
  margin-top: 0;
}

.feat-card p {
  font-size: 14px;
  color: var(--gray-3);
  line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: var(--off-white); }

.steps-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.steps-col { flex: 1; }

.steps-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  padding: 16px;
  border-radius: 12px;
  transition: background 0.2s, transform 0.2s;
}

.step:hover {
  background: #f5f5f7;
  transform: translateX(4px);
}

.step-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-5);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  padding-top: 3px;
  width: 28px;
}

.step-body h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 6px;
}

.step-body p {
  font-size: 15px;
  color: var(--gray-3);
  line-height: 1.6;
}

.steps-divider {
  width: 1px;
  background: var(--gray-5);
  align-self: stretch;
  margin-top: 44px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--white); }

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

.pricing-card {
  background: var(--gray-7);
  border-radius: 24px;
  padding: 36px 32px;
  position: relative;
}

.pricing-featured {
  background: var(--black);
  color: var(--white);
  transform: scale(1.03);
  box-shadow: 0 24px 80px rgba(0,0,0,0.2);
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: inherit;
}

.pricing-featured .plan-name { color: var(--white); }

.plan-price {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-featured .plan-price { color: var(--white); }

.plan-price span {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.6;
}

.plan-desc {
  font-size: 14px;
  color: var(--gray-3);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-featured .plan-desc { color: rgba(255,255,255,0.6); }

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

.plan-features li {
  font-size: 14px;
  color: var(--gray-2);
  padding-left: 20px;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gray-3);
  font-size: 12px;
  top: 2px;
}

.pricing-featured .plan-features li { color: rgba(255,255,255,0.8); }
.pricing-featured .plan-features li::before { color: rgba(255,255,255,0.5); }

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

.pricing-featured .btn-primary:hover {
  background: var(--gray-6);
}

.pricing-featured .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.pricing-featured .btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--off-white); }

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

.testi-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.testi-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-1);
  font-style: italic;
  margin-bottom: 24px;
}

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

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-1);
}

.testi-role {
  font-size: 12px;
  color: var(--gray-4);
  margin-top: 2px;
}

/* ============================================================
   WAITLIST
   ============================================================ */
.waitlist {
  background: var(--black);
  color: var(--white);
}

.waitlist-inner {
  text-align: center;
}

.wl-logo { display: flex; justify-content: center; margin-bottom: 40px; }
.wl-logo-img { height: 36px; object-fit: contain; filter: invert(1); }

.wl-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.wl-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 20px;
}

.wl-input {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.wl-input::placeholder { color: rgba(255,255,255,0.35); }
.wl-input:focus { border-color: rgba(255,255,255,0.4); }

.wl-select {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.wl-select:focus { border-color: rgba(255,255,255,0.4); }

.waitlist .btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-size: 17px;
  padding: 16px 32px;
}

.waitlist .btn-primary:hover { background: var(--gray-6); }

.wl-note {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
}

.wl-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.2s, color 0.2s;
}

.social-link:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }
.social-link svg { width: 18px; height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--gray-1);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 24px 48px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.footer-brand { flex: 1; }
.footer-logo { height: 24px; object-fit: contain; filter: invert(1); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 280px; }

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .p-card-lg { grid-column: span 2; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .pricing-featured { transform: none; }
  .two-col { flex-direction: column; gap: 48px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-inner { height: 64px; }
  .nav-logo-img { height: 52px; }

  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 90px;
    padding-bottom: 48px;
    min-height: unset;
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 36px; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 10px; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .hero-sub { margin-left: auto; margin-right: auto; font-size: 16px; }
  .mockup-phone { width: 220px; margin: 32px auto 0; }
  .hero-visual { width: 100%; display: flex; justify-content: center; }

  /* Sections */
  .section-inner { padding: 64px 20px; }
  .platform-grid { grid-template-columns: 1fr; }
  .p-card-lg { grid-column: span 1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .steps-wrap { flex-direction: column; gap: 24px; }
  .steps-divider { display: none; }
  .two-col { flex-direction: column; gap: 40px; }
  .pricing-featured { transform: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Waitlist */
  .waitlist-form { flex-direction: column; padding: 0 4px; }
  .wl-title { font-size: 32px; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 36px; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Marquee */
  .marquee-item { font-size: 13px; padding: 0 16px; }
}

@media (max-width: 480px) {
  .nav-logo-img { height: 44px; }
  .hero-title { font-size: 30px; line-height: 1.15; }
  .hero-badge { font-size: 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .section-inner { padding: 52px 16px; }
  .wl-title { font-size: 26px; }
  .waitlist-form { padding: 0; }
  .db-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { display: none; }
  .btn-lg { font-size: 15px; padding: 13px 22px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .mockup-phone { width: 180px; }
}

/* ============================================================
   SUCCESS MESSAGE
   ============================================================ */
.success-msg {
  display: none;
  text-align: center;
  padding: 24px;
  color: var(--white);
}

.success-msg h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-msg p {
  font-size: 16px;
  opacity: 0.7;
}

.success-msg.visible { display: block; }
