/* ============================================
   ZeroSettle - Dark Theme (SideKit Style)
   ============================================ */

/* Söhne Font */
@font-face {
  font-family: 'Söhne';
  src: url('../fonts/sohne-buch.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Söhne';
  src: url('../fonts/sohne-kraftig.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Söhne';
  src: url('../fonts/sohne-halbfett.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Söhne';
  src: url('../fonts/sohne-dreiviertelfett.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Custom Properties */
:root {
  /* Dark Theme Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1a1a1a;
  --bg-elevated: #1c1c1c;

  --text-primary: #ffffff;
  --text-secondary: #a1a1a1;
  --text-muted: #666666;

  --forest-green: #2D5A3D;
  --forest-green-hover: #234831;
  --sage-green: #7CB866;
  --sage-green-hover: #6aa856;
  /* Dark mode: sage is primary for visibility */
  --green-primary: #7CB866;
  --green-primary-hover: #6aa856;
  --green-secondary: #2D5A3D;
  --accent-orange: #f4a14a;

  --border-color: #262626;
  --border-light: #333333;

  /* Typography */
  --font-sans: 'Söhne', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 150ms ease;

  /* Nav background (for theme switching) */
  --nav-bg: rgba(10, 10, 10, 0.4);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f9f4;
  --bg-card: #ffffff;
  --bg-card-hover: #fafafa;
  --bg-elevated: #f5f5f3;

  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;

  --border-color: rgba(124, 184, 102, 0.2);
  --border-light: rgba(124, 184, 102, 0.3);

  --nav-bg: rgba(255, 255, 255, 0.6);

  /* Light mode: forest is primary for professional feel */
  --green-primary: #2D5A3D;
  --green-primary-hover: #234831;
  --green-secondary: #7CB866;
}

/* Dark mode background */
[data-theme="dark"] body {
  background: #0a0a0a;
}

/* Light mode background */
[data-theme="light"] body {
  background: #ffffff;
}

/* Auto-detect system preference (when no explicit theme set) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f9f4;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --bg-elevated: #f5f5f3;

    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;

    --border-color: rgba(124, 184, 102, 0.2);
    --border-light: rgba(124, 184, 102, 0.3);

    --nav-bg: rgba(255, 255, 255, 0.6);

    /* Light mode: forest is primary */
    --green-primary: #2D5A3D;
    --green-primary-hover: #234831;
    --green-secondary: #7CB866;
  }

  :root:not([data-theme="dark"]) body {
    background: #ffffff;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
}

/* ============================================
   Navigation - Liquid Glass Effect
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Nav becomes visible when content is underneath */
.nav.nav-solid {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .nav.nav-solid {
  background: rgba(10, 10, 10, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .nav {
  background: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.btn-primary {
  background: rgba(124, 184, 102, 0.85);
  color: #fff;
  border: 1px solid rgba(124, 184, 102, 0.5);
  box-shadow: 0 2px 8px rgba(124, 184, 102, 0.2);
}

.btn-primary:hover {
  background: rgba(106, 168, 86, 0.95);
  border-color: rgba(124, 184, 102, 0.7);
  box-shadow: 0 4px 16px rgba(124, 184, 102, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.1) 0%, rgba(184, 216, 107, 0.08) 50%, rgba(245, 158, 11, 0.08) 100%);
  border-color: rgba(124, 184, 102, 0.3);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
}

/* Mobile Nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 101;
}

.nav-mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when open */
.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Dropdown */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-4) 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-mobile-menu.active {
  display: block;
}

.nav-mobile-menu a,
.nav-mobile-menu button {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-6);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-mobile-menu a:hover,
.nav-mobile-menu button:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.nav-mobile-menu .mobile-menu-divider {
  height: 1px;
  background: var(--border-color);
  margin: var(--space-2) var(--space-6);
}

.nav-mobile-menu .btn-primary {
  display: block;
  margin: var(--space-3) var(--space-6);
  width: calc(100% - var(--space-12));
  justify-content: center;
  text-align: center;
  background: var(--green-primary);
  color: white !important;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-mobile-menu .btn-primary:hover {
  background: var(--green-primary-hover);
  color: white !important;
}

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

  .nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--space-24) + 40px) 0 calc(var(--space-24) + 60px);
  margin-top: -64px;
  padding-top: calc(var(--space-24) + 40px + 64px);
  background: var(--bg-primary);
  overflow: hidden;
}

/* Grain texture overlay - fades away toward bottom */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/noise.png');
  background-repeat: repeat;
  background-size: 128px 128px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 95%);
}

/* Color gradient under the texture - fades away */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #065f46 0%, #047857 30%, #d97706 75%, #ea580c 100%);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

[data-theme="dark"] .hero::after {
  opacity: 0.45;
}

[data-theme="dark"] .hero::before {
  opacity: 0.06;
}

@media (max-width: 768px) {
  .hero {
    padding: var(--space-12) 0 var(--space-16);
    padding-top: calc(var(--space-12) + 64px);
  }
}

.hero > .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.hero-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.hero-content {
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
    min-height: auto;
  }

  .hero-subtitle {
    font-size: 15px;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-6);
}

.hero-badge img {
  height: 22px;
  width: auto;
}

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-8);
  min-height: 3.6em;
  color: var(--text-secondary);
}

