/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0F1C;
  --bg-2: #0F1629;
  --bg-card: #111827;
  --fg: #E8EDF5;
  --fg-muted: #8892A4;
  --accent: #BAFF6E;
  --accent-dim: rgba(186, 255, 110, 0.12);
  --border: rgba(255,255,255,0.07);
  --radius: 14px;
  --radius-lg: 20px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(10, 15, 28, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.nav-badge {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(186,255,110,0.2);
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
}

.hero-savings {
  display: flex;
  align-items: center;
  gap: 20px;
}

.saving-badge {
  background: var(--accent-dim);
  border: 1px solid rgba(186,255,110,0.2);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
}

.saving-amount {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.saving-label {
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.saving-label em { font-style: normal; color: var(--fg-muted); opacity: 0.7; }

.vs-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vs-old {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.vs-arrow {
  font-size: 16px;
  color: var(--accent);
  font-weight: 700;
}

.vs-new {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* === PORTAL CARD === */
.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 0 60px rgba(186, 255, 110, 0.04), 0 32px 64px rgba(0,0,0,0.4);
}

.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.portal-title {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}

.portal-status {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.portal-status.active {
  color: #00C853;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0,200,83,0.2);
}

.portal-plan {
  margin-bottom: 16px;
}

.plan-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.portal-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.row-label {
  font-size: 13px;
  color: var(--fg-muted);
}

.row-value {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}

.row-value.bank { display: flex; align-items: center; gap: 6px; }
.bank-icon { font-size: 14px; }

.row-value.connected {
  color: #00C853;
  font-size: 12px;
}

.portal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  width: 100%;
}

.pause-btn {
  background: rgba(255, 200, 60, 0.1);
  color: #FFD84D;
  border: 1px solid rgba(255, 200, 60, 0.2);
}

.pause-btn:hover {
  background: rgba(255, 200, 60, 0.18);
}

.update-btn {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(186, 255, 110, 0.2);
}

.update-btn:hover {
  background: rgba(186, 255, 110, 0.2);
}

.action-icon { font-size: 14px; }

/* === BG SHAPES === */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: #4FC3F7;
  bottom: -100px;
  left: 20%;
}

/* === STATS === */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  padding: 48px 0;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.stat-item.highlight .stat-value { color: var(--accent); }

.stat-value {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* === SECTION COMMON === */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--fg);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 16px;
  color: var(--fg-muted);
}

/* === MECHANICS === */
.mechanics {
  padding: 100px 0;
}

.mechanics-header {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 32px;
}

.mechanics-steps {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  position: relative;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 24px;
  color: var(--accent);
  padding: 32px 20px;
  flex-shrink: 0;
  font-weight: 300;
}

/* === OUTCOMES === */
.outcomes {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.outcomes-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.outcomes-left h2,
.outcomes-right h2 {
  margin-bottom: 36px;
}

.outcome-list { display: flex; flex-direction: column; gap: 28px; }

.outcome-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.outcome-icon {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.outcome-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}

.outcome-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.35;
  margin-bottom: 40px;
  letter-spacing: -0.5px;
}

.manifesto-detail p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.manifesto-detail p:last-child { margin-bottom: 0; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand { display: flex; align-items: center; gap: 16px; }

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-muted);
}

.footer-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .stats-inner { flex-direction: column; gap: 28px; }
  .stat-divider { width: 60px; height: 1px; }
  .mechanics-steps { flex-direction: column; gap: 16px; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; text-align: center; }
  .outcomes-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero-savings { flex-direction: column; align-items: flex-start; }
  .portal-card { padding: 20px; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 80px; }
  .hero-headline { letter-spacing: -1px; }
  .stats { padding: 32px 0; }
  .stat-value { font-size: 36px; }
  .mechanics, .outcomes, .manifesto { padding: 60px 0; }
}
