/* ========================================
   Solvaya — Marketing Theme
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'DM Sans', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Light theme */
  --color-primary: #3B6FE0;
  --color-primary-light: #5B8AF0;
  --color-primary-dark: #2A54B0;
  --color-accent: #16A34A;
  --color-accent-light: #22C55E;
  --color-danger: #E04B4B;
  --color-danger-light: #F87171;
  --color-warning: #F59E0B;

  --bg-body: #FFFAF5;
  --bg-surface: #FFFFFF;
  --bg-muted: #F5F0EB;
  --bg-card: #FFFFFF;
  --border-color: #E5DDD5;
  --text-primary: #1A1410;
  --text-secondary: #6B6258;
  --text-muted: #9C9388;
  --text-inverse: #FFFAF5;

  --shadow-sm: 0 1px 2px rgba(26, 20, 16, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 20, 16, 0.08);
  --shadow-lg: 0 8px 30px rgba(26, 20, 16, 0.1);
  --shadow-xl: 0 20px 60px rgba(26, 20, 16, 0.12);

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

.dark {
  --color-primary: #5B8AF0;
  --color-primary-light: #7BA6FF;
  --color-primary-dark: #3B6FE0;

  --bg-body: #0B1121;
  --bg-surface: #111827;
  --bg-muted: #1E293B;
  --bg-card: #1E293B;
  --border-color: #2D3A4E;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0B1121;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Utility */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-primary);
}
.nav-logo svg {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    width: 100%;
  }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { color: var(--color-primary); background: var(--bg-muted); }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(59, 111, 224, 0.3);
}
.btn-primary:hover {
  background: var(--color-primary-light);
  box-shadow: 0 6px 20px rgba(59, 111, 224, 0.4);
}
.btn-accent {
  background: var(--color-accent);
  color: white;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}
.btn-accent:hover {
  background: var(--color-accent-light);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* Sections */
.section {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.6s; }

/* Calculator */
.calculator {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
@media (max-width: 768px) {
  .calculator { padding: 28px 20px; }
}
.calc-row {
  margin-bottom: 28px;
}
.calc-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.calc-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.calc-input:focus {
  border-color: var(--color-primary);
}
.calc-input::-webkit-inner-spin-button,
.calc-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-input[type=number] {
  -moz-appearance: textfield;
}
.calc-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border-color);
  border-radius: 3px;
  outline: none;
  margin-top: 12px;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 111, 224, 0.3);
  transition: transform 0.2s;
}
.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(59, 111, 224, 0.3);
}
.calc-property-count {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-property-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.calc-property-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.calc-property-count-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
  min-width: 40px;
  text-align: center;
}
.calc-results {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}
.calc-result-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
}
.calc-result-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.calc-result-value {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.calc-result-value.danger {
  color: var(--color-danger);
}
.calc-result-value.subtle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}
.calc-result-value.accent {
  color: var(--color-accent);
  font-size: 2rem;
}
.calc-result-savings {
  margin-top: 16px;
  padding: 20px;
  background: rgba(22, 163, 74, 0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(22, 163, 74, 0.15);
}
.calc-result-savings .calc-result-label {
  color: var(--color-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}
.calc-result-savings .calc-result-value {
  font-size: 2.4rem;
}
@media (max-width: 768px) {
  .calc-result-value { font-size: 1.3rem; }
  .calc-result-value.accent { font-size: 1.6rem; }
  .calc-result-savings .calc-result-value { font-size: 1.8rem; }
  .calc-input { font-size: 1.2rem; padding: 12px 16px; }
}

/* Trust Bar */
.trust-bar {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
}
.trust-track {
  display: flex;
  gap: 48px;
  animation: scroll 40s linear infinite;
  width: max-content;
}
.trust-track:hover {
  animation-play-state: paused;
}
.trust-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0.6;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.trust-item:hover {
  opacity: 1;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trust-fade-left,
.trust-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.trust-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}
.trust-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

/* Freedom Stack Panels */
.freedom-panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
}
@media (max-width: 768px) {
  .freedom-panel { min-height: auto; padding: 60px 0; }
}
.freedom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.freedom-grid.reversed {
  direction: rtl;
}
.freedom-grid.reversed > * {
  direction: ltr;
}
@media (max-width: 768px) {
  .freedom-grid,
  .freedom-grid.reversed {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }
  .freedom-grid.reversed > * { direction: ltr; }
  .freedom-grid > :first-child {
    order: 2;
  }
}
.freedom-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-primary);
  color: white;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.freedom-pain {
  font-size: 0.95rem;
  color: var(--color-danger);
  background: rgba(224, 75, 75, 0.06);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-danger);
  margin-bottom: 20px;
  font-weight: 500;
}
.freedom-stat {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 16px;
  background: rgba(22, 163, 74, 0.08);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.freedom-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-muted);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.freedom-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Freedom Progress */
