:root {
  --bg: #060608;
  --bg-card: #0e0e16;
  --green: #3cff72;
  --green-mid: #22c55e;
  --green-glow: rgba(60, 255, 114, 0.22);
  --green-border: rgba(60, 255, 114, 0.15);
  --white: #ffffff;
  --gray: #9ca3af;
  --gray-dark: #4b5563;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  overflow-x: hidden;
  line-height: 1.6;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; line-height: 1.2; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--gray); line-height: 1.75; }
.green { color: var(--green); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #000;
  font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .3s ease;
}
.btn-primary:hover {
  background: #fff; transform: translateY(-2px);
  box-shadow: 0 0 40px var(--green-glow);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-weight: 600; font-size: 1rem;
  padding: 14px 29px; border-radius: 50px;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--green-border);
  transition: all .3s ease;
}
.btn-outline:hover {
  border-color: var(--green); color: var(--green);
  transform: translateY(-2px);
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0;
  background: rgba(6, 6, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--green-border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-weight: 900; font-size: 1.35rem; letter-spacing: -0.5px;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--green); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--gray); text-decoration: none;
  font-weight: 500; transition: color .2s;
}
.nav-links a:hover { color: var(--green); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  padding-top: 170px; padding-bottom: 80px;
  position: relative; overflow: hidden;
}
.hero-bg-glow {
  position: absolute; top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 600px;
  background: radial-gradient(ellipse, rgba(60,255,114,.1) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(60,255,114,.08);
  border: 1px solid var(--green-border);
  color: var(--green); font-size: .82rem; font-weight: 600;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-title { margin-bottom: 22px; }
.hero-subtitle {
  font-size: 1.1rem; color: var(--gray);
  margin-bottom: 40px; max-width: 460px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 40px; }
.stat-value { font-size: 1.8rem; font-weight: 900; }
.stat-label { font-size: .82rem; color: var(--gray); margin-top: 2px; }

.hero-visual {
  position: relative;
  display: flex; justify-content: center; align-items: center;
}
.hero-glow-ring {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(60,255,114,.18) 0%, transparent 65%);
  border-radius: 50%;
}

/* ── PHONE MOCKUP ────────────────────────────────────────── */
.phone {
  position: relative;
  background: #13131e;
  border-radius: 44px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.09);
  box-shadow: 0 0 60px rgba(60,255,114,.12), 0 40px 80px rgba(0,0,0,.6);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 76px; height: 22px;
  background: #000; border-radius: 20px; z-index: 2;
}
.phone img {
  width: 100%; display: block; border-radius: 0;
}
.phone-placeholder {
  width: 100%; aspect-ratio: 9/19.5;
  border-radius: 0;
  background: linear-gradient(160deg, #0d0d1a 0%, #141420 50%, #0d1a14 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--gray-dark); font-size: .78rem; text-align: center;
  gap: 8px;
}
.phone-placeholder span { font-size: 2rem; }

.phone.hero-phone { width: 270px; }
.phone.sm { width: 190px; }
.phone.md { width: 215px; }
.phone.lg {
  width: 235px;
  border-color: rgba(60,255,114,.25);
  box-shadow: 0 0 50px rgba(60,255,114,.15), 0 30px 60px rgba(0,0,0,.5);
}

/* ── FEATURES ────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; color: var(--green);
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 480px; margin: 0 auto; font-size: 1.05rem; }

.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius); padding: 28px 22px;
  transition: all .3s ease;
}
.feature-card:hover {
  border-color: rgba(60,255,114,.4);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(60,255,114,.1);
}
.feature-icon {
  width: 52px; height: 52px;
  background: rgba(60,255,114,.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature-card p { font-size: .88rem; }

/* ── SCREENSHOTS ─────────────────────────────────────────── */
.screenshots { padding: 80px 0; }
.phones-row {
  display: flex; justify-content: center;
  align-items: flex-end; gap: 20px; margin-top: 56px;
}

/* ── DOWNLOAD CTA ────────────────────────────────────────── */
.download { text-align: center; position: relative; }
.download-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 600px; height: 350px;
  background: radial-gradient(ellipse, rgba(60,255,114,.07) 0%, transparent 70%);
  pointer-events: none;
}
.download h2 { margin-bottom: 14px; }
.download p { margin-bottom: 40px; font-size: 1.05rem; }

.appstore-btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--white); color: #000;
  padding: 14px 28px; border-radius: 16px;
  text-decoration: none; font-weight: 700;
  transition: all .3s ease;
}
.appstore-btn:hover {
  background: var(--green); transform: translateY(-3px);
  box-shadow: 0 0 40px var(--green-glow);
}
.appstore-btn-icon { font-size: 2.2rem; line-height: 1; }
.appstore-btn-text { text-align: left; }
.appstore-btn-text small { display: block; font-weight: 400; font-size: .72rem; color: #444; }
.appstore-btn-text strong { display: block; font-size: 1.05rem; }
.appstore-btn:hover .appstore-btn-text small { color: #000; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--green-border);
  padding: 44px 0;
}
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--white);
  font-weight: 900; font-size: 1.15rem;
}
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a {
  color: var(--gray); text-decoration: none;
  font-size: .88rem; transition: color .2s;
}
.footer-links a:hover { color: var(--green); }
.footer-copy { color: var(--gray-dark); font-size: .82rem; }

/* ── PAWS DECO ───────────────────────────────────────────── */
.paw {
  position: absolute; pointer-events: none;
  color: var(--green); opacity: .06;
  font-size: 1.8rem; user-select: none;
}

/* ── LEGAL PAGES ─────────────────────────────────────────── */
.legal-hero {
  padding-top: 140px; padding-bottom: 56px;
  border-bottom: 1px solid var(--green-border);
}
.legal-hero h1 { margin-bottom: 8px; }
.legal-hero .updated { color: var(--gray); font-size: .88rem; }

.legal-body { padding: 56px 0 80px; max-width: 760px; }
.legal-body h2 {
  font-size: 1.3rem; color: var(--white);
  margin-top: 40px; margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--green-border);
}
.legal-body h3 {
  font-size: 1rem; color: var(--gray);
  margin-top: 22px; margin-bottom: 7px;
}
.legal-body p { color: var(--gray); margin-bottom: 14px; font-size: .94rem; }
.legal-body ul {
  color: var(--gray); margin: 0 0 14px 22px; font-size: .94rem;
}
.legal-body ul li { margin-bottom: 5px; }
.legal-body a { color: var(--green); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .phones-row .phone.sm { display: none; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .phones-row { gap: 12px; }
  .phones-row .phone.md { display: none; }
  .phone.lg { width: 250px; }
  .hero-stats { gap: 24px; }
}
