/* Delivery Dudes — Premium Marketing Design System */
:root {
  --primary: #D90452;
  --primary-light: #FF4D7A;
  --accent: #6C63FF;
  --bg: #FAFAFC;
  --card: #FFFFFF;
  --text-dark: #1D1D1F;
  --text-light: #6B7280;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --shadow-sm: 0 4px 24px rgba(29, 29, 31, 0.06);
  --shadow-md: 0 12px 48px rgba(29, 29, 31, 0.1);
  --shadow-lg: 0 24px 80px rgba(217, 4, 82, 0.12);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --nav-height: 80px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
section { position: relative; padding: 120px 0; }
.container { width: min(1280px, 92vw); margin: 0 auto; }

/* Preloader */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid rgba(217, 4, 82, 0.15);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Gradient mesh background */
.gradient-mesh {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.gradient-blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45;
  animation: blobFloat 12s ease-in-out infinite alternate;
}
.gradient-blob--1 { width: 600px; height: 600px; background: rgba(217, 4, 82, 0.18); top: -200px; left: -100px; }
.gradient-blob--2 { width: 500px; height: 500px; background: rgba(108, 99, 255, 0.15); top: 20%; right: -150px; animation-delay: -4s; }
.gradient-blob--3 { width: 400px; height: 400px; background: rgba(255, 77, 122, 0.12); bottom: 10%; left: 30%; animation-delay: -8s; }
@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.08); }
}

/* Typography */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary);
  background: rgba(217, 4, 82, 0.08); padding: 8px 16px;
  border-radius: 100px; margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15; color: var(--text-dark);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem); color: var(--text-light);
  max-width: 560px; line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-subtitle { margin: 0 auto; }

/* Glass card */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 32px; border-radius: 100px; font-weight: 700; font-size: 0.9375rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 8px 32px rgba(217, 4, 82, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(217, 4, 82, 0.45); }
.btn-secondary {
  background: var(--card); color: var(--text-dark);
  border: 1.5px solid rgba(29, 29, 31, 0.1); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #8B85FF);
  color: #fff; box-shadow: 0 8px 32px rgba(108, 99, 255, 0.35);
}
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* App store buttons */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px; background: var(--text-dark); color: #fff;
  border-radius: 14px; transition: transform var(--transition), box-shadow var(--transition);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn small { font-size: 0.6875rem; opacity: 0.7; }
.store-btn strong { font-size: 0.9375rem; font-weight: 700; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height); display: flex; align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar-logo img { height: 40px; width: auto; }
.navbar-nav { display: flex; align-items: center; gap: 8px; }
.navbar-nav a {
  padding: 8px 14px; font-size: 0.9375rem; font-weight: 600;
  color: var(--text-dark); border-radius: 100px; transition: background var(--transition), color var(--transition);
}
.navbar-nav a:hover { background: rgba(217, 4, 82, 0.08); color: var(--primary); }
.navbar-nav a.active { background: rgba(217, 4, 82, 0.08); color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.lang-select {
  padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(29,29,31,0.1);
  background: transparent; font-size: 0.875rem; font-weight: 600; color: var(--text-dark);
}
.navbar-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(29,29,31,0.06); align-items: center; justify-content: center;
}
.navbar-toggle span { display: block; width: 20px; height: 2px; background: var(--text-dark); position: relative; }
.navbar-toggle span::before, .navbar-toggle span::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--text-dark);
  transition: transform var(--transition);
}
.navbar-toggle span::before { top: -6px; }
.navbar-toggle span::after { top: 6px; }
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(250,250,252,0.98); backdrop-filter: blur(20px);
  padding: calc(var(--nav-height) + 24px) 24px 24px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 16px; font-size: 1.125rem; font-weight: 700;
  border-radius: var(--radius-sm); color: var(--text-dark);
}
.mobile-menu a:hover { background: rgba(217,4,82,0.08); color: var(--primary); }

