/* 
   MarketX Landing Page Stylesheet
   Refined minimalism - Clean, airy, and modern.
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- 3. Color System & Variables --- */
:root {
  /* Colors */
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-navy: #0f172a;
  --color-white: #ffffff;
  --color-offwhite: #f8fafc;
  --color-ice: #e0f2fe;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1da851;
  --color-success: #10B981;
  --color-amber: #F59E0B;
  --color-muted: #64748B;
  --color-border: #E2E8F0;

  /* Subtle background tints for icons */
  --bg-blue-subtle: #eff6ff;
  --bg-green-subtle: #f0fdf4;
  --bg-amber-subtle: rgba(245, 158, 11, 0.1);
  --bg-slate-subtle: rgba(100, 116, 139, 0.1);

  /* Animation Timings */
  --transition-fast: 200ms ease;
  --transition-smooth: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Global Resets & Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--color-navy);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

/* Typography Scale */
h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem); /* Responsive sizing */
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: var(--color-muted);
  max-width: 680px;
}

.sub-headline {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--color-muted);
  margin-bottom: 32px;
}

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

@media (min-width: 768px) {
  .container { padding: 0 48px; }
}

@media (min-width: 1024px) {
  .container { padding: 0 80px; }
}

.text-center { text-align: center; }
.color-blue { color: var(--color-primary); }
.color-green { color: var(--color-success); }
.color-amber { color: var(--color-amber); }
.color-navy { color: var(--color-navy); }

.bg-blue { background-color: var(--color-primary); }
.bg-green { background-color: var(--color-success); }
.bg-amber { background-color: var(--color-amber); }
.bg-ice { background-color: var(--color-ice); }
.bg-blue-subtle { background-color: var(--bg-blue-subtle); }
.bg-green-subtle { background-color: var(--bg-green-subtle); }
.bg-amber-subtle { background-color: var(--bg-amber-subtle); }
.bg-slate-subtle { background-color: var(--bg-slate-subtle); }

.badge {
  display: inline-block;
  background-color: var(--color-ice);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.section-header p {
  margin: 0 auto;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-lg {
  padding: 16px 32px;
  border-radius: 12px;
}

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

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(37,99,235,0.2);
}

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

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(37,211,102,0.3);
}

.btn-outline-blue {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-blue:hover {
  background-color: var(--bg-blue-subtle);
  transform: scale(1.02);
}

/* Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

@keyframes float {
  0% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(2deg); }
}
@keyframes floatAlt {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.floating {
  animation: floatAlt 5s ease-in-out infinite;
}
.floating-slow {
  animation: floatAlt 8s ease-in-out infinite;
}

/* --- 6.1 Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85); /* More transparent */
  backdrop-filter: blur(16px);                  /* Stronger blur */
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition-fast), border-bottom var(--transition-fast), background-color var(--transition-fast);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px; /* Slightly taller for bigger logo */
}

.main-logo { 
  height: 52px; /* Much bigger logo */
  width: auto; 
  transition: transform var(--transition-fast); 
}
.main-logo:hover {
  transform: scale(1.05); /* Slight pop on hover */
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-navy);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-navy);
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile Nav Overlay */
.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-white);
  padding: 48px 24px;
  align-items: flex-start;
  gap: 24px;
  z-index: 99;
}
.nav-links.mobile-active a { font-size: 20px; }
.nav-links.mobile-active .btn { width: 100%; margin-top: 24px; }

/* --- 6.2 Hero Section --- */
.hero {
  padding: 80px 0;
  background-color: var(--color-white);
  overflow: hidden;
  position: relative; /* For blobs */
}

/* Background Morphing Blobs */
.hero-bg-shapes {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 0; pointer-events: none;
}
.shape-blob {
  position: absolute;
  filter: blur(50px);
  opacity: 0.8;
  border-radius: 50%;
  animation: blobMorph 12s infinite alternate ease-in-out;
  will-change: transform, border-radius;
}
.shape-1 { background: var(--color-primary); width: 450px; height: 450px; top: -100px; left: -100px; animation-delay: 0s; }
.shape-2 { background: var(--color-success); width: 350px; height: 350px; bottom: -50px; right: 10%; animation-delay: -3s; }
.shape-3 { background: var(--color-amber); width: 350px; height: 350px; top: 20%; right: -150px; animation-delay: -5s; }