[data-theme="light"] .hero-title {
  color: #444;
}

@media (min-width: 768px) {
  .hero-title {
    min-height: 2.4em;
  }
}

.hero-title .highlight-green .word-rotate-items span {
  background: linear-gradient(
    90deg,
    #10b981 0%,
    #f97316 50%,
    #10b981 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Word rotation animation */
.word-rotate {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.15em;
  margin-bottom: -0.15em;
}

.word-rotate-items {
  display: inline-block;
  position: relative;
}

.word-rotate-items span {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(105%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.word-rotate-items span.active {
  position: relative;
  transform: translateY(0);
}

.word-rotate-items span.exit {
  transform: translateY(-105%);
}

.word-rotate-items span.no-transition {
  transition: none;
}

.hero-tagline {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.highlight-accent {
  color: var(--accent-orange);
  font-weight: 600;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.hero-buttons {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-8);
  flex-wrap: wrap;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
  width: 100%;
  padding: 6px 6px 6px 20px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 200ms ease;
}

.hero-cta:focus-within {
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .hero-cta,
:root:not([data-theme]) .hero-cta {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-cta:focus-within,
:root:not([data-theme]) .hero-cta:focus-within {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .hero-cta {
    flex-direction: column;
    gap: var(--space-4);
    padding: 0;
    background: transparent;
    border: none;
  }

  .hero-cta:focus-within {
    border-color: transparent;
  }

  .hero-cta input {
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  [data-theme="dark"] .hero-cta input,
  :root:not([data-theme]) .hero-cta input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .hero-cta input:focus {
    border-color: rgba(255, 255, 255, 0.7);
    outline: none;
  }

  .hero-cta .btn-glow {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

.hero-cta input {
  flex: 1;
  padding: 10px 0;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
}

.hero-cta input::placeholder {
  color: var(--text-muted);
}

.form-success {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--green-primary);
  background: rgba(124, 184, 102, 0.15);
  border: 1px solid var(--green-primary);
  border-radius: var(--radius-full);
  text-align: center;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #1a1a1a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.2s;
}

@media (max-width: 768px) {
  .modal {
    width: calc(100% - 32px);
    padding: var(--space-6);
    margin: var(--space-4);
    border-radius: var(--radius-lg);
  }
}

[data-theme="light"] .modal {
  background: #f5f5f5;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.modal-title span {
  color: var(--green-primary);
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--space-6);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.modal-form input,
.modal-form textarea {
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition);
  resize: vertical;
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: var(--green-primary);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: var(--text-muted);
}

.modal-form .btn {
  width: 100%;
  justify-content: center;
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}

.modal-form .btn:hover {
  background: var(--green-primary-hover);
  border-color: var(--green-primary-hover);
}

.btn-glow {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(124, 184, 102, 0.85);
  color: #fff;
  border: 1px solid rgba(124, 184, 102, 0.5);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(124, 184, 102, 0.2);
  transition: all 200ms ease;
}

.btn-glow:hover {
  background: rgba(106, 168, 86, 0.95);
  border-color: rgba(124, 184, 102, 0.7);
  box-shadow: 0 4px 16px rgba(124, 184, 102, 0.3);
  transform: translateY(-1px);
}

.hero-microcopy {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: var(--space-3);
}


.docs-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.docs-link:hover {
  color: var(--text-primary);
}

.docs-link svg {
  opacity: 0.7;
  transition: all var(--transition);
}

.docs-link:hover svg {
  opacity: 1;
  fill: var(--green-primary);
  stroke: var(--green-primary);
}

/* Hero Feature Cards */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .hero-features {
    gap: var(--space-3);
  }

  .hero-feature-card {
    padding: var(--space-4);
  }

  .hero-feature-text h3 {
    font-size: 15px;
  }

  .hero-feature-text p {
    font-size: 13px;
  }
}

.hero-feature-card {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 200ms ease;
  cursor: pointer;
}

.hero-feature-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.08),
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .hero-feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hero-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Dark glass when no explicit theme (system default is dark) */
:root:not([data-theme]) .hero-feature-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

:root:not([data-theme]) .hero-feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  color: var(--green-primary);
}

.hero-feature-text h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.hero-feature-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 48px 12px;
}

.section > .container {
  background: var(--bg-card);
  border-radius: 32px;
  padding: 60px 52px 80px;
}

.section-no-card > .container {
  background: transparent !important;
  padding: 0 var(--space-4);
  border-radius: 0;
}

.section-no-card {
  padding: 128px var(--space-4);
}

@media (max-width: 768px) {
  .section-no-card {
    padding: 80px var(--space-2);
  }
}

/* Flowing gradients for sections - varied positions for visual interest */

/* Card 1: Green top-left, warm bottom-right */
.section:nth-child(6n+1) > .container {
  background:
    radial-gradient(ellipse 90% 45% at 15% 10%, rgba(124, 184, 102, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(255, 180, 140, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, #eaf6e4 0%, #fefffe 35%, #fefefe 65%, #fef8f4 100%);
}

/* Card 2: Warm top-right, green bottom-left */
.section:nth-child(6n+2) > .container {
  background:
    radial-gradient(ellipse 80% 55% at 90% 5%, rgba(255, 170, 130, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 10% 85%, rgba(124, 184, 102, 0.18) 0%, transparent 55%),
    linear-gradient(200deg, #fef5ee 0%, #fefefe 30%, #fefefe 70%, #f0f7ea 100%);
}

/* Card 3: Green center-top, warm scattered */
.section:nth-child(6n+3) > .container {
  background:
    radial-gradient(ellipse 70% 40% at 50% 5%, rgba(134, 194, 112, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 95% 60%, rgba(255, 190, 150, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse 40% 30% at 5% 70%, rgba(255, 175, 135, 0.1) 0%, transparent 40%),
    linear-gradient(175deg, #eef8e6 0%, #fefffe 25%, #fefefe 75%, #fdfaf6 100%);
}

/* Card 4: Warm diagonal sweep */
.section:nth-child(6n+4) > .container {
  background:
    radial-gradient(ellipse 95% 50% at 80% 15%, rgba(255, 165, 120, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 75% 45% at 20% 95%, rgba(144, 200, 122, 0.16) 0%, transparent 50%),
    linear-gradient(155deg, #fef4eb 0%, #fefefe 40%, #fefefe 55%, #f1f8eb 100%);
}

/* Card 5: Green bottom-heavy */
.section:nth-child(6n+5) > .container {
  background:
    radial-gradient(ellipse 60% 35% at 25% 8%, rgba(255, 185, 145, 0.14) 0%, transparent 45%),
    radial-gradient(ellipse 100% 55% at 60% 95%, rgba(124, 184, 102, 0.2) 0%, transparent 60%),
    linear-gradient(185deg, #fefaf6 0%, #fefefe 30%, #fefefe 60%, #e9f5e2 100%);
}

/* Card 6: Mixed organic blobs */
.section:nth-child(6n+6) > .container {
  background:
    radial-gradient(ellipse 55% 40% at 75% 20%, rgba(255, 175, 130, 0.16) 0%, transparent 50%),
    radial-gradient(ellipse 65% 50% at 30% 80%, rgba(134, 194, 112, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 45% 30% at 10% 30%, rgba(124, 184, 102, 0.1) 0%, transparent 40%),
    linear-gradient(170deg, #fdf6f0 0%, #fefefe 35%, #fefefe 65%, #eff7e8 100%);
}

/* Dark mode - flowing gradient versions */
[data-theme="dark"] .section:nth-child(6n+1) > .container {
  background:
    radial-gradient(ellipse 90% 45% at 15% 10%, rgba(124, 184, 102, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 90%, rgba(255, 180, 140, 0.06) 0%, transparent 50%),
    linear-gradient(160deg, #181c17 0%, #161616 35%, #161616 65%, #1a1816 100%);
}

[data-theme="dark"] .section:nth-child(6n+2) > .container {
  background:
    radial-gradient(ellipse 80% 55% at 90% 5%, rgba(255, 170, 130, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 10% 85%, rgba(124, 184, 102, 0.08) 0%, transparent 55%),
    linear-gradient(200deg, #1a1816 0%, #161616 30%, #161616 70%, #171a16 100%);
}

[data-theme="dark"] .section:nth-child(6n+3) > .container {
  background:
    radial-gradient(ellipse 70% 40% at 50% 5%, rgba(134, 194, 112, 0.09) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 95% 60%, rgba(255, 190, 150, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse 40% 30% at 5% 70%, rgba(255, 175, 135, 0.04) 0%, transparent 40%),
    linear-gradient(175deg, #181c17 0%, #161616 25%, #161616 75%, #191816 100%);
}

[data-theme="dark"] .section:nth-child(6n+4) > .container {
  background:
    radial-gradient(ellipse 95% 50% at 80% 15%, rgba(255, 165, 120, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 75% 45% at 20% 95%, rgba(144, 200, 122, 0.07) 0%, transparent 50%),
    linear-gradient(155deg, #1a1816 0%, #161616 40%, #161616 55%, #171a16 100%);
}

[data-theme="dark"] .section:nth-child(6n+5) > .container {
  background:
    radial-gradient(ellipse 60% 35% at 25% 8%, rgba(255, 185, 145, 0.05) 0%, transparent 45%),
    radial-gradient(ellipse 100% 55% at 60% 95%, rgba(124, 184, 102, 0.09) 0%, transparent 60%),
    linear-gradient(185deg, #191816 0%, #161616 30%, #161616 60%, #171b16 100%);
}

[data-theme="dark"] .section:nth-child(6n+6) > .container {
  background:
    radial-gradient(ellipse 55% 40% at 75% 20%, rgba(255, 175, 130, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 65% 50% at 30% 80%, rgba(134, 194, 112, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 30% at 10% 30%, rgba(124, 184, 102, 0.04) 0%, transparent 40%),
    linear-gradient(170deg, #1a1816 0%, #161616 35%, #161616 65%, #171a16 100%);
}

/* System preference dark mode */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .section:nth-child(6n+1) > .container {
    background:
      radial-gradient(ellipse 90% 45% at 15% 10%, rgba(124, 184, 102, 0.1) 0%, transparent 55%),
      radial-gradient(ellipse 70% 50% at 85% 90%, rgba(255, 180, 140, 0.06) 0%, transparent 50%),
      linear-gradient(160deg, #181c17 0%, #161616 35%, #161616 65%, #1a1816 100%);
  }

  :root:not([data-theme="light"]) .section:nth-child(6n+2) > .container {
    background:
      radial-gradient(ellipse 80% 55% at 90% 5%, rgba(255, 170, 130, 0.08) 0%, transparent 60%),
      radial-gradient(ellipse 60% 45% at 10% 85%, rgba(124, 184, 102, 0.08) 0%, transparent 55%),
      linear-gradient(200deg, #1a1816 0%, #161616 30%, #161616 70%, #171a16 100%);
  }

  :root:not([data-theme="light"]) .section:nth-child(6n+3) > .container {
    background:
      radial-gradient(ellipse 70% 40% at 50% 5%, rgba(134, 194, 112, 0.09) 0%, transparent 50%),
      radial-gradient(ellipse 50% 35% at 95% 60%, rgba(255, 190, 150, 0.05) 0%, transparent 45%),
      radial-gradient(ellipse 40% 30% at 5% 70%, rgba(255, 175, 135, 0.04) 0%, transparent 40%),
      linear-gradient(175deg, #181c17 0%, #161616 25%, #161616 75%, #191816 100%);
  }

  :root:not([data-theme="light"]) .section:nth-child(6n+4) > .container {
    background:
      radial-gradient(ellipse 95% 50% at 80% 15%, rgba(255, 165, 120, 0.07) 0%, transparent 55%),
      radial-gradient(ellipse 75% 45% at 20% 95%, rgba(144, 200, 122, 0.07) 0%, transparent 50%),
      linear-gradient(155deg, #1a1816 0%, #161616 40%, #161616 55%, #171a16 100%);
  }

  :root:not([data-theme="light"]) .section:nth-child(6n+5) > .container {
    background:
      radial-gradient(ellipse 60% 35% at 25% 8%, rgba(255, 185, 145, 0.05) 0%, transparent 45%),
      radial-gradient(ellipse 100% 55% at 60% 95%, rgba(124, 184, 102, 0.09) 0%, transparent 60%),
      linear-gradient(185deg, #191816 0%, #161616 30%, #161616 60%, #171b16 100%);
  }

  :root:not([data-theme="light"]) .section:nth-child(6n+6) > .container {
    background:
      radial-gradient(ellipse 55% 40% at 75% 20%, rgba(255, 175, 130, 0.06) 0%, transparent 50%),
      radial-gradient(ellipse 65% 50% at 30% 80%, rgba(134, 194, 112, 0.08) 0%, transparent 55%),
      radial-gradient(ellipse 45% 30% at 10% 30%, rgba(124, 184, 102, 0.04) 0%, transparent 40%),
      linear-gradient(170deg, #1a1816 0%, #161616 35%, #161616 65%, #171a16 100%);
  }
}

@media (max-width: 1024px) {
  .section > .container {
    padding: 40px 32px 60px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 8px;
  }

  .section > .container {
    padding: 32px 20px 48px;
    border-radius: 24px;
  }
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-primary);
  margin-bottom: var(--space-4);
  padding: 8px 20px;
  background: rgba(124, 184, 102, 0.2);
  border-radius: var(--radius-full);
  box-shadow: 0 0 20px rgba(124, 184, 102, 0.25);
}

[data-theme="light"] .section-label {
  background: rgba(45, 90, 61, 0.12);
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

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

.section-center {
  text-align: center;
}

.section-center .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   Feature Cards
   ============================================ */
.features-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  color: var(--green-primary);
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   Landing Page Calculator
   ============================================ */
.calculator-section .section-label {
  font-size: 1rem;
}

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  margin-top: var(--space-10);
  align-items: center;
}

@media (max-width: 900px) {
  .calc-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.calc-inputs-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.calc-inputs-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-2);
}

.calc-input-group {
  margin-bottom: 0;
}

.calc-input-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-3);
}

.calc-arr-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-dollar {
  position: absolute;
  left: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.calc-arr-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.25rem;
  font-size: 1.5rem;
  font-weight: 500;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-arr-input:focus {
  outline: none;
  border-color: rgba(124, 184, 102, 0.5);
  box-shadow: 0 0 0 4px rgba(124, 184, 102, 0.1);
}

.calc-arr-input::placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.calc-presets {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.calc-preset {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.calc-preset:hover {
  border-color: rgba(124, 184, 102, 0.4);
  color: var(--text-primary);
}

.calc-preset.active {
  background: rgba(124, 184, 102, 0.15);
  border-color: rgba(124, 184, 102, 0.4);
  color: var(--text-primary);
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.calc-option-group {
  width: 100%;
}

.calc-option-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-2);
}

.calc-option-btns {
  display: flex;
  gap: var(--space-2);
}

.calc-opt-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.calc-opt-btn:hover {
  border-color: rgba(124, 184, 102, 0.4);
  color: var(--text-primary);
}

.calc-opt-btn.active {
  background: rgba(124, 184, 102, 0.15);
  border-color: rgba(124, 184, 102, 0.4);
  color: var(--text-primary);
}

.calc-full-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-primary);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: var(--space-2);
}

.calc-full-link:hover {
  color: var(--text-primary);
}

/* Calculator Visual Mockup */
.calc-visual {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.06) 0%, rgba(200, 210, 160, 0.03) 50%, rgba(255, 180, 140, 0.05) 100%), var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

[data-theme="light"] .calc-visual {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.1) 0%, rgba(200, 210, 160, 0.06) 50%, rgba(255, 180, 140, 0.08) 100%);
}

.calc-results {
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.calc-hero {
  margin-bottom: var(--space-8);
}

.calc-hero-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.calc-hero-value {
  font-size: 56px;
  font-weight: 600;
  color: var(--green-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.calc-hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.calc-bar {
  height: 14px;
  background: rgba(120, 120, 128, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.calc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7CB866, #9CC76B, #B8D86B);
  border-radius: var(--radius-full);
  transition: width 0.4s ease-out;
}

.calc-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.calc-bar-percent {
  font-weight: 600;
  font-size: 15px;
  color: var(--green-primary);
}

.calc-compare {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-color);
}

.calc-compare-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.calc-compare-label {
  font-size: 12px;
  color: var(--text-muted);
}

.calc-compare-value {
  font-size: 18px;
  font-weight: 500;
}

.calc-compare-apple {
  color: #787880;
  text-decoration: line-through;
  text-decoration-color: rgba(120, 120, 128, 0.5);
}

.calc-compare-zs {
  color: var(--green-primary);
}

@media (max-width: 900px) {
  .calc-visual {
    min-height: auto;
    padding: var(--space-6);
  }

  .calc-hero-value {
    font-size: 44px;
  }

  .calc-compare {
    gap: var(--space-6);
  }
}

/* ============================================
   Comparison Section
   ============================================ */
.comparison {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .comparison {
    flex-direction: column;
    align-items: center;
  }
}

.comparison-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: left;
}

@media (max-width: 768px) {
  .comparison-card {
    min-width: auto;
    width: 100%;
    padding: var(--space-6);
    text-align: center;
  }
}

.comparison-card.dark {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.comparison-card.dark .comparison-value {
  color: #555;
}

.comparison-card.green {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.15) 0%, rgba(124, 184, 102, 0.25) 100%);
  border: 1px solid var(--green-primary);
  color: var(--text-primary);
  box-shadow: 0 0 40px rgba(124, 184, 102, 0.2);
}

.comparison-card.green .comparison-value {
  color: var(--green-primary);
}

.comparison-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: var(--space-4);
}

.comparison-value {
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.comparison-value .percent {
  font-size: 0.5em;
  font-weight: 400;
}

.comparison-value sup {
  font-size: 0.25em;
  font-weight: 400;
  vertical-align: top;
  position: relative;
  top: 0.5em;
  margin-left: 2px;
}

.strikethrough {
  position: relative;
  display: inline-block;
}

.strikethrough::after {
  content: '';
  position: absolute;
  left: -4%;
  right: -4%;
  top: 50%;
  height: 4px;
  background: #888;
  transform: rotate(-6deg);
  border-radius: 2px;
}

.comparison-desc {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

.calculator-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.12) 0%, rgba(184, 216, 107, 0.08) 50%, rgba(245, 158, 11, 0.1) 100%);
  border: 1px solid rgba(124, 184, 102, 0.3);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .calculator-cta {
    padding: var(--space-3) var(--space-4);
    font-size: 14px;
    border-radius: var(--radius-lg);
  }
}

.calculator-cta:hover {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.2) 0%, rgba(184, 216, 107, 0.15) 50%, rgba(245, 158, 11, 0.18) 100%);
  border-color: rgba(124, 184, 102, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(124, 184, 102, 0.2);
}

.calculator-cta-emoji {
  font-size: 1.25rem;
}

.calculator-cta-text {
  color: var(--text-secondary);
}

.calculator-cta:hover .calculator-cta-text {
  color: var(--text-primary);
}

.calculator-cta-hero {
  margin-top: var(--space-6);
  align-self: flex-start;
}

/* Calculator card in hero (matches hero-feature-card style) */
.hero-feature-card.calculator-card {
  cursor: pointer;
  text-decoration: none;
}

.hero-feature-card.calculator-card:hover {
  border-color: var(--accent-orange);
}

.calculator-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(124, 184, 102, 0.15) 100%);
  color: inherit;
}

.calculator-icon span {
  font-size: 20px;
}

/* ============================================
   How It Works
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.step-card {
  display: flex;
  flex-direction: column;
}

.step-visual {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-5);
  background: var(--bg-card);
}

/* Individual card gradients - green/orange accents */
.step-card:nth-child(1) .step-visual {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.1) 0%, rgba(200, 210, 160, 0.04) 50%, rgba(255, 180, 140, 0.06) 100%), var(--bg-card);
}

.step-card:nth-child(2) .step-visual {
  background: linear-gradient(135deg, rgba(255, 180, 140, 0.06) 0%, rgba(200, 210, 160, 0.04) 50%, rgba(124, 184, 102, 0.1) 100%), var(--bg-card);
}

.step-card:nth-child(3) .step-visual {
  background: linear-gradient(145deg, rgba(124, 184, 102, 0.08) 0%, rgba(180, 200, 140, 0.05) 50%, rgba(255, 185, 145, 0.07) 100%), var(--bg-card);
}

.step-card:nth-child(4) .step-visual {
  background: linear-gradient(125deg, rgba(255, 185, 145, 0.07) 0%, rgba(180, 200, 140, 0.05) 50%, rgba(124, 184, 102, 0.08) 100%), var(--bg-card);
}

/* Light mode gradients */
[data-theme="light"] .step-card:nth-child(1) .step-visual {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.14) 0%, rgba(200, 210, 160, 0.06) 50%, rgba(255, 180, 140, 0.08) 100%);
}

[data-theme="light"] .step-card:nth-child(2) .step-visual {
  background: linear-gradient(135deg, rgba(255, 180, 140, 0.08) 0%, rgba(200, 210, 160, 0.06) 50%, rgba(124, 184, 102, 0.14) 100%);
}

[data-theme="light"] .step-card:nth-child(3) .step-visual {
  background: linear-gradient(145deg, rgba(124, 184, 102, 0.12) 0%, rgba(180, 200, 140, 0.07) 50%, rgba(255, 185, 145, 0.09) 100%);
}

[data-theme="light"] .step-card:nth-child(4) .step-visual {
  background: linear-gradient(125deg, rgba(255, 185, 145, 0.09) 0%, rgba(180, 200, 140, 0.07) 50%, rgba(124, 184, 102, 0.12) 100%);
}

.step-content {
  padding: 0 var(--space-1);
  text-align: left;
}

.step-number {
  display: none;
}

.step-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Step Mockups */
.step-mockup {
  width: 100%;
  max-width: 280px;
}

/* Uniform mockup card sizing */
.code-mockup,
.dashboard-mockup,
.checkout-card,
.payout-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
}

/* Code Mockup */
.code-mockup {
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  text-align: left;
  font-size: 13px;
  justify-content: center;
}

.code-line {
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.code-line:last-child {
  margin-bottom: 0;
}

.code-keyword {
  color: #c678dd;
}

.code-comment {
  color: var(--text-muted);
}

/* Dashboard Mockup */
.dashboard-mockup {
  justify-content: flex-start;
}

.mock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-color);
}

.mock-sync-badge {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--green-primary);
  background: rgba(124, 184, 102, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  font-size: 13px;
}

.mock-label {
  color: var(--text-secondary);
}

.mock-value {
  font-weight: 500;
  color: var(--green-primary);
}

.mock-value-discount s {
  color: var(--text-muted);
  font-weight: 400;
  margin-right: 4px;
}

.mock-note {
  margin-top: var(--space-3);
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

.mock-btn {
  margin-top: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: rgba(124, 184, 102, 0.1);
  border: 1px dashed rgba(124, 184, 102, 0.4);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--green-primary);
  text-align: center;
}

/* Checkout Mockup */
.checkout-card {
  text-align: center;
  justify-content: center;
}

.checkout-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: var(--space-3);
}

.checkout-price {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.checkout-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.checkout-btn {
  display: inline-block;
  background: var(--green-primary);
  color: #fff;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
}

/* Payout Mockup */
.payout-card {
  text-align: center;
  justify-content: center;
}

.payout-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 13px;
  color: var(--green-primary);
  margin-bottom: var(--space-3);
}

.payout-icon {
  width: 20px;
  height: 20px;
  background: rgba(124, 184, 102, 0.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.payout-amount {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.payout-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   Pricing
   ============================================ */
.pricing-grid {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-12);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

/* Subtle gradient for non-featured pricing cards */
[data-theme="light"] .pricing-card:not(.featured) {
  background: linear-gradient(145deg, #fafafa 0%, #f7f9f5 40%, #faf8f6 100%);
}

.pricing-card:not(.featured):first-child {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.06) 0%, rgba(255, 180, 140, 0.04) 100%), var(--bg-card);
}

.pricing-card:not(.featured):last-child {
  background: linear-gradient(135deg, rgba(255, 180, 140, 0.04) 0%, rgba(124, 184, 102, 0.06) 100%), var(--bg-card);
}

[data-theme="light"] .pricing-card:not(.featured):first-child {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.1) 0%, rgba(255, 180, 140, 0.08) 100%);
}

[data-theme="light"] .pricing-card:not(.featured):last-child {
  background: linear-gradient(135deg, rgba(255, 180, 140, 0.08) 0%, rgba(124, 184, 102, 0.1) 100%);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.15) 0%, rgba(124, 184, 102, 0.25) 100%);
  border: 1px solid var(--green-primary);
  color: var(--text-primary);
  padding: var(--space-6);
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(124, 184, 102, 0.2);
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: none;
    order: -1;
  }
}

.pricing-card.featured .pricing-features li::before {
  color: var(--green-primary);
}

.pricing-card.featured .pricing-amount {
  color: var(--green-primary);
}

.pricing-card.featured .btn-primary {
  background: var(--green-primary);
  color: #fff;
  border-color: var(--green-primary);
}

.pricing-card.featured .btn-primary:hover {
  background: var(--green-primary-hover);
  border-color: var(--green-primary-hover);
}

.pricing-header {
  margin-bottom: var(--space-6);
  text-align: center;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-bottom: var(--space-2);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
}

.pricing-amount {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}

.pricing-card.featured .pricing-amount {
  font-size: 48px;
}

.pricing-period {
  font-size: 14px;
  opacity: 0.6;
}

.pricing-desc {
  font-size: 14px;
  opacity: 0.7;
  margin-top: var(--space-2);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-6);
  flex: 1;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  margin-bottom: var(--space-3);
  opacity: 0.9;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 600;
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: var(--space-20) 0;
  text-align: center;
}

@media (max-width: 768px) {
  .cta-section {
    padding: var(--space-12) var(--space-4);
  }
}

.cta-card {
  padding: var(--space-12);
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.1) 0%, rgba(200, 210, 160, 0.06) 50%, rgba(255, 180, 140, 0.08) 100%);
  border: 1px solid rgba(124, 184, 102, 0.2);
  border-radius: var(--radius-xl);
}

[data-theme="light"] .cta-card {
  background: linear-gradient(135deg, rgba(124, 184, 102, 0.12) 0%, rgba(200, 210, 160, 0.08) 50%, rgba(255, 180, 140, 0.1) 100%);
  border: 1px solid rgba(124, 184, 102, 0.25);
}

@media (max-width: 768px) {
  .cta-card {
    padding: var(--space-8) var(--space-5);
    border-radius: var(--radius-lg);
  }

  .cta-title {
    font-size: clamp(22px, 5vw, 28px);
  }

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

  .cta-buttons .btn {
    width: 100%;
  }
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-4);
}

.cta-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
}

.cta-buttons {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--space-10) 0 var(--space-6);
  }

  .footer-grid {
    gap: var(--space-8);
    text-align: center;
  }

  .footer-brand {
    max-width: none;
  }

  .footer-column {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-6);
  }
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-column a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  transition: color var(--transition);
}

.footer-column a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================
   Utilities
   ============================================ */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }

/* ============================================
   Theme Toggle
   ============================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Show sun in dark mode, moon in light mode */
/* Default: show sun (for dark mode) */
.theme-toggle .icon-sun {
  display: block;
}

.theme-toggle .icon-moon {
  display: none;
}

/* Explicit light mode */
[data-theme="light"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-moon {
  display: block;
}

/* Explicit dark mode (ensure sun shows) */
[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

/* System preference light (when no explicit theme set) */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]):not([data-theme="light"]) .theme-toggle .icon-sun {
    display: none;
  }

  :root:not([data-theme="dark"]):not([data-theme="light"]) .theme-toggle .icon-moon {
    display: block;
  }
}

/* ============================================
   Light Mode Specific Adjustments
   ============================================ */
/* Comparison card dark variant in light mode */
[data-theme="light"] .comparison-card.dark {
  background: #e8e8e8;
}

[data-theme="light"] .comparison-card.dark .comparison-value {
  color: #999;
}

/* Slightly stronger glow in light mode for visibility */
[data-theme="light"] .section-label {
  box-shadow: 0 0 25px rgba(124, 184, 102, 0.3);
}

[data-theme="light"] .comparison-card.green,
[data-theme="light"] .pricing-card.featured {
  box-shadow: 0 0 50px rgba(124, 184, 102, 0.2);
}

/* System preference light mode adjustments */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .comparison-card.dark {
    background: #e8e8e8;
  }

  :root:not([data-theme="dark"]) .comparison-card.dark .comparison-value {
    color: #999;
  }

  :root:not([data-theme="dark"]) .section-label {
    box-shadow: 0 0 25px rgba(124, 184, 102, 0.3);
  }

  :root:not([data-theme="dark"]) .comparison-card.green,
  :root:not([data-theme="dark"]) .pricing-card.featured {
    box-shadow: 0 0 50px rgba(124, 184, 102, 0.2);
  }
}

/* ============================================
   Escrow Section
   ============================================ */
.escrow-grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .escrow-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.escrow-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.escrow-content {
  max-width: 600px;
}

@media (min-width: 1024px) {
  .escrow-content {
    order: -1;
  }
}

.escrow-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.escrow-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.escrow-highlight {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.escrow-content .use-case-pills {
  justify-content: flex-start;
  margin-top: var(--space-6);
}

.escrow-features {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-16);
}

@media (min-width: 768px) {
  .escrow-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .escrow-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.use-case-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.use-case-pill {
  padding: var(--space-2) var(--space-4);
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.use-case-pill:hover {
  border-color: var(--green-primary);
  color: var(--text-primary);
  background: rgba(124, 184, 102, 0.15);
}
