:root {
  --primary: #1B6B4D;
  --navy: #0F1410;
  --green: #5BBF6E;
  --bg: #FAF7F2;
  --white: #FFFFFF;
  --accent: #D64545;
  --surface: #F0E8E3;
  --text-primary: #1A1A1A;
  --text-muted: #5F5F5F;
  --surface-2: #E6DED7;
  --border-color: #D0C2BA;
  --shadow-soft: 0 10px 28px rgba(26, 27, 26, 0.08);
  --hero-card: rgba(27, 107, 77, 0.9);
  --hero-text: #FFFFFF;
}

[data-theme='dark'] {
  --primary: #5BBF6E;
  --navy: #0A0D0B;
  --green: #7FE187;
  --bg: #0D0F0D;
  --white: #141614;
  --accent: #FF7F7F;
  --surface: #1A1D1A;
  --text-primary: #F5F5F5;
  --text-muted: #A6A6A6;
  --surface-2: #232623;
  --border-color: #2F362F;
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.35);
  --hero-card: rgba(91, 191, 110, 0.12);
  --hero-text: #F5F5F5;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.12;
  margin: 0 0 0.8rem;
  color: inherit;
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(100% - 2.5rem, 1100px);
  margin-inline: auto;
}

.section {
  padding: 60px 20px;
}

.section-surface {
  background: var(--surface);
}

.section-white {
  background: var(--white);
}

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(27, 107, 77, 0.42), transparent 65%),
    radial-gradient(900px 520px at 90% 15%, rgba(91, 191, 110, 0.25), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 16px),
    var(--navy);
  color: var(--white);
  padding-top: 74px;
  padding-bottom: 76px;
}

.top-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1.2rem;
}

.theme-toggle {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-copy {
  max-width: 52ch;
  color: var(--hero-text);
  margin-bottom: 1.5rem;
}

.hero-btn {
  background: var(--accent);
  color: var(--navy);
}

.countdown-label {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.count-card {
  border-radius: 16px;
  padding: 1rem 0.7rem 0.9rem;
  text-align: center;
  background: var(--hero-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 4px solid rgba(244, 161, 0, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.countdown span {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  line-height: 1;
  color: var(--white);
}

.countdown small {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.pulse {
  animation: pulseTick 0.2s ease;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.calc-card {
  --calc-color: var(--green);
  --calc-color-soft: color-mix(in srgb, var(--green) 18%, transparent);
  background: linear-gradient(180deg, var(--white), var(--surface));
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  box-shadow: 0 12px 34px rgba(26, 115, 232, 0.12);
}

.calc-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.calc-picker {
  margin: 0.65rem 0 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
}

.calc-option {
  position: relative;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  min-height: 42px;
  width: 42px;
  min-width: 42px;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex: 0 0 auto;
}

.calc-option i,
.calc-option .netflix-icon {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-option .netflix-icon {
  width: 1rem;
  height: 1rem;
}

.calc-option::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: var(--text-primary);
  color: var(--bg);
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 600;
  padding: 0.42rem 0.52rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 2;
}

.calc-option::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(4px);
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  rotate: 45deg;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 1;
}

.calc-option:hover::after,
.calc-option:hover::before,
.calc-option:focus-visible::after,
.calc-option:focus-visible::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.calc-option:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13, 27, 42, 0.18);
}

.calc-option.active {
  border-color: color-mix(in srgb, var(--calc-color) 70%, var(--white));
  background: color-mix(in srgb, var(--calc-color) 24%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--calc-color) 30%, transparent);
}

.calc-insights {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--surface-2) 80%, var(--white)), var(--surface));
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1rem;
  margin-bottom: 0.9rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.calc-insights::after {
  content: '';
  position: absolute;
  inset: auto -35% -65% -35%;
  height: 120px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--calc-color) 24%, transparent);
  opacity: 0.35;
  filter: blur(26px);
  pointer-events: none;
}

.calc-insight-title {
  margin: 0 0 0.8rem;
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  color: var(--text-primary);
}

.calc-bars {
  display: grid;
  gap: 0.2rem;
}

.calc-bar-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-bar-row strong {
  color: var(--text-primary);
  font-weight: 800;
}

.calc-bar {
  margin: 0.25rem 0 0.8rem;
  height: 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-primary) 8%, transparent);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border-color) 70%, var(--white));
}

.calc-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  position: relative;
  transition: width 0.45s ease;
}

.calc-bar i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.28) 0 6px,
    rgba(255, 255, 255, 0.08) 6px 12px
  );
  animation: calcBarShift 1.4s linear infinite;
}