@keyframes blobMorph {
  0% { transform: scale(1) translate(0, 0) rotate(0deg); border-radius: 50%; }
  50% { transform: scale(1.1) translate(60px, 40px) rotate(45deg); border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { transform: scale(0.9) translate(-30px, -60px) rotate(90deg); border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1; /* Stay above blobs */
}

/* Text Gradient Effect */
.gradient-text {
  background: linear-gradient(135deg, var(--color-navy) 20%, var(--color-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Hover Glow Details */
.hover-glow {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3); /* Stronger WA color shadow */
}
.hover-glow::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.hover-glow:hover::before {
  left: 200%;
}

.hero-content p {
  color: var(--color-muted);
  font-size: 1.125rem;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

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

.avatars {
  display: flex;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  margin-left: -12px;
}
.avatar:first-child { margin-left: 0; }

.social-proof span {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

@media (min-width: 1024px) {
  .hero { padding: 120px 0; }
  .hero-container { grid-template-columns: 1.2fr 1fr; }
  .hero-visual { justify-content: flex-end; }
}

/* Phone Mockup Styling */
.phone-mockup {
  width: 320px;
  height: 650px;
  background-color: var(--color-white);
  border-radius: 40px;
  border: 12px solid #0f172a;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transform: rotate(2deg); /* Initial tilt */
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background-color: #0f172a;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.whatsapp-ui {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #efeae2; /* WA background color */
  position: relative;
}

.wa-header {
  background-color: #008069;
  color: white;
  padding: 32px 16px 12px; /* Pad top for notch */
  display: flex;
  align-items: center;
}

.wa-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: white;
  padding: 4px;
  object-fit: cover;
}

.wa-contact-info {
  display: flex;
  flex-direction: column;
}

.wa-name { font-weight: 600; font-size: 16px; }
.wa-status { font-size: 12px; opacity: 0.8; }

.wa-chat-area {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.wa-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  position: relative;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  color: #111b21;
}

.wa-bubble.bot {
  background-color: white;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-bubble.user {
  background-color: #d9fdd3;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-interactive-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 85%;
  align-self: flex-start;
}

.wa-list-btn {
  background-color: white;
  border: 1px solid var(--color-border);
  padding: 12px;
  border-radius: 8px;
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  color: var(--color-primary);
}

.wa-product-card {
  width: 100%;
  padding: 12px !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wa-product-image {
  height: 120px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-product-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wa-product-details strong { font-size: 15px; }
.wa-product-details span { color: var(--color-muted); }

.wa-btn-primary {
  width: 100%;
  padding: 10px;
  background-color: var(--color-ice);
  color: var(--color-primary);
  border: none;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
}

.wa-input-area {
  background-color: #f0f2f5;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-input-box {
  flex: 1;
  background-color: white;
  padding: 10px 16px;
  border-radius: 20px;
  color: var(--color-muted);
  font-size: 15px;
}

/* WhatsApp Chat Animations */
.msg-hidden {
  display: none !important;
}

.msg-animated {
  animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  display: flex !important;
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(15px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Typing Indicator */
.typing-indicator {
  display: flex; /* overridden by JS inline display */
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 16px;
}

.typing-indicator .dot {
  width: 6px;
  height: 6px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: typeBounce 1.4s infinite ease-in-out both;
}

.typing-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typeBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* --- 6.3 Trust Bar --- */
.trust-bar {
  background-color: var(--color-offwhite);
  padding: 40px 0;
}

.trust-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.trust-container > span {
  font-size: 14px;
  color: var(--color-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.company-logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity var(--transition-fast);
}

@media (min-width: 768px) {
  .trust-container {
    flex-direction: row;
    justify-content: center;
  }
}

/* --- 6.4 How it Works --- */
.how-it-works {
  padding: 100px 0;
  background-color: var(--color-white);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  position: relative;
  margin-bottom: 64px;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--color-ice);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.step-connection {
  display: none;
}

@media (min-width: 1024px) {
  .steps-grid {
    flex-direction: row;
    align-items: flex-start;
  }
  .step-connection {
    display: block;
    flex: 0;
    width: 60px;
    height: 2px;
    background-color: var(--color-border);
    margin-top: 40px;
  }
}

.center-cta {
  text-align: center;
}

/* --- 6.5 Features --- */
.features {
  padding: 100px 0;
  background-color: var(--color-offwhite);
  /* Modern Grid Background */
  background-image: radial-gradient(var(--color-border) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.75); /* Glass Background */
  backdrop-filter: blur(12px);           /* Glass Blur */
  padding: 40px 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.4); /* Reflected edge */
  box-shadow: 0 8px 32px rgba(0,0,0,0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border-color: rgba(37, 99, 235, 0.4);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 6.6 Demo Section --- */
.demo {
  padding: 120px 0;
  background-color: var(--color-offwhite);
  color: var(--color-navy);
  overflow: hidden;
  position: relative;
}

/* Background grid for demo */
.demo::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(var(--color-border) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  z-index: 0;
}

/* Ambient glow orb behind mockups */
.demo::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, rgba(37,99,235,0) 70%);
  transform: translate(-50%, -50%);
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.demo-flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
}

.callout {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--color-navy);
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  z-index: 20;
  border: 1px solid rgba(255,255,255,0.8);
}

.callout-right {
  top: 60%;
  right: -40px;
  transform: translateX(50%);
  animation: floatAlt 4s infinite ease-in-out;
}

.callout-left {
  top: 20%;
  left: -20px;
  transform: translateX(-50%);
  animation: floatAlt 5s infinite ease-in-out reverse;
}

@media (min-width: 1024px) {
  .demo-flex {
    flex-direction: row;
    justify-content: center;
    gap: 80px;
  }
  .demo-flex .phone-mockup:first-child { transform: rotate(-3deg); }
  .demo-flex .phone-mockup:last-child { transform: rotate(3deg); margin-top: 80px; }
}

/* --- 6.7 For Sellers --- */
.sellers {
  padding: 100px 0;
  background-color: var(--color-offwhite);
}

.sellers-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
}

.seller-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 4px;
}

.benefit span {
  font-weight: 500;
}

/* Dashboard Illustration pure CSS */
.dashboard-illustration {
  background: var(--color-white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dash-card {
  background: var(--color-offwhite);
  border-radius: 16px;
  padding: 20px;
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-avatar {
  width: 48px; height: 48px; border-radius: 12px; background: var(--color-ice);
}

.dash-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dash-line { height: 12px; background: #E2E8F0; border-radius: 6px; }
.w-long { width: 60%; }
.w-short { width: 40%; }

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

.stat-card { display: flex; flex-direction: column; gap: 12px; }
.dash-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.trend.up { color: var(--color-success); font-size: 13px; font-weight: 600; }
.stat-label { color: var(--color-muted); font-size: 13px; }

.chart-card { height: 160px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 32px; }
.chart-bars { display: flex; width: 100%; height: 100%; align-items: flex-end; justify-content: space-between; gap: 6px;}
.bar { flex: 1; background: var(--color-primary); border-radius: 4px 4px 0 0; opacity: 0.8; transition: height 1s ease-out; }
.bar:nth-child(even) { background: var(--color-ice); }
.bar:last-child { background: var(--color-whatsapp); opacity: 1; }

@media (min-width: 1024px) {
  .sellers-container { grid-template-columns: 1fr 1fr; }
}

/* --- 6.8 Stats Context --- */
.stats {
  padding: 100px 0;
  background-color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  text-align: center;
  margin-bottom: 64px;
}

.stat-block h3 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--color-primary);
  display: inline;
}

.stat-symbol {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-primary);
}

.stat-block p {
  margin: 16px auto 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-navy);
}

.stats-context {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--color-offwhite);
  border-radius: 24px;
}

.stats-context p {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- 6.9 Email Form --- */
.waitlist {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-ice) 0%, var(--color-white) 100%);
  text-align: center;
}

.waitlist h2 { margin-bottom: 16px; }
.waitlist p { margin: 0 auto 40px; }

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.waitlist-form input {
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  outline: none;
  transition: border-color var(--transition-fast);
}

.waitlist-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.waitlist-form button {
  width: 100%;
}

.privacy-note {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 16px !important;
}

.contact-details {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  font-weight: 500;
}

.secondary-contact {
  font-size: 15px;
  color: var(--color-navy);
}
.secondary-contact a {
  color: var(--color-primary);
  transition: opacity var(--transition-fast);
}
.secondary-contact a:hover {
  opacity: 0.8;
}

@media (min-width: 640px) {
  .waitlist-form { flex-direction: row; }
  .waitlist-form button { width: auto; }
}

/* --- 6.10 Footer --- */
.footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 80px 0 40px;
}

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

.footer-logo {
  height: 48px;
  margin-bottom: 24px;
  /* Darken non-white parts if needed, or if it's black/white, keep filter */
}



.footer-brand p {
  color: rgba(255,255,255,0.6);
  max-width: 250px;
  margin-bottom: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-contact a {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
}

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

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

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

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

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

.footer-social a {
  width: 40px; height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

@media (min-width: 768px) {
  .footer-layout {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
  }
}
