/* ============================================
   Mailvoice Landing Page
   ============================================ */

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

:root {
  /* Colors */
  --c-dark: #0c1220;
  --c-dark-surface: #131b2e;
  --c-accent: #e8713a;
  --c-accent-hover: #d4622e;
  --c-accent-glow: rgba(232, 113, 58, 0.15);
  --c-warm-bg: #f8f6f3;
  --c-white: #ffffff;
  --c-text: #374151;
  --c-text-dark: #1a1a2e;
  --c-text-muted: #6b7280;
  --c-text-light: #d1d5db;
  --c-text-on-dark: #e5e7eb;
  --c-border: #e5e2dd;
  --c-border-dark: #1f2937;
  --c-success: #16a34a;
  --c-error: #dc2626;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 10vw, 7rem);
  --container-max: 1120px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: inline;
  }
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* --- Section Basics --- */
.section {
  padding: var(--section-pad) 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

.section-label-light {
  color: var(--c-accent);
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-text-dark);
  margin-bottom: 2.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
}

.btn-primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 113, 58, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.0625rem;
}

.btn-full {
  width: 100%;
}

.btn .btn-loading {
  display: none;
  animation: spin 1s linear infinite;
}

.btn.loading .btn-text { display: none; }
.btn.loading .btn-loading { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--c-dark);
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 113, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-accent);
  background: rgba(232, 113, 58, 0.1);
  border: 1px solid rgba(232, 113, 58, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--c-white);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-headline-accent {
  font-style: italic;
  color: var(--c-accent);
}

.hero-subline {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--c-text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.hero-cta-wrap {
  animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-micro {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  margin-top: 0.875rem;
}

/* Waveform */
.hero-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 3.5rem;
  height: 40px;
  animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.wave-bar {
  width: 3px;
  border-radius: 100px;
  background: var(--c-accent);
  opacity: 0.35;
  animation: wave 1.8s ease-in-out infinite;
}

.wave-bar:nth-child(1)  { height: 8px;  animation-delay: 0.00s; }
.wave-bar:nth-child(2)  { height: 14px; animation-delay: 0.08s; }
.wave-bar:nth-child(3)  { height: 22px; animation-delay: 0.16s; }
.wave-bar:nth-child(4)  { height: 30px; animation-delay: 0.24s; }
.wave-bar:nth-child(5)  { height: 36px; animation-delay: 0.32s; }
.wave-bar:nth-child(6)  { height: 40px; animation-delay: 0.40s; }
.wave-bar:nth-child(7)  { height: 36px; animation-delay: 0.48s; }
.wave-bar:nth-child(8)  { height: 28px; animation-delay: 0.56s; }
.wave-bar:nth-child(9)  { height: 20px; animation-delay: 0.64s; }
.wave-bar:nth-child(10) { height: 30px; animation-delay: 0.72s; }
.wave-bar:nth-child(11) { height: 38px; animation-delay: 0.80s; }
.wave-bar:nth-child(12) { height: 34px; animation-delay: 0.88s; }
.wave-bar:nth-child(13) { height: 26px; animation-delay: 0.96s; }
.wave-bar:nth-child(14) { height: 18px; animation-delay: 1.04s; }
.wave-bar:nth-child(15) { height: 24px; animation-delay: 1.12s; }
.wave-bar:nth-child(16) { height: 32px; animation-delay: 1.20s; }
.wave-bar:nth-child(17) { height: 28px; animation-delay: 1.28s; }
.wave-bar:nth-child(18) { height: 20px; animation-delay: 1.36s; }
.wave-bar:nth-child(19) { height: 12px; animation-delay: 1.44s; }
.wave-bar:nth-child(20) { height: 6px;  animation-delay: 1.52s; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1); }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   Problem — Timeline
   ============================================ */
.section-problem {
  background: var(--c-warm-bg);
}

/* Timeline */
.timeline {
  max-width: 540px;
  margin: 0 auto 3rem;
  position: relative;
  padding-left: 1rem;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 78px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, var(--c-border) 0%, var(--c-accent) 100%);
}

@media (max-width: 480px) {
  .timeline::before {
    left: 62px;
  }
}

.timeline-entry {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.875rem 0;
  position: relative;
}

.timeline-time {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--c-text-muted);
  min-width: 52px;
  text-align: right;
  flex-shrink: 0;
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-border);
  border: 2px solid var(--c-warm-bg);
  flex-shrink: 0;
  position: relative;
  top: 1px;
}