/* ========== HERO ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-height); position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 8px; background: var(--card);
  border-radius: 100px; box-shadow: var(--shadow-sm); margin-bottom: 28px;
  font-size: 0.875rem; font-weight: 600;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 800;
  letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 24px;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle { font-size: 1.125rem; color: var(--text-light); line-height: 1.7; margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 32px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 600; }
.trust-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(217,4,82,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem;
}

/* Phone mockup */
.phone-stage { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.phone-mockup {
  width: 280px; height: 580px; background: var(--text-dark);
  border-radius: 44px; padding: 12px; position: relative;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1) inset;
  animation: phoneFloat 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(-5deg) rotateX(2deg); }
  50% { transform: translateY(-16px) rotateY(5deg) rotateX(-2deg); }
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
}
.phone-notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 28px; background: var(--text-dark);
  border-radius: 0 0 20px 20px; z-index: 2;
}
.tracking-ui { padding: 48px 16px 16px; height: 100%; display: flex; flex-direction: column; }
.tracking-header { color: #fff; margin-bottom: 16px; }
.tracking-header h4 { font-size: 0.875rem; font-weight: 700; }
.tracking-header p { font-size: 0.75rem; opacity: 0.6; }
.tracking-map {
  flex: 1; border-radius: 20px; background: #0f3460;
  position: relative; overflow: hidden; margin-bottom: 12px;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
.route-line {
  position: absolute; top: 30%; left: 20%; width: 60%; height: 40%;
}
.route-line svg { width: 100%; height: 100%; }
.route-path {
  fill: none; stroke: var(--primary-light); stroke-width: 3; stroke-dasharray: 8 4;
  animation: routeDash 2s linear infinite;
}
@keyframes routeDash { to { stroke-dashoffset: -24; } }
.map-pin {
  position: absolute; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.map-pin--restaurant { top: 25%; left: 15%; background: #F59E0B; animation: pinBounce 2s ease infinite; }
.map-pin--driver {
  top: 50%; left: 45%; background: var(--primary);
  animation: driverMove 4s ease-in-out infinite;
}
.map-pin--customer { bottom: 20%; right: 15%; background: var(--accent); }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes driverMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -15px); }
}
.tracking-status {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 12px; color: #fff;
}
.tracking-status-row { display: flex; justify-content: space-between; align-items: center; }
.tracking-eta { font-size: 1.25rem; font-weight: 800; color: var(--primary-light); }
.tracking-label { font-size: 0.6875rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.05em; }

/* Floating cards around phone */
.float-card {
  position: absolute; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--glass); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-md);
  font-size: 0.8125rem; font-weight: 700; white-space: nowrap;
  animation: floatCard 5s ease-in-out infinite;
}
.float-card--1 { top: 8%; right: -10%; animation-delay: 0s; }
.float-card--2 { top: 35%; left: -15%; animation-delay: -1s; }
.float-card--3 { bottom: 30%; right: -5%; animation-delay: -2s; }
.float-card--4 { bottom: 8%; left: -8%; animation-delay: -3s; }
.float-card--5 { top: 55%; right: -18%; animation-delay: -4s; }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== STATS ========== */
.stats-section { padding: 80px 0; background: var(--card); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 32px 16px; border-radius: var(--radius-md);
  background: var(--bg); transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1.1; margin-bottom: 8px;
}
.stat-label { font-size: 0.9375rem; color: var(--text-light); font-weight: 600; }

