:root {
  --bg: #0a0f0c;
  --bg-alt: #0f1611;
  --card: #141d16;
  --card-hover: #18231a;
  --border: #223026;
  --green: #65c16a;
  --green-bright: #7ed957;
  --green-dark: #0d2913;
  --text: #f2f6f3;
  --muted: #a3b3a8;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--text); }
.nav-brand:hover { text-decoration: none; }
.nav-brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--green); color: #06130b !important; font-weight: 600;
  padding: 9px 18px; border-radius: 10px; font-size: 0.9rem;
}
.nav-cta:hover { background: var(--green-bright); text-decoration: none; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 75% 10%, rgba(101, 193, 106, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 45% at 15% 90%, rgba(101, 193, 106, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
}
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--green); font-size: 0.82rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--green); }
.hero-sub { color: var(--muted); font-size: 1.12rem; margin: 20px 0 28px; max-width: 34rem; }
@media (max-width: 880px) { .hero-sub { margin-left: auto; margin-right: auto; } }

.store-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) { .store-buttons { justify-content: center; } }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: 0.98rem;
  border: 1px solid var(--border); transition: transform 0.15s ease, background 0.15s ease;
}
.store-btn:hover { transform: translateY(-2px); text-decoration: none; }
.store-btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-btn.primary { background: var(--green); color: #06130b; border-color: transparent; }
.store-btn.primary:hover { background: var(--green-bright); }
.store-btn.secondary { background: var(--card); color: var(--text); }
.store-btn.secondary:hover { background: var(--card-hover); }
.store-btn small { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.75; line-height: 1.1; text-align: left; }
.store-btn .btn-label { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }

.hero-stats { display: flex; gap: 32px; margin-top: 34px; }
@media (max-width: 880px) { .hero-stats { justify-content: center; } }
.stat .stat-value { font-size: 1.35rem; font-weight: 800; color: var(--text); }
.stat .stat-label { font-size: 0.82rem; color: var(--muted); }

.hero-phone { display: flex; justify-content: center; }
/* Site images are pre-framed device mockups — no CSS bezel needed */
.phone-frame { max-width: 340px; }
.phone-frame img {
  display: block; width: 100%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 40px rgba(101, 193, 106, 0.14));
}

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.05rem; }
.kicker { color: var(--green); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; display: block; margin-bottom: 10px; }

/* ---------- Screenshots ---------- */
.shots {
  display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.shot { flex: 0 0 auto; width: 230px; scroll-snap-align: center; }
.shot img {
  display: block; width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}
.shot figcaption { text-align: center; color: var(--muted); font-size: 0.84rem; margin-top: 10px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--green-dark); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 16px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 880px) { .feature-row { grid-template-columns: 1fr; } }
.feature {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.feature .icon { font-size: 1.3rem; line-height: 1; }
.feature h3 { font-size: 0.98rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.88rem; }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card {
  display: block; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.guide-card:hover { transform: translateY(-3px); border-color: var(--green); background: var(--card-hover); text-decoration: none; }
.guide-card .tag { color: var(--green); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.guide-card h3 { font-size: 1.02rem; margin: 10px 0 8px; line-height: 1.35; }
.guide-card p { color: var(--muted); font-size: 0.88rem; }
.guide-card .read-more { display: inline-block; margin-top: 14px; color: var(--green); font-size: 0.85rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 46rem; margin: 0 auto; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--green); font-size: 1.4rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--muted); font-size: 0.95rem; }
.faq-item .faq-body a { font-weight: 600; }

/* ---------- CTA ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green-dark), #123a1c 60%, #0d2913);
  border: 1px solid rgba(101, 193, 106, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 32px; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; }
.cta-banner p { color: var(--muted); margin: 14px auto 30px; max-width: 32rem; }
.cta-banner .store-buttons { justify-content: center; }
.cta-icon { width: 76px; height: 76px; border-radius: 18px; margin-bottom: 22px; box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 56px 0 40px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-grid p { color: var(--muted); font-size: 0.88rem; max-width: 20rem; }
.footer-grid h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid ul a { color: var(--text); font-size: 0.9rem; opacity: 0.85; }
.footer-grid ul a:hover { color: var(--green); opacity: 1; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 0.84rem;
}

/* ---------- Guide article pages ---------- */
.article-hero { padding: 56px 0 24px; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--green); }
.article-hero h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; max-width: 48rem; }
.article-meta { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

.article { max-width: 46rem; margin: 0 auto; padding-bottom: 40px; }
.article h2 { font-size: 1.5rem; font-weight: 800; margin: 44px 0 14px; letter-spacing: -0.01em; }
.article h3 { font-size: 1.15rem; font-weight: 700; margin: 30px 0 10px; }
.article p { color: #cfdad2; margin-bottom: 16px; font-size: 1.02rem; }
.article ul, .article ol { color: #cfdad2; margin: 0 0 16px 24px; font-size: 1.02rem; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article img.article-shot {
  display: block; margin: 28px auto; max-width: 300px; width: 100%;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}
.article .tip {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--green);
  border-radius: 12px; padding: 16px 20px; margin: 22px 0; font-size: 0.95rem; color: var(--muted);
}
.article .tip strong { color: var(--green); }
.article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
.article th, .article td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; color: #cfdad2; }
.article th { background: var(--card); color: var(--text); }

.inline-cta {
  background: var(--card); border: 1px solid rgba(101, 193, 106, 0.35);
  border-radius: var(--radius); padding: 28px; margin: 36px 0; text-align: center;
}
.inline-cta img { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 14px; }
.inline-cta h3 { margin: 0 0 8px; font-size: 1.15rem; }
.inline-cta p { font-size: 0.94rem; margin-bottom: 18px; }
.inline-cta .store-buttons { justify-content: center; }

.related { border-top: 1px solid var(--border); margin-top: 44px; padding-top: 32px; }
.related h2 { margin-top: 0; }
.related-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
@media (max-width: 560px) { .related-links { grid-template-columns: 1fr; } }
.related-links a {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; color: var(--text); font-size: 0.92rem; font-weight: 600;
}
.related-links a:hover { border-color: var(--green); text-decoration: none; }
