/* ==========================================
   Lyfe Landing Page Core Design System
   ========================================== */

/* Design Tokens & Variables */
:root {
  --navy: #0D1528;
  --navy-light: #16223F;
  --navy-lighter: #203158;
  --navy-muted: rgba(13, 21, 40, 0.7);
  --navy-border: rgba(13, 21, 40, 0.08);
  
  --white: #FFFFFF;
  --white-muted: rgba(255, 255, 255, 0.7);
  --white-bg-light: #FAFBFC;
  --white-border: rgba(255, 255, 255, 0.1);

  /* Curated Premium Accents */
  --accent-blue: #3B82F6;
  --accent-cyan: #00D2FF;
  --accent-purple: #8B5CF6;
  --accent-success: #10B981;
  --accent-error: #EF4444;

  /* Gradients */
  --grad-hero: linear-gradient(135deg, var(--navy) 0%, #060B15 100%);
  --grad-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
  --grad-wallet: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  --grad-ecommerce: linear-gradient(135deg, #EC4899 0%, #D946EF 100%);
  --grad-food: linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
  --grad-rides: linear-gradient(135deg, #10B981 0%, #047857 100%);
  --grad-social: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  
  /* Typography */
  --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  
  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --shadow-sm: 0 4px 6px -1px rgba(13, 21, 40, 0.05), 0 2px 4px -1px rgba(13, 21, 40, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(13, 21, 40, 0.08), 0 4px 6px -2px rgba(13, 21, 40, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(13, 21, 40, 0.1), 0 10px 10px -5px rgba(13, 21, 40, 0.04);
  --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.25);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--white);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Grid & Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Rules */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 900; /* Nunito Black */
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-navy {
  color: var(--navy);
}

.text-navy-muted {
  color: var(--navy-muted);
}

.text-white-muted {
  color: var(--white-muted);
}

.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Logo Alignment */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 38px;
  width: 38px;
  object-fit: contain;
  transition: var(--transition-normal);
}

.logo-img-light {
  /* Keep original transparent logo colors */
  filter: none;
}

.logo-img-dark {
  /* Keep original transparent logo colors */
  filter: none;
}

.logo-text {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
}

.logo-link {
  color: var(--white);
}

/* Header & Sticky Navbar */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background-color: rgba(13, 21, 40, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--white-border);
}

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

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

.main-nav a {
  color: var(--white-muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-nav-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition-normal);
  transform-origin: left center;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--navy);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
  right: 0;
}

.mobile-nav-links ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.mobile-nav-links a {
  color: var(--white);
  font-size: 1.8rem;
  font-weight: 800;
}

.mobile-nav-links .btn {
  font-size: 1.2rem;
  padding: 12px 40px;
  margin-top: 10px;
}

/* Hero Section (Dark theme) */
.hero-section {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding: 160px 0 100px;
  overflow: hidden;
}

/* Ambient glow backgrounds */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.15;
}

.glow-1 {
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
}

.glow-2 {
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 10;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--navy-light);
  border: 1px solid var(--white-border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse-ring 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--white-muted);
  margin-bottom: 40px;
  max-width: 550px;
}

/* Waitlist Forms styling */
.waitlist-form {
  position: relative;
  width: 100%;
  max-width: 550px;
}

