/* ==========================================================================
   FOR TO GO (فور تو قو) — Official Landing Page Stylesheet
   Design System based on Material 3 Design Kit & App Tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Brand Tokens - Synced with mobile-client & admin-dashboard */
  --primary: #AF4709;
  --primary-hover: #963b06;
  --primary-dark: #71361A;
  --primary-light: #FFDBCD;
  --primary-glow: rgba(175, 71, 9, 0.22);
  --primary-gradient: linear-gradient(135deg, #71361A 0%, #AF4709 50%, #D4540C 100%);
  --primary-soft-gradient: linear-gradient(135deg, #FFF1EC 0%, #FFDBCD 100%);

  /* Neutrals */
  --background: #FFF8F6;
  --surface: #FFFFFF;
  --surface-low: #FFF1EC;
  --surface-card: #FFFFFF;
  --surface-dark: #231A16;
  --surface-dark-elevated: #33251F;
  --surface-dark-border: #4A3830;
  
  /* Text & Foreground */
  --foreground: #231A16;
  --foreground-muted: #52443D;
  --foreground-subtle: #77574A;
  --foreground-on-primary: #FFFFFF;
  --foreground-dark-muted: #D8C2BA;

  /* Accents & Status */
  --secondary: #77574A;
  --accent: #F6E5DE;
  --border: #EFE1DA;
  --border-light: #F5EAE5;
  --border-focus: #AF4709;
  --success: #1A6B1F;
  --success-bg: #E6F4E7;
  --warning: #B38600;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(35, 26, 22, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(35, 26, 22, 0.07), 0 8px 10px -6px rgba(35, 26, 22, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(35, 26, 22, 0.12), 0 12px 18px -8px rgba(35, 26, 22, 0.06);
  --shadow-glow: 0 14px 35px -8px rgba(175, 71, 9, 0.35);
  --shadow-phone: 0 25px 60px -15px rgba(35, 26, 22, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.6);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;

  /* Typography */
  --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--foreground);
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  line-height: 1.65;
  background-color: var(--background);
  color: var(--foreground);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  background-color: rgba(255, 248, 246, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(35, 26, 22, 0.05);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-title-ar {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-title-en {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--foreground-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--foreground);
}

/* --------------------------------------------------------------------------
   Buttons & Badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.625rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(175, 71, 9, 0.45);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--foreground);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-low);
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--surface-dark);
  color: #FFFFFF;
  border: 1px solid var(--surface-dark-border);
}

.btn-dark:hover {
  background-color: #000000;
  transform: translateY(-2px);
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background-color: var(--surface-dark);
  color: #FFFFFF;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.25s ease;
  min-width: 175px;
}

.btn-store:hover {
  background-color: #000000;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.btn-store-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: right;
  line-height: 1.2;
}

.btn-store-subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.btn-store-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--surface-low);
  color: var(--primary);
  border: 1px solid var(--primary-light);
  font-size: 0.85rem;
  font-weight: 700;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(175, 71, 9, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(175, 71, 9, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(175, 71, 9, 0); }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4rem 0 6rem;
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: -100px;
  right: 15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 71, 9, 0.12) 0%, rgba(255, 219, 205, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-ambient-glow-2 {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 219, 205, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.hero-title-highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--foreground-muted);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.stat-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--foreground);
  line-height: 1;
}

.stat-num-colored {
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--foreground-subtle);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Interactive Mobile Phone Mockup
   -------------------------------------------------------------------------- */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  width: 320px;
  height: 640px;
  background-color: #121212;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-phone);
  border: 4px solid #33251F;
  z-index: 2;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.phone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background-color: #000000;
  border-radius: 20px;
  z-index: 20;
}

.phone-app-header {
  padding: 38px 16px 12px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-app-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.phone-app-name {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--primary);
}

.phone-app-mode-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  background-color: var(--surface-low);
  color: var(--primary);
  border-radius: var(--radius-full);
}

.phone-app-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: hidden;
  position: relative;
}