.calc-bar-full i {
  background: linear-gradient(90deg, #9aa7ba, #69788c);
}

.calc-bar-split i {
  background: linear-gradient(90deg, var(--calc-color), color-mix(in srgb, var(--calc-color) 75%, #d2ffd9));
  box-shadow: 0 0 14px color-mix(in srgb, var(--calc-color) 45%, transparent);
}

.calc-save-chip {
  margin: 0.2rem 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.36rem 0.8rem;
  background: color-mix(in srgb, var(--calc-color) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--calc-color) 22%, transparent);
  color: var(--calc-color);
  font-weight: 700;
  font-size: 0.87rem;
}

@keyframes calcBarShift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 22px 0;
  }
}

label {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

select,
input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin: 0 0 1rem;
  font: inherit;
  color: var(--text-primary);
  background: var(--surface);
  transition: all 0.2s ease;
}

select:focus,
input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent);
}

.calc-result {
  margin-top: 0.3rem;
  background: var(--surface-2);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1rem;
  color: var(--text-muted);
  transform: translateY(14px);
  opacity: 0.6;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.calc-result.animated {
  transform: translateY(0);
  opacity: 1;
}

.calc-result strong {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  font-size: 1.2rem;
}

.calc-value {
  font-family: 'DM Serif Display', serif;
  color: var(--calc-color);
  font-size: 1.75rem;
  line-height: 1.1;
}

.how-it-works .steps {
  position: relative;
  display: grid;
  gap: 1.05rem;
}

.how-it-works article {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--white), var(--surface));
  border: 1px solid var(--border-color);
  padding: 1.35rem;
  min-height: 220px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.how-it-works article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border-color));
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.12);
}

.how-it-works article::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 78%, #ffffff), color-mix(in srgb, var(--accent) 72%, #ffffff));
}

.step-1::after,
.step-2::after,
.step-3::after {
  content: '';
  position: absolute;
  inset: auto -35% -68% -35%;
  height: 130px;
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.24;
  pointer-events: none;
}

.step-1::after {
  background: #1db954;
}

.step-2::after {
  background: #00a8e1;
}

.step-3::after {
  background: #f4a100;
}

.step-watermark {
  position: absolute;
  right: 0.75rem;
  top: -0.2rem;
  font-family: 'DM Serif Display', serif;
  font-size: 5rem;
  line-height: 1;
  color: color-mix(in srgb, var(--primary) 14%, transparent);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.55rem;
  color: var(--white);
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 86%, #ffffff), color-mix(in srgb, var(--accent) 72%, #ffffff));
  box-shadow: 0 10px 18px color-mix(in srgb, var(--primary) 24%, transparent);
}