.timeline-text {
  font-size: 1.0625rem;
  color: var(--c-text);
  line-height: 1.5;
}

/* Heavy entries — the painful evening ones */
.timeline-entry-heavy .timeline-time {
  color: var(--c-accent);
  font-size: 1.0625rem;
}

.timeline-entry-heavy .timeline-dot {
  background: var(--c-accent);
  border-color: var(--c-warm-bg);
  box-shadow: 0 0 8px rgba(232, 113, 58, 0.25);
  width: 11px;
  height: 11px;
}

.timeline-entry-heavy .timeline-text {
  color: var(--c-text-dark);
  font-weight: 600;
  font-size: 1.125rem;
}

.problem-closing {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--c-text-muted);
  text-align: center;
  padding-top: 0.5rem;
}

/* ============================================
   Solution / Steps
   ============================================ */
.section-solution {
  background: var(--c-white);
}

.steps-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.step-connector {
  color: var(--c-border);
  transform: rotate(90deg);
}

@media (min-width: 768px) {
  .steps-grid {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0;
  }
  .step-connector {
    transform: none;
    display: flex;
    align-items: center;
    padding: 0 0.5rem;
  }
}

.step-card {
  background: var(--c-warm-bg);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  width: 100%;
  max-width: 280px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--c-accent);
  color: var(--c-white);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-icon {
  color: var(--c-text-dark);
  margin: 0.75rem auto 1rem;
  display: flex;
  justify-content: center;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-text-dark);
  margin-bottom: 0.375rem;
}

.step-sub {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.solution-context {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--c-text-dark);
  margin: 0 auto 1rem;
  line-height: 1.5;
}

.solution-closing {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--c-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   Before / After Demo
   ============================================ */
.section-demo {
  background: var(--c-warm-bg);
}

.demo-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .demo-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }
}

.demo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.demo-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.8125rem;
  font-weight: 600;
}

.demo-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.demo-dot-red {
  background: var(--c-accent);
}

.demo-dot-green {
  background: var(--c-success);
}

.demo-card-label {
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-card-time {
  margin-left: auto;
  color: var(--c-text-muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.demo-card-body {
  padding: 1.25rem;
}

/* Before card — raw transcript */
.demo-before {
  background: var(--c-white);
}

.demo-before .demo-card-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--c-text);
  font-style: italic;
}

/* Highlighted private parts */
.demo-detected {
  position: relative;
  border-radius: 3px;
  padding: 1px 4px;
  margin: 0 -2px;
}

.demo-detected-private {
  background: rgba(220, 38, 38, 0.08);
  color: var(--c-text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.35);
}

/* After card — clean email */
.demo-after {
  background: var(--c-white);
}

.demo-email-field {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  padding: 0.25rem 0;
  line-height: 1.5;
}

.demo-email-field strong {
  color: var(--c-text);
  font-weight: 600;
}

.demo-email-divider {
  height: 1px;
  background: var(--c-border);
  margin: 0.75rem 0;
}

.demo-email p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--c-text-dark);
  margin-bottom: 0.625rem;
}

.demo-email p:last-child {
  margin-bottom: 0;
}

/* Right column stack (email + notes) */
.demo-after-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Notes card */
.demo-dot-yellow {
  background: #eab308;
}

.demo-notes {
  background: var(--c-white);
}

.demo-notes-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.demo-notes-body li {
  font-size: 0.875rem;
  color: var(--c-text);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

.demo-notes-body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-text-muted);
}

/* Arrow between cards */
.demo-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--c-accent);
}

@media (max-width: 767px) {
  .demo-arrow {
    transform: rotate(90deg);
  }
}

/* Legend footer */
.demo-footer {
  text-align: center;
}

.demo-detected-legend {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
}

.demo-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.demo-legend-private {
  background: var(--c-error);
  opacity: 0.5;
}

/* ============================================
   Business Case / Calculator
   ============================================ */
.section-calc {
  background: var(--c-white);
  text-align: center;
}

.calc-display {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--c-border);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.calc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.calc-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calc-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 400;
  color: var(--c-text-dark);
  line-height: 1;
}

.calc-label {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.calc-operator {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--c-text-muted);
  padding: 0 0.25rem;
}

.calc-item-result .calc-number {
  color: var(--c-accent);
}

.calc-bottom {
  border-top: 2px solid var(--c-warm-bg);
  padding-top: 1.5rem;
}

.calc-final {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.625rem;
}

.calc-final-eq {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--c-text-muted);
}