/* Floating Badges on Mockup */
.mockup-floating-badge {
  position: absolute;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  animation: float-slow 4s ease-in-out infinite alternate;
}

.mockup-badge-top {
  top: 15%;
  right: -35px;
}

.mockup-badge-bottom {
  bottom: 12%;
  left: -40px;
  animation-delay: -2s;
}

.mockup-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mockup-badge-icon.orange {
  background: var(--surface-low);
  color: var(--primary);
}

.mockup-badge-icon.green {
  background: var(--success-bg);
  color: var(--success);
}

.mockup-badge-info {
  display: flex;
  flex-direction: column;
}

.mockup-badge-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--foreground);
}

.mockup-badge-desc {
  font-size: 0.75rem;
  color: var(--foreground-subtle);
}

@keyframes float-slow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Phone Screen Views */
.screen-view {
  display: none;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  animation: fadeIn 0.3s ease forwards;
}

.screen-view.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

/* --------------------------------------------------------------------------
   App Interactive Showcase Tabs
   -------------------------------------------------------------------------- */
.showcase-tabs-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--foreground-muted);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.showcase-tab-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
}

.showcase-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

/* --------------------------------------------------------------------------
   Section Common Styles
   -------------------------------------------------------------------------- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--surface-dark);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.section-header.text-right {
  text-align: right;
  align-items: flex-start;
  margin-inline: 0;
}

.section-badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: #FFFFFF;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--foreground-muted);
  line-height: 1.7;
}

.section-dark .section-desc {
  color: var(--foreground-dark-muted);
}

/* --------------------------------------------------------------------------
   Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  background-color: var(--surface-low);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  background: var(--primary);
  color: #FFFFFF;
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--foreground);
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--foreground-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   How It Works Steps
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: #FFFFFF;
  padding: 2.25rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--foreground-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   App Experience Tour / Split Feature Rows
   -------------------------------------------------------------------------- */
.tour-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  margin-bottom: 6rem;
}

.tour-row:last-child {
  margin-bottom: 0;
}

.tour-row.reverse {
  direction: ltr;
}

.tour-row.reverse > * {
  direction: rtl;
}

.tour-card-visual {
  background: var(--surface-low);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--primary-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tour-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.tour-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.tour-feature-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Payment & Security Bar
   -------------------------------------------------------------------------- */
.security-banner {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  margin-top: 3rem;
}

.security-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.security-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-methods-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.pay-badge {
  height: 40px;
  padding: 6px 14px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--foreground);
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--foreground);
  gap: 1rem;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface-low);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-inline: 1.75rem;
  font-size: 0.95rem;
  color: var(--foreground-muted);
  line-height: 1.8;
}

.faq-item.active .faq-content {
  padding-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   CTA Download Section
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--surface-dark);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--surface-dark-border);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 71, 9, 0.4) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.3;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--foreground-dark-muted);
  max-width: 520px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
}

.cta-qr-box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  backdrop-filter: blur(10px);
}

.qr-code-img {
  width: 140px;
  height: 140px;
  background: #FFFFFF;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.qr-caption {
  font-size: 0.85rem;
  color: var(--foreground-dark-muted);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #17110E;
  color: #FFFFFF;
  padding: 5rem 0 2rem;
  border-top: 1px solid #2C211B;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: #B59F96;
  line-height: 1.8;
  max-width: 340px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.25s ease;
}

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

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-column-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: #B59F96;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  padding-right: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8C7870;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Modal (QR Code)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(35, 26, 22, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: scaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  font-size: 1.2rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 290px;
  background-color: #FFFFFF;
  z-index: 200;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 199;
  display: none;
}

.mobile-nav-backdrop.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--foreground);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-inline: auto;
  }

  .tour-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tour-row.reverse {
    direction: rtl;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }

  .cta-content {
    align-items: center;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-menu, .header-cta-group .btn-secondary {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

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

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

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

  .security-banner {
    flex-direction: column;
    text-align: center;
  }

  .security-info {
    flex-direction: column;
  }

  .payment-methods-row {
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .mockup-floating-badge {
    display: none;
  }
}
