/* ── VoltMate Feature Pages — Shared Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #0a0a0f;
  --card:   #13131a;
  --border: #1e1e2e;
  --blue:   #3b82f6;
  --green:  #22c55e;
  --purple: #a855f7;
  --amber:  #f59e0b;
  --red:    #ef4444;
  --text:   #f1f5f9;
  --muted:  #94a3b8;
  --subtle: #64748b;
}

html { scroll-behavior: smooth; }

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

a { color: var(--blue); text-decoration: none; }

/* ── Nav ── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.94);
  backdrop-filter: blur(14px);
  z-index: 100;
}

.logo { font-size: 20px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); }
.logo span { color: var(--blue); }

.nav-right { display: flex; gap: 20px; align-items: center; }
.nav-link { color: var(--muted); font-size: 14px; transition: color 0.15s; }
.nav-link:hover { color: var(--text); }

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: opacity 0.15s;
}
.nav-cta:hover { opacity: 0.88; text-decoration: none; }

/* ── Hero ── */
.feature-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: 72px 32px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.fh-left { display: flex; flex-direction: column; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--subtle);
  font-size: 13px;
  margin-bottom: 28px;
  transition: color 0.15s;
  width: fit-content;
}
.back-link:hover { color: var(--muted); text-decoration: none; }

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  width: fit-content;
}

.badge-blue   { background: rgba(59,130,246,0.12);  border: 1px solid rgba(59,130,246,0.2);  color: var(--blue); }
.badge-green  { background: rgba(34,197,94,0.12);   border: 1px solid rgba(34,197,94,0.2);   color: var(--green); }
.badge-purple { background: rgba(168,85,247,0.12);  border: 1px solid rgba(168,85,247,0.2);  color: var(--purple); }
.badge-amber  { background: rgba(245,158,11,0.12);  border: 1px solid rgba(245,158,11,0.2);  color: var(--amber); }

.fh-title {
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 20px;
}

.fh-desc {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.fh-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.fh-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

.fh-bullets li .bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Phone Mockup ── */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone {
  width: 248px;
  height: 508px;
  background: #111118;
  border-radius: 46px;
  border: 2px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 60px 120px rgba(0,0,0,0.7),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Dynamic island / notch */
.phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #111118;
  border-radius: 12px;
  z-index: 20;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0a0a0f;
  border-radius: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.phone-statusbar {
  height: 44px;
  padding: 14px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.phone-content { flex: 1; overflow: hidden; position: relative; }

/* ── How It Works ── */
.section {
  max-width: 880px;
  margin: 0 auto 80px;
  padding: 0 32px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 36px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  background: rgba(59,130,246,0.12);
  color: var(--blue);
}

.step-title { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Highlights Grid ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.highlight-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.highlight-card:hover { border-color: rgba(59,130,246,0.3); }

.hi-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.hi-title { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.hi-desc  { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── CTA ── */
.feature-cta {
  text-align: center;
  padding: 80px 32px;
  background: linear-gradient(180deg, transparent, rgba(59,130,246,0.05));
  border-top: 1px solid var(--border);
}

.feature-cta h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.feature-cta p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }

.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--text); text-decoration: none; }

/* ── Footer ── */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--subtle);
  font-size: 13px;
  border-top: 1px solid var(--border);
}
footer a { color: var(--subtle); }
footer a:hover { color: var(--muted); }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; flex-wrap: wrap; }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 80px 32px; max-width: 880px; margin-left: auto; margin-right: auto; }

/* ── Responsive ── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  .feature-hero { grid-template-columns: 1fr; padding: 48px 24px 64px; gap: 48px; }
  .phone-wrap { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .section { padding: 0 24px; }
}
