/* =================================================================
   Rinova — marketing site styles
   Brand: orange #F4621F on a premium dark theme
   Font: Montserrat
================================================================= */

:root {
  /* Brand palette */
  --orange:       #F4621F;
  --orange-light: #FF8C4B;
  --orange-dark:  #C44A10;
  --orange-pale:  #FFF0E8;
  --coral:        #FF6B6B; /* the in-app accent (logo) */

  /* Dark theme surface colors */
  --bg:       #0A0A0A;
  --bg-2:     #121110;
  --surface:  #181614;
  --surface-2:#211e1b;
  --line:     rgba(255, 255, 255, 0.08);
  --line-2:   rgba(255, 255, 255, 0.14);

  /* Text */
  --text:     #FFFFFF;
  --muted:    #B9B3AC;
  --muted-2:  #8A847D;

  /* Effects */
  --radius:    18px;
  --radius-lg: 28px;
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.7);
  --shadow-orange: 0 18px 45px -12px rgba(244, 98, 31, 0.5);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  --maxw: 1180px;
  --font: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ----------------------------------------------------------------
   Reset / base
---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -0.02em; }

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

.grad {
  background: linear-gradient(100deg, var(--orange), var(--orange-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-light {
  background: linear-gradient(100deg, #fff, #ffe2d2);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----------------------------------------------------------------
   Animated background
---------------------------------------------------------------- */
#bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  pointer-events: none;
}
.bg-glows { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.glow {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: glow-drift 18s ease-in-out infinite alternate;
}
.glow-1 { width: 560px; height: 560px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(244,98,31,0.55), transparent 65%); }
.glow-2 { width: 480px; height: 480px; top: 30%; right: -140px;
  background: radial-gradient(circle, rgba(255,107,107,0.35), transparent 65%); animation-delay: -6s; }
.glow-3 { width: 520px; height: 520px; bottom: -180px; left: 35%;
  background: radial-gradient(circle, rgba(196,74,16,0.4), transparent 65%); animation-delay: -11s; }

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.15); }
}

/* ----------------------------------------------------------------
   Scroll progress bar
---------------------------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 1000; transition: width 0.1s linear;
}

/* ----------------------------------------------------------------
   Buttons
---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; border: none; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  font-family: var(--font);
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-primary { background: linear-gradient(100deg, var(--orange), var(--orange-light)); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 24px 55px -12px rgba(244,98,31,0.65); }
.btn-light { background: #fff; color: var(--orange-dark); }
.btn-light:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(0,0,0,0.5); }
.btn.full { width: 100%; }

/* ----------------------------------------------------------------
   Header
---------------------------------------------------------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 18px 0; transition: padding 0.3s var(--ease), background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.03em; }
.brand-word .dot { color: var(--orange); }

.nav { display: flex; gap: 28px; }
.nav a { font-weight: 600; font-size: 0.95rem; color: var(--muted); position: relative; transition: color 0.2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--orange); transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------
   Hero
---------------------------------------------------------------- */
.hero { padding: 140px 0 110px; position: relative; text-align: center; overflow: hidden; }
.hero-center { max-width: 760px; margin: 0 auto; position: relative; z-index: 3; }

/* Soft "afterglow" aurora behind the hero */
.hero-aurora {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: min(1150px, 130%); height: 820px; z-index: 1; pointer-events: none;
  background:
    radial-gradient(38% 50% at 28% 62%, rgba(255,176,71,0.55), transparent 70%),
    radial-gradient(42% 55% at 64% 42%, rgba(244,98,31,0.55), transparent 70%),
    radial-gradient(45% 60% at 74% 70%, rgba(255,107,107,0.42), transparent 72%),
    radial-gradient(40% 50% at 46% 34%, rgba(168,85,247,0.28), transparent 70%);
  filter: blur(54px) saturate(135%);
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate(-50%, -50%) scale(1)    rotate(0deg);  opacity: .9; }
  50%  { transform: translate(-52%, -48%) scale(1.08) rotate(4deg);  opacity: 1;  }
  100% { transform: translate(-48%, -52%) scale(1.04) rotate(-3deg); opacity: .9; }
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: rgba(255,255,255,0.05); border: 1px solid var(--line-2); color: var(--muted);
  margin: 0 auto 22px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(244,98,31,0.6); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(244,98,31,0.6); }
  70% { box-shadow: 0 0 0 9px rgba(244,98,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(244,98,31,0); }
}

.hero-title { font-size: clamp(2.4rem, 5.8vw, 4.4rem); font-weight: 900; }
.d-br { display: block; }
.tagline { font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.85rem; color: var(--orange-light); margin: 18px 0 0; }
.hero-sub { color: var(--muted); font-size: 1.08rem; max-width: 520px; margin: 18px auto 0; }
.hero-sub strong { color: #fff; }

/* "Try now" button (matches reference) */
.btn-try { font-size: 1rem; padding: 15px 32px; margin-top: 28px; }
.btn-try .arrow { font-weight: 800; transition: transform .25s var(--ease); }
.btn-try:hover .arrow { transform: translate(3px, -3px); }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta.center { justify-content: center; }

.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 20px; border-radius: 14px; background: #fff; color: #0A0A0A;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.store-badge svg { width: 24px; height: 24px; fill: #0A0A0A; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7; }
.store-badge strong { font-size: 1rem; font-weight: 700; }
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -14px rgba(0,0,0,0.6); }
.store-badge-light { background: #0A0A0A; color: #fff; }
.store-badge-light svg { fill: #fff; }

/* Hero stats */
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--muted-2); margin-top: 6px; font-weight: 600; }

/* Hero stage: phone + floating cards */
.hero-stage {
  position: relative; z-index: 2; margin: 48px auto 0;
  width: 100%; max-width: 980px; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
}

/* Hand-holding-phone centerpiece (transparent PNG on the aurora) */
.hero-hand {
  position: relative; z-index: 2; width: min(500px, 92vw);
  filter: drop-shadow(0 22px 45px rgba(0,0,0,.45));
}
/* warm glow behind the phone (image edges already fade into the bg) */
.hero-hand::before {
  content: ""; position: absolute; z-index: -1;
  inset: 4% 16% 32% 16%; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,98,31,.5), transparent 70%);
  filter: blur(55px);
}
.hero-hand img { width: 100%; display: block; }

/* Floating glass cards */
.glass-card {
  position: absolute; display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border-radius: 18px; max-width: 250px; z-index: 4;
  background: rgba(30, 27, 38, 0.55);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 24px 60px -22px rgba(0,0,0,.8);
}
.glass-card strong { display: block; font-size: 0.9rem; }
.glass-card small { display: block; color: var(--muted); font-size: 0.74rem; }
.gc-icon { font-size: 1.35rem; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, rgba(244,98,31,.25), rgba(255,140,75,.1)); border: 1px solid rgba(244,98,31,.3); }

/* card positions — two on the left, one upper-right (clear of the hand) */
.gc-1 { top: 8%;  left: 0; }
.gc-2 { bottom: 10%; left: 2%; flex-direction: column; align-items: stretch; gap: 10px; }
.gc-3 { top: 11%; right: 0; flex-direction: column; align-items: stretch; gap: 0; max-width: 224px; }

/* chat card input */
.gc-chat-input { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 11px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); }
.gc-chat-input > span:first-child { color: var(--muted); font-size: 0.76rem; }
.gc-send { margin-left: auto; width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; }
.gc-send svg { width: 13px; height: 13px; }

/* order-mode card */
.gc-title { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 800; margin-bottom: 10px; }
.gc-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 11px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.12); margin-top: 8px; }
.gc-opt:first-of-type { margin-top: 0; }
.gc-opt.active { border-color: rgba(244,98,31,.6); background: rgba(244,98,31,.14); }
.gc-opt strong { font-size: 0.82rem; }
.gc-badge { flex: none; font-size: 0.58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
  padding: 4px 8px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-light)); }

