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

:root {
  --green:     #00d26a;
  --green-dim: #00a854;
  --bg:        #080c0a;
  --bg2:       #0d1410;
  --bg3:       #111916;
  --surface:   #141f19;
  --border:    rgba(255,255,255,.08);
  --text:      #f0f4f2;
  --text2:     #8a9e93;
  --text3:     #4a5e54;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --nav-h:     60px;
  --container: 1100px;
  --font:      -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: all .18s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #05120a;
}
.btn-primary:hover { background: #00e876; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,210,106,.25); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

.accent { color: var(--green); }

/* ── Nav ──────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(8,12,10,.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}

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

.nav-links a {
  font-size: 14px;
  color: var(--text2);
  transition: color .15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #05120a; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-h) + 80px) 24px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,210,106,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,210,106,.08);
  border: 1px solid rgba(0,210,106,.2);
  color: var(--green);
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 64px;
}

.hero-meta {
  font-size: 12px;
  color: var(--text3);
}

/* ── App window mockup ────────────────────────────────────────────────────── */
.hero-app {
  position: relative;
  display: inline-block;
  margin-bottom: -40px;
}

.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 280px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 32px 80px rgba(0,0,0,.7),
    0 0 80px rgba(0,210,106,.06);
  text-align: left;
}

.app-titlebar {
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.titlebar-dots {
  display: flex;
  gap: 5px;
}
.titlebar-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.titlebar-dots span:nth-child(1) { background: #ff5f57; }
.titlebar-dots span:nth-child(2) { background: #febc2e; }
.titlebar-dots span:nth-child(3) { background: #28c840; }

.titlebar-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin: 0 auto;
}

.app-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.app-battery-ring {
  position: relative;
  width: 120px;
  height: 120px;
}

.battery-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255,255,255,.06);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: var(--green);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 71; /* 78% fill: 327 * (1 - 0.78) = 71.9 */
  transition: stroke-dashoffset 1.5s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 6px rgba(0,210,106,.5));
}

.battery-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.battery-pct {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--text);
}

.battery-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-top: 1px;
}

.battery-label {
  font-size: 10px;
  color: var(--text3);
  margin-top: 4px;
  font-weight: 500;
}

.app-stats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text2);
}

.stat-pill.green {
  background: rgba(0,210,106,.1);
  border-color: rgba(0,210,106,.25);
  color: var(--green);
}

/* Menu bar preview */
.menubar-preview {
  margin-top: 16px;
  background: rgba(20,25,22,.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
}

.menubar-items {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}

.menubar-icon {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

/* ── Trust bar ────────────────────────────────────────────────────────────── */
.trust {
  padding: 60px 24px;
  border-top: 1px solid var(--border);
  margin-top: 80px;
}

.trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text2);
}

/* ── Section headers ──────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(0,210,106,.1);
  border: 1px solid rgba(0,210,106,.2);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag-pro {
  background: rgba(251,191,36,.08);
  border-color: rgba(251,191,36,.2);
  color: #fbbf24;
}

.section-header h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text2);
  max-width: 440px;
  margin: 0 auto;
}

/* ── Features — Free ──────────────────────────────────────────────────────── */
.features { padding: 100px 24px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}

.feature-card:hover {
  border-color: rgba(0,210,106,.25);
  transform: translateY(-2px);
}

.feature-card-large {
  grid-column: 1 / 3;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0,210,106,.08);
  border: 1px solid rgba(0,210,106,.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* Slider demo */
.slider-demo {
  margin-top: 24px;
}

.slider-track {
  position: relative;
  height: 8px;
  background: rgba(255,255,255,.06);
  border-radius: 100px;
  margin-bottom: 8px;
}

.slider-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 75%;
  background: linear-gradient(90deg, #00a854 0%, #00d26a 100%);
  border-radius: 100px;
}

.slider-thumb {
  position: absolute;
  top: 50%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text3);
}

.slider-value {
  color: var(--green);
  font-weight: 600;
}

/* ── Features — Pro ───────────────────────────────────────────────────────── */
.features-pro {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pro-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color .2s, transform .2s;
}

.pro-card:hover {
  border-color: rgba(251,191,36,.2);
  transform: translateY(-2px);
}

.pro-icon {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1;
}

.pro-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.pro-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
}

/* ── How it works ─────────────────────────────────────────────────────────── */
.how {
  padding: 100px 24px;
}

.steps {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(0,210,106,.1);
  border: 1px solid rgba(0,210,106,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.step p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.6;
}

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing {
  padding: 100px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.pricing-card-featured {
  border-color: rgba(0,210,106,.3);
  background: linear-gradient(160deg, rgba(0,210,106,.04) 0%, var(--surface) 60%);
  box-shadow: 0 0 0 1px rgba(0,210,106,.1), 0 24px 48px rgba(0,0,0,.3);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #05120a;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text2);
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--text);
}

.price-period {
  font-size: 15px;
  color: var(--text2);
}

.pricing-sub {
  font-size: 13px;
  color: var(--text3);
  margin-bottom: 24px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  align-items: flex-start;
}

.pricing-features li span {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq {
  padding: 100px 24px;
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 8px;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: color .15s;
}

.faq-q:hover { color: var(--green); }

.faq-chevron {
  flex-shrink: 0;
  color: var(--text3);
  transition: transform .2s;
}

.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-q[aria-expanded="true"] { color: var(--green); }

.faq-a {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ── Final CTA ────────────────────────────────────────────────────────────── */
.final-cta {
  padding: 100px 24px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.cta-box {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-battery { margin-bottom: 8px; }

.cta-box h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.cta-box p {
  font-size: 17px;
  color: var(--text2);
}

.cta-meta {
  font-size: 12px;
  color: var(--text3);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 64px 24px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  gap: 64px;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 240px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text3);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-brand a { color: var(--text2); }
.footer-brand a:hover { color: var(--green); }

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text3);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text2);
  transition: color .15s;
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text3);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-card-large { grid-column: 1 / 3; }
  .pro-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto 28px; }
  .footer-inner { gap: 40px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  h1 { letter-spacing: -.03em; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card-large { grid-column: 1; }
  .pro-grid { grid-template-columns: 1fr; }
  .trust-list { gap: 16px 32px; }
  .footer-links { gap: 40px; }
  .hero-app { transform: scale(.85); transform-origin: top center; }
}
