/* =========================================================
   Rezma Landing Page — Styles
   Sections: Tokens, Reset, Typography, Buttons, Nav, Hero,
   Stats, Features, How It Works, Categories, Download,
   Testimonials, FAQ, Footer, Reveal, Responsive
   ========================================================= */

/* =========================================================
   THEME TOKENS
   ========================================================= */
:root {
  --color-primary: #1B3A6B;
  --color-accent: #C49A3C;
  --color-primary-light: #2A5298;

  /* Light defaults */
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --text: #1A1A2E;
  --text-muted: #8896AB;

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(27, 58, 107, 0.12);
  --card-bg: #FFFFFF;
  --card-border: rgba(27, 58, 107, 0.10);
  --nav-bg: rgba(245, 247, 250, 0.7);
  --shadow-soft: 0 10px 30px rgba(27, 58, 107, 0.10);
  --shadow-lift: 0 18px 40px rgba(27, 58, 107, 0.18);
  --hero-glow: rgba(196, 154, 60, 0.25);

  --font-en: 'Inter', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font: var(--font-en);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --maxw: 1200px;
  --pad-section: 96px;
}

html.dark {
  --bg: #0D1B2E;
  --surface: #122040;
  --text: #E8ECF4;
  --text-muted: #8896AB;

  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --card-bg: #122040;
  --card-border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(13, 27, 46, 0.65);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 18px 40px rgba(0, 0, 0, 0.5);
  --hero-glow: rgba(196, 154, 60, 0.30);
}

html[lang="ar"] { --font: var(--font-ar); }

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; }

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

section { padding-block: var(--pad-section); position: relative; }

/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */
h1, h2, h3 { line-height: 1.2; font-weight: 800; }

.section-head { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 56px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: 14px;
}
.section-title .gold { color: var(--color-accent); }
.section-sub { color: var(--text-muted); font-size: clamp(.98rem, 2vw, 1.1rem); }

.gradient-text {
  background: linear-gradient(120deg, var(--color-primary-light), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
html.dark .gradient-text {
  background: linear-gradient(120deg, #6da0ee, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}
html.dark .btn-primary { background: var(--color-primary-light); border-color: var(--color-primary-light); }
html.dark .btn-primary:hover { background: transparent; color: var(--color-accent); border-color: var(--color-accent); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--color-primary);
}
html.dark .btn-secondary { border-color: var(--glass-border); }
.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.btn-accent {
  background: var(--color-accent);
  color: #1A1A2E;
  border: 2px solid var(--color-accent);
}
.btn-accent:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  transition: background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-block-end: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block-end: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; }
.brand svg { width: 32px; height: 38px; }
.brand .brand-name { letter-spacing: .01em; }
html[lang="ar"] .brand { font-size: 1.5rem; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-muted);
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 14px;
  inset-inline-end: 14px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--color-accent); color: var(--color-accent); }
.icon-btn svg { width: 19px; height: 19px; }
.lang-btn { width: auto; padding-inline: 14px; font-weight: 700; font-size: .9rem; }

.theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: block; }

.nav-cta { display: inline-flex; }