.freedom-progress {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (max-width: 768px) {
  .freedom-progress { display: none; }
}
.freedom-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-body);
  cursor: pointer;
  transition: all 0.3s;
}
.freedom-dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(59, 111, 224, 0.15);
  transform: scale(1.2);
}
.freedom-dot:hover {
  border-color: var(--color-primary);
}
.freedom-line {
  width: 2px;
  flex: 1;
  background: var(--border-color);
  position: relative;
}
.freedom-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-primary);
  transition: height 0.3s;
}

/* Pricing */
.pricing-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  position: relative;
}
@media (max-width: 768px) {
  .pricing-card { padding: 32px 24px; }
}
.pricing-amount {
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}
.pricing-amount span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.pricing-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
}
.pricing-features {
  list-style: none;
  margin: 32px 0;
  text-align: left;
}
.pricing-features li {
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.pricing-footnote {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  padding: 0;
  font-family: var(--font-sans);
}
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-question.open svg {
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-answer.open {
  max-height: 300px;
  padding: 16px 0 4px;
}

/* Contact Form */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
}
@media (max-width: 768px) {
  .contact-form { padding: 32px 24px; }
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-sans);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
}
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.form-select {
  cursor: pointer;
}
.form-error {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 4px;
  display: none;
}
.form-error.show {
  display: block;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show {
  display: block;
}
.form-success svg {
  width: 64px;
  height: 64px;
  color: var(--color-accent);
  margin: 0 auto 20px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 60px 0 40px;
  background: var(--bg-surface);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.footer-socials a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.footer-socials svg {
  width: 18px;
  height: 18px;
}

/* Dark mode toggle */
.dark-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.dark-toggle:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.dark-toggle svg {
  width: 20px;
  height: 20px;
}
.dark-toggle .sun { display: none; }
.dark-toggle .moon { display: block; }
.dark .dark-toggle .sun { display: block; }
.dark .dark-toggle .moon { display: none; }

/* Testimonial */
.testimonial {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
}
.testimonial-quote {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-primary);
  quotes: none;
}
.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 0;
  vertical-align: -0.5em;
  color: var(--color-primary);
  opacity: 0.3;
  font-family: var(--font-display);
  margin-right: 4px;
}
.testimonial-attribution {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.testimonial-attribution strong {
  color: var(--text-primary);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: white;
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .cta-banner { padding: 40px 24px; }
}
.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: white;
}
@media (max-width: 768px) {
  .cta-banner h2 { font-size: 1.8rem; }
}
.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn {
  background: white;
  color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-banner .btn:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 80px 0 40px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero-headline {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .hero-headline { font-size: 2.2rem; }
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.hero-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
@media (max-width: 768px) {
  .hero-image { min-height: 250px; }
}

/* Page header */
.page-header {
  padding: 120px 0 40px;
  text-align: center;
}
.page-header h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .page-header h1 { font-size: 2.2rem; }
}
.page-header p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}
.section-heading h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}
@media (max-width: 768px) {
  .section-heading h2 { font-size: 1.8rem; }
}
.section-heading p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Subsection pattern in features */
.freedom-panel:nth-child(even) {
  background: var(--bg-muted);
}
.dark .freedom-panel:nth-child(even) {
  background: var(--bg-surface);
}

/* Input range styling on dark */
.dark .calc-input {
  background: var(--bg-muted);
  border-color: var(--border-color);
}
.dark .calc-slider {
  background: var(--border-color);
}
