/* VeloPulse — Modern Atmospheric Dark Showcase (no cards, no bulky hero buttons) */

:root {
  --bg: #090a0e;
  --bg-tint: #0e1017;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --primary: #00e5a3;
  --cyan: #38bdf8;
  --text: #f3f4f8;
  --text-muted: #989dab;
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: #cbd5e1;
}

figure {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #042019;
  padding: 10px 16px;
  font-weight: 700;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 14, 0.82);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #ffffff;
}

.logo-mark {
  width: 26px;
  height: 26px;
  color: var(--primary);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 20px;
  border-left: 1px solid var(--hairline);
}

.nav-auth .nav-accent {
  color: var(--primary);
  font-weight: 700;
}

.nav-auth .nav-accent:hover {
  color: #66f4ca;
}

.lang-toggle {
  display: inline-flex;
  order: 3;
  margin-left: 20px;
  padding: 2px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
}

.lang-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-toggle button:hover {
  color: #ffffff;
}

.lang-toggle button[aria-pressed="true"] {
  background: rgba(0, 229, 163, 0.15);
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 88px 0 84px;
  border-bottom: 1px solid var(--hairline);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 95vw);
  height: 520px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 229, 163, 0.14) 0%,
    rgba(56, 189, 248, 0.08) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  font-weight: 800;
  color: #ffffff;
}

.text-gradient {
  background: linear-gradient(95deg, #00e5a3 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin: 0 auto 26px;
  max-width: 630px;
  line-height: 1.65;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.hero-links a {
  text-decoration: none;
  color: #d6dae4;
  transition: color 0.15s ease;
}

.hero-links a.link-primary {
  color: var(--primary);
}

.hero-links a:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-links .sep {
  color: rgba(255, 255, 255, 0.22);
  font-weight: 400;
}

.hero-frame {
  margin-top: 52px;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  box-shadow:
    0 36px 100px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(0, 229, 163, 0.08);
}

.shot {
  width: 100%;
  height: auto;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Sections ---------- */

.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--hairline);
}

.section-tinted {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(56, 189, 248, 0.06), transparent 50%),
    radial-gradient(ellipse at 85% 80%, rgba(0, 229, 163, 0.06), transparent 50%),
    var(--bg-tint);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.028em;
  margin: 0 0 14px;
  font-weight: 800;
  color: #ffffff;
}

.section-split-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

.section-desc {
  margin: 0;
  font-size: 1.03rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* World & mood tags bar */
.worlds-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 0;
  margin-bottom: 44px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.world-tag {
  color: var(--primary);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 229, 163, 0.09);
}

.world-divider {
  width: 1px;
  height: 18px;
  background: var(--hairline-strong);
  margin: 0 6px;
}

.mood-tag {
  color: var(--text-muted);
  padding: 4px 8px;
}

/* Clean 2-column feature list (no cards) */
.clean-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}

.clean-row {
  padding-left: 18px;
  border-left: 2px solid rgba(0, 229, 163, 0.35);
}

.clean-row h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 700;
  color: #ffffff;
}

.clean-row p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ---------- Alternating Split Showcases ---------- */

.split-showcase {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.split-showcase + .split-showcase {
  margin-top: 96px;
  padding-top: 96px;
  border-top: 1px solid var(--hairline);
}

.split-reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-copy p {
  margin: 0 0 28px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.split-copy strong {
  color: #ffffff;
}

.split-media .shot {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.inline-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

.inline-metrics dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.inline-metrics dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e6f0;
}

/* ---------- Android APK + Desktop Split ---------- */

.mobile-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.download-rows {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.download-rows li {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hairline);
}

.dl-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: #ffffff;
}

.dl-meta {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.dl-link {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  white-space: nowrap;
}

.dl-link:hover {
  color: #66f4ca;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footnote {
  margin: 20px 0 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.footnote a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* Staggered realistic phone frames for the 2 Android APK screenshots */
.phone-stage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  position: relative;
}

.phone-frame {
  width: 220px;
  padding: 8px;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  flex-shrink: 0;
}

.phone-frame img {
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.phone-back {
  margin-top: 44px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 36px 0 48px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .section-split-head,
  .split-showcase,
  .split-reverse,
  .mobile-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-reverse .split-media {
    order: 2;
  }

  .phone-frame {
    width: 190px;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: #0e1017;
    border-bottom: 1px solid var(--hairline);
  }

  .main-nav.is-open {
    display: flex;
  }

  .lang-toggle {
    order: 0;
    margin-left: auto;
    margin-right: 10px;
  }

  .nav-auth {
    padding-left: 0;
    border-left: none;
    padding-top: 12px;
    border-top: 1px solid var(--hairline);
    width: 100%;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .section {
    padding: 60px 0;
  }

  .clean-list,
  .inline-metrics {
    grid-template-columns: 1fr;
  }

  .download-rows li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .phone-stage {
    gap: 14px;
  }

  .phone-frame {
    width: 46%;
    border-radius: 24px;
    padding: 6px;
  }

  .phone-frame img {
    border-radius: 18px;
  }

  .phone-back {
    margin-top: 24px;
  }
}
