/* ============================================================
   DSCVRBAR — Style Foundation
   Brand: Petrol 700 #00696B · Petrol 200 #CDE8E5 · Petrol 50 #EEF4F3
   Dark:   #061C1C (page bg) · #112828 (cards)
   Font:   Poppins 400 / 600 / 700 / 800
============================================================ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #061C1C;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --p700:     #00696B;
  --p700d:    #005254;
  --p200:     #CDE8E5;
  --p50:      #EEF4F3;
  --dark:     #061C1C;
  --dark-2:   #0D2C2C;
  --dark-3:   #112828;
  --white:    #ffffff;
  --text-dim: rgba(255,255,255,0.60);
  --radius:   16px;
  --max-w:    1200px;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px)  { .container { padding: 0 48px; } }

/* ── Typography ─────────────────────────────────────────── */
.t-display { font-size: clamp(40px, 6vw, 72px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; text-transform: uppercase; }
.t-h1      { font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.t-h2      { font-size: clamp(20px, 3vw, 32px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.t-body    { font-size: clamp(15px, 1.5vw, 17px); font-weight: 400; line-height: 1.65; }
.t-label   { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.t-small   { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--p700);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(0,105,107,0.40);
}
.btn--primary:hover {
  background: var(--p700d);
  box-shadow: 0 12px 40px rgba(0,105,107,0.55);
}

.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.14);
}
.btn--ghost:hover { background: rgba(255,255,255,0.14); }


/* ============================================================
   NAVIGATION
============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
#nav.scrolled {
  background: rgba(6,28,28,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Logo */
.nav-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img { height: 28px; width: auto; }

/* Desktop links */
.nav-links {
  display: none;
  list-style: none;
  align-items: center;
  gap: 2px;
}
@media (min-width: 860px) { .nav-links { display: flex; } }

.nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.07); }

/* Right side */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Language switcher */
.lang-sw {
  display: flex;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.lang-sw button {
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s, background 0.2s;
}
.lang-sw button.active {
  color: var(--white);
  background: rgba(255,255,255,0.13);
}

/* CTA button in nav */
.nav-cta {
  display: none;
  padding: 8px 18px;
  background: var(--p700);
  color: var(--white);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s;
}
@media (min-width: 860px) { .nav-cta { display: block; } }
.nav-cta:hover { background: var(--p700d); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
}
@media (min-width: 860px) { .hamburger { display: none; } }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  padding: 88px 24px 40px;
  flex-direction: column;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
  display: block;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.80);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--p200); }
#mobile-menu .mobile-cta {
  margin-top: 28px;
  padding: 18px;
  background: var(--p700);
  color: var(--white) !important;
  border-radius: 16px;
  text-align: center;
  font-size: 16px !important;
  border-bottom: none !important;
}


/* ============================================================
   HERO
============================================================ */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Background glow */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow--1 {
  width: 700px; height: 700px;
  top: -200px; right: -100px;
  background: radial-gradient(circle, rgba(0,105,107,0.20) 0%, transparent 70%);
  animation: glow 8s ease-in-out infinite;
}
.hero-glow--2 {
  width: 500px; height: 500px;
  bottom: -200px; left: -100px;
  background: radial-gradient(circle, rgba(0,105,107,0.12) 0%, transparent 70%);
  animation: glow 11s ease-in-out infinite reverse;
}
@keyframes glow {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(20px,-20px); }
}

/* Two-column grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,105,107,0.18);
  border: 1px solid rgba(0,105,107,0.35);
  border-radius: 100px;
  color: var(--p200);
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--p200);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.8); }
}

.hero-title  { color: var(--white); margin-bottom: 20px; }
.hero-sub    { color: var(--text-dim); max-width: 460px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Mockup column — placeholder for Step 2 */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

/* ── Scroll animation base ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.up   { transform: translateY(28px); }
.reveal.left { transform: translateX(-28px); }
.reveal.right{ transform: translateX(28px); }
.reveal.in   { opacity: 1; transform: translate(0); }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }












/* ============================================================
   SCREEN WRAP — iframe container, native phone size
============================================================ */
.screen-wrap {
  display: block;
  width: 390px;
  height: 844px;
}

.screen-wrap iframe {
  display: block;
  width: 390px;
  height: 844px;
  border: 0;
}

.screen-missing {
  width: 265px; height: 574px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(0,105,107,0.3); border-radius: 35px;
  color: rgba(255,255,255,0.35); font-size: 13px;
}

/* ============================================================
   HERO LAYOUT
============================================================ */
.hero-grid {
  grid-template-columns: 5fr 7fr;
  align-items: center;
}

.hero-phones {
  position: relative;
  height: 640px;
}

/* ── Main phone (Map)
   zoom: 0.72 shrinks BOTH layout AND visual to 281×608 px
   No overflow:hidden tricks needed — element fits naturally
──────────────────────────────────────────────────────── */
.hero-phone--main {
  position: absolute;
  right: 0;
  bottom: 0;
  zoom: 0.72;
  /* phone's own border-radius (52px × 0.72 = 37px) handles rounding */
}

/* ── Secondary phone (Community)
   zoom: 0.55 → display 215×464 px
──────────────────────────────────────────────────────── */
.hero-phone--secondary {
  position: absolute;
  right: 215px;
  bottom: 100px;
  z-index: 2;
  zoom: 0.55;
  filter: drop-shadow(-16px 24px 48px rgba(0,0,0,0.70));
}

/* Mobile */
@media (max-width: 860px) {
  .hero-grid        { grid-template-columns: 1fr; }
  .hero-phones      { height: 440px; }
  .hero-phone--main { right: 50%; transform: translateX(50%); zoom: 0.49; }
  .hero-phone--secondary { display: none; }
}
