/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #ffffff;
  --bg-subtle: #f5f5f7;
  --bg-dark:   #1d1d1f;
  --text:      #1d1d1f;
  --text-2:    #6e6e73;
  --text-3:    #aeaeb2;
  --sep:       #d2d2d7;
  --accent:    #4a9e0f;
  --radius:    20px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,.06);
  --shadow:    0 8px 40px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 52px;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.nav-icon {
  width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(160deg, #9dce12 0%, #c49a2a 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-icon svg { width: 14px; height: 14px; fill: #fff; }
.nav-brand span { font-size: 15px; font-weight: 600; letter-spacing: -.3px; }
.nav-dl {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 980px;
  background: var(--text); color: #fff;
  font-size: 13px; font-weight: 500; text-decoration: none;
  transition: opacity .2s;
}
.nav-dl:hover { opacity: .75; }
.nav-dl svg { width: 12px; height: 12px; fill: #fff; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex; align-items: center;
  background: rgba(0,0,0,.06); border-radius: 980px; padding: 3px;
}
.lang-switch a {
  padding: 3px 11px; border-radius: 980px;
  font-size: 12px; font-weight: 600; letter-spacing: .4px;
  text-decoration: none; color: #3a3a3c; transition: color .15s;
}
.lang-switch a.active { background: var(--bg); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.10); }
.lang-switch a:not(.active):hover { color: var(--text); }

/* ── HERO ── */
.bg-hero {
  position: relative; overflow: hidden;
  background: #080808;
}
.bg-hero::before {
  content: "";
  position: absolute; z-index: 0; inset: -5%;
  background-image: url(./background.avif);
  background-image: image-set(
    url(./background.avif) type("image/avif"),
    url(./background.webp) type("image/webp"),
    url(./background.png)  type("image/png")
  );
  background-size: cover; background-position: center;
  filter: blur(10px) brightness(.30) saturate(1.4);
}
.hero {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 96px 24px 56px;
}
.app-icon {
  width: 96px; height: 96px; border-radius: 21px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 4px 16px rgba(0,0,0,.3);
  margin-bottom: 28px;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 700; letter-spacing: -3px; line-height: 1.02;
  margin-bottom: 22px; color: #f5f5f7;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #b4e44e 0%, #d4b040 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 19px; color: rgba(255,255,255,.62);
  max-width: 460px; line-height: 1.6; margin-bottom: 40px;
}
.hero-actions {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center; margin-bottom: 16px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 980px;
  background: #f5f5f7; color: #1d1d1f;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .15s;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.4); background: #fff; }
.btn-primary svg { width: 16px; height: 16px; fill: #1d1d1f; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 980px;
  background: rgba(255,255,255,.10); color: rgba(255,255,255,.85);
  font-size: 15px; font-weight: 500; text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  transition: background .2s, border-color .2s;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-secondary:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); }
.btn-secondary svg { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.hero-sub { font-size: 12px; color: rgba(255,255,255,.32); }

/* ── HERO SCREENSHOT ── */
.hero-visual {
  position: relative; z-index: 1;
  margin: 56px auto 0; padding: 0 24px;
}
.hero-visual img {
  display: block;
  width: auto;
  margin: 0 auto;
}

/* ── PITCH ── */
.pitch-section {
  padding: 100px 24px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.pitch-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.pitch-section p {
  max-width: 660px;
  font-size: clamp(20px, 2.8vw, 26px);
  line-height: 1.55; letter-spacing: -.3px; color: var(--text);
}
.pitch-section strong { font-weight: 700; }
.pitch-section a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pitch-section a:hover { text-decoration: underline; }

/* ── FEATURES ── */
.features { background: var(--bg-subtle); padding: 96px 40px; }
.features-inner { max-width: 900px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block;
}
.section-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700; letter-spacing: -1.4px; line-height: 1.06;
  text-align: center; margin-bottom: 10px;
}
.section-sub {
  font-size: 17px; color: var(--text-2);
  text-align: center; max-width: 480px;
  margin: 0 auto; line-height: 1.6;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, opacity .25s !important;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-icon.green  { background: #eefad6; }
.feature-icon.green  svg { fill: #4a9e0f; }
.feature-icon.blue   { background: #e0edff; }
.feature-icon.blue   svg { fill: #2060d0; }
.feature-icon.orange { background: #fff2df; }
.feature-icon.orange svg { fill: #c26d00; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.3px; }
.feature-card p  { font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* ── STEPS ── */
.steps-section {
  padding: 96px 40px;
  display: flex; flex-direction: column; align-items: center;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 820px; width: 100%; margin-top: 56px;
}
.step {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  padding: 32px 28px; background: var(--bg-subtle); border-radius: var(--radius);
}
.step-num {
  font-size: 52px; font-weight: 700; letter-spacing: -3px;
  color: var(--sep); line-height: 1; margin-bottom: 20px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.3px; }
.step p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ── FORMATS ── */
.formats-section {
  background: var(--bg-subtle);
  padding: 96px 40px;
  display: flex; flex-direction: column; align-items: center;
}
.formats-grid {
  display: grid; grid-template-columns: 1fr 64px 1fr;
  align-items: center; max-width: 760px; width: 100%; margin-top: 56px;
}
.format-card {
  background: var(--bg); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
}
.format-badge {
  display: inline-block; padding: 5px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .3px; margin-bottom: 16px;
}
.badge-gpx { background: #e0edff; color: #2060d0; }
.badge-plt { background: #eefad6; color: #4a9e0f; }
.format-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -.3px; }
.format-card p  { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.arrow-mid { display: flex; align-items: center; justify-content: center; }
.arrow-mid svg { width: 28px; height: 28px; fill: var(--text-3); }

/* ── CTA ── */
.cta-section {
  background: var(--bg-dark);
  padding: 100px 40px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.cta-section h2 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700; letter-spacing: -1.6px; color: #f5f5f7;
  margin-bottom: 14px; line-height: 1.06;
}
.cta-section > p {
  font-size: 17px; color: rgba(255,255,255,.48);
  max-width: 440px; line-height: 1.6; margin-bottom: 40px;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 34px; border-radius: 980px;
  background: #f5f5f7; color: #1d1d1f;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .15s;
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.5); background: #fff; }
.btn-cta svg { width: 17px; height: 17px; fill: #1d1d1f; }
.cta-meta { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.25); }
.cta-gh {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.38);
  text-decoration: none; transition: color .2s;
}
.cta-gh:hover { color: rgba(255,255,255,.72); }
.cta-gh svg { width: 16px; height: 16px; fill: currentColor; }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--sep);
  padding: 28px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
footer .brand { font-size: 14px; font-weight: 600; color: var(--text); }
footer .req   { font-size: 13px; color: var(--text-2); }
footer .copy  { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 16px; }
footer a { color: inherit; text-decoration: none; transition: color .15s; }
footer a:hover { color: var(--text); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.25,.46,.45,.94), transform .7s cubic-bezier(.25,.46,.45,.94);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .hero h1 { letter-spacing: -2px; }
  .features { padding: 64px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-section { padding: 64px 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .formats-section { padding: 64px 20px; }
  .formats-grid { grid-template-columns: 1fr; }
  .arrow-mid { transform: rotate(90deg); padding: 8px 0; }
  .cta-section { padding: 72px 24px; }
  .pitch-section { padding: 72px 24px; }
  footer { flex-direction: column; gap: 8px; text-align: center; padding: 24px 20px; }
}