.step-1 .step-icon {
  background: linear-gradient(145deg, #1db954, #12853d);
}

.step-2 .step-icon {
  background: linear-gradient(145deg, #00a8e1, #1976d2);
}

.step-3 .step-icon {
  background: linear-gradient(145deg, #f4a100, #d97706);
}

.step-icon i {
  font-size: 1.28rem;
}

.how-it-works article p {
  margin: 0;
  color: var(--text-muted);
}

.services-head p {
  max-width: 58ch;
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  gap: 1.2rem;
  margin: 1.1rem 0 1.2rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1.5px solid var(--border-color);
  background: linear-gradient(135deg, var(--white) 0%, var(--surface) 100%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  padding: 2rem 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.14);
  border-color: var(--primary);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: auto -40% -60% -40%;
  height: 140px;
  border-radius: 50%;
  filter: blur(32px);
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-card:hover::after {
  opacity: 0.28;
}

.spotify-glow::after {
  background: #1db954;
}

.netflix-glow::after {
  background: #e50914;
}

.youtube-glow::after {
  background: #ff0000;
}

.amazon-glow::after {
  background: #00a8e1;
}

.service-pill {
  border-radius: 16px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  width: fit-content;
}

.service-card:hover .service-pill {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.service-pill i,
.service-pill .netflix-icon {
  font-size: 1.4rem;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-pill .netflix-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.service-card h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin-bottom: 0.6rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: var(--primary);
}

.service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badges span {
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.01em;
}

.badges span i,
.badges span .netflix-icon {
  font-size: 1rem;
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badges span .netflix-icon {
  width: 1rem;
  height: 1rem;
}

.ticker {
  margin-top: 0.7rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 0.7rem;
  animation: tickerMove 18s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.spotify {
  background: #1db954;
}

.netflix {
  background: #e50914;
}

.youtube {
  background: #ff0000;
}

.amazon {
  background: #00a8e1;
}

#waitlist .container {
  max-width: 560px;
}

.waitlist-emblem {
  perspective: 1000px;
  margin-bottom: 2.5rem;
  animation: emblemFloat 3s ease-in-out infinite;
}

@keyframes emblemFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.emblem-inner {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary) 0%, #0f5a3f 50%, #1B6B4D 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 30px 80px rgba(27, 107, 77, 0.35),
    inset 0 2px 8px rgba(255, 255, 255, 0.15),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(214, 69, 69, 0.15);
  position: relative;
  overflow: hidden;
}

.emblem-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.emblem-inner::before {
  content: '';
  position: absolute;
  inset: -3px;
  padding: 3px;
  background: conic-gradient(from 0deg at 50% 50%, var(--accent), var(--primary), #0f5a3f, var(--accent));
  border-radius: 50%;
  z-index: -1;
  animation: emblemSpin 5s linear infinite;
  opacity: 0.6;
}

@keyframes emblemSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes emblemCountPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.emblem-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 1;
}

.emblem-count {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  margin: -0.4rem 0 -0.5rem;
  font-family: 'DM Serif Display', serif;
  line-height: 1;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.emblem-sublabel {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  font-weight: 500;
  z-index: 1;
}

.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  margin-bottom: 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
}

#waitlistForm {
  background: linear-gradient(180deg, var(--white), var(--surface));
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

#submitBtn {
  width: 100%;
  height: 52px;
  background: var(--navy);
  color: var(--accent);
  border-radius: 12px;
}

#submitBtn:hover {
  background: var(--blue);
}

.error {
  min-height: 1.25rem;
  color: #b42318;
  margin: 0.3rem 0 0;
}

.success {
  background: linear-gradient(135deg, rgba(27, 107, 77, 0.05) 0%, rgba(214, 69, 69, 0.02) 100%);
  border: 2px solid var(--primary);
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(27, 107, 77, 0.15);
  animation: successSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-inner {
  padding: 2rem 1.5rem;
  text-align: center;
}

.success-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #0f5a3f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 15px 40px rgba(27, 107, 77, 0.3);
  animation: iconScale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconScale {
  0% {
    transform: scale(0) rotate(-45deg);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

.success-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
  font-family: 'DM Serif Display', serif;
}

.success-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  font-weight: 500;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

#refLink {
  display: block;
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  text-decoration: none;
  color: var(--primary);
  background: rgba(27, 107, 77, 0.05);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

#refLink:hover {
  background: rgba(27, 107, 77, 0.1);
  border-color: #0f5a3f;
}

.copy-btn {
  border: 2px solid var(--primary);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #0f5a3f 100%);
  min-width: 52px;
  height: 52px;
  font-size: 1.1rem;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(27, 107, 77, 0.3);
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-status {
  min-height: 1.2rem;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 0.55rem;
  font-weight: 600;
}

.referral-section {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(27, 107, 77, 0.1);
  border-radius: 14px;
  padding: 1.2rem;
  margin: 1.2rem 0;
  animation: sectionFade 0.6s ease 0.1s backwards;
}

@keyframes sectionFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.referral-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0 0 0.3rem;
}

.referral-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.success-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(27, 107, 77, 0.1);
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: sectionFade 0.6s ease backwards;
}

.benefit-item:nth-child(2) {
  animation-delay: 0.15s;
}

.benefit-item:nth-child(3) {
  animation-delay: 0.2s;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--primary);
}

.benefit-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 480px) {
  .success-inner {
    padding: 1.5rem 1rem;
  }

  .success-title {
    font-size: 1.5rem;
  }

  .success-icon-wrapper {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .success-benefits {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .copy-row {
    gap: 0.45rem;
  }

  #refLink {
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
  }

  .copy-btn {
    min-width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

.site-footer {
  background:
    radial-gradient(700px 280px at 15% 0%, rgba(26, 115, 232, 0.24), transparent 70%),
    linear-gradient(180deg, #0d1b2a, #0a1524);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 1.25rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.footer-tagline {
  margin: 0.45rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links-wrap {
  display: grid;
  gap: 1rem;
}

.footer-links-group {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-title {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

[data-theme='dark'] .hero {
  background:
    radial-gradient(1200px 640px at 5% -20%, rgba(26, 115, 232, 0.35), transparent 62%),
    radial-gradient(880px 520px at 96% 16%, rgba(244, 161, 0, 0.14), transparent 56%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 16px),
    #081223;
}

[data-theme='dark'] .social-proof {
  color: #17212f;
}

[data-theme='dark'] .service-card {
  background: linear-gradient(165deg, #101f33, #0e1a2d);
}

[data-theme='dark'] .calc-insights {
  background: linear-gradient(180deg, #10223b, #0f1b31);
}

[data-theme='dark'] .calc-bar {
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  margin-top: 1.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-note {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.hidden {
  display: none;
}

.animate-seq {
  opacity: 1;
  transform: none;
  animation: none;
}

.a1 {
  animation-delay: 0.08s;
}

.a2 {
  animation-delay: 0.18s;
}

.a3 {
  animation-delay: 0.28s;
}

.a4 {
  animation-delay: 0.38s;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

@keyframes pulseTick {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) {
  .section {
    padding: 80px 24px;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .how-it-works .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .calc-picker {
    flex-wrap: wrap;
    overflow: visible;
  }

  .how-it-works .steps::before {
    content: '';
    position: absolute;
    left: 8%;
    right: 8%;
    top: 42%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, 0.25), transparent);
    z-index: 0;
  }

  .how-it-works article {
    z-index: 1;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .footer-links-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
