/* ============================================================
   Stingray FR — dark + neon-green theme
   Inspired by stingray.ae (bg #090909 / accent #6dfb46)
   ============================================================ */

:root {
  --bg: #090909;
  --bg-elev: #111312;
  --surface: rgba(255, 255, 255, 0.04);
  --stroke: rgba(255, 255, 255, 0.10);
  --text: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #6f6f6f;
  --accent: #6dfb46;
  --accent-dim: #3ef90f;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 700; }

.accent { color: var(--accent); }
.muted { color: var(--muted); }

/* ---------- ambient glow blobs ---------- */
.glow {
  position: fixed;
  z-index: 0;
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  pointer-events: none;
}
.glow--a { top: -12vw; right: -8vw; background: radial-gradient(circle, rgba(109,251,70,0.55), transparent 65%); }
.glow--b { bottom: -14vw; left: -10vw; background: radial-gradient(circle, rgba(62,249,15,0.30), transparent 65%); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 56px);
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__logo { height: 30px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 0.95rem; }
.nav__links a { color: var(--muted); transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta {
  color: var(--bg) !important; background: var(--accent);
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.nav__cta:hover { background: #8dff6b; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.langswitch { display: inline-flex; border: 1px solid var(--stroke); border-radius: 999px; padding: 3px; background: rgba(255,255,255,0.03); }
.langswitch__btn {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--muted); background: none; border: 0; cursor: pointer;
  padding: 5px 12px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.langswitch__btn:hover { color: var(--text); }
.langswitch__btn.is-active { color: var(--bg); background: var(--accent); }
.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: 0.25s; }

/* ---------- layout helpers ---------- */
main { position: relative; z-index: 1; }
.section {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 10vw, 130px) clamp(20px, 5vw, 40px);
}
.section__head { max-width: 640px; margin-bottom: 48px; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 500;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.lead { font-size: 1.15rem; color: #cfcfcf; max-width: 52ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--bg); box-shadow: 0 10px 40px rgba(109,251,70,0.28); }
.btn--primary:hover { background: #8dff6b; box-shadow: 0 14px 48px rgba(109,251,70,0.4); }
.btn--ghost { border: 1px solid var(--stroke); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px) clamp(40px, 7vw, 80px);
}
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 32px; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats b { font-family: var(--font-display); font-size: 1.5rem; color: var(--text); }
.hero__stats span { font-size: 0.85rem; color: var(--muted); }

/* phone mockup */
.hero__device { display: flex; justify-content: center; }
.phone {
  position: relative; width: 260px; height: 530px;
  background: linear-gradient(160deg, #1a1c1b, #0c0d0c);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 42px;
  padding: 14px; box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 0 0 1px rgba(109,251,70,0.06);
}
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; background: #000; border-radius: 999px; }
.phone__screen {
  height: 100%; border-radius: 30px;
  background: radial-gradient(120% 80% at 50% 0%, #14261a, #0a0b0a 70%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
}
.qr { display: block; width: 140px; height: 140px; background: #fff; border-radius: 16px; padding: 14px; box-shadow: 0 0 40px rgba(109,251,70,0.35); transition: transform 0.15s, box-shadow 0.2s; }
.qr:hover { transform: translateY(-2px); box-shadow: 0 0 55px rgba(109,251,70,0.5); }
.qr img { width: 100%; height: 100%; display: block; }
.phone__hint { font-family: var(--font-display); font-size: 0.9rem; color: #d7ffcf; }
.battery { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; }
.battery__fill { width: 46px; height: 20px; border: 2px solid var(--accent); border-radius: 5px; position: relative; background: linear-gradient(90deg, var(--accent) 82%, transparent 82%); }
.battery__fill::after { content: ""; position: absolute; right: -5px; top: 5px; width: 3px; height: 8px; background: var(--accent); border-radius: 0 2px 2px 0; }
.battery span { color: var(--accent); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(109,251,70,0.4); background: rgba(109,251,70,0.04); }
.card__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  background: rgba(109,251,70,0.12); color: var(--accent); margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card--sm { padding: 26px 22px; }
.card--sm h3 { font-size: 1.08rem; }

/* ---------- split sections ---------- */
.section--split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.section--split .eyebrow { margin-top: 0; }
.section--reverse .split__visual { order: -1; }
.split__text h2 { margin-bottom: 20px; }
.split__text .lead { margin-bottom: 24px; }
.ticks { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.ticks li { position: relative; padding-left: 30px; color: #d3d3d3; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 700; background: rgba(109,251,70,0.15); color: var(--accent);
}
.split__visual { display: flex; justify-content: center; }
.glasscard {
  background: linear-gradient(160deg, rgba(109,251,70,0.10), rgba(255,255,255,0.02));
  border: 1px solid rgba(109,251,70,0.25); border-radius: var(--radius-lg);
  padding: 48px 40px; max-width: 340px; text-align: center;
}
.glasscard__big { font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.glasscard p:last-child { color: #cfcfcf; }

/* map tile */
.maptile {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 4/3;
  border-radius: var(--radius-lg); border: 1px solid var(--stroke);
  background:
    linear-gradient(rgba(109,251,70,0.05), rgba(109,251,70,0.05)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,0.05) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,0.05) 38px 39px),
    var(--bg-elev);
  overflow: hidden;
}
.pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(109,251,70,0.2); animation: pulse 2.4s infinite; }
.pin--1 { top: 34%; left: 40%; }
.pin--2 { top: 55%; left: 62%; animation-delay: 0.6s; }
.pin--3 { top: 66%; left: 30%; animation-delay: 1.2s; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 6px rgba(109,251,70,0.2); } 50% { box-shadow: 0 0 0 12px rgba(109,251,70,0.05); } }
.maptile__label { position: absolute; bottom: 16px; left: 18px; font-family: var(--font-display); font-size: 0.9rem; color: #d7ffcf; }

.cta-row { margin-top: 40px; }

/* ---------- team ---------- */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.person {
  flex: 1 1 300px; max-width: 340px; text-align: center;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius-lg);
  padding: 34px 26px; transition: border-color 0.2s, transform 0.2s;
}
.person:hover { border-color: rgba(109,251,70,0.4); transform: translateY(-3px); }
.person__avatar {
  width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(150deg, rgba(109,251,70,0.25), rgba(255,255,255,0.06));
  border: 1px solid rgba(109,251,70,0.3); display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--accent);
}
.person__avatar::before { content: attr(data-initials); }
.person__avatar--photo { padding: 0; }
.person__avatar--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.person h3 { margin-bottom: 4px; }
.person__role { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; margin-bottom: 10px; }
.person__bio { color: var(--muted); font-size: 0.95rem; }

/* ---------- partners ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-chip {
  display: grid; place-items: center; height: 84px;
  border: 1px solid var(--stroke); border-radius: var(--radius); background: var(--surface);
  font-family: var(--font-display); font-weight: 600; color: var(--muted); text-align: center;
  padding: 0 10px; transition: color 0.2s, border-color 0.2s;
}
.logo-chip:hover { color: var(--text); border-color: rgba(109,251,70,0.4); }
.logo-chip:last-child { color: var(--accent); border-style: dashed; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery__tile {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(120% 120% at 20% 10%, rgba(109,251,70,0.14), transparent 55%),
    linear-gradient(150deg, #16181700, #0c0d0c),
    var(--bg-elev);
}
.gallery__tile--img { background-size: cover; background-position: center; }
.gallery__tile--img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,9,0) 40%, rgba(9,9,9,0.65) 100%);
}
.gallery__tile::after {
  content: attr(data-tag); position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-display); font-size: 0.85rem; color: #d7ffcf;
  background: rgba(9,9,9,0.55); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--stroke);
}

/* ---------- final CTA ---------- */
.finalcta {
  max-width: 860px; margin: 40px auto; text-align: center;
  padding: clamp(56px, 8vw, 96px) 32px;
  background: linear-gradient(160deg, rgba(109,251,70,0.12), rgba(255,255,255,0.02));
  border: 1px solid rgba(109,251,70,0.25); border-radius: var(--radius-lg);
}
.finalcta--photo {
  position: relative; overflow: hidden; border-color: rgba(109,251,70,0.3);
  background-size: cover; background-position: center;
}
.finalcta--photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,9,9,0.82), rgba(9,9,9,0.9));
}
.finalcta--photo > * { position: relative; z-index: 1; }
.finalcta h2 { margin-bottom: 14px; }
.finalcta p { color: #cfcfcf; margin-bottom: 32px; }
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store {
  padding: 14px 28px; border-radius: 12px; border: 1px solid var(--stroke);
  font-family: var(--font-display); font-weight: 600; background: rgba(255,255,255,0.03); transition: border-color 0.2s;
}
.store:hover { border-color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw); margin: 0 auto;
  padding: 48px clamp(20px, 5vw, 40px); border-top: 1px solid var(--stroke);
  display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center;
}
.footer__brand .brand__logo { height: 28px; }
.footer__brand p { margin-top: 12px; font-size: 0.9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.9rem; }
.footer__links a { color: var(--muted); transition: color 0.2s; }
.footer__links a:hover { color: var(--accent); }
.footer__copy { grid-column: 1 / -1; font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__device { order: -1; }
  .phone { transform: scale(0.9); }
  .section--split { grid-template-columns: 1fr; gap: 36px; }
  .section--reverse .split__visual { order: 0; }
  .cards--3, .cards--4 { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: rgba(9,9,9,0.96); backdrop-filter: blur(14px);
    padding: 18px clamp(20px, 5vw, 56px); border-bottom: 1px solid var(--stroke);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: 0.2s;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__cta { margin-top: 6px; }
}
@media (max-width: 560px) {
  .cards--3, .cards--4, .logos, .gallery { grid-template-columns: 1fr; }
  .hero__stats { gap: 22px; }
  .footer { grid-template-columns: 1fr; }
}
