/* ===================================================================
   Egy Metro (إيجي مترو) - Modern Design System & Stylesheet
   Pure Vanilla CSS - Modern Dark Glassmorphic Theme
   =================================================================== */

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

:root {
  /* Brand Metro Color Palette */
  --bg-primary: #070B14;
  --bg-secondary: #0D1322;
  --bg-card: rgba(18, 26, 44, 0.65);
  --bg-card-hover: rgba(26, 38, 64, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(239, 68, 68, 0.35);

  /* Metro Lines Signature Colors */
  --line-1-red: #EF4444;
  --line-1-glow: rgba(239, 68, 68, 0.4);
  --line-2-orange: #F97316;
  --line-2-glow: rgba(249, 115, 22, 0.4);
  --line-3-green: #10B981;
  --line-3-glow: rgba(16, 185, 129, 0.4);

  /* Accent & Gradients */
  --accent-gold: #FBBF24;
  --gradient-brand: linear-gradient(135deg, #EF4444 0%, #F97316 50%, #10B981 100%);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(239, 68, 68, 0.08), transparent 40%);

  /* Typography Colors */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-highlight: #FEE2E2;

  /* Fonts */
  --font-arabic: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-english: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Spacing & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-arabic);
  direction: rtl;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 10% 15%, rgba(239, 68, 68, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 20%, rgba(249, 115, 22, 0.1) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(16, 185, 129, 0.1) 0px, transparent 60%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--line-1-red);
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================= Header & Navbar ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-normal);
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7, 11, 20, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFF 40%, #EF4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: #FFF;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  transition: var(--transition-normal);
  border-radius: 2px;
}

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

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

.btn-header-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--line-1-red), #B91C1C);
  color: #FFF;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px var(--line-1-glow);
  transition: var(--transition-normal);
}

.btn-header-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 24px;
  cursor: pointer;
}

/* ================= Hero Section ================= */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: var(--text-highlight);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--line-1-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--line-1-red);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #FF6B6B 0%, #FFA502 50%, #2ED573 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 34px;
  max-width: 580px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(239, 68, 68, 0.6);
  background: linear-gradient(135deg, #F87171, #EF4444);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFF;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

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

.stat-num {
  font-family: var(--font-english);
  font-size: 28px;
  font-weight: 800;
  color: #FFF;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 500;
}

/* ================= Hero Visual & Phone Mockup ================= */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
  border-radius: 46px;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(239, 68, 68, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition-normal);
  animation: float-mockup 6s ease-in-out infinite;
}

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

.mockup-wrapper:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 30px 60px -10px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(239, 68, 68, 0.45);
}

.mockup-screen {
  width: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 19.5;
  background: #000;
}

