/* ==========================================================================
   AtriGuide – Tourism Mobile Application Official Landing Page
   Modern, Pure CSS3 Stylesheet with Arabic RTL Support
   ========================================================================== */

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

:root {
  /* Brand Color Palette */
  --color-primary: #0f172a;        /* Deep midnight navy */
  --color-primary-dark: #090d16;
  --color-primary-soft: #1e293b;
  --color-accent: #f58220;         /* Official AtriGuide warm orange */
  --color-accent-hover: #e06d0c;
  --color-accent-subtle: rgba(245, 130, 32, 0.08);
  --color-accent-glow: rgba(245, 130, 32, 0.25);
  
  --color-teal: #0d9488;           /* Secondary teal/turquoise */
  --color-teal-dark: #0f766e;
  --color-teal-subtle: rgba(13, 148, 136, 0.08);
  
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-surface-subtle: #f1f5f9;
  --color-surface-elevated: #ffffff;
  
  --color-text-main: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-subtle: rgba(15, 23, 42, 0.04);
  --color-border-focus: rgba(245, 130, 32, 0.4);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;

  /* Layout Spacing */
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-phone: 42px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
  --shadow-phone: 0 35px 80px -20px rgba(15, 23, 42, 0.3), 0 15px 30px -10px rgba(15, 23, 42, 0.1);
  --shadow-phone-glow: 0 40px 100px -20px rgba(245, 130, 32, 0.22);
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--color-text-body);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Arabic RTL Typography */
html[dir="rtl"] {
  font-family: var(--font-arabic);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--color-bg);
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-body);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

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

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

/* Language Switcher */
.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
  min-width: 140px;
  z-index: 120;
}

html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}

.lang-menu.show {
  display: block;
  animation: fadeInDown 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-option {
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s ease;
}

html[dir="rtl"] .lang-option {
  text-align: right;
}

.lang-option:hover {
  background: var(--color-surface-subtle);
  color: var(--color-accent);
}

.lang-option.active {
  color: var(--color-accent);
  font-weight: 700;
  background: var(--color-accent-subtle);
}

.btn-download-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-download-nav:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-subtle);
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
}

.mobile-drawer.open {
  display: flex;
  animation: slideDown 0.25s ease;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-surface-subtle);
}

/* --------------------------------------------------------------------------
   Hero Section (Reference-Inspired Two-Column Layout)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 25%, rgba(245, 130, 32, 0.07) 0%, rgba(13, 148, 136, 0.05) 30%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.06) 0%, transparent 50%),
              #fafcff;
}

.hero-glow-blob {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.12) 0%, rgba(13, 148, 136, 0.06) 50%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

html[dir="rtl"] .hero-glow-blob {
  right: auto;
  left: 10%;
}

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

/* Hero Left Column */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

html[dir="rtl"] .hero-content {
  align-items: flex-start;
  text-align: right;
}

.hero-brand-emblem {
  margin-bottom: 28px;
}

.hero-brand-emblem img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.hero-title {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 36px;
  max-width: 540px;
}

/* Store Download Buttons */
.store-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px;
  border-radius: 13px;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(11, 19, 43, 0.22);
  cursor: pointer;
  background: #0B132B;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #141f3d;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(11, 19, 43, 0.35);
  color: #FFFFFF;
}

.store-badge-apple {
  background: #000000;
  border-color: rgba(255, 255, 255, 0.18);
}

.store-badge-apple:hover {
  background: #18181b;
  border-color: rgba(255, 255, 255, 0.35);
}

.store-badge-google {
  background: #0B132B;
  border-color: rgba(255, 255, 255, 0.18);
}

.store-badge-google:hover {
  background: #141f3d;
  border-color: rgba(255, 255, 255, 0.35);
}

.store-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-img-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.store-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

html[dir="rtl"] .store-text {
  text-align: right;
}

.store-text .store-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94A3B8;
}

