:root {
  --navy: #0b2240;
  --navy-dark: #071a33;
  --gold: #c99a3a;
  --gold-light: #e6c374;
  --gold-dark: #8a6a1a;
  --ink: #1c1f26;
  --muted: #5b6472;
  --bg-soft: #f6f7fb;
  --border: #e4e7ee;
  --radius: 12px;
  --shadow: 0 12px 30px rgba(11, 34, 64, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 200;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

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

::selection { background: var(--gold); color: var(--navy-dark); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

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

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}

@keyframes floatGlowReverse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 0 rgba(201,154,58,0.4); }
  50% { box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 0 8px rgba(201,154,58,0); }
}

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

header.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(11,34,64,0.1);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  max-width: 1360px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand .dot { color: var(--gold); }

nav.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s ease;
  white-space: nowrap;
}

nav.main-nav a:hover { color: var(--navy); }

nav.main-nav > ul > li > a {
  position: relative;
}

nav.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

nav.main-nav > ul > li > a:hover::after { width: 100%; }

nav.main-nav li.has-dropdown {
  position: relative;
}

nav.main-nav .dropdown-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.2s ease;
}

nav.main-nav .dropdown-label:hover { color: var(--navy); }

nav.main-nav .dropdown-label::after {
  content: "▾";
  font-size: 0.7rem;
  color: var(--muted);
}

nav.main-nav .dropdown-menu {
  display: block;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 10px;
  list-style: none;
  margin: 12px 0 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

nav.main-nav li.has-dropdown:hover .dropdown-menu,
nav.main-nav li.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav.main-nav .dropdown-menu li { margin: 0; }

nav.main-nav .dropdown-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

nav.main-nav .dropdown-menu a:hover { background: var(--bg-soft); color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 84px 0 96px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  background: var(--gold);
  top: -140px;
  right: -100px;
  animation: floatGlow 14s ease-in-out infinite;
}

.hero::after {
  width: 360px;
  height: 360px;
  background: #3a6bd6;
  bottom: -160px;
  left: -80px;
  animation: floatGlowReverse 16s ease-in-out infinite;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(230, 195, 116, 0.15);
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.2;
  margin: 0 0 20px;
  background: linear-gradient(90deg, #ffffff 30%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 0.8s ease 0.08s both;
}

.hero p.lead {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 0 28px;
  animation: fadeInUp 0.8s ease 0.18s both;
}

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
  display: inline-block;
  position: relative;
  overflow: hidden;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); }

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-primary:hover::after { left: 130%; }

.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { border-color: #fff; }

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats div {
  animation: fadeInUp 0.7s ease both;
}

.hero-stats div:nth-child(1) { animation-delay: 0.42s; }
.hero-stats div:nth-child(2) { animation-delay: 0.54s; }
.hero-stats div:nth-child(3) { animation-delay: 0.66s; }

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold-light);
}

.hero-stats div span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}

.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 24px 60px rgba(11,34,64,0.35);
  animation: fadeInUp 0.9s ease 0.25s both;
}

.hero-card h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.hero-card ul { padding-left: 18px; margin: 0; }
.hero-card li { margin-bottom: 10px; font-size: 0.94rem; color: var(--muted); }

/* Sections */
section { padding: 76px 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head .eyebrow { background: rgba(11,34,64,0.06); color: var(--navy); }

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  margin: 0 0 12px;
}

.section-head p { color: var(--muted); margin: 0; }

.bg-soft { background: var(--bg-soft); }

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

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

.card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

a.card:hover {
  box-shadow: 0 18px 40px rgba(11,34,64,0.14), 0 0 0 1px rgba(201,154,58,0.3);
  transform: translateY(-6px);
  border-color: rgba(201,154,58,0.35);
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,154,58,0.18), rgba(201,154,58,0.06));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

a.card:hover .icon { transform: scale(1.1) rotate(-6deg); }

.card h3 { margin: 0 0 10px; font-size: 1.05rem; color: var(--navy); }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Plans */
.plan-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(11,34,64,0.06);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Why choose us list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.check-list li:last-child { border-bottom: none; }
.check-list strong { color: var(--ink); }
.check-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.cross-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-dark);
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}

.pros-cons-grid h4 {
  color: var(--navy);
  font-size: 0.95rem;
  margin: 0 0 4px;
}

@media (max-width: 640px) {
  .pros-cons-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover { border-color: rgba(201,154,58,0.35); }
.faq-item.open { box-shadow: 0 10px 26px rgba(11,34,64,0.08); }

.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 22px;
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.93rem;
  transition: max-height 0.25s ease, padding 0.25s ease;
}