.hamburger { display: none; }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset-block-start: 0;
  inset-inline-end: 0;
  height: 100dvh;
  width: min(82vw, 320px);
  background: var(--surface);
  z-index: 200;
  padding: 90px 28px 28px;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-inline-start: 1px solid var(--glass-border);
}
html[dir="rtl"] .mobile-menu { transform: translateX(-110%); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  padding: 14px 12px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text);
  border-block-end: 1px solid var(--glass-border);
}
.mobile-menu a:hover { color: var(--color-accent); }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }
.mobile-close { position: absolute; inset-block-start: 24px; inset-inline-end: 24px; }
.overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.overlay.open { opacity: 1; visibility: visible; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-block-start: 150px;
  padding-block-end: 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 30%, var(--hero-glow), transparent 70%),
    radial-gradient(50% 60% at 15% 10%, rgba(42, 82, 152, 0.18), transparent 70%);
  z-index: -1;
  animation: heroPulse 9s ease-in-out infinite alternate;
}
@keyframes heroPulse { from { opacity: .7; } to { opacity: 1; } }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 0 4px rgba(196,154,60,.2); }

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
  margin-bottom: 22px;
  letter-spacing: -.01em;
}
.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 540px;
  margin-bottom: 34px;
}
html[dir="rtl"] .hero-sub { margin-inline-end: auto; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative;
  width: 280px;
  height: 560px;
  border-radius: 42px;
  background: linear-gradient(160deg, var(--color-primary), var(--color-bg-dark, #0D1B2E));
  padding: 14px;
  box-shadow: var(--shadow-lift), 0 0 0 2px rgba(255,255,255,.06) inset;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.phone::before {
  content: "";
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #0D1B2E;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 30px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ph-header {
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  padding: 38px 18px 18px;
}
.ph-header .ph-hi { font-size: .78rem; opacity: .85; }
.ph-header .ph-search {
  margin-top: 12px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: .8rem;
  display: flex; align-items: center; gap: 8px;
}
.ph-header .ph-search svg { width: 15px; height: 15px; }
.ph-body { padding: 16px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; }
.ph-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.ph-card .ph-img {
  height: 78px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  position: relative;
}
.ph-card .ph-vip {
  position: absolute;
  inset-block-start: 8px; inset-inline-start: 8px;
  background: var(--color-accent);
  color: #1A1A2E;
  font-size: .6rem; font-weight: 800;
  padding: 3px 8px; border-radius: 999px;
  display: flex; align-items: center; gap: 3px;
}
.ph-card .ph-vip svg { width: 10px; height: 10px; }
.ph-meta { padding: 10px 12px; }
.ph-meta .ph-title { font-size: .8rem; font-weight: 700; }
.ph-meta .ph-loc { font-size: .66rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: 3px; }
.ph-meta .ph-loc svg { width: 11px; height: 11px; }
.ph-meta .ph-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.ph-stars { color: var(--color-accent); font-size: .7rem; font-weight: 700; display: flex; align-items: center; gap: 3px; }
.ph-stars svg { width: 12px; height: 12px; fill: var(--color-accent); }
.ph-price { font-size: .72rem; font-weight: 800; color: var(--color-primary-light); }

.float-badge {
  position: absolute;
  inset-block-start: 60px;
  inset-inline-end: -6px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 10px;
  animation: floaty 6s ease-in-out infinite .8s;
  z-index: 5;
}
.float-badge .fb-icon {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--color-accent), #e0b558);
  display: flex; align-items: center; justify-content: center;
  color: #1A1A2E;
}
.float-badge .fb-icon svg { width: 20px; height: 20px; fill: #1A1A2E; }
.float-badge .fb-big { font-weight: 800; font-size: 1.05rem; }
.float-badge .fb-small { font-size: .68rem; color: var(--text-muted); }

/* =========================================================
   STATS BAR
   ========================================================= */
.stats { padding-block: 0; margin-top: -20px; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-light));
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  box-shadow: var(--shadow-lift);
}
.stat { text-align: center; color: #fff; }
.stat .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; }
.stat .num .plus { color: var(--color-accent); }
.stat .label { font-size: .92rem; opacity: .85; margin-top: 4px; }

/* =========================================================
   FEATURES
   ========================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute; inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--color-primary), var(--color-accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--color-accent), #d8ab4e);
  display: flex; align-items: center; justify-content: center;
  color: #1A1A2E;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(196,154,60,.3);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: .96rem; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { overflow: hidden; }
.how::before {
  content: "";
  position: absolute;
  inset-block-start: 30%;
  inset-inline-start: -150px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,60,.10), transparent 70%);
  z-index: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.steps::before {
  content: "";
  position: absolute;
  inset-block-start: 34px;
  inset-inline: 16%;
  height: 2px;
  background-image: linear-gradient(to right, var(--color-accent) 50%, transparent 50%);
  background-size: 16px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step .num-circle {
  width: 68px; height: 68px;
  margin-inline: auto;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800;
  margin-bottom: 22px;
  box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: .96rem; max-width: 300px; margin-inline: auto; }

/* =========================================================
   CATEGORIES
   ========================================================= */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease;
  cursor: pointer;
}
.cat-card .cat-emoji { font-size: 2.4rem; margin-bottom: 14px; transition: transform .3s ease; }
.cat-card .cat-label { font-weight: 700; font-size: 1rem; }
.cat-card:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  box-shadow: var(--shadow-lift);
}
.cat-card:hover .cat-emoji { transform: scale(1.15); }

