/* ===========================
   MisCalculadoras.com.mx
   styles.css — Fintech Minimal
   =========================== */

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

:root {
  /* Colors */
  --clr-bg: #f7f8fa;
  --clr-surface: #ffffff;
  --clr-surface-2: #f0f1f4;
  --clr-border: #e4e6eb;
  --clr-border-dark: #c9cdd8;

  /* TEXT (mejor contraste) */
  --clr-text: #0d0f14;
  --clr-text-muted: #4b5563;
  --clr-text-light: #9ca3af;

  /* PRIMARY (verde base) */
  --clr-accent: #00b96b;
  --clr-accent-dark: #009958;
  --clr-accent-light: #e8faf3;

  /* NUEVO: CTA más agresivo */
  --clr-cta: #16a34a;
  --clr-cta-dark: #15803d;

  /* SECUNDARIO (azul ahora sí útil) */
  --clr-accent-2: #1a56db;
  --clr-accent-2-light: #eff4ff;

  /* OTROS */
  --clr-danger: #ef4444;
  --clr-warning: #f59e0b;
  --clr-dark: #0d0f14;
  --clr-dark-2: #1a1d27;

  /* Typography */
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Courier New', Courier, monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-accent: 0 4px 20px rgba(0, 185, 107, .25);

  /* Transitions */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- UTILITIES --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
}

.navbar {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.logo-icon {
  font-size: 22px;
  color: var(--clr-accent);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--clr-text);
}

.logo-text strong {
  font-weight: 800;
}

.logo-domain {
  color: var(--clr-accent);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--clr-text);
}

.nav-cta {
  margin-left: var(--space-md);
  padding: 9px 20px;
  background: var(--clr-dark);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.nav-cta:hover {
  background: var(--clr-dark-2);
  transform: translateY(-1px);
}

a {
  color: var(--clr-accent-2);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: #0f3fbf;
  text-decoration: underline;
}

/* --- HERO --- */
.hero {
  position: relative;
  padding: 80px 0 72px;
  background: var(--clr-dark);
  color: #fff;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,185,107,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,185,107,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0,185,107,0.12);
  border: 1px solid rgba(0,185,107,0.3);
  color: #6effc0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  color: #f0f4ff;
}

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

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.62);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* --- CALCULATOR SECTION --- */
.calculator-section {
  padding: var(--space-3xl) 0;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.calc-panel {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.panel-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.panel-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-accent);
  background: var(--clr-accent-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.08em;
  border: 1px solid rgba(0,185,107,0.2);
}

.panel-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}

/* FORM */
.form-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.input-group {
  position: relative;
}

.input-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
  position: relative;
}

.input-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clr-border);
  font-size: 10px;
  font-weight: 700;
  color: var(--clr-text-muted);
  cursor: help;
  flex-shrink: 0;
}

.tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  background: var(--clr-dark);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  width: 240px;
  line-height: 1.5;
  box-shadow: var(--shadow-lg);
  pointer-events: none;
}

.input-help:hover + .tooltip,
.input-help:focus + .tooltip {
  display: block;
}

.input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

.input-wrapper:focus-within {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(0,185,107,0.12);
}

.input-wrapper.error {
  border-color: var(--clr-danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.12);
}

.input-prefix,
.input-suffix {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-surface-2);
  padding: 12px 14px;
  border-right: 1px solid var(--clr-border);
  white-space: nowrap;
  user-select: none;
}

.input-suffix {
  border-right: none;
  border-left: 1px solid var(--clr-border);
}

.input-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-text);
  background: transparent;
  font-family: inherit;
  min-width: 0;
}

.input-field::placeholder {
  color: var(--clr-text-light);
  font-weight: 400;
}

.input-field::-webkit-outer-spin-button,
.input-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-field[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.field-error {
  display: block;
  font-size: 12px;
  color: var(--clr-danger);
  margin-top: var(--space-xs);
  min-height: 16px;
  font-weight: 500;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--clr-cta), var(--clr-accent));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(22,163,74,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--clr-cta-dark), var(--clr-accent-dark));
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(22,163,74,0.35);
}

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