.mockup-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Glass Cards */
.floating-glass-card {
  position: absolute;
  z-index: 4;
  background: rgba(13, 19, 34, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float-subtle 4s ease-in-out infinite;
}

.card-pos-1 {
  top: 15%;
  right: -35px;
  animation-delay: 0.5s;
}

.card-pos-2 {
  bottom: 20%;
  left: -40px;
  animation-delay: 1.5s;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.icon-red { background: rgba(239, 68, 68, 0.2); color: var(--line-1-red); }
.icon-green { background: rgba(16, 185, 129, 0.2); color: var(--line-3-green); }

.floating-info h4 {
  font-size: 13px;
  font-weight: 700;
}

.floating-info p {
  font-size: 11px;
  color: var(--text-muted);
}

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

/* ================= Section Common ================= */
.section {
  padding: 90px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--line-1-red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition-normal);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--line-1-red)), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-badge-corner {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ================= Interactive Route Demo ================= */
.demo-section {
  background: linear-gradient(180deg, transparent, rgba(13, 19, 34, 0.7) 50%, transparent);
}

.demo-card {
  background: rgba(18, 26, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 44px;
  backdrop-filter: blur(24px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  max-width: 980px;
  margin: 0 auto;
}

.demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-select-wrap {
  position: relative;
}

.metro-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: #FFF;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  transition: var(--transition-normal);
  appearance: none;
  -webkit-appearance: none;
}

.metro-select:focus {
  border-color: var(--line-1-red);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.select-arrow {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-dim);
  font-size: 12px;
}

.btn-calculate {
  background: linear-gradient(135deg, var(--line-1-red), var(--line-2-orange));
  color: #FFF;
  border: none;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35);
  transition: var(--transition-normal);
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-calculate:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

/* Demo Result Panel */
.demo-result-panel {
  display: none;
  background: rgba(7, 11, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: fadeIn 0.4s ease forwards;
}

.demo-result-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.res-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.res-card .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.res-card .val {
  font-size: 22px;
  font-weight: 800;
  color: #FFF;
  font-family: var(--font-english);
}

.res-card.highlight {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.08);
}
.res-card.highlight .val {
  color: var(--line-3-green);
}

.route-steps-flow {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.route-step-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.step-marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.marker-l1 { background: var(--line-1-red); box-shadow: 0 0 8px var(--line-1-red); }
.marker-l2 { background: var(--line-2-orange); box-shadow: 0 0 8px var(--line-2-orange); }
.marker-l3 { background: var(--line-3-green); box-shadow: 0 0 8px var(--line-3-green); }

.step-interchange {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #FCD34D;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  margin-right: auto;
}

/* ================= Cairo Metro Lines Explorer ================= */
.lines-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.line-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.line-tab-btn.active,
.line-tab-btn:hover {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.line-tab-btn[data-line="1"].active {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--line-1-red);
  color: #FFF;
}
.line-tab-btn[data-line="2"].active {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--line-2-orange);
  color: #FFF;
}
.line-tab-btn[data-line="3"].active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--line-3-green);
  color: #FFF;
}

.line-info-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(16px);
  animation: fadeIn 0.4s ease forwards;
}

.line-info-panel.active {
  display: block;
}

.line-header-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.line-stations-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.station-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.station-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.station-pill.transfer {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: #FBBF24;
  font-weight: 700;
}

/* ================= Screenshots Slider ================= */
.screenshots-wrap {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots-track::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: rgba(18, 26, 44, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.screenshot-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  padding: 16px;
  text-align: center;
  background: rgba(7, 11, 20, 0.85);
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
}

/* ================= App-ads.txt Card ================= */
.ads-txt-card {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(249, 115, 22, 0.06));
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-xl);
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
}

.ads-txt-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ads-txt-info p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.ads-snippet-box {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-family: monospace;
  font-size: 13px;
  color: #4ADE80;
  direction: ltr;
  text-align: left;
  display: inline-block;
}

.ads-txt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.btn-copy-ads {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-copy-ads:hover {
  background: rgba(255, 255, 255, 0.2);
}

.link-view-file {
  font-size: 13px;
  color: var(--line-1-red);
  text-align: center;
  text-decoration: underline;
}

/* ================= Download CTA Section ================= */
.download-section {
  position: relative;
  overflow: hidden;
}

.download-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(13, 19, 34, 0.95) 50%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.download-content h2 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.download-buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.btn-store:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.store-icon {
  font-size: 26px;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.store-small {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.store-big {
  font-size: 16px;
  font-weight: 700;
}

.download-meta-tags {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ================= FAQ Section ================= */
.faq-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 17px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  transition: var(--transition-normal);
  color: var(--line-1-red);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 20px;
}

/* ================= Footer ================= */
.site-footer {
  background: #04070D;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  position: relative;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 12px;
  max-width: 380px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #FFF;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--line-1-red);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}

/* ================= Toast Notification ================= */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(16, 185, 129, 0.95);
  color: #FFF;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats-row {
    max-width: 600px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-buttons-group {
    justify-content: center;
  }
  .download-meta-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(7, 11, 20, 0.98);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 34px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .demo-form-grid {
    grid-template-columns: 1fr;
  }
  .result-summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .ads-txt-card {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .card-pos-1, .card-pos-2 {
    display: none;
  }
}