/* =========================================================
   APP DOWNLOAD
   ========================================================= */
.download {
  background: linear-gradient(130deg, var(--color-primary), var(--color-primary-light));
  overflow: hidden;
}
.download::after {
  content: "";
  position: absolute;
  inset-block-end: -120px;
  inset-inline-end: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,154,60,.30), transparent 70%);
}
.download-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.download h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 16px; }
.download p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin-bottom: 30px; max-width: 480px; }
.store-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn .st-small { font-size: .62rem; opacity: .8; line-height: 1.1; }
.store-btn .st-big { font-size: 1.05rem; font-weight: 700; line-height: 1.1; }

.download-visual { display: flex; justify-content: center; }
.phone.tilt { transform: rotate(10deg) scale(.92); animation: none; }
html[dir="rtl"] .phone.tilt { transform: rotate(-10deg) scale(.92); }
.ph-confirm { padding: 40px 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%; justify-content: center; }
.ph-confirm .check {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 10px 24px rgba(46,204,113,.4);
}
.ph-confirm .check svg { width: 42px; height: 42px; }
.ph-confirm h4 { font-size: 1.15rem; }
.ph-confirm .ph-c-sub { font-size: .8rem; color: var(--text-muted); }
.ph-confirm .ph-ticket {
  width: 100%;
  background: var(--bg);
  border: 1px dashed var(--card-border);
  border-radius: 14px;
  padding: 14px;
  text-align: start;
  margin-top: 8px;
}
.ph-confirm .ph-ticket .tk-row { display: flex; justify-content: space-between; font-size: .72rem; padding-block: 4px; }
.ph-confirm .ph-ticket .tk-row span:first-child { color: var(--text-muted); }
.ph-confirm .ph-ticket .tk-row span:last-child { font-weight: 700; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-inline-start: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.testi-stars { color: var(--color-accent); display: flex; gap: 3px; margin-bottom: 16px; }
.testi-stars svg { width: 18px; height: 18px; fill: var(--color-accent); }
.testi-card p { font-size: 1rem; margin-bottom: 22px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
}
.testi-author .ta-name { font-weight: 700; }
.testi-author .ta-role { font-size: .8rem; color: var(--text-muted); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item.open { box-shadow: var(--shadow-soft); border-color: var(--color-accent); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: start;
}
.faq-q .faq-icon { color: var(--color-accent); flex-shrink: 0; transition: transform .3s ease; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--text-muted);
  padding-inline: 24px;
}
.faq-item.open .faq-a { max-height: 260px; padding-block: 0 22px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--surface);
  border-block-start: 1px solid var(--glass-border);
  padding-block: 64px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer .brand { margin-bottom: 16px; }
.footer-tag { color: var(--text-muted); max-width: 280px; margin-bottom: 22px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.socials a:hover { transform: translateY(-3px); background: var(--color-accent); color: #1A1A2E; }
.socials svg { width: 19px; height: 19px; }
.footer-col h4 { font-size: 1.05rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a, .footer-col .f-contact { color: var(--text-muted); transition: color .2s ease; }
.footer-col ul a:hover { color: var(--color-accent); }
.f-contact { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.f-contact svg { width: 17px; height: 17px; color: var(--color-accent); }
.footer-bottom {
  border-block-start: 1px solid var(--glass-border);
  padding-block: 22px;
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
}

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone, .float-badge, .hero::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad-section: 72px; }
  .hero-grid { gap: 30px; }
  .features-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-badge, .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .download-grid { grid-template-columns: 1fr; text-align: center; }
  .download p { margin-inline: auto; }
  .store-btns { justify-content: center; }
  .download-visual { margin-top: 20px; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
}

@media (max-width: 640px) {
  :root { --pad-section: 56px; }
  .container { padding-inline: 18px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; padding: 32px 20px; }
  .features-grid, .testi-grid, .cats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; text-align: start; }
  .hero { padding-block-start: 120px; }
  .phone { width: 250px; height: 500px; }
}