/* Floating animations */
.float-slow { animation: float 7s ease-in-out infinite; }
.float-mid  { animation: float 5.5s ease-in-out infinite; }
.float-fast { animation: float 4.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ----------------------------------------------------------------
   Marquee strip
---------------------------------------------------------------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); overflow: hidden; padding: 18px 0; }
.marquee { overflow: hidden; }
.marquee-track { display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; animation: marquee 28s linear infinite; will-change: transform; }
.marquee-track span { font-weight: 700; font-size: 1rem; color: var(--muted); }
.marquee-track .sep { color: var(--orange); font-size: 0.6rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------
   Sections
---------------------------------------------------------------- */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.eyebrow { display: inline-block; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.74rem; color: var(--orange); margin-bottom: 14px; }
.eyebrow-light { color: rgba(255,255,255,0.8); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ----------------------------------------------------------------
   Services cards
---------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(244,98,31,0.14), transparent 60%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(244,98,31,0.4); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(244,98,31,0.18), rgba(255,140,75,0.08));
  border: 1px solid rgba(244,98,31,0.3); color: var(--orange-light);
  transition: transform 0.35s var(--ease);
}
.card-icon svg { width: 28px; height: 28px; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* ----------------------------------------------------------------
   How it works
---------------------------------------------------------------- */
.how { background: rgba(255,255,255,0.012); }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step { flex: 1; min-width: 220px; max-width: 320px; text-align: center; padding: 16px; }
.step-num {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-size: 1.5rem; font-weight: 900; color: #fff; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: var(--shadow-orange);
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.97rem; }
.step-line { flex: 0 0 60px; height: 2px; margin-top: 48px; background: linear-gradient(90deg, var(--orange), transparent); }

/* ----------------------------------------------------------------
   Screenshots gallery
---------------------------------------------------------------- */
.screens { padding-bottom: 70px; }
.gallery {
  overflow-x: auto; overflow-y: hidden; padding: 10px 24px 30px;
  scrollbar-width: none; cursor: grab; scroll-snap-type: x proximity;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; }
.gallery-track { display: inline-flex; gap: 22px; padding: 0 max(0px, calc((100vw - var(--maxw)) / 2)); }
.shot {
  flex: 0 0 auto; width: 260px; margin: 0; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: var(--shadow); scroll-snap-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.shot img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.shot:hover { transform: translateY(-8px) scale(1.02); }
.gallery-hint { text-align: center; color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }

/* ----------------------------------------------------------------
   For store owners band
---------------------------------------------------------------- */
.owners-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--orange-dark), var(--orange) 55%, var(--orange-light));
  padding: 56px 56px; display: grid; grid-template-columns: 1.4fr 0.6fr; align-items: center; gap: 30px;
  box-shadow: var(--shadow-orange);
}
.owners-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: #fff; }
.owners-copy p { color: rgba(255,255,255,0.92); max-width: 560px; margin: 16px 0 26px; font-size: 1.05rem; }
.owners-copy p strong { color: #fff; font-weight: 800; }
.owners-decor { position: relative; height: 200px; display: grid; place-items: center; }
.owners-emoji { font-size: 5rem; filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; border: 2px solid rgba(255,255,255,0.35); border-radius: 50%; }
.r1 { width: 120px; height: 120px; animation: spin 16s linear infinite; }
.r2 { width: 180px; height: 180px; border-style: dashed; animation: spin 24s linear infinite reverse; }
.r3 { width: 240px; height: 240px; border-color: rgba(255,255,255,0.18); animation: spin 32s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ----------------------------------------------------------------
   Download band
---------------------------------------------------------------- */
.download {
  position: relative; overflow: hidden; text-align: center; padding: 96px 0;
  background: linear-gradient(120deg, var(--orange), var(--orange-light));
}
.download::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(196,74,16,0.4), transparent 45%);
}
.download-inner { position: relative; }
.download h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; }
.download h2 .block { display: block; }
.tagline-on-orange { color: rgba(255,255,255,0.9); margin: 14px 0 30px; }

/* ----------------------------------------------------------------
   Contact
---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.contact-info > p { color: var(--muted); margin: 14px 0 26px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.contact-list a:hover { color: var(--orange-light); }
.ci-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 1.1rem; }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; font-family: var(--font); font-size: 0.95rem;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,98,31,0.18); }
.form-note { text-align: center; color: var(--muted-2); font-size: 0.8rem; margin: 14px 0 0; }

/* ----------------------------------------------------------------
   Footer
---------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; background: rgba(0,0,0,0.4); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-weight: 600; font-size: 0.92rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--muted); transition: all 0.25s; }
.footer-social a svg { width: 20px; height: 20px; }
.footer-social a:hover { color: #fff; border-color: var(--orange); transform: translateY(-3px); }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-bottom p { color: var(--muted-2); font-size: 0.85rem; text-align: center; margin: 0; }

/* ----------------------------------------------------------------
   Scroll reveal
---------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------
   Responsive
---------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-stage { max-width: 680px; }
  .gc-1, .gc-2 { left: -2%; }
  .gc-3 { right: -2%; }
}

@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .owners-band { grid-template-columns: 1fr; padding: 40px 34px; }
  .owners-decor { display: none; }
}

/* Stack the hero cards below the phone on small screens */
@media (max-width: 760px) {
  .hero-stage { flex-direction: column; min-height: auto; gap: 18px; max-width: 380px; }
  .hero-hand { order: -1; width: min(300px, 82vw); }
  .glass-card { position: static; max-width: 340px; width: 100%; transform: none; animation: none; }
}