.btn-calcular {
  width: 100%;
  font-size: 16px;
  padding: 16px 28px;
}

.btn-icon {
  font-size: 18px;
  transition: transform var(--transition);
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 12px 24px;
  background: transparent;
  color: var(--clr-text-muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid var(--clr-border);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--clr-text-muted);
  color: var(--clr-text);
  background: var(--clr-surface-2);
}

.btn-recalcular {
  width: 100%;
  margin-top: var(--space-md);
}

.calc-disclaimer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--clr-text-light);
  margin-top: var(--space-md);
}

/* RESULTS */
.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-lg);
  padding: var(--space-2xl) var(--space-xl);
  min-height: 320px;
}

.placeholder-icon {
  color: var(--clr-border-dark);
  opacity: 0.5;
}

.placeholder-text {
  font-size: 15px;
  color: var(--clr-text-muted);
  max-width: 260px;
  line-height: 1.6;
}

.result-total {
  background: linear-gradient(135deg, #0d0f14 0%, #1a1d27 100%);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  margin-bottom: var(--space-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,185,107,0.2);
}

.result-total::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(0,185,107,0.08);
  pointer-events: none;
}

.result-total-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.result-total-amount {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--clr-accent);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.result-total-currency {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

.result-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--space-lg);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition);
  gap: var(--space-md);
}

.breakdown-item:last-child {
  border-bottom: none;
}

.breakdown-item:hover {
  background: var(--clr-surface-2);
}

.breakdown-total-row {
  background: var(--clr-surface-2);
  font-weight: 700;
}

.breakdown-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.breakdown-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
}

.breakdown-total-row .breakdown-label {
  font-size: 15px;
}

.breakdown-detail {
  font-size: 12px;
  color: var(--clr-text-light);
}

.breakdown-amount {
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-accent);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.breakdown-grand {
  font-size: 18px;
  font-weight: 800;
}

/* AFFILIATE CTA */
.affiliate-cta {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
  border: 1px solid rgba(0,185,107,0.25);
  background: var(--clr-accent-light);
  flex-wrap: wrap;
}

.affiliate-cta-text p {
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.affiliate-cta-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--clr-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-affiliate {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--clr-cta), var(--clr-accent));
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 6px 20px rgba(22,163,74,0.25);
}