.waitlist-form .input-group {
  display: flex;
  background-color: var(--white);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.waitlist-form .input-group:focus-within {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.input-selector {
  border-right: 1px solid var(--navy-border);
  padding: 0 12px 0 8px;
  display: flex;
  align-items: center;
}

.input-selector select {
  font-family: var(--font-primary);
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--navy);
  outline: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.waitlist-form input {
  flex-grow: 1;
  border: none;
  padding: 0 16px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.waitlist-form input::placeholder {
  color: #94A3B8;
}

.waitlist-form .btn {
  flex-shrink: 0;
  padding: 12px 28px;
}

.form-feedback {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  padding-left: 18px;
  display: none;
}

.form-feedback.success {
  color: var(--accent-success);
  display: block;
}

.form-feedback.error {
  color: var(--accent-error);
  display: block;
}

.waitlist-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.avatars-group {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  background-color: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-left: -8px;
  color: var(--accent-cyan);
}

.avatar:first-child {
  margin-left: 0;
}

.stats-text {
  font-size: 0.9rem;
  color: var(--white-muted);
}

.stats-text strong {
  color: var(--white);
}

/* Floating Hero Mockup elements */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.phone-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border: 6px solid var(--navy-light);
}

.floating-ui-card {
  position: absolute;
  background: rgba(13, 21, 40, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--white-border);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  animation: float-card 6s ease-in-out infinite;
}

.ui-icon {
  font-size: 1.5rem;
  background-color: var(--navy-light);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.floating-ui-card h4 {
  font-size: 0.85rem;
  color: var(--white-muted);
  font-weight: 600;
}

.floating-ui-card p {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
}

.card-wallet {
  top: 25%;
  left: -15%;
  animation-delay: 0s;
}

.card-delivery {
  bottom: 25%;
  right: -10%;
  animation-delay: 3s;
}

/* About Section (Light theme) */
.about-section {
  padding: 120px 0;
  background-color: var(--white);
  position: relative;
  border-bottom: 1px solid var(--navy-border);
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-tag {
  display: inline-block;
  color: var(--accent-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.about-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 20px;
  line-height: 1.7;
}

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

.about-stats-box {
  background-color: var(--white-bg-light);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: 360px;
  box-shadow: var(--shadow-md);
}

.about-stat-item {
  border-left: 4px solid var(--accent-blue);
  padding-left: 20px;
}

.about-stat-item h3 {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.about-stat-item p {
  color: var(--navy-muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
}

/* Ecosystem Section (Light theme) */
.ecosystem-section {
  padding: 120px 0;
  background-color: var(--white-bg-light);
}

.section-header {
  margin-bottom: 64px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
}

/* Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.ecosystem-card {
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

/* Make Card 1 (Digital Wallet) span 2 columns on desktop */
.ecosystem-card.card-featured {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.ecosystem-card.card-featured .card-visual {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
}

.card-visual {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.card-svg-icon {
  width: 32px;
  height: 32px;
}

.wallet-gradient { background: var(--grad-wallet); }
.ecommerce-gradient { background: var(--grad-ecommerce); }
.food-gradient { background: var(--grad-food); }
.rides-gradient { background: var(--grad-rides); }
.social-gradient { background: var(--grad-social); }

.card-body {
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.card-lead {
  font-size: 0.95rem;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.card-text {
  font-size: 1rem;
  color: var(--navy-muted);
  font-weight: 500;
}

/* Cross Border Diaspora Section (Dark Theme) */
.diaspora-section {
  background: var(--grad-hero);
  color: var(--white);
  padding: 120px 0;
  position: relative;
}

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

.lead-text {
  font-size: 1.25rem;
  margin: 20px 0 40px;
}

.diaspora-features {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.diaspora-feature-item {
  display: flex;
  gap: 18px;
}

.feature-bullet {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
}

.diaspora-feature-item h5 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--white);
}

.diaspora-feature-item p {
  color: var(--white-muted);
  font-weight: 500;
}

/* Diaspora map visualization */
.diaspora-visual {
  position: relative;
  background-color: rgba(13, 21, 40, 0.4);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}

.world-map-svg {
  width: 100%;
  height: auto;
}

.map-connection-arc {
  fill: none;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0.8;
}

.arc-1 { animation: draw-arc 3s infinite linear; }
.arc-2 { animation: draw-arc 3s infinite linear; animation-delay: 1s; }
.arc-3 { animation: draw-arc 3s infinite linear; animation-delay: 2s; }

.node-pulse {
  animation: pulse-glow 2s infinite;
}

/* Trust & Security Section (Light theme) */
.security-section {
  padding: 120px 0;
  background-color: var(--white);
}

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

.security-card {
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: var(--transition-normal);
}

.security-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.security-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.security-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.security-card p {
  font-size: 0.95rem;
  color: var(--navy-muted);
  font-weight: 500;
}

/* Waitlist Section & Final CTA */
.waitlist-section {
  position: relative;
  background: var(--grad-hero);
  color: var(--white);
  padding: 120px 0;
  overflow: hidden;
}

.glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: var(--accent-blue);
  opacity: 0.1;
}

.waitlist-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.waitlist-subtitle {
  font-size: 1.25rem;
  color: var(--white-muted);
  max-width: 700px;
  margin: 0 auto 48px;
}

.centered-waitlist {
  margin: 0 auto 32px;
}

.urgency-footer-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

/* Footer Section */
.main-footer {
  background-color: var(--white-bg-light);
  border-top: 1px solid var(--navy-border);
  padding: 80px 0 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
  font-weight: 600;
}

.footer-column h4 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--navy-muted);
  font-weight: 600;
}

.footer-column a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  grid-column: span 3;
  border-top: 1px solid var(--navy-border);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--navy-muted);
  font-weight: 600;
}

.footer-legal a {
  margin-left: 16px;
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

/* Waitlist Success Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(13, 21, 40, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 520px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--navy-border);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--navy-muted);
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--navy);
}

.modal-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.modal-body-text {
  font-size: 1rem;
  color: var(--navy-muted);
  margin-bottom: 32px;
  font-weight: 500;
}

.modal-body-text strong {
  color: var(--navy);
}

/* Animations Definitions */
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

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

@keyframes draw-arc {
  to { stroke-dashoffset: 0; }
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes scale-up {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Scroll Animation Base Utility Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
  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);
}

.fade-in.active,
.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* ==========================================
   Responsive Media Queries
   ========================================== */

@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  .hero-title { font-size: 3rem; }
  .ecosystem-grid { grid-template-columns: repeat(2, 1fr); }
  .ecosystem-card.card-featured { grid-column: span 2; }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { grid-column: span 2; }
}

@media (max-width: 768px) {
  /* Header mobile toggle show */
  .main-nav, .header-cta {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: flex;
  }
  
  .main-header {
    padding: 16px 0;
  }
  
  /* Menu bar transition to cross when active */
  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(2px, 0px);
  }
  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 0px);
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .waitlist-form {
    margin-left: auto;
    margin-right: auto;
  }
  
  .waitlist-stats {
    justify-content: center;
  }
  
  .phone-mockup-wrapper {
    margin: 0 auto;
  }
  
  .floating-ui-card {
    padding: 12px 16px;
  }
  
  .card-wallet {
    left: -5%;
  }
  
  .card-delivery {
    right: -5%;
  }

  .diaspora-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .about-stats-box {
    margin: 0 auto;
    flex-direction: row;
    justify-content: space-around;
    max-width: 100%;
    padding: 24px;
  }
  
  .about-stat-item {
    border-left: none;
    border-top: 3px solid var(--accent-blue);
    padding-left: 0;
    padding-top: 12px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .waitlist-form .input-group {
    flex-direction: column;
    background: transparent;
    padding: 0;
    box-shadow: none;
    gap: 12px;
  }
  
  .input-selector {
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 14px 20px;
    border-right: none;
    box-shadow: var(--shadow-sm);
    justify-content: center;
  }
  
  .waitlist-form input {
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 16px 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
  }
  
  .waitlist-form .btn {
    width: 100%;
    padding: 16px 28px;
  }

  .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  
  .ecosystem-card.card-featured {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .ecosystem-card.card-featured .card-visual {
    width: 64px;
    height: 64px;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    grid-column: span 1;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .footer-legal a {
    margin-left: 0;
    margin-right: 16px;
  }

  .modal-card {
    padding: 32px 24px;
  }

  .about-stats-box {
    flex-direction: column;
    gap: 20px;
  }
}