.calc-final-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 400;
  color: var(--c-accent);
  line-height: 1;
}

.calc-final-unit {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text-dark);
}

.calc-highlight {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-text-dark);
  margin-bottom: 0.75rem;
}

.calc-highlight em {
  font-style: normal;
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-color: rgba(232, 113, 58, 0.3);
  text-underline-offset: 4px;
}

.calc-question {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  color: var(--c-text-muted);
}

/* ============================================
   Target Audience
   ============================================ */
.section-audience {
  background: var(--c-warm-bg);
  text-align: center;
}

.audience-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 100px;
  background: var(--c-warm-bg);
  color: var(--c-text-dark);
  border: 1px solid var(--c-border);
  transition: all 0.2s ease;
}

.badge:hover {
  border-color: var(--c-accent);
  background: var(--c-accent-glow);
  color: var(--c-accent);
}

.audience-sub {
  font-size: 1.0625rem;
  color: var(--c-text-muted);
}

/* ============================================
   Trust
   ============================================ */
.section-trust {
  background: var(--c-white);
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.trust-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.trust-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
}

.trust-icon {
  color: var(--c-accent);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.trust-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--c-text-dark);
  margin-bottom: 0.375rem;
}

.trust-text {
  font-size: 0.9375rem;
  color: var(--c-text-muted);
}

/* ============================================
   Signup
   ============================================ */
.section-signup {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.signup-bg {
  position: absolute;
  inset: 0;
  background: var(--c-dark);
  z-index: 0;
}

.section-signup .container {
  position: relative;
  z-index: 1;
}

.signup-content {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .signup-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.signup-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--c-white);
  margin-bottom: 1.25rem;
}

.signup-sub {
  font-size: 1.0625rem;
  color: var(--c-text-light);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.signup-spots {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.spots-bar {
  height: 6px;
  background: var(--c-border-dark);
  border-radius: 100px;
  overflow: hidden;
}

.spots-fill {
  height: 100%;
  background: var(--c-accent);
  border-radius: 100px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.spots-text {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.spots-text strong {
  color: var(--c-accent);
}

/* Form */
.signup-form {
  background: var(--c-dark-surface);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

@media (min-width: 768px) {
  .signup-form {
    padding: 2.5rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-text-light);
  margin-bottom: 0.375rem;
}

.form-group .optional {
  font-weight: 400;
  color: var(--c-text-muted);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--c-white);
  background: var(--c-dark);
  border: 1.5px solid var(--c-border-dark);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 5.646a.5.5 0 0 1 .708 0L8 8.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input::placeholder {
  color: var(--c-text-muted);
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-glow);
}

/* Validation states */
.form-group.error input,
.form-group.error select {
  border-color: var(--c-error);
}

.form-group.error .form-error {
  display: block;
}

.form-error {
  display: none;
  font-size: 0.8125rem;
  color: var(--c-error);
  margin-top: 0.375rem;
}

.form-footer {
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* Success State */
.signup-success {
  background: var(--c-dark-surface);
  border: 1px solid var(--c-border-dark);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  text-align: center;
}

.success-icon {
  color: var(--c-success);
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--c-white);
  margin-bottom: 0.5rem;
}

.success-text {
  color: var(--c-text-light);
  font-size: 1rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-dark);
  padding: 1.5rem 0 5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-size: 0.875rem;
  color: var(--c-text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--c-text-light);
}

/* ============================================
   Sticky CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--c-dark);
  border-top: 1px solid var(--c-border-dark);
  padding: 0.75rem 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta[hidden] {
  display: block;
  pointer-events: none;
}

.sticky-cta.visible {
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sticky-cta-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text-muted);
  display: none;
}

@media (min-width: 480px) {
  .sticky-cta-text {
    display: block;
  }
}

.btn-sticky {
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 479px) {
  .btn-sticky {
    width: 100%;
  }
}

/* ============================================
   Responsive Tweaks
   ============================================ */
@media (max-width: 480px) {
  .hero {
    padding: 5rem 0 3rem;
  }

  .hero-headline {
    font-size: 2rem;
  }

  .hero-subline {
    font-size: 1rem;
  }

  .btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    width: 100%;
  }

  .calc-row {
    gap: 0.5rem;
  }

  .calc-number {
    font-size: 2.25rem;
  }

  .calc-operator {
    font-size: 1.25rem;
  }

  .step-card {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

/* --- Selection color --- */
::selection {
  background: rgba(232, 113, 58, 0.2);
  color: inherit;
}

/* --- Focus visible --- */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}