:root {
  --navy: #0d1f3c;
  --navy-mid: #1b3358;
  --teal: #0e8c7e;
  --teal-light: #12b5a3;
  --gold: #c9952a;
  --gold-light: #e8b84b;
  --cream: #f5f0e8;
  --white: #ffffff;
  --gray: #8898aa;
  --light-bg: #f8f7f4;
  --danger: #e05252;
  --success: #1db88a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--light-bg);
  color: #0d1f3c;
  overflow-x: hidden;
  font-size: 18px;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(13, 31, 60, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 149, 42, 0.3);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

/* ── LOGO ──────────────────────────────────────────────────── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
}

.nav-logo-powered {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
  line-height: 1.4;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 12px;
  text-transform: uppercase;
}

.nav-logo-powered strong {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
}

/* ── DESKTOP LINKS ─────────────────────────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: #e8b84b;
  transition:
    left 0.25s,
    right 0.25s;
}

.nav-links a:hover {
  color: #e8b84b;
}

.nav-links a:hover::after {
  left: 0;
  right: 0;
}

/* CTA button */
.nav-cta {
  background: #c9952a !important;
  color: #081528 !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s !important;
  box-shadow: 0 0 0 0 rgba(201, 149, 42, 0);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #e8b84b !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 149, 42, 0.35) !important;
}

/* ── HAMBURGER ─────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.3s,
    opacity 0.3s,
    background 0.2s;
}

.nav-toggle:hover span {
  background: #e8b84b;
}

/* open state */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE DRAWER ─────────────────────────────────────────── */
.nav-drawer {
  display: none;
  /* shown only on mobile */
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(8, 21, 40, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 149, 42, 0.3);
  padding: 1.5rem 6% 2rem;
  flex-direction: column;
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s;
  z-index: 190;
}

.nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s;
}

.nav-drawer a:last-child {
  border-bottom: none;
}

.nav-drawer a:hover {
  color: #e8b84b;
}

.nav-drawer .nav-cta {
  margin-top: 1.2rem;
  text-align: center;
  padding: 13px 22px !important;
  border-radius: 4px;
  border-bottom: none !important;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.1rem;
  }

  .nav-links a {
    font-size: 0.72rem;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-drawer {
    display: flex;
  }
}

@media (max-width: 420px) {
  nav {
    padding: 0 5%;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-logo-powered {
    font-size: 0.65rem;
  }
}

/* ── DEMO CONTENT ──────────────────────────────────────────── */
.demo-hero {
  margin-top: 80px;
  padding: 6rem 8%;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: #0d1f3c;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 50%,
      rgba(14, 140, 126, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 60% at 10% 80%,
      rgba(201, 149, 42, 0.1) 0%,
      transparent 50%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 5% 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 149, 42, 0.15);
  border: 1px solid rgba(201, 149, 42, 0.4);
  color: #e8b84b;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #c9952a;
  border-radius: 50%;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3.2rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 20px;
}

h1 em {
  font-style: normal;
  color: #c9952a;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: #c9952a;
  color: #0d1f3c;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.12rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #e8b84b;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 149, 42, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.12rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

/* HERO STATS */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.stat-card.highlight {
  border-color: rgba(201, 149, 42, 0.5);
  background: rgba(201, 149, 42, 0.08);
}

.stat-num {
  line-height: 1;
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  color: #c9952a;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.4;
}

/* HOW IT WORKS */
.section {
  padding: 130px 5%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-full {
  padding: 130px 5%;
}

.section-tag {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 3.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0d1f3c;
  margin-bottom: 16px;
  line-height: 1.2;
}

.lead {
  font-size: 1.45rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
}

/* HOW SECTION */
.how-bg {
  background: #ffffff;
}

.how-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 5%;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: all 0.2s;
}

.step:last-child {
  border-bottom: none;
}

.step:hover .step-icon {
  background: var(--teal);
  color: white;
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(14, 140, 126, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all 0.2s;
}

.step-title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: #0d1f3c;
}

.step-desc {
  font-size: 1.02rem;
  color: var(--gray);
  line-height: 1.75;
  line-height: 1.7;
}

.comparison-visual {
  background: #0d1f3c;
  border-radius: 16px;
  padding: 32px;
}

.comp-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.comp-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.comp-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.comp-bar-wrap {
  flex: 1;
  margin: 0 16px;
  display: flex;
  align-items: center;
}

.comp-bar-bg {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.comp-bar {
  height: 100%;
  border-radius: 4px;
}

.comp-pct {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.15rem;
  width: 36px;
  text-align: right;
}

.rate-breakdown {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rate-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rate-name {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
}

.rate-val {
  font-weight: 700;
  font-size: 1.08rem;
}

.rate-val.bad {
  color: var(--danger);
}

.rate-val.good {
  color: var(--success);
}

.rate-val.neutral {
  color: rgba(255, 255, 255, 0.5);
}

/* CALCULATOR */
.calc-bg {
  background: #0d1f3c;
}

.calc-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 5%;
}

.calc-header {
  text-align: center;
  margin-bottom: 60px;
}

.calc-header h2 {
  color: #ffffff;
  line-height: 1.2;
}

.calc-header .lead {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.calc-inputs {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px;
}

.calc-inputs h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.input-group {
  margin-bottom: 36px;
}

.input-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

.input-wrap {
  position: relative;
}

.input-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  pointer-events: none;
}

.calc-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-family: "DM Sans", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 15px 18px 15px 40px;
  transition: border-color 0.2s;
  appearance: textfield;
  -moz-appearance: textfield;
}

.calc-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.calc-input:focus {
  outline: none;
  border-color: var(--teal-light);
}

.calc-slider-wrap {
  margin-top: 8px;
}

.calc-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c9952a;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201, 149, 42, 0.5);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.slider-labels span {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.05rem;
}

/* RESULTS */
.calc-results {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-hero {
  background: linear-gradient(
    135deg,
    rgba(14, 140, 126, 0.2) 0%,
    rgba(12, 181, 163, 0.1) 100%
  );
  border: 1px solid rgba(14, 140, 126, 0.4);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.result-hero-label {
  color: var(--teal-light);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.result-hero-num {
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 8px;
}

.result-hero-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.02rem;
}

.result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.result-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
}

.result-card-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.result-card-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
}

.result-card-num.positive {
  color: var(--success);
}

.result-card-num.negative {
  color: var(--danger);
}

.result-card-num.neutral {
  color: #ffffff;
}

.result-card-sub {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  margin-top: 4px;
}

/* STOP LOSS SECTION */
.stopstoss-box {
  background: rgba(201, 149, 42, 0.08);
  border: 1px solid rgba(201, 149, 42, 0.35);
  border-radius: 16px;
  padding: 28px;
}

.stoploss-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8b84b;
  font-weight: 700;
  font-size: 1.12rem;
  margin-bottom: 16px;
}

.stoploss-icon {
  font-size: 1.2rem;
}

.stoploss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

/* .sl-item {
} */

.sl-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sl-val {
  color: #e8b84b;
  font-weight: 700;
  font-size: 1.4rem;
}

.sl-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
  line-height: 1.5;
}

/* SAVINGS OVER TIME */
.projection-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 40px;
}

.projection-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.projection-bars {
  display: flex;
  gap: 0;
  align-items: flex-end;
  height: 220px;
}

.proj-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
}

.proj-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 8px;
  transition: height 0.5s ease;
}

.proj-year {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 6px;
}

.proj-amt {
  color: var(--teal-light);
  font-size: 1.3rem;
  font-weight: 800;
  white-space: nowrap;
  margin-bottom: 4px;
}

/* BENEFITS */
.benefits-bg {
  background: #ffffff;
}

.benefits-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 5%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.benefit-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 36px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(14, 140, 126, 0.3);
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0;
  transition: opacity 0.3s;
}

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

.benefit-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.benefit-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #0d1f3c;
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 1.02rem;
  color: var(--gray);
  line-height: 1.65;
  line-height: 1.7;
}

/* FAQ */
.faq-bg {
  background: var(--light-bg);
}

.faq-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 130px 5%;
}

.faq-inner h2 {
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.2;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-q {
  font-size: 1.2rem;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d1f3c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-q:hover {
  color: var(--teal);
}

.faq-arrow {
  color: var(--teal);
  font-size: 1.2rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 0 0 28px;
  font-size: 1.15rem;
  color: var(--gray);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  display: block;
}

.faq-item.open .faq-arrow {
  transform: rotate(45deg);
}

/* CTA */
.cta-section {
  background: #0d1f3c;
  padding: 130px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 50% 50%,
    rgba(14, 140, 126, 0.2) 0%,
    transparent 70%
  );
}

.cta-section h2 {
  color: #ffffff;
  position: relative;
  z-index: 1;
  line-height: 1.2;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.6);
  margin: 16px auto 36px;
  max-width: 480px;
  position: relative;
  z-index: 1;
}

.cta-section .btn-primary {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  padding: 16px 40px;
}

/* FOOTER */
footer {
  background: #080f1d;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  padding: 32px;
  font-size: 1rem;
}

footer span {
  color: #c9952a;
}

/* PHARMACY SECTION */
.pharma-bg {
  background: #0d1f3c;
  position: relative;
  overflow: hidden;
}

.pharma-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 70% at 20% 50%,
      rgba(201, 149, 42, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 50% at 85% 20%,
      rgba(14, 140, 126, 0.12) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.pharma-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 130px 5%;
  position: relative;
  z-index: 1;
}

.pharma-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}