.faq-item.open .faq-answer {
  padding: 0 22px 20px;
  max-height: 320px;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-toggle { transition: transform 0.2s ease; font-size: 1.2rem; color: var(--gold); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(80px);
  opacity: 0.25;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-band > * { position: relative; z-index: 1; }

.cta-band h2 { margin: 0 0 14px; font-size: 1.7rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0 0 26px; }

/* Footer */
footer.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 16px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1420px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 20px; }
}

nav.main-nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

nav.main-nav.open ul {
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 1420px) {
  nav.main-nav .dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding: 6px 0 0 14px;
    margin: 10px 0 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  nav.main-nav li.has-dropdown.open .dropdown-menu { display: block; }
  nav.main-nav .dropdown-label::after { content: "▾"; }
}

/* Interior page hero (about/contact/blog/plan/module pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 56px 0 64px;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--gold);
  filter: blur(90px);
  opacity: 0.24;
  top: -140px;
  right: -80px;
  z-index: 0;
  animation: floatGlow 16s ease-in-out infinite;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .breadcrumb { animation: fadeInUp 0.5s ease both; }

.page-hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin: 14px 0 12px;
  animation: fadeInUp 0.7s ease 0.08s both;
}

.page-hero p.lead {
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0;
  font-size: 1.02rem;
  animation: fadeInUp 0.7s ease 0.18s both;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }

/* Article / prose content */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { color: var(--navy); font-size: 1.4rem; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--navy); font-size: 1.15rem; margin: 28px 0 10px; }
.prose p { color: var(--muted); margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }

/* Bullet lists (not the checkmark-based pros/cons/benefits lists) */
.prose ul:not(.check-list) {
  list-style: none;
  padding-left: 0;
  margin: 0 0 16px;
}
.prose ul:not(.check-list) li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}
.prose ul:not(.check-list) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* Numbered step timeline (How it works / typical workflow) */
.prose ol {
  list-style: none;
  counter-reset: step-counter;
  padding-left: 0;
  margin: 0 0 28px;
}
.prose ol li {
  counter-increment: step-counter;
  position: relative;
  padding: 2px 0 2px 54px;
  margin-bottom: 24px;
  color: var(--muted);
  min-height: 34px;
}
.prose ol li:last-child { margin-bottom: 0; }
.prose ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(11,34,64,0.25);
}
.prose ol li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  width: 2px;
  height: calc(100% + 10px);
  background: var(--border);
}

/* Two-column detail layout for plan/module pages */
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.side-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 96px;
}

.side-card h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.side-card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.side-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.side-card li:last-child { border-bottom: none; }
.side-card li a { font-weight: 600; color: var(--ink); }
.side-card li a:hover { color: var(--navy); }
.side-card li a.active { color: var(--gold-dark); }

/* Comparison table */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 0.9rem;
}
.plan-table th, .plan-table td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  transition: background 0.15s ease;
}
.plan-table th { background: var(--bg-soft); color: var(--navy); }
.plan-table tr:hover td { background: rgba(201,154,58,0.06); }

.prose img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.prose img:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 45px rgba(11,34,64,0.18);
}

/* Blog cards */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.blog-card:hover {
  box-shadow: 0 18px 40px rgba(11,34,64,0.12);
  transform: translateY(-4px);
  border-color: rgba(201,154,58,0.3);
}
.blog-card .blog-date { font-size: 0.8rem; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { margin: 0; color: var(--navy); font-size: 1.1rem; }
.blog-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.blog-card .read-more { font-weight: 700; color: var(--navy); font-size: 0.88rem; margin-top: auto; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--ink); }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
}
.form-field textarea { resize: vertical; min-height: 120px; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: none; }
.info-list strong { display: block; color: var(--navy); font-size: 0.92rem; }
.info-list span { color: var(--muted); font-size: 0.88rem; }

@media (max-width: 900px) {
  .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

/* Commission calculator */
.calc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calc-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.calc-tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.calc-tab-btn:hover { color: var(--navy); }

.calc-tab-btn.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  background: #fff;
}

.calc-panel { display: none; padding: 32px; }
.calc-panel.active { display: block; }

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-field label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
  background: #fff;
  color: var(--ink);
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,154,58,0.15);
}

.calc-result {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.calc-result .label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.calc-result .amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
}

.calc-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 14px 16px;
}

@media (max-width: 640px) {
  .calc-tabs { flex-direction: column; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-panel { padding: 22px; }
}

.calc-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.calc-summary-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
}

.calc-summary-card .s-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 6px;
}

.calc-summary-card .s-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.calc-bar {
  display: flex;
  width: 100%;
  height: 38px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--border);
}

.calc-bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.3s ease;
}

/* Floating demo CTA */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 22px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 80;
  animation: pulseGlow 3.5s ease-in-out infinite;
}

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

.floating-cta:hover { background: var(--gold-light); }

@media (max-width: 640px) {
  .floating-cta { right: 16px; bottom: 16px; padding: 12px 18px; font-size: 0.82rem; }
}