.btn-affiliate:hover {
  background: linear-gradient(135deg, var(--clr-cta-dark), var(--clr-accent-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(22,163,74,0.35);
}

/* ANIMATION */
@keyframes slide-up-fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.results-content {
  animation: slide-up-fade 0.45s ease both;
}

.breakdown-item {
  opacity: 0;
  animation: slide-up-fade 0.4s ease forwards;
}

.breakdown-item:nth-child(1) { animation-delay: 0.1s; }
.breakdown-item:nth-child(2) { animation-delay: 0.18s; }
.breakdown-item:nth-child(3) { animation-delay: 0.26s; }
.breakdown-item:nth-child(4) { animation-delay: 0.34s; }

/* When results shown, re-trigger */
.results-content .breakdown-item {
  opacity: 1;
}

/* --- MONETIZATION STRIP --- */
.monetization-strip {
  padding: var(--space-3xl) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--clr-text-light);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.strip-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}

.strip-subtitle {
  font-size: 16px;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-xl);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.product-card:hover {
  border-color: var(--clr-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-card-featured {
  border-color: var(--clr-accent);
  background: linear-gradient(160deg, var(--clr-accent-light) 0%, #fff 60%);
  box-shadow: var(--shadow-md);
}

.product-featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clr-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.product-card-icon {
  font-size: 32px;
}

.product-card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-card-desc {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.6;
  flex: 1;
}

.product-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--clr-surface-2);
  color: var(--clr-text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.product-card-badge-green {
  background: var(--clr-accent-light);
  color: var(--clr-accent-dark);
}

.btn-product {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-text);
  transition: all var(--transition);
  text-decoration: none;
  margin-top: auto;
}

.btn-product:hover {
  border-color: var(--clr-accent-2);
  color: var(--clr-accent-2);
  background: var(--clr-accent-2-light);
}

/* FEATURED */
.btn-product-featured {
  background: linear-gradient(135deg, var(--clr-cta), var(--clr-accent));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(22,163,74,0.25);
}

.btn-product-featured:hover {
  background: linear-gradient(135deg, var(--clr-cta-dark), var(--clr-accent-dark));
  box-shadow: 0 10px 30px rgba(22,163,74,0.35);
}

/* --- CONTENT SECTION --- */
.content-section {
  padding: var(--space-3xl) 0;
}

.section-header {
  margin-bottom: var(--space-2xl);
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  background: var(--clr-accent-light);
  border: 1px solid rgba(0,185,107,0.25);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.section-subtitle {
  font-size: 16px;
  color: var(--clr-text-muted);
  max-width: 600px;
  line-height: 1.6;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.content-article {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.content-article-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--clr-text);
}

.content-article p {
  font-size: 15px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.content-article p:last-child {
  margin-bottom: 0;
}

.content-article p strong {
  color: var(--clr-text);
  font-weight: 700;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.content-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.list-icon {
  color: var(--clr-accent);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.content-list li div {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.content-list li div strong {
  color: var(--clr-text);
  font-weight: 700;
}

/* FORMULA BOX */
.formula-box {
  background: var(--clr-dark);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.formula-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.formula-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.formula-total {
  padding-top: var(--space-sm);
}

.formula-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
}

.formula-eq {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #6effc0;
  line-height: 1.4;
}

.formula-total .formula-eq {
  color: var(--clr-accent);
  font-weight: 700;
  font-size: 14px;
}

/* --- FAQ --- */
.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 860px;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-text);
  background: var(--clr-surface);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.faq-question:hover {
  background: var(--clr-surface-2);
  color: var(--clr-accent);
}

.faq-question[aria-expanded="true"] {
  color: var(--clr-accent);
  background: var(--clr-accent-light);
}

.faq-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
  background: var(--clr-accent-light);
  border-top: 1px solid rgba(0,185,107,0.12);
}

.faq-answer p {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.7;
  padding-top: var(--space-md);
}

.faq-answer p strong {
  color: var(--clr-text);
}

/* --- CTA BANNER --- */
.cta-banner {
  padding: var(--space-3xl) 0;
  background: var(--clr-dark);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,185,107,0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

.cta-banner-title span {
  color: var(--clr-accent);
  font-style: italic;
}

.cta-banner-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.45);
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.btn-banner {
  min-width: 220px;
}

.btn-banner-sec {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  min-width: 220px;
}

.btn-banner-sec:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* --- FOOTER --- */
.site-footer {
  background: var(--clr-dark-2);
  padding: var(--space-2xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-md);
}

.site-footer .logo-text {
  color: rgba(255,255,255,0.85);
}

.site-footer .logo-icon {
  color: var(--clr-accent);
}

.footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  max-width: 300px;
}

.footer-nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-md);
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-link:hover {
  color: rgba(255,255,255,0.9);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-copy,
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 28px;
    --space-2xl: 48px;
    --space-3xl: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 56px 0 56px;
  }

  .hero-stats {
    gap: var(--space-lg);
  }

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

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-banner-actions {
    width: 100%;
  }

  .btn-banner,
  .btn-banner-sec {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .calc-panel {
    padding: var(--space-lg);
  }

  .faq-question {
    padding: var(--space-md) var(--space-lg);
    font-size: 14px;
  }

  .faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
  }

  .affiliate-cta {
    flex-direction: column;
  }

  .btn-affiliate {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .stat-num {
    font-size: 18px;
  }
}

/* --- FOCUS VISIBLE (accessibility) --- */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

/* --- SELECTION --- */
::selection {
  background: var(--clr-accent);
  color: #fff;
}