.pharma-top h2 {
  color: #ffffff;
  line-height: 1.2;
}

.pharma-top .lead {
  color: rgba(255, 255, 255, 0.6);
}

.pbm-problems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}

.pbm-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 36px;
}

.pbm-card-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pbm-card-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #e8b84b;
  margin-bottom: 6px;
}

.pbm-card-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
}

.pharma-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pharma-flow {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 24px;
}

.pharma-flow-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.flow-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flow-node {
  flex: 1;
  text-align: center;
  padding: 22px 14px;
}

.flow-icon {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.flow-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.flow-sublabel {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

.flow-arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 2rem;
  flex-shrink: 0;
}

.flow-arrow.bad {
  color: #e05252;
}

.flow-arrow.good {
  color: var(--success);
}

.flow-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

.rebate-highlight {
  background: linear-gradient(
    135deg,
    rgba(14, 140, 126, 0.15),
    rgba(201, 149, 42, 0.1)
  );
  border: 1px solid rgba(14, 140, 126, 0.35);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.rebate-highlight-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.rebate-highlight-text strong {
  display: block;
  color: var(--teal-light);
  font-size: 1.2rem;
  margin-bottom: 3px;
}

.rebate-highlight-text span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05rem;
  line-height: 1.5;
}

.conflict-box {
  background: rgba(224, 82, 82, 0.08);
  border: 1px solid rgba(224, 82, 82, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
}

.conflict-box-title {
  color: #e05252;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.conflict-box p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.05rem;
  line-height: 1.75;
}

.pharma-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pharma-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 40px 24px;
  text-align: center;
  transition: all 0.25s;
}

.pharma-stat:hover {
  border-color: rgba(201, 149, 42, 0.35);
  background: rgba(201, 149, 42, 0.06);
}

.pharma-stat-num {
  font-family: "Playfair Display", serif;
  font-size: 3.6rem;
  font-weight: 900;
  color: #c9952a;
  margin-bottom: 6px;
}

.pharma-stat-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Pharmacy rebate in calculator */
.result-card.pharma-rebate {
  border-color: rgba(201, 149, 42, 0.4);
  background: rgba(201, 149, 42, 0.07);
}

.result-card.pharma-rebate .result-card-num {
  color: #e8b84b;
}

.projection-box {
  width: 100%;
  box-sizing: border-box;
}

.projection-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 240px;
  gap: 12px;
  min-width: 150px;
}

.proj-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.proj-bar {
  width: 100%;
  max-width: 60px;
}

.proj-amt {
  font-size: 0.8rem;
  margin-bottom: 6px;
  color: #12b5a3;
  font-weight: 700;
}

.proj-year {
  margin-top: 6px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.projection-note {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.05rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 60px;
}

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

.lift-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

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

@media (max-width: 679px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 679px) {
  .lift-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 886px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 679px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

/* Handle screens smaller than 350px */
@media (max-width: 350px) {
  .projection-box {
    overflow-x: auto;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .pharma-top {
    grid-template-columns: 1fr;
  }

  .calc-inner {
    padding: 70px 5%;
  }
}

@media (max-width: 720px) {
  .pharma-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 687px) {
  .flow-row {
    flex-direction: column;
    align-items: center;
  }

  .flow-node {
    width: 100%;
    padding: 16px 14px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    font-size: 1.6rem;
  }
}

@media (max-width: 900px) {
  .hero-content,
  .how-grid,
  .calc-layout,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nav-links {
    display: none;
  }

  .result-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stoploss-grid {
    grid-template-columns: 1fr;
  }

  .result-cards {
    grid-template-columns: 1fr;
  }
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeUp 0.7s ease both;
}

.hero-content > *:nth-child(2) {
  animation-delay: 0.15s;
}

/* ── CVRD CHATBOT ────────────────────────────────────────── */

#cvrd-launcher {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e8c7e, #c9952a);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 32px rgba(14, 140, 126, 0.45),
    0 2px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

#cvrd-launcher:hover {
  transform: scale(1.08);
  box-shadow:
    0 12px 40px rgba(14, 140, 126, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.3);
}

#cvrd-launcher::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(14, 140, 126, 0.4);
  animation: cvrd-pulse 2.5s ease-out infinite;
}

@keyframes cvrd-pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

#cvrd-tooltip {
  position: fixed;
  bottom: 106px;
  right: 32px;
  z-index: 9998;
  background: #0d1f3c;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(201, 149, 42, 0.3);
  white-space: nowrap;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#cvrd-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 28px;
  width: 10px;
  height: 10px;
  background: #0d1f3c;
  border-right: 1px solid rgba(201, 149, 42, 0.3);
  border-bottom: 1px solid rgba(201, 149, 42, 0.3);
  transform: rotate(45deg);
}

