/* ═══════════════════════════════════════════════════════════
   HERE by Trenlytics — shared design system
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Base */
  --bg:            #08080a;
  --bg-lift:       #101014;
  --bg-elevated:   #16161c;
  --bg-glass:      rgba(16, 16, 20, 0.72);

  --border:        #1e1e26;
  --border-hover:  #2a2a35;
  --border-bright: #3d3d4a;

  --text:          #eeeef2;
  --text-mute:     #9797a3;
  --text-dim:      #61616b;
  --text-tiny:     #45454f;

  /* Brand */
  --brand:         #d99a2e;       /* saffron gold — logo wordmark */
  --brand-light:   #f4c56b;
  --brand-glow:    rgba(217, 154, 46, 0.35);

  --teal:          #2d8b8b;       /* teal glow — logo backdrop */
  --teal-deep:     #1a5a5a;
  --teal-glow:     rgba(45, 139, 139, 0.28);

  --cream:         #ede4c8;       /* cursive script + logo tagline */

  /* WhatsApp CTA */
  --wa:            #25d366;
  --wa-light:      #4de08a;
  --wa-glow:       rgba(37, 211, 102, 0.35);

  /* Status */
  --success:       #4ade80;
  --warn:          #fbbf24;
  --danger:        #ef4444;

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, #f4c56b 0%, #d99a2e 100%);
  --grad-text:     linear-gradient(180deg, #ffffff 0%, #b0b0b8 100%);
  --grad-teal:     linear-gradient(135deg, #2d8b8b 0%, #1a5a5a 100%);

  /* Type */
  --ff-sans:       'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ff-mono:       'JetBrains Mono', 'SF Mono', Consolas, monospace;
  --ff-serif:      'Playfair Display', 'DM Serif Display', 'Times New Roman', serif;

  /* Radius */
  --r-sm:          6px;
  --r-md:          10px;
  --r-lg:          14px;
  --r-xl:          20px;

  --shadow-md:     0 2px 12px rgba(0,0,0,0.4);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow:   0 0 60px var(--brand-glow);
  --shadow-wa:     0 8px 30px var(--wa-glow);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--brand); color: var(--bg); }

/* Ambient backdrop */
body::before {
  content: '';
  position: fixed;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

.container      { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-tight{ max-width: 900px;  margin: 0 auto; padding: 0 24px; }

/* ═══════════════════════════════════════════════════
   Nav — with mobile hamburger
   ═══════════════════════════════════════════════════ */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 14px 24px;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
nav.site-nav.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 24px var(--brand-glow), 0 0 40px rgba(45, 139, 139, 0.28), inset 0 0 0 1px rgba(244, 197, 107, 0.15);
  flex-shrink: 0;
  background: #08080a;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-logo:hover .nav-logo-mark { transform: rotate(-4deg) scale(1.05); box-shadow: 0 0 32px var(--brand-glow), 0 0 48px rgba(45, 139, 139, 0.35); }
.nav-logo-mark img { width: 100%; height: 100%; display: block; }
.nav-logo-sub {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin-left: 2px;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  color: var(--text-mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

/* CTA button — WhatsApp green (Try HERE free) */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px !important;
  background: var(--wa) !important;
  color: #072914 !important;
  border-radius: 100px;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  transition: all 0.15s !important;
  box-shadow: 0 0 0 rgba(37, 211, 102, 0), inset 0 1px 0 rgba(255,255,255,0.2);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--wa-light) !important; box-shadow: 0 6px 20px var(--wa-glow), inset 0 1px 0 rgba(255,255,255,0.2) !important; transform: translateY(-1px); color: #072914 !important; }
.nav-cta svg { flex-shrink: 0; }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-lift);
}
.lang-toggle button {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--text-mute);
  font-family: var(--ff-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.15s;
}
.lang-toggle button.active { background: var(--brand); color: var(--bg); }
.lang-toggle button:hover:not(.active) { color: var(--text); }

/* Hamburger */
.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  margin-left: 8px;
}
.nav-hamburger:hover { border-color: var(--border-bright); }
.nav-hamburger svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-links > a:not(.nav-cta) { display: none; }
  .nav-links .lang-toggle { display: none; }
  .nav-hamburger { display: inline-flex; }
  .nav-cta { padding: 8px 14px !important; font-size: 12.5px !important; }
  .nav-logo-sub { display: none; }
  .nav-inner { gap: 8px; }
}
@media (max-width: 420px) {
  .nav-cta span[data-i18n-en] { display: none; }
  .nav-cta { padding: 8px 10px !important; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 8, 0.85);
  backdrop-filter: blur(16px);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 80px 32px 40px;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  color: var(--text);
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-drawer a:last-of-type { border-bottom: none; }
.mobile-drawer .drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 40px;
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-drawer .drawer-cta {
  margin-top: 32px;
  padding: 16px !important;
  background: var(--wa) !important;
  color: #072914 !important;
  border-radius: 12px !important;
  border-bottom: none !important;
  justify-content: center !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-wa);
}
.mobile-drawer .lang-toggle { margin-top: 24px; align-self: center; }

/* ═══════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}
.btn-wa {
  background: var(--wa);
  color: #072914;
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 4px 24px var(--wa-glow);
}
.btn-wa:hover { background: var(--wa-light); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 36px var(--wa-glow); }
.btn-wa .arrow { transition: transform 0.15s; }
.btn-wa:hover .arrow { transform: translateX(3px); }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--border-bright); background: var(--bg-lift); }
.btn-large { padding: 14px 26px; font-size: 15px; }

/* ═══════════════════════════════════════════════════
   Section basics
   ═══════════════════════════════════════════════════ */
section { padding: 120px 24px; }
.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid rgba(217, 154, 46, 0.3);
  border-radius: 100px;
  background: rgba(217, 154, 46, 0.06);
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 720px;
}
.section-title .highlight {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-lede {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 620px;
  line-height: 1.6;
}
.section-center { text-align: center; }
.section-center .section-title,
.section-center .section-lede { margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════ */
footer.site-footer {
  padding: 80px 24px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-lift);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand-block { max-width: 340px; }
.footer-brand-block .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 17px;
}
.footer-brand-block .footer-brand .mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background: #08080a;
}
.footer-brand-block .footer-brand .mark img { width: 100%; height: 100%; display: block; }
.footer-brand-block p {
  color: var(--text-mute);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-parent strong { color: var(--text); font-weight: 600; }
.footer-tc {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.footer-tc-logo {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  flex-shrink: 0;
  object-fit: contain;
}
.footer-tc-lines { font-size: 12.5px; color: var(--text-mute); line-height: 1.55; }
.footer-tc-lines a { color: var(--brand-light); text-decoration: none; }
.footer-tc-lines a:hover { text-decoration: underline; }

.footer-col h5 {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  color: var(--text-mute);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--text); }
.footer-col a.disabled { color: var(--text-tiny); pointer-events: none; cursor: not-allowed; }
.footer-col a.disabled::after {
  content: 'soon';
  margin-left: 8px;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--text-tiny);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  transition: all 0.15s;
  padding: 0;
}
.footer-social a:hover:not(.disabled) { color: var(--text); border-color: var(--brand); background: rgba(217, 154, 46, 0.06); }
.footer-social a.disabled { color: var(--text-tiny); opacity: 0.5; pointer-events: none; }
.footer-social a.disabled::after { display: none; }
.footer-social svg { width: 16px; height: 16px; }

/* App-store buttons */
.footer-stores {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-mute);
  text-decoration: none;
  background: var(--bg-elevated);
  transition: all 0.15s;
  cursor: not-allowed;
  opacity: 0.55;
}
.store-btn.disabled { pointer-events: none; }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn .store-l1 { font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1; opacity: 0.75; }
.store-btn .store-l2 { font-size: 14px; font-weight: 600; line-height: 1.2; }
.store-btn::after {
  content: 'soon';
  margin-left: auto;
  font-family: var(--ff-mono);
  font-size: 10px;
  color: var(--text-tiny);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--ff-mono);
  flex-wrap: wrap;
}
.footer-bottom .built { color: var(--brand); }

/* ═══════════════════════════════════════════════════
   Partner strip
   ═══════════════════════════════════════════════════ */
.partners {
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-lift);
}
.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.partners-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 28px;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  filter: grayscale(0.4) opacity(0.85);
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-mute);
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
}
.partner svg { width: 28px; height: 28px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════
   Reveal animation
   ═══════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════
   Utility & responsive
   ═══════════════════════════════════════════════════ */
@media (max-width: 640px) {
  section { padding: 80px 20px; }
}
