/* ---------- Tokens ---------- */
:root {
  --black: #111111;
  --white: #ffffff;
  --lime: #BBF246;
  --lime-light: #d4f060;
  --lime-dark: #6aab00;
  --lime-text: #2d4a00;

  --gray-1: #555555;
  --gray-2: #888888;
  --gray-3: #bbbbbb;
  --gray-4: #ebebeb;

  --radius-card: 18px;
  --radius-button: 13px;
  --radius-sheet: 24px;
  --radius-pill: 999px;

  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.18);
  --shadow-soft-sm: 0 12px 32px rgba(0, 0, 0, 0.12);

  --container-w: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }

.text-lime { color: var(--lime); }
.text-lime-dark { color: var(--lime-dark); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons / badges ---------- */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-1);
  background: var(--gray-4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.section-tag-lime {
  color: var(--lime-text);
  background: var(--lime-light);
}

.store-badges {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.store-badges-center { justify-content: center; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  padding: 10px 20px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-soft-sm);
  transition: transform 0.2s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge-light { background: var(--lime); }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-text small { font-weight: 500; font-size: 11px; color: var(--gray-1); }

/* ---------- Waitlist ---------- */
.waitlist-wrap { margin-top: 32px; }
.waitlist-wrap-center { max-width: 420px; margin-left: auto; margin-right: auto; text-align: center; }
.waitlist-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 420px;
}
.waitlist-form[hidden] { display: none; }
.waitlist-wrap-center .waitlist-form { justify-content: center; }
.waitlist-input {
  flex: 1;
  min-width: 200px;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 13px 18px;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-family: inherit;
}
.waitlist-input::placeholder { color: var(--gray-2); }
.waitlist-btn {
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-button);
  white-space: nowrap;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.waitlist-btn:hover { transform: translateY(-2px); }
.waitlist-note {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--gray-3);
}
.waitlist-success {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--lime);
  background: rgba(187, 242, 70, 0.12);
  padding: 13px 18px;
  border-radius: var(--radius-button);
  max-width: 420px;
}
.waitlist-wrap-center .waitlist-success { margin-left: auto; margin-right: auto; }
.waitlist-error {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #e05656;
  background: rgba(224, 86, 86, 0.1);
  padding: 11px 16px;
  border-radius: var(--radius-button);
  max-width: 420px;
}
.waitlist-wrap-center .waitlist-error { margin-left: auto; margin-right: auto; }
.waitlist-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-word { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.w-black { color: var(--black); }
.w-black-inv { color: var(--white); }
.w-lime { color: var(--lime-dark); }
.site-header:not(.scrolled) .w-black { color: var(--white); }
.site-header:not(.scrolled) .w-lime { color: var(--lime); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  transition: color 0.2s ease;
}
.site-header.scrolled .main-nav a { color: var(--black); }
.main-nav a:hover { color: var(--lime); }
.site-header.scrolled .main-nav a:hover { color: var(--lime-dark); }

.nav-cta {
  background: var(--lime);
  color: var(--black) !important;
  padding: 10px 20px;
  border-radius: var(--radius-button);
}
.nav-cta:hover { color: var(--black) !important; opacity: 0.85; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 3px;
}
.site-header.scrolled .lang-switch { background: var(--gray-4); }
.lang-btn {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-3);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, color 0.2s ease;
}
.site-header.scrolled .lang-btn { color: var(--gray-1); }
.lang-btn.active { background: var(--lime); color: var(--black) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 110;
}
.nav-toggle span {
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--black); }

/* ---------- Hero ---------- */
.hero {
  background: var(--black);
  padding: 160px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--lime);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 900;
}

.hero-sub {
  color: var(--gray-3);
  font-size: 18px;
  max-width: 480px;
  margin-top: 22px;
}

/* Phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: var(--lime);
  filter: blur(120px);
  opacity: 0.35;
  border-radius: 50%;
  z-index: 0;
}
.phone-frame {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 570px;
  background: #1c1c1c;
  border-radius: 44px;
  border: 6px solid #2a2a2a;
  box-shadow: var(--shadow-soft);
  padding: 14px;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #1c1c1c;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  background: var(--white);
  color: var(--black);
  height: 100%;
  border-radius: 32px;
  padding: 34px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.phone-screen-img { padding: 0; border-radius: 18px; }
.phone-screenshot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ---------- App highlights ---------- */
.app-highlights { padding: 100px 0; }
.highlights-list { border-top: 1px solid var(--gray-4); }
.highlight-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--gray-4);
  transition: background 0.25s ease;
}
.highlight-row:hover { background: var(--gray-4); }
.highlight-num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gray-3);
  width: 28px;
  flex-shrink: 0;
}
.highlight-icon {
  width: 52px; height: 52px;
  background: var(--lime-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.highlight-row h3 { font-size: 19px; flex: 0 0 auto; }
.highlight-row p { color: var(--gray-1); font-size: 15px; flex: 1 1 260px; }

/* ---------- Section head ---------- */
.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 40px); }
.section-head-light .section-tag { }

/* ---------- Modules ---------- */
.modules { padding: 100px 0; background: var(--white); }
.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.module-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-4);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.module-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  margin-left: -6px;
}
.module-icon img { width: 100%; height: 100%; object-fit: contain; }
.module-card h3 { font-size: 19px; margin-bottom: 8px; }
.module-card p { color: var(--gray-1); font-size: 15px; }
.soon-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--black);
  color: var(--lime);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

/* ---------- App showcase ---------- */
.app-showcase { background: var(--black); padding: 100px 0; color: var(--white); }
.section-head-light h2 { color: var(--white); }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.showcase-item { text-align: center; }
.showcase-item h3 { color: var(--white); font-size: 19px; margin: 22px 0 6px; }
.showcase-item p { color: var(--gray-3); font-size: 15px; max-width: 280px; margin: 0 auto; }

.phone-frame-sm {
  width: 260px;
  height: 530px;
  margin: 0 auto;
}

/* ---------- Download CTA ---------- */
.download-cta {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
}
.cta-inner h2 {
  color: var(--white);
  font-size: clamp(30px, 5.5vw, 48px);
}
.cta-inner p {
  color: var(--gray-3);
  font-size: 17px;
  max-width: 480px;
  margin: 20px auto 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--gray-3); padding: 64px 0 0; }
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #2a2a2a;
}
.footer-brand p { margin-top: 12px; color: var(--gray-2); font-size: 14px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { color: var(--white); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 4px; }
.footer-col a { color: var(--gray-3); font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  padding: 24px 0 32px;
  font-size: 13px;
  color: var(--gray-2);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 768px) {
  .highlight-row { flex-wrap: nowrap; }
  .highlight-row h3 { flex: 0 0 260px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; }
  .footer-links { min-width: 400px; }
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: flex; }
}

@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { color: var(--white); font-size: 20px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle.open span { background: var(--white) !important; }
}