@media (max-width: 720px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .header.scrolled { padding: 10px 0; }
  /* Mobile dropdown nav */
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,10,10,0.96); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav.open a { padding: 14px 24px; }
  .nav.open a::after { display: none; }

  .hero { padding: 130px 0 70px; }
  .step-line { display: none; }
}

@media (max-width: 540px) {
  .cards { grid-template-columns: 1fr; }
  .download h2 .block { display: inline; }
  .d-br { display: none; }
}

/* ----------------------------------------------------------------
   Reduced motion
---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ================================================================
   Language toggle + Arabic (RTL) support
================================================================ */
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  font-family: var(--font); font-weight: 700; font-size: 0.85rem; cursor: pointer;
  color: #fff; background: rgba(255,255,255,0.06); border: 1px solid var(--line-2);
  padding: 8px 14px; border-radius: 999px; min-width: 50px; transition: all 0.2s var(--ease);
}
.lang-btn:hover { border-color: var(--orange); color: var(--orange-light); transform: translateY(-2px); }

/* Arabic typeface when in RTL (keep the wordmark latin) */
html[dir="rtl"] body { font-family: 'Cairo', var(--font); }
html[dir="rtl"] .brand-word { font-family: 'Montserrat', sans-serif; }

/* Arabic reads badly with tight/extra tracking — reset it */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] .eyebrow, html[dir="rtl"] .tagline, html[dir="rtl"] .gc-title,
html[dir="rtl"] .hero-title { letter-spacing: normal; }

/* RTL layout tweaks */
html[dir="rtl"] .hero-sub { margin-left: auto; margin-right: auto; }
html[dir="rtl"] .glass-card { text-align: right; }
html[dir="rtl"] .gc-chat-input { flex-direction: row-reverse; }
html[dir="rtl"] .gc-send { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .contact-info, html[dir="rtl"] .field { text-align: right; }
html[dir="rtl"] .nav a::after { left: auto; right: 0; }
html[dir="rtl"] .step-line { background: linear-gradient(270deg, var(--orange), transparent); }

@media (max-width: 720px) {
  .lang-btn { padding: 8px 12px; }
}

/* ================================================================
   Light theme + theme toggle button
================================================================ */
.theme-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; cursor: pointer; color: var(--text);
  background: rgba(127,127,127,0.10); border: 1px solid var(--line-2);
  transition: all 0.2s var(--ease);
}
.theme-btn:hover { border-color: var(--orange); color: var(--orange-light); transform: translateY(-2px); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .ic-moon { display: none; }
html[data-theme="light"] .theme-btn .ic-sun { display: none; }
html[data-theme="light"] .theme-btn .ic-moon { display: block; }

/* ---- light palette ---- */
html[data-theme="light"] {
  --bg:       #FBF6F2;
  --bg-2:     #FFFFFF;
  --surface:  #FFFFFF;
  --surface-2:#FFF3EC;
  --line:     rgba(10, 10, 10, 0.10);
  --line-2:   rgba(10, 10, 10, 0.16);
  --text:     #14100D;
  --muted:    #5C544C;
  --muted-2:  #8A8077;
  --shadow:   0 24px 60px -20px rgba(120, 60, 20, 0.22);
}
html[data-theme="light"] body { background: var(--bg); }

/* header / nav on light */
html[data-theme="light"] .header.scrolled {
  background: rgba(255, 250, 247, 0.82); border-bottom-color: var(--line);
}
html[data-theme="light"] .nav.open { background: rgba(255, 250, 247, 0.97); }
html[data-theme="light"] .lang-btn { background: rgba(10,10,10,0.04); color: var(--text); }

/* glass cards on light */
html[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7); border-color: rgba(10,10,10,0.10);
  box-shadow: 0 24px 50px -24px rgba(120,60,20,0.28);
}
html[data-theme="light"] .gc-chat-input { background: rgba(10,10,10,0.05); border-color: rgba(10,10,10,0.10); }
html[data-theme="light"] .gc-opt { border-color: rgba(10,10,10,0.12); }
html[data-theme="light"] .gc-icon { background: linear-gradient(135deg, rgba(244,98,31,.18), rgba(255,140,75,.10)); }