.store-text .store-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
}

.hero-meta-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.hero-meta-strip span.sep {
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Right Column – Overlapping Smartphone Mockups (Hero Main Visual)
   -------------------------------------------------------------------------- */
.hero-mockups-zone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
  padding: 20px 0;
  overflow: visible;
}

/* Ambient Floor Shadow under phones */
.mockups-floor-shadow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 45px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.08) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

.mockups-composition {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  height: 590px;
  perspective: 1200px;
  z-index: 2;
}

/* Realistic Smartphone Chassis */
.phone-mockup {
  position: absolute;
  background: #0f172a;
  border-radius: 36px;
  border: 6px solid #111827;
  box-shadow: 0 20px 50px -10px rgba(11, 19, 43, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease, z-index 0.2s;
  user-select: none;
  cursor: pointer;
  aspect-ratio: 1080 / 2412;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 10;
}

/* Integrated Micro-speaker slit inside the top outer titanium bezel */
.phone-bezel-earpiece {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background: #374151;
  border-radius: 2px;
  z-index: 15;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.6);
}

/* Phone Screen Container */
.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #f8fafc;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* 1. Left Secondary Phone */
.phone-mockup-left {
  width: 240px;
  left: 0;
  z-index: 2;
  transform: rotate(-8deg) translateY(24px) scale(0.92);
  filter: brightness(0.98);
}

.phone-mockup-left:hover {
  transform: rotate(-5deg) translateY(12px) scale(0.96);
  z-index: 6;
  filter: brightness(1);
}

/* 2. Center Prominent Phone */
.phone-mockup-center {
  width: 270px;
  z-index: 4;
  transform: translateY(-6px) scale(1.02);
  border-color: #0b132b;
  box-shadow: 0 25px 65px -12px rgba(11, 19, 43, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 0 40px rgba(0, 168, 150, 0.14);
}

.phone-mockup-center:hover {
  transform: translateY(-14px) scale(1.04);
}

/* 3. Right Secondary Phone */
.phone-mockup-right {
  width: 240px;
  right: 0;
  z-index: 2;
  transform: rotate(8deg) translateY(24px) scale(0.92);
  filter: brightness(0.98);
}

.phone-mockup-right:hover {
  transform: rotate(5deg) translateY(12px) scale(0.96);
  z-index: 6;
  filter: brightness(1);
}

/* Floating App Feature Tag */
.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: -15px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  animation: floatBounce 4s ease-in-out infinite;
}

html[dir="rtl"] .hero-floating-badge {
  left: auto;
  right: -20px;
}

/* Mobile Hero Phone Carousel - Hidden on Desktop */
.hero-mobile-carousel {
  display: none;
}

.floating-badge-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge-text {
  display: flex;
  flex-direction: column;
}

.floating-badge-text strong {
  font-size: 0.88rem;
  color: var(--color-primary);
  line-height: 1.2;
}

.floating-badge-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Section Common Utilities
   -------------------------------------------------------------------------- */
.section {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
}

.section-alt {
  background-color: #ffffff;
}

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

.section-kicker {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-description {
  font-size: 1.05rem;
  color: var(--color-text-body);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Features Section (Clean Cards Grid)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 130, 32, 0.3);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.feature-card:nth-child(2) .feature-icon-wrapper,
.feature-card:nth-child(5) .feature-icon-wrapper {
  background: var(--color-teal-subtle);
  color: var(--color-teal);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.08);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

/* --------------------------------------------------------------------------
   Showcase Section (Real App Screenshots Gallery)
   -------------------------------------------------------------------------- */
.showcase-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
}

/* Showcase Carousel Styles */
.showcase-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 24px 0 36px;
  cursor: grab;
  user-select: none;
}

.carousel-viewport.is-dragging {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  align-items: center;
}