#cvrd-chat {
  position: fixed;
  bottom: 110px;
  right: 32px;
  z-index: 9998;
  width: 400px;
  max-height: 620px;
  border-radius: 20px;
  background: #0d1f3c;
  border: 1px solid rgba(201, 149, 42, 0.25);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(14, 140, 126, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
}

#cvrd-chat.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.cvrd-header {
  background: linear-gradient(135deg, #0e3a52 0%, #0d1f3c 100%);
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(201, 149, 42, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cvrd-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0e8c7e, #c9952a);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(14, 140, 126, 0.4);
}

.cvrd-header-info {
  flex: 1;
}

.cvrd-header-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.cvrd-header-status {
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  color: #12b5a3;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.cvrd-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b5a3;
  animation: cvrd-blink 2s ease-in-out infinite;
}

@keyframes cvrd-blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.cvrd-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 140, 126, 0.3) transparent;
}

.cvrd-messages::-webkit-scrollbar {
  width: 4px;
}

.cvrd-messages::-webkit-scrollbar-thumb {
  background: rgba(14, 140, 126, 0.3);
  border-radius: 2px;
}

.cvrd-msg {
  display: flex;
  gap: 10px;
  max-width: 92%;
  animation: cvrd-fadein 0.3s ease;
}

@keyframes cvrd-fadein {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cvrd-msg.bot {
  align-self: flex-start;
}

.cvrd-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.cvrd-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.cvrd-msg.bot .cvrd-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
  border-radius: 4px 16px 16px 16px;
}

.cvrd-msg.user .cvrd-bubble {
  background: linear-gradient(135deg, #0e8c7e, #0a7066);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
}

.cvrd-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px 16px 16px 16px;
  width: fit-content;
}

.cvrd-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  animation: cvrd-bounce 1.2s ease-in-out infinite;
}

.cvrd-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.cvrd-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes cvrd-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-6px);
    background: #12b5a3;
  }
}

.cvrd-input-area {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
}

.cvrd-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.cvrd-input-area input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cvrd-input-area input:focus {
  border-color: rgba(14, 140, 126, 0.6);
}

.cvrd-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e8c7e, #0a7066);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}

.cvrd-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(14, 140, 126, 0.4);
}

.cvrd-send svg {
  width: 18px;
  height: 18px;
}

.cvrd-footer {
  text-align: center;
  padding: 8px 16px 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  #cvrd-chat {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
  }

  #cvrd-launcher {
    right: 16px;
    bottom: 20px;
  }

  #cvrd-tooltip {
    right: 16px;
    bottom: 94px;
  }
}

/* ═══ EMAIL GATE INJECTION ═══════════════════════════════════════ */

#results-gate-wrapper {
  position: relative;
}

#results-gate-wrapper.locked #results {
  filter: blur(4px) brightness(0.5);
  pointer-events: none;
  user-select: none;
  transition: filter 0.55s ease;
}

#results-gate-wrapper.unlocked #results {
  filter: none;
  pointer-events: all;
  transition: filter 0.6s ease;
}

#proj-container.gate-locked {
  filter: blur(4px) brightness(0.5);
  pointer-events: none;
  user-select: none;
  transition: filter 0.55s ease;
}

#proj-container.gate-unlocked {
  filter: none;
  pointer-events: all;
  transition: filter 0.6s ease;
}

.gate-overlay {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.4s ease;
}

#results-gate-wrapper.unlocked .gate-overlay {
  opacity: 0;
  pointer-events: none;
}

.gate-card {
  background: rgba(10, 22, 48, 0.95);
  border: 1px solid rgba(201, 149, 42, 0.45);
  border-radius: 20px;
  padding: 36px 40px;
  text-align: center;
  max-width: 340px;
  width: 100%;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(14, 140, 126, 0.15);
  backdrop-filter: blur(16px);
}

.gate-card-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.gate-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.gate-card p {
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.65;
  margin-bottom: 22px;
}

.gate-card .gate-cta {
  display: inline-block;
  background: rgba(201, 149, 42, 0.13);
  border: 1px solid rgba(201, 149, 42, 0.38);
  color: #e8b84b;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 22px;
  border-radius: 8px;
  text-transform: uppercase;
  cursor: default;
  animation: gate-pulse 2.4s ease-in-out infinite;
}

@keyframes gate-pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.55;
  }
}

#email.input-error {
  border-color: #e05252 !important;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.18) !important;
}

.email-error-msg {
  display: none;
  color: #e05252;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: 500;
}

.email-error-msg.visible {
  display: block;
}

@keyframes cvrd-shake {
  0%,
  100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-7px);
  }

  30% {
    transform: translateX(7px);
  }

  45% {
    transform: translateX(-5px);
  }

  60% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }

  90% {
    transform: translateX(3px);
  }
}

.shake {
  animation: cvrd-shake 0.42s ease;
}