/* slightly calmer aurora + glows on light */
html[data-theme="light"] .hero-aurora { opacity: 0.7; filter: blur(60px) saturate(120%); }
html[data-theme="light"] .glow { opacity: 0.32; }

/* footer on light */
html[data-theme="light"] .footer { background: rgba(10,10,10,0.025); }

/* pill on light */
html[data-theme="light"] .pill { background: rgba(10,10,10,0.04); }

/* marquee strip on light */
html[data-theme="light"] .strip { background: rgba(10,10,10,0.015); }

/* ================================================================
   Register your store (pre-launch) + FAQ accordion
================================================================ */
.register-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.register-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.register-copy > p { color: var(--muted); margin: 14px 0 24px; font-size: 1.05rem; }
.register-benefits { display: flex; flex-direction: column; gap: 14px; }
.register-benefits li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.rb-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-light)); color: #fff; font-size: 0.78rem; font-weight: 800; }

.register-form {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field select {
  width: 100%; padding: 13px 16px; border-radius: 12px; font-family: var(--font); font-size: 0.95rem;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(244,98,31,0.18); }
.register-wa { display: block; text-align: center; margin-top: 14px; font-weight: 700; font-size: 0.9rem; color: #25D366; }
.register-wa:hover { color: #1ebe57; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(244,98,31,0.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: start;
  font-family: var(--font); font-weight: 700; font-size: 1.02rem; color: var(--text);
  background: none; border: 0; cursor: pointer; padding: 20px 22px;
}
.faq-ic { position: relative; width: 18px; height: 18px; flex: none; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--orange); border-radius: 2px; transition: 0.3s var(--ease); }
.faq-ic::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-ic::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item.open .faq-ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 22px 20px; font-size: 0.97rem; line-height: 1.65; }

@media (max-width: 760px) {
  .register-grid { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ================================================================
   Language switcher (EN / FR / ع)
================================================================ */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; background: rgba(127,127,127,0.10); border: 1px solid var(--line-2);
}
.lang-switch button {
  font-family: var(--font); font-weight: 700; font-size: 0.78rem; cursor: pointer;
  color: var(--muted); background: none; border: 0; padding: 6px 10px; border-radius: 999px;
  min-width: 30px; transition: all 0.2s var(--ease);
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { color: #fff; background: linear-gradient(100deg, var(--orange), var(--orange-light)); }

@media (max-width: 720px) {
  .lang-switch button { padding: 6px 8px; min-width: 26px; font-size: 0.74rem; }
}

/* ================================================================
   Official store badges (clear, recognizable)
================================================================ */
.store-badges { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.badge-link { display: inline-flex; -webkit-tap-highlight-color: transparent; }
.badge-img { display: block; width: auto; transition: transform 0.25s var(--ease), filter 0.25s; }
/* Google's PNG has built-in padding, so it runs a bit taller to match the Apple box height */
.badge-gplay { height: 58px; }
.badge-astore { height: 46px; }
.badge-link:hover .badge-img { transform: translateY(-3px); filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35)); }

/* ================================================================
   Responsive / iOS / low-end hardening
================================================================ */
html { -webkit-text-size-adjust: 100%; }
a, button, .badge-link, .nav-toggle, .faq-q { -webkit-tap-highlight-color: transparent; }

/* respect iOS notch / safe areas */
.header { padding-top: calc(18px + env(safe-area-inset-top, 0px)); }
.header.scrolled { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.header-inner,
.footer-bottom { padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }

/* tablets */
@media (max-width: 900px) {
  .badge-gplay { height: 54px; }
  .badge-astore { height: 43px; }
}

/* phones */
@media (max-width: 560px) {
  .store-badges { gap: 10px; }
  .badge-gplay { height: 50px; }
  .badge-astore { height: 40px; }
}

/* small / older phones (iPhone SE, low-end) */
@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .brand-word { font-size: 1.12rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-actions { gap: 8px; }
  .theme-btn { width: 36px; height: 36px; }
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 5px 7px; min-width: 24px; font-size: 0.72rem; }
  .hero { padding-top: 120px; }
  .badge-gplay { height: 46px; }
  .badge-astore { height: 37px; }
}

/* lighter blurs on small screens so low-end GPUs stay smooth */
@media (max-width: 600px) {
  .hero-aurora { filter: blur(38px) saturate(125%); }
  .glow { filter: blur(60px); }
}
