/* WonderFood Website - Modern Design 2025 */

:root {
  /* Brand Colors */
  --primary: #22C55E;
  --primary-dark: #16A34A;
  --primary-light: #4ADE80;
  --secondary: #F97316;

  /* Slate Palette (iOS 17 style) */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;
  --slate-900: #0F172A;

  /* Semantic */
  --text: var(--slate-800);
  --text-light: var(--slate-500);
  --text-muted: var(--slate-400);
  --background: #FFFFFF;
  --background-alt: var(--slate-50);
  --border: var(--slate-200);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.3);

  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--background);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--slate-900);
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========================================
   HEADER
======================================== */
header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: white;
  box-shadow: var(--shadow-md);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

/* Desktop Navigation */
nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

nav a:hover {
  color: var(--primary);
  background: var(--slate-100);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 24px;
  font-weight: 600;
  color: var(--slate-800);
  text-decoration: none;
  padding: 12px 24px;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--primary);
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%);
  padding: 160px 24px 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  animation: slideInLeft 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.hero-badge span {
  font-size: 16px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--slate-900);
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 20px;
  color: var(--slate-600);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  animation: float 6s ease-in-out infinite;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
  border-radius: 50px;
  padding: 12px;
  box-shadow:
    var(--shadow-xl),
    0 0 60px rgba(0, 0, 0, 0.2),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--slate-100) 0%, var(--slate-50) 100%);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.phone-screen-content {
  text-align: center;
}

.phone-screen .app-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-lg);
}

.phone-screen h3 {
  font-size: 18px;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.phone-screen p {
  font-size: 13px;
  color: var(--slate-500);
}

/* Floating elements around phone */
.floating-element {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.floating-element.top-left {
  top: 60px;
  left: -80px;
  animation-delay: -1s;
}

.floating-element.top-right {
  top: 80px;
  right: -100px;
  animation-delay: -2s;
}

.floating-element.bottom-left {
  bottom: 100px;
  left: -60px;
  animation-delay: -3s;
}

.floating-element .icon {
  width: 44px;
  height: 44px;
  background: var(--slate-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.floating-element .text strong {
  display: block;
  font-size: 14px;
  color: var(--slate-800);
}

.floating-element .text span {
  font-size: 12px;
  color: var(--slate-500);
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5);
}

.btn-secondary {
  background: white;
  color: var(--slate-700);
  border: 2px solid var(--slate-200);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn .icon {
  font-size: 20px;
}

/* ========================================
   STATS BAR
======================================== */
.stats-bar {
  background: white;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: var(--slate-500);
  font-weight: 500;
}

/* ========================================
   HOW IT WORKS
======================================== */
.how-it-works {
  padding: var(--section-padding) 24px;
  background: var(--background);
}

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

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 18px;
  color: var(--slate-500);
  line-height: 1.7;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
  z-index: 0;
}

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

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 3px solid white;
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--slate-800);
}

.step-card p {
  font-size: 15px;
  color: var(--slate-500);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features {
  padding: var(--section-padding) 24px;
  background: var(--slate-50);
}

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

.feature-card {
  background: white;
  border-radius: 24px;
  padding: 36px;
  transition: all 0.3s ease;
  border: 1px solid var(--slate-100);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--slate-100) 0%, var(--slate-50) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--slate-800);
}

.feature-card p {
  color: var(--slate-500);
  font-size: 15px;
  line-height: 1.7;
}

/* ========================================
   MOROCCO SECTION
======================================== */
.morocco-section {
  padding: var(--section-padding) 24px;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.morocco-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.morocco-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.morocco-text h2 {
  font-size: 40px;
  color: white;
  margin-bottom: 20px;
}

.morocco-text h2 span {
  color: var(--primary-light);
}

.morocco-text p {
  font-size: 18px;
  color: var(--slate-300);
  margin-bottom: 32px;
  line-height: 1.8;
}

.morocco-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.morocco-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}

.morocco-feature .check {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.morocco-feature span {
  font-size: 16px;
  color: var(--slate-200);
}

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

.morocco-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  max-width: 320px;
}

.morocco-flag {
  font-size: 64px;
  margin-bottom: 20px;
}

.morocco-card h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 12px;
}

.morocco-card p {
  color: var(--slate-300);
  font-size: 15px;
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials {
  padding: var(--section-padding) 24px;
  background: var(--background);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--slate-100);
  transition: all 0.3s ease;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.testimonial-info h4 {
  font-size: 16px;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.testimonial-info span {
  font-size: 14px;
  color: var(--slate-500);
}

.testimonial-stars {
  color: #FBBF24;
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-card p {
  color: var(--slate-600);
  font-size: 15px;
  line-height: 1.7;
  font-style: italic;
}

/* ========================================
   APP DOWNLOAD / CTA
======================================== */
.app-download {
  padding: var(--section-padding) 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.app-download::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.app-download h2 {
  font-size: 44px;
  color: white;
  margin-bottom: 20px;
}

.app-download > .container > p {
  font-size: 20px;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.store-badges {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  height: 54px;
  border-radius: 10px;
  transition: all 0.3s ease;
  filter: brightness(1);
}

.store-badge:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* ========================================
   FOOTER
======================================== */
footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 80px 24px 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  max-width: var(--container-max);
  margin: 0 auto 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--slate-800);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 12px;
}

.footer-section a {
  color: var(--slate-400);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--slate-800);
  font-size: 14px;
  color: var(--slate-500);
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

/* ========================================
   LEGAL PAGES
======================================== */
.legal-page {
  padding: 140px 24px 80px;
  min-height: calc(100vh - 200px);
}

.legal-page h1 {
  font-size: 40px;
  margin-bottom: 12px;
  color: var(--slate-900);
}

.legal-page .last-updated {
  color: var(--slate-500);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--slate-800);
}

.legal-page h3 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--slate-700);
}

.legal-page p {
  margin-bottom: 18px;
  color: var(--slate-600);
  line-height: 1.8;
}

.legal-page ul, .legal-page ol {
  margin-bottom: 18px;
  padding-left: 28px;
}

.legal-page li {
  margin-bottom: 10px;
  color: var(--slate-600);
  line-height: 1.7;
}

.legal-page a {
  color: var(--primary);
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero p {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }

  .floating-element {
    display: none;
  }

  .morocco-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .morocco-features {
    align-items: center;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

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

  /* Header Mobile */
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* Hero Mobile */
  .hero {
    padding: 120px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .phone-mockup {
    width: 200px;
    height: 420px;
  }

  .phone-frame {
    border-radius: 36px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 30px;
  }

  .phone-frame::before {
    width: 70px;
    height: 22px;
    top: 12px;
  }

  /* Stats Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-number {
    font-size: 32px;
  }

  /* Steps Mobile */
  .steps-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-container::before {
    display: none;
  }

  /* Features Mobile */
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  /* Section Headers */
  .section-header h2 {
    font-size: 30px;
  }

  .morocco-text h2, .app-download h2 {
    font-size: 30px;
  }

  /* Footer Mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .stat-number {
    font-size: 28px;
  }

  .stat-label {
    font-size: 13px;
  }

  .feature-card, .testimonial-card {
    padding: 24px;
  }

  .morocco-card {
    padding: 28px;
  }
}
