/* VolTrack Landing Page — Redesign */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ── Variables ──────────────────────────────────────────────────────────── */
:root {
  --lp-navy:    #0F172A;
  --lp-navy-2:  #1E293B;
  --lp-primary: #4F46E5;
  --lp-primary-d: #4338CA;
  --lp-primary-l: #EEF2FF;
  --lp-secondary: #7C3AED;
  --lp-bg:      #FAFBFF;
  --lp-white:   #ffffff;
  --lp-text:    #0F172A;
  --lp-text-2:  #64748B;
  --lp-border:  #E2E8F0;
  --lp-green:   #10B981;
  --lp-green-l: #F0FDF4;
  --lp-warning: #F59E0B;
  --lp-warning-l: #FEF3C7;
  --lp-danger:  #EF4444;
  --lp-r:       14px;
  --lp-font-h:  'Space Grotesk', system-ui, sans-serif;
  --lp-font-b:  'DM Sans', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--lp-font-b);
  background: var(--lp-bg);
  color: var(--lp-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ── */
.lp-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,251,255,0.88); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lp-border);
  padding: 0 clamp(20px, 6vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.lp-logo {
  font-family: var(--lp-font-h); font-weight: 700; font-size: 20px;
  color: var(--lp-navy); text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.lp-logo img {
  height: 28px; width: 28px; border-radius: 6px;
}
.lp-nav-links {
  display: flex; align-items: center; gap: 8px;
}
.lp-nav-link {
  font-size: 13px; font-weight: 600; color: var(--lp-text-2);
  text-decoration: none; padding: 7px 14px; border-radius: 8px;
  transition: background .15s, color .15s;
}
.lp-nav-link:hover { background: rgba(79,70,229,.08); color: var(--lp-primary); }
.lp-nav-cta {
  background: var(--lp-primary); color: var(--lp-white); border: none;
  padding: 9px 22px; border-radius: 99px; font-family: var(--lp-font-h);
  font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}
.lp-nav-cta:hover { background: var(--lp-primary-d); color: var(--lp-white); }

/* ── HERO ── */
.lp-hero {
  background: var(--lp-navy);
  padding: clamp(72px, 10vw, 120px) clamp(20px, 6vw, 80px) 0;
  text-align: center; overflow: hidden; position: relative;
}
.lp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(79,70,229,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.lp-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(79,70,229,0.15); border: 1px solid rgba(79,70,229,0.3);
  color: #818CF8; border-radius: 99px; padding: 6px 16px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  margin-bottom: 28px; position: relative;
}
.lp-hero-label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #818CF8; animation: lp-pulse 2s infinite;
}
@keyframes lp-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.lp-hero h1 {
  font-family: var(--lp-font-h); font-weight: 700;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--lp-white); max-width: 820px; margin: 0 auto 24px;
  text-wrap: balance;
}
.lp-hero h1 em {
  background: linear-gradient(135deg, #818CF8, #A78BFA);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-style: normal;
}

.lp-hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.6; font-weight: 300;
}
.lp-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

.lp-btn-primary {
  background: var(--lp-primary); color: var(--lp-white); border: none;
  padding: 14px 32px; border-radius: 99px; font-family: var(--lp-font-h);
  font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none;
  transition: all 0.15s; box-shadow: 0 4px 20px rgba(79,70,229,0.4);
  display: inline-block;
}
.lp-btn-primary:hover {
  background: var(--lp-primary-d); color: var(--lp-white);
  transform: translateY(-1px); box-shadow: 0 6px 28px rgba(79,70,229,0.5);
}
.lp-btn-ghost {
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 14px 28px; border-radius: 99px; font-family: var(--lp-font-h);
  font-weight: 500; font-size: 15px; cursor: pointer; text-decoration: none;
  transition: all 0.15s; display: inline-block;
}
.lp-btn-ghost:hover { background: rgba(255,255,255,0.14); color: var(--lp-white); }

/* ── MOCK APP PREVIEW ── */
.lp-app-preview-wrap {
  max-width: 900px; margin: 0 auto; perspective: 1200px;
}
.lp-app-preview {
  background: #0a0f1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  transform: rotateX(8deg) translateY(0);
  transform-origin: bottom center;
  box-shadow: 0 -8px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}