.carousel-slide {
  flex: 0 0 260px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.carousel-phone {
  width: 250px;
  height: 520px;
  background: #111827;
  border-radius: var(--radius-phone);
  border: 7px solid #1f2937;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.22);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.carousel-phone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: calc(var(--radius-phone) - 7px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  z-index: 10;
}

.carousel-phone:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
}

.carousel-phone .phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.carousel-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Carousel Navigation Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.carousel-btn:hover {
  background: var(--color-surface-subtle);
  border-color: rgba(245, 130, 32, 0.4);
  color: var(--color-accent);
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Why Choose AtriGuide Section (Benefits)
   -------------------------------------------------------------------------- */
.benefits-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.benefits-cards-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.benefit-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

html[dir="rtl"] .benefit-item:hover {
  transform: translateX(-4px);
}

.benefit-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-accent);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-text-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.benefit-text-wrap p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--color-text-body);
}

/* Benefits Visual Card */
.benefits-visual-col {
  position: relative;
}

.benefits-feature-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.benefits-feature-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.benefits-box-tag {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.benefits-box-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.benefits-box-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 32px;
}

.benefits-experience-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.experience-tag-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.experience-tag-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Download CTA Section (High-Intent Conversion Area)
   -------------------------------------------------------------------------- */
.cta-section {
  padding-top: 60px;
  padding-bottom: 100px;
}

.cta-card {
  background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #172554 100%);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 30%;
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(245, 130, 32, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-inner-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-headline {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-subline {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.cta-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  padding-top: 64px;
  padding-bottom: 40px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
}

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

.footer-link {
  font-size: 0.9rem;
  color: var(--color-text-body);
  transition: color 0.18s ease;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-body);
  transition: all 0.2s ease;
}

.social-btn:hover {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border-color: rgba(245, 130, 32, 0.3);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Modal for Legal / Privacy / Terms
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 20px;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: var(--color-primary);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
  }

  html[dir="rtl"] .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-meta-strip {
    justify-content: center;
  }

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

  .benefits-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .main-nav,
  .btn-download-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .cta-headline,
  .cta-subline {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-badges-row {
    justify-content: center;
  }
}

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

  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 60px;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .store-buttons-wrap {
    flex-direction: column;
    width: 100%;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  /* On Mobile Screens: First Section Screenshots displayed as a Carousel */
  .hero-mockups-zone {
    width: 100%;
    min-height: auto;
    padding: 10px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
  }

  .hero-composition-desktop {
    display: none !important;
  }

  .hero-mobile-carousel {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0 16px;
    touch-action: pan-y;
    cursor: grab;
  }

  .hero-carousel-viewport.is-dragging {
    cursor: grabbing;
  }

  .hero-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    width: 100%;
  }

  .hero-carousel-slide {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    box-sizing: border-box;
    padding: 0 4px;
  }

  .phone-mockup-hero-slide {
    position: relative;
    width: min(235px, 68vw);
    aspect-ratio: 1080 / 2412;
    background: #0f172a;
    border-radius: 32px;
    border: 6px solid #111827;
    box-shadow: 0 20px 48px -10px rgba(11, 19, 43, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.14) inset;
    overflow: hidden;
  }

  .phone-mockup-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 10;
  }

  .phone-mockup-hero-slide .phone-screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
  }

  .phone-mockup-hero-slide .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
  }

  .hero-slide-badge {
    margin-top: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(15, 23, 42, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.01em;
  }

  .hero-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    z-index: 10;
  }

  .hero-carousel-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .hero-carousel-arrow:hover {
    background: #0B132B;
    color: #ffffff;
    border-color: #0B132B;
  }

  .hero-carousel-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #CBD5E1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
  }

  .hero-dot.active {
    width: 24px;
    background: #0B132B;
  }

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

  .carousel-slide {
    flex: 0 0 220px;
  }

  .carousel-phone {
    width: 215px;
    height: 445px;
  }

  .cta-card {
    padding: 36px 20px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