/* ========== FEATURES ========== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  padding: 32px 28px; border-radius: var(--radius-md); background: var(--card);
  border: 1px solid rgba(29,29,31,0.06); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(217,4,82,0.15); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(217,4,82,0.1), rgba(108,99,255,0.1));
}
.feature-card h3 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

/* ========== HOW IT WORKS ========== */
.timeline { max-width: 640px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.timeline-step {
  display: flex; gap: 24px; padding-bottom: 48px; position: relative;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-dot {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--card); border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.125rem; color: var(--primary);
  box-shadow: var(--shadow-sm); position: relative; z-index: 1;
}
.timeline-content {
  flex: 1; padding: 20px 28px; border-radius: var(--radius-md);
  background: var(--card); box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.timeline-content:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.timeline-content h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.timeline-content p { font-size: 0.875rem; color: var(--text-light); }

.showcase-panel { display: none; }
.showcase-panel.active { display: block; }

.showcase-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.showcase-tab {
  padding: 10px 20px; border-radius: 100px; font-size: 0.875rem; font-weight: 600;
  color: var(--text-light); background: transparent; border: 1px solid transparent;
  transition: all var(--transition);
}
.showcase-tab.active, .showcase-tab:hover {
  background: var(--card); color: var(--primary);
  border-color: rgba(217,4,82,0.2); box-shadow: var(--shadow-sm);
}
.carousel-track-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel-track-wrapper::-webkit-scrollbar { display: none; }
.carousel-track {
  display: flex; gap: 32px;
  padding: 24px 0;
  min-width: min-content;
}
.carousel-slide { flex: 0 0 220px; text-align: center; scroll-snap-align: start; }
.carousel-phone {
  width: 220px; margin: 0 auto 16px; background: var(--text-dark);
  border-radius: 36px; padding: 10px; box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.carousel-phone:hover { transform: scale(1.05) translateY(-8px); }
.carousel-phone-screen {
  width: 100%;
  overflow: hidden;
  border-radius: 28px;
}
.marketing-screen-frame {
  position: relative;
  width: 100%;
  aspect-ratio: var(--screen-ratio, 1080 / 2160);
  overflow: hidden;
  border-radius: inherit;
  background: transparent;
  isolation: isolate;
}
.gallery-screen.marketing-screen-frame {
  border-radius: 32px;
}
.marketing-screen-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: transparent;
}
.carousel-label { font-size: 0.875rem; font-weight: 700; color: var(--text-dark); }
.carousel-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; background: var(--card);
  border: 1px solid rgba(29,29,31,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; transition: all var(--transition);
}
.carousel-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== DASHBOARD PREVIEW ========== */
.dashboard-preview {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-lg);
  border: 1px solid rgba(29,29,31,0.06);
}
.dashboard-topbar {
  display: flex; align-items: center; gap: 8px; padding: 16px 24px;
  background: linear-gradient(135deg, #1D1D1F, #2D2D30);
}
.dashboard-dot { width: 12px; height: 12px; border-radius: 50%; }
.dashboard-dot--r { background: #FF5F57; }
.dashboard-dot--y { background: #FFBD2E; }
.dashboard-dot--g { background: #28CA41; }
.dashboard-body { display: grid; grid-template-columns: 200px 1fr; min-height: 400px; }
.dashboard-sidebar {
  background: #F5F5F7; padding: 24px 16px; border-right: 1px solid rgba(29,29,31,0.06);
}
.sidebar-item {
  padding: 10px 14px; border-radius: 10px; font-size: 0.8125rem; font-weight: 600;
  color: var(--text-light); margin-bottom: 4px; transition: all var(--transition);
}
.sidebar-item.active, .sidebar-item:hover { background: rgba(217,4,82,0.08); color: var(--primary); }
.dashboard-main { padding: 24px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.dash-stat {
  padding: 20px; border-radius: var(--radius-sm); background: var(--bg);
}
.dash-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }
.dash-stat-label { font-size: 0.75rem; color: var(--text-light); font-weight: 600; margin-top: 4px; }
.dashboard-chart {
  height: 180px; border-radius: var(--radius-sm); background: var(--bg);
  position: relative; overflow: hidden; padding: 16px;
}
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 100%; }
.chart-bar {
  flex: 1; border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  animation: barGrow 1.2s ease forwards; transform-origin: bottom;
  transform: scaleY(0);
}
@keyframes barGrow { to { transform: scaleY(1); } }

/* ========== PROMO & REFERRAL ========== */
.promo-flow { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.promo-step {
  padding: 32px; border-radius: var(--radius-md); background: var(--card);
  box-shadow: var(--shadow-md); text-align: center; min-width: 200px;
  transition: transform var(--transition);
}
.promo-step:hover { transform: translateY(-6px); }
.promo-step-icon { font-size: 2.5rem; margin-bottom: 16px; }
.promo-step h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; }
.promo-step p { font-size: 0.875rem; color: var(--text-light); }
.promo-arrow { font-size: 1.5rem; color: var(--primary); font-weight: 800; }
.promo-reward {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.referral-visual { display: grid; grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: center; }
.referral-phone-wrap { text-align: center; }
.referral-phone-wrap .phone-mockup { width: 220px; height: 460px; margin: 0 auto; animation: none; }
.referral-flow-center { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.referral-flow-step {
  padding: 16px 24px; border-radius: var(--radius-sm); background: var(--card);
  box-shadow: var(--shadow-sm); font-weight: 700; font-size: 0.875rem; text-align: center;
  min-width: 180px;
}
.referral-arrow { color: var(--primary); font-size: 1.25rem; }

/* ========== SCREENSHOTS GALLERY ========== */
.screenshots-gallery { position: relative; height: 520px; display: flex; align-items: center; justify-content: center; }
.gallery-phone {
  position: absolute; width: 240px; background: var(--text-dark);
  border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg);
  transition: transform var(--transition), z-index 0s;
}
.gallery-phone:nth-child(1) { transform: rotate(-12deg) translateX(-180px); z-index: 1; }
.gallery-phone:nth-child(2) { transform: rotate(-4deg) translateX(-60px); z-index: 2; }
.gallery-phone:nth-child(3) { transform: rotate(0deg); z-index: 3; }
.gallery-phone:nth-child(4) { transform: rotate(4deg) translateX(60px); z-index: 2; }
.gallery-phone:nth-child(5) { transform: rotate(12deg) translateX(180px); z-index: 1; }
.gallery-phone:hover { transform: scale(1.08) rotate(0deg) translateX(0) !important; z-index: 10 !important; }
.gallery-screen { width: 100%; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  padding: 32px; border-radius: var(--radius-md); background: var(--card);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(29,29,31,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #FBBF24; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9375rem; color: var(--text-light); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--text-light); }
.testimonial-badge {
  display: inline-block; padding: 4px 10px; border-radius: 100px;
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.testimonial-badge--customer { background: rgba(217,4,82,0.1); color: var(--primary); }
.testimonial-badge--restaurant { background: rgba(108,99,255,0.1); color: var(--accent); }
.testimonial-badge--driver { background: rgba(34,197,94,0.1); color: #16A34A; }

/* ========== FAQ ========== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-radius: var(--radius-sm); background: var(--card); margin-bottom: 12px;
  border: 1px solid rgba(29,29,31,0.06); overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between;
  font-size: 1rem; font-weight: 700; text-align: left; color: var(--text-dark);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 32px; height: 32px; border-radius: 50%; background: rgba(217,4,82,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--primary); transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 28px 24px; font-size: 0.9375rem; color: var(--text-light); line-height: 1.7; }

/* ========== DOWNLOAD CTA ========== */
.download-section {
  padding: 100px 0; position: relative; overflow: hidden;
}
.download-card {
  border-radius: var(--radius-xl); padding: 80px 64px; text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #9B0040 50%, var(--accent) 100%);
  position: relative; overflow: hidden; color: #fff;
}
.download-card::before {
  content: ''; position: absolute; inset: 0;
  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='%23ffffff' 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");
}
.download-card > * { position: relative; z-index: 1; }
.download-card h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em; }
.download-card p { font-size: 1.125rem; opacity: 0.85; margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.download-card .store-btn { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25); }
.download-card .store-buttons { justify-content: center; }

/* ========== CONTACT ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  background: rgba(217,4,82,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.contact-info-item h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.9375rem; color: var(--text-light); }
.contact-form {
  padding: 40px; border-radius: var(--radius-lg); background: var(--card);
  box-shadow: var(--shadow-md); border: 1px solid rgba(29,29,31,0.06);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid rgba(29,29,31,0.1); background: var(--bg);
  font-family: inherit; font-size: 0.9375rem; color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(217,4,82,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-size: 0.875rem; font-weight: 600; }
.alert-success { background: rgba(34,197,94,0.1); color: #16A34A; }
.alert-error { background: rgba(239,68,68,0.1); color: #DC2626; }

/* ========== FOOTER ========== */
.footer {
  background: var(--text-dark); color: rgba(255,255,255,0.7); padding: 80px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 36px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.9375rem; font-weight: 700; margin-bottom: 20px; }
.footer-col a {
  display: block; font-size: 0.875rem; padding: 6px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 0.8125rem;
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* Pricing placeholder */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  padding: 40px 32px; border-radius: var(--radius-md); background: var(--card);
  border: 1px solid rgba(29,29,31,0.06); box-shadow: var(--shadow-sm);
  text-align: center; transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card.featured {
  border-color: var(--primary); box-shadow: var(--shadow-lg);
  transform: scale(1.04);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.pricing-price { font-size: 2.5rem; font-weight: 800; margin: 16px 0; }
.pricing-features { text-align: left; margin: 24px 0; }
.pricing-features li { padding: 8px 0; font-size: 0.875rem; color: var(--text-light); }
.pricing-features li::before { content: '✓ '; color: var(--primary); font-weight: 700; }

/* Delete page */
.delete-page { min-height: 80vh; display: flex; align-items: center; padding-top: var(--nav-height); }
.delete-content { max-width: 640px; margin: 0 auto; text-align: center; }
.delete-steps { text-align: left; margin-top: 32px; }
.delete-step {
  display: flex; gap: 16px; padding: 20px; border-radius: var(--radius-sm);
  background: var(--card); box-shadow: var(--shadow-sm); margin-bottom: 12px;
}
.delete-step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: rgba(217,4,82,0.1); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-ctas, .hero-trust, .store-buttons { justify-content: center; }
  .phone-stage { margin-top: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-body { grid-template-columns: 1fr; }
  .dashboard-sidebar { display: none; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .referral-visual { grid-template-columns: 1fr; }
  .referral-flow-center { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .screenshots-gallery { height: auto; flex-direction: column; gap: 24px; padding: 24px 0; }
  .gallery-phone { position: relative !important; transform: none !important; }
}

@media (max-width: 768px) {
  section { padding: 80px 0; }
  .navbar-nav, .navbar-actions .btn-secondary { display: none; }
  .navbar-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .phone-mockup { width: 240px; height: 500px; }
  .download-card { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-flow { flex-direction: column; }
  .promo-arrow { transform: rotate(90deg); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