.lp-app-bar {
  background: #131929; padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lp-app-dots { display: flex; gap: 6px; }
.lp-app-dot { width: 10px; height: 10px; border-radius: 50%; }
.lp-app-logo-bar {
  font-family: var(--lp-font-h); font-weight: 700; font-size: 15px;
  color: rgba(255,255,255,0.9); margin-left: 4px;
  display: flex; align-items: center; gap: 6px;
}
.lp-app-logo-bar img {
  height: 18px; width: 18px; border-radius: 4px;
}
.lp-app-body { display: grid; grid-template-columns: 200px 1fr; min-height: 260px; }
.lp-app-sidebar { background: var(--lp-navy); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; }
.lp-app-nav-item { padding: 9px 12px; border-radius: 8px; font-size: 13px; font-family: var(--lp-font-b); }
.lp-app-nav-item.active { background: #2E3650; color: var(--lp-white); }
.lp-app-nav-item:not(.active) { color: rgba(255,255,255,0.4); }
.lp-app-main { padding: 24px; background: var(--lp-bg); }
.lp-app-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.lp-app-stat { background: #fff; border-radius: 10px; padding: 14px; }
.lp-app-stat-label { font-size: 10px; color: var(--lp-text-2); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 6px; }
.lp-app-stat-val { font-family: var(--lp-font-h); font-size: 22px; font-weight: 700; }
.lp-app-log { background: #fff; border-radius: 10px; overflow: hidden; }
.lp-app-log-row {
  padding: 10px 14px; border-bottom: 1px solid var(--lp-border);
  display: flex; align-items: center; justify-content: space-between; font-size: 12px;
}
.lp-app-log-row:last-child { border-bottom: none; }
.lp-app-badge { border-radius: 99px; padding: 2px 8px; font-size: 10px; font-weight: 500; }

/* ── SECTIONS ── */
.lp-section { padding: clamp(64px, 8vw, 100px) clamp(20px, 6vw, 80px); }
.lp-section-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--lp-primary); margin-bottom: 14px;
}
.lp-section h2 {
  font-family: var(--lp-font-h); font-weight: 700;
  font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.02em; line-height: 1.1;
  text-wrap: balance; color: var(--lp-text);
}
.lp-section-sub {
  font-size: clamp(15px, 1.8vw, 18px); color: var(--lp-text-2);
  max-width: 500px; line-height: 1.65; margin-top: 14px; font-weight: 300;
}

/* ── PAIN ── */
.lp-pain-section { background: var(--lp-white); }
.lp-pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.lp-pain-card {
  background: var(--lp-bg); border-radius: var(--lp-r); padding: 28px;
  border: 1px solid var(--lp-border); position: relative; overflow: hidden;
}
.lp-pain-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #EF4444, #F97316);
}
.lp-pain-icon { font-size: 28px; margin-bottom: 14px; }
.lp-pain-card h3 { font-family: var(--lp-font-h); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.lp-pain-card p { font-size: 14px; color: var(--lp-text-2); line-height: 1.6; }

/* ── FIX / HOW IT WORKS ── */
.lp-fix-section { background: var(--lp-bg); }
.lp-fix-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 60px); align-items: center; margin-top: 56px;
}
.lp-fix-list { display: flex; flex-direction: column; gap: 28px; }
.lp-fix-item { display: flex; gap: 18px; align-items: flex-start; }
.lp-fix-num {
  width: 36px; height: 36px; border-radius: 50%; background: var(--lp-primary-l);
  color: var(--lp-primary); font-family: var(--lp-font-h); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.lp-fix-item h3 { font-family: var(--lp-font-h); font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.lp-fix-item p { font-size: 14px; color: var(--lp-text-2); line-height: 1.6; }
.lp-fix-visual {
  background: var(--lp-navy); border-radius: 20px; padding: 32px;
  box-shadow: 0 20px 60px rgba(15,23,42,0.2);
}
.lp-step-card {
  background: rgba(255,255,255,0.06); border-radius: 12px; padding: 16px 18px;
  margin-bottom: 12px; display: flex; align-items: center; gap: 14px;
}
.lp-step-card:last-child { margin-bottom: 0; }
.lp-step-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(79,70,229,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-step-text { color: rgba(255,255,255,0.9); font-size: 14px; }
.lp-step-text strong { display: block; font-weight: 500; margin-bottom: 2px; }
.lp-step-text span { color: rgba(255,255,255,0.45); font-size: 12px; }
.lp-step-time {
  margin-left: auto; color: #818CF8;
  font-family: var(--lp-font-h); font-size: 12px; font-weight: 600; white-space: nowrap;
}

/* ── PRICING ── */
.lp-pricing-section { background: var(--lp-white); text-align: center; }
.lp-pricing-card {
  max-width: 480px; margin: 48px auto 0;
  background: var(--lp-navy); border-radius: 24px; padding: 48px 40px;
  position: relative; overflow: hidden;
}
.lp-pricing-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(79,70,229,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.lp-pricing-badge {
  background: var(--lp-primary-l); color: var(--lp-primary);
  border-radius: 99px; padding: 5px 16px; font-size: 13px; font-weight: 600;
  display: inline-block; margin-bottom: 24px; position: relative;
}
.lp-price-main {
  font-family: var(--lp-font-h); font-size: 56px; font-weight: 700;
  color: var(--lp-white); line-height: 1; margin-bottom: 6px; position: relative;
}
.lp-price-main span { font-size: 24px; color: rgba(255,255,255,0.5); font-weight: 400; }
.lp-price-sub { color: rgba(255,255,255,0.45); font-size: 15px; margin-bottom: 32px; position: relative; }
.lp-price-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 0 0 28px; }
.lp-price-features {
  list-style: none; text-align: left; display: flex; flex-direction: column;
  gap: 14px; margin-bottom: 36px; position: relative;
}
.lp-price-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); font-size: 15px; }
.lp-check-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(79,70,229,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lp-check-icon svg { stroke: #818CF8; }

/* ── TESTIMONIAL ── */
.lp-testimonial-section { background: var(--lp-bg); }
.lp-testimonial-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.lp-quote-mark {
  font-family: var(--lp-font-h); font-size: 72px;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 0.6; margin-bottom: 24px;
}
.lp-quote-text {
  font-size: clamp(18px, 2.5vw, 26px); font-weight: 300; line-height: 1.5;
  color: var(--lp-text); font-style: italic; margin-bottom: 28px; text-wrap: balance;
}
.lp-quote-attr { display: flex; align-items: center; justify-content: center; gap: 12px; }
.lp-quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
  color: var(--lp-white); display: flex; align-items: center; justify-content: center;
  font-family: var(--lp-font-h); font-weight: 700; font-size: 16px;
}
.lp-quote-name { font-weight: 600; font-size: 15px; }
.lp-quote-role { font-size: 13px; color: var(--lp-text-2); }

/* ── CTA / WAITLIST ── */
.lp-cta-section {
  background: var(--lp-navy); text-align: center;
  position: relative; overflow: hidden;
}
.lp-cta-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(79,70,229,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.lp-cta-section h2 { color: var(--lp-white); max-width: 560px; margin: 0 auto; }
.lp-cta-section .lp-section-sub { color: rgba(255,255,255,0.5); margin: 14px auto 0; }
.lp-waitlist-form { display: flex; gap: 10px; max-width: 420px; margin: 36px auto 0; flex-wrap: wrap; }
.lp-waitlist-input {
  flex: 1; min-width: 200px; padding: 13px 18px; border-radius: 99px;
  border: 1.5px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.07);
  color: var(--lp-white); font-family: var(--lp-font-b); font-size: 15px; outline: none;
  transition: border-color 0.15s;
}
.lp-waitlist-input::placeholder { color: rgba(255,255,255,0.3); }
.lp-waitlist-input:focus { border-color: rgba(79,70,229,0.6); }
.lp-waitlist-input.shake {
  animation: lp-shake 0.4s ease;
  border-color: #EF4444;
}
.lp-waitlist-success { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: 14px; }
.lp-waitlist-msg {
  width: 100%; margin-top: 8px; font-size: 14px; font-weight: 600; min-height: 1.4em;
}
.lp-waitlist-msg.success { color: #6EE7B7; }
.lp-waitlist-msg.error { color: #FCA5A5; }

.lp-hero-counter {
  margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.4); font-weight: 400;
}

@keyframes lp-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

/* ── FOOTER ── */
.lp-footer {
  background: #080c16; padding: 28px clamp(20px, 6vw, 80px);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.lp-footer-right { display: flex; align-items: center; gap: 20px; }
.lp-footer-logo {
  font-family: var(--lp-font-h); font-weight: 700; font-size: 16px;
  color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.lp-footer-logo img { height: 18px; width: 18px; border-radius: 4px; }
.lp-footer-note { font-size: 13px; color: rgba(255,255,255,0.3); }
.lp-footer-social { display: flex; gap: 16px; }
.lp-footer-social a {
  color: rgba(255,255,255,0.3); font-size: 1.125rem;
  transition: color .15s; text-decoration: none;
}
.lp-footer-social a:hover { color: #818CF8; }

/* ── ANIMATIONS ── */
.lp-fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.lp-fade-up.visible { opacity: 1; transform: translateY(0); }
.lp-delay-1 { transition-delay: 0.1s; }
.lp-delay-2 { transition-delay: 0.2s; }
.lp-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .lp-fix-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-app-body { grid-template-columns: 1fr; }
  .lp-app-sidebar { display: none; }
  .lp-pricing-card { padding: 36px 24px; }
  .lp-footer { padding: 24px 20px; }
  .lp-waitlist-form { flex-direction: column; }
  .lp-waitlist-form .lp-btn-primary { width: 100%; text-align: center; }
  .lp-hero-actions { flex-direction: column; align-items: center; }
  .lp-nav-link { display: none; }
  .lp-section { overflow-x: hidden; }
}
