/* Landing Page CSS — Holzbau-Konfigurator SaaS */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --landing-primary: #1a1a1a;
  --landing-accent: #2d7a6f;
  --landing-accent-hover: #24635a;
  --landing-accent-subtle: rgba(45, 122, 111, 0.06);
  --landing-bg: #fafaf9;
  --landing-bg-alt: #f3f3f1;
  --landing-card: #ffffff;
  --landing-border: #e5e5e3;
  --landing-text: #1a1a1a;
  --landing-text-muted: #6b6b6b;
  --landing-text-light: #9a9a9a;
  --landing-radius: 14px;
  --landing-radius-sm: 9px;
  --landing-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 4px 12px rgba(0,0,0,0.04);
  --landing-shadow-lg: 0 2px 4px rgba(0,0,0,0.02), 0 12px 40px rgba(0,0,0,0.07);
  --landing-max-width: 1280px;
  --landing-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@import url('/shared/fonts/inter.css');

body {
  font-family: var(--landing-font);
  background: var(--landing-bg);
  color: var(--landing-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
  position: relative;
}

/* ===================== Navigation ===================== */
.landing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--landing-border);
}

.nav-inner {
  max-width: var(--landing-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--landing-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--landing-accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn-nav-login {
  padding: 0.4rem 1rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1.5px solid var(--landing-border) !important;
  border-radius: 7px !important;
  color: var(--landing-text) !important;
  background: transparent !important;
  transition: all 0.2s !important;
}

.btn-nav-login:hover {
  border-color: var(--landing-accent) !important;
  color: var(--landing-accent) !important;
  background: var(--landing-accent-subtle) !important;
}

.btn-theme-toggle {
  background: transparent;
  border: 1px solid var(--landing-border);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
  color: var(--landing-text-muted);
}

.btn-theme-toggle:hover {
  background: var(--landing-bg-alt);
  border-color: var(--landing-text-light);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--landing-text);
  border-radius: 2px;
}

/* ===================== Hero ===================== */
.hero {
  padding: 8rem 2rem 4rem;
  position: relative;
}

/* Geometric Background (full page) */
.geo-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  color: var(--landing-text);
  z-index: 2;
}

.geo-grid {
  position: fixed;
  inset: 0;
  opacity: 0.8;
  z-index: -1;
}

.geo-shape {
  position: absolute;
  opacity: 0;
  animation: geoAppear 1.5s ease forwards;
  color: var(--landing-accent);
}

.geo-shape svg { width: 100%; height: 100%; }

/* Shape positions set by JS to span full page height */

@keyframes geoAppear {
  0% { opacity: 0; transform: scale(0.5) rotate(-15deg); }
  100% { opacity: 0.35; transform: scale(1) rotate(0deg); }
}

/* Floating animation for shapes */
/* Shape animations are set dynamically by JS */

@keyframes geoFloat1 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes geoFloat2 {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50% { transform: translateX(10px) rotate(-2deg); }
}
@keyframes geoFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(6px, -8px) rotate(4deg); }
}

/* Hero bottom fade into next section */
.hero-fade-out {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--landing-bg));
  pointer-events: none;
}

.hero-split {
  max-width: var(--landing-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4rem;
  align-items: center;
}

.hero-text { max-width: 540px; }

.hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--landing-accent);
  background: var(--landing-accent-subtle);
  border: 1px solid rgba(45,122,111,0.15);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--landing-primary);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.04em;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--landing-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ===================== Entrance Animations ===================== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: animFadeUp 0.7s ease forwards;
}
.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.25s; }
.anim-d3 { animation-delay: 0.4s; }

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

/* ===================== Showcase (Bauteile) ===================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.showcase-card {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
}

.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--landing-shadow-lg);
  border-color: var(--landing-accent);
}

.showcase-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.6rem;
  color: var(--landing-accent);
}

.showcase-icon svg {
  width: 100%;
  height: 100%;
}

.showcase-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.showcase-card p {
  font-size: 0.78rem;
  color: var(--landing-text-light);
  line-height: 1.4;
}

/* Key Features (3D, IFC, Pricing) */
.keyfeatures-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.keyfeature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1);
}

.keyfeature:hover {
  transform: translateY(-2px);
  box-shadow: var(--landing-shadow);
  border-color: var(--landing-text-light);
}

.keyfeature-visual {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--landing-accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 12px;
  letter-spacing: -0.02em;
}

.keyfeature-text h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.keyfeature-text p {
  font-size: 0.8rem;
  color: var(--landing-text-muted);
  line-height: 1.55;
}

html.dark-theme .keyfeature-visual {
  background: var(--landing-accent);
}

/* Hero Browser Preview */
.hero-preview {
  display: block;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1);
}

.hero-preview:hover { transform: translateY(-8px); }

.hero-browser {
  border-radius: var(--landing-radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s;
  background: var(--landing-card);
}

.hero-preview:hover .hero-browser {
  box-shadow: 0 20px 60px rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.04);
}

.hero-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--landing-bg-alt);
  border-bottom: 1px solid var(--landing-border);
}

.hero-browser-url {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--landing-text-light);
  background: var(--landing-bg);
  padding: 3px 12px;
  border-radius: 6px;
  margin-left: 8px;
  font-weight: 500;
}

.hero-browser-body {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: var(--landing-bg);
}

.hero-iframe {
  height: 1200px;
  border: none;
  display: block;
  transform: scale(0.45);
  transform-origin: top left;
  width: 222.2%;
  pointer-events: none;
}

.hero-iframe-overlay {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--landing-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  font-family: inherit;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--landing-primary);
  color: #fff;
  border-color: var(--landing-primary);
}

.btn-primary:hover {
  background: #1f2937;
  border-color: #1f2937;
}

.btn-outline {
  background: transparent;
  color: var(--landing-text);
  border-color: var(--landing-border);
}

.btn-outline:hover {
  border-color: var(--landing-text-muted);
  background: var(--landing-bg-alt);
}

.btn-lg {
  padding: 0.7rem 1.75rem;
  font-size: 0.9rem;
}

.btn-block { width: 100%; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ===================== Sections ===================== */
.section {
  padding: clamp(3rem, 6vh, 5rem) 2rem;
  position: relative;
}

.section-alt {
  background: var(--landing-bg-alt);
}

.section-inner {
  max-width: var(--landing-max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vh, 3rem);
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--landing-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 0.92rem;
  color: var(--landing-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ===================== Benefits ===================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.benefit-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 1.25rem;
  transition: all 0.25s cubic-bezier(0.2,0.8,0.2,1);
}

.benefit-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--landing-shadow);
  border-color: var(--landing-text-light);
}

.benefit-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--landing-accent);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit-content h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.benefit-content p {
  font-size: 0.8rem;
  color: var(--landing-text-muted);
  line-height: 1.55;
}

/* ===================== Demo ===================== */
#so-funktionierts .section-inner { max-width: 1280px; }

.demo-container { max-width: 100%; margin: 0 auto; }

.demo-browser {
  border-radius: var(--landing-radius);
  overflow: hidden;
  box-shadow: var(--landing-shadow-lg);
  border: 1px solid var(--landing-border);
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--landing-bg-alt);
  border-bottom: 1px solid var(--landing-border);
}

.demo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }

.demo-url {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: var(--landing-text-light);
  background: var(--landing-bg);
  padding: 3px 12px;
  border-radius: 6px;
  margin-left: 8px;
  font-weight: 500;
}

.demo-browser-body-live { background: var(--landing-bg); }

.demo-iframe {
  width: 100%;
  height: 1000px;
  border: none;
  display: block;
  background: var(--landing-bg);
  zoom: var(--demo-zoom, 0.85);
}

.demo-hint {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--landing-text-light);
}

/* ===================== Features ===================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 1.25rem;
  transition: all 0.25s cubic-bezier(0.2,0.8,0.2,1);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--landing-shadow);
  border-color: var(--landing-text-light);
}

.feature-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 0.6rem;
  color: var(--landing-accent);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--landing-text-muted);
  line-height: 1.55;
}

/* ===================== Pricing Mega Box ===================== */
.pricing-mega {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  overflow: hidden;
  box-shadow: var(--landing-shadow-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.5rem;
  background: var(--landing-bg-alt);
  border-bottom: 1px solid var(--landing-border);
}

.pricing-topbar-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--landing-text-muted);
}

.pricing-interval-toggle {
  display: inline-flex;
  gap: 3px;
  background: var(--landing-bg);
  border-radius: 7px;
  padding: 3px;
}

.pricing-interval-toggle .interval-btn {
  padding: 0.3rem 0.9rem;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--landing-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.pricing-interval-toggle .interval-btn.active {
  background: var(--landing-card);
  color: var(--landing-primary);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.pricing-interval-toggle .interval-btn:hover:not(.active) { color: var(--landing-primary); }

.interval-save {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--landing-accent);
  margin-left: 0.2rem;
}

.pricing-topbar-hint {
  font-size: 0.7rem;
  color: var(--landing-text-light);
  margin-left: auto;
}

/* 3-Column Grid */
.pricing-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.pricing-col { padding: 1.5rem; }
.pricing-col + .pricing-col { border-left: 1px solid var(--landing-border); }

.pricing-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

/* Col 1: Config */
.pricing-base { margin-bottom: 1rem; }

.pricing-base-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--landing-text-light);
  margin-bottom: 0.1rem;
}

.pricing-base-price { display: flex; align-items: baseline; gap: 0.1rem; }

.pricing-base-price .price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--landing-primary);
  line-height: 1;
  letter-spacing: -0.04em;
}

.pricing-base-price .price-currency {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--landing-primary);
}

.pricing-base-price .price-period {
  font-size: 0.78rem;
  color: var(--landing-text-light);
  margin-left: 0.1rem;
  font-weight: 500;
}

.pricing-breakdown {
  margin-top: 0.2rem;
}

.pricing-breakdown-text {
  font-size: 0.72rem;
  color: var(--landing-text-light);
  font-weight: 500;
}

.pricing-products-hint {
  font-weight: 500;
  color: var(--landing-text-light);
  font-size: 0.7rem;
}

.pricing-products-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--landing-text-muted);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-product-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  border: 1.5px solid var(--landing-border);
  border-radius: 7px;
  margin-bottom: 0.25rem;
  cursor: pointer;
  transition: all 0.15s;
}

.pricing-product-check:hover { border-color: var(--landing-text-light); }

.pricing-product-check:has(input:checked) {
  border-color: var(--landing-accent);
  background: var(--landing-accent-subtle);
}

.pricing-product-check input[type="checkbox"] { display: none; }

.check-box {
  width: 16px; height: 16px;
  border: 2px solid var(--landing-border);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.15s;
}

.pricing-product-check input:checked ~ .check-box {
  background: var(--landing-accent);
  border-color: var(--landing-accent);
}

.pricing-product-check input:checked ~ .check-box::after {
  content: '\2713';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}

.check-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--landing-text);
  flex: 1;
}

.check-price {
  font-size: 0.7rem;
  color: var(--landing-text-light);
  white-space: nowrap;
  font-weight: 500;
}

.pricing-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1.5px solid var(--landing-border);
}

.pricing-total span:first-child {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--landing-text-muted);
}

.pricing-total-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--landing-primary);
  letter-spacing: -0.02em;
}

/* Inline checkout */
.checkout-inline {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--landing-border);
}

.checkout-inline input {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid var(--landing-border);
  border-radius: 7px;
  font-size: 0.78rem;
  font-family: inherit;
  background: var(--landing-bg);
  color: var(--landing-text);
  transition: all 0.2s;
}

.checkout-inline input:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-accent-subtle);
}

.checkout-inline .btn { margin-top: 0.2rem; font-size: 0.8rem; }

.checkout-legal-check {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  cursor: pointer;
  margin-top: 0.25rem;
}

.checkout-legal-check input[type="checkbox"] { display: none; }

.checkout-legal-check .check-box {
  margin-top: 2px;
  width: 15px; height: 15px;
  min-width: 15px;
  border: 1.5px solid var(--landing-border);
  border-radius: 3px;
  position: relative;
  transition: all 0.15s;
}

.checkout-legal-check input:checked ~ .check-box {
  background: var(--landing-accent);
  border-color: var(--landing-accent);
}

.checkout-legal-check input:checked ~ .check-box::after {
  content: '\2713';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
}

.check-label-legal {
  font-size: 0.68rem;
  color: var(--landing-text-muted);
  line-height: 1.45;
}

.check-label-legal a {
  color: var(--landing-accent);
  text-decoration: none;
}

.check-label-legal a:hover {
  text-decoration: underline;
}

.checkout-hint {
  font-size: 0.7rem;
  color: var(--landing-text-light);
  text-align: center;
  margin-top: 0.15rem;
  transition: opacity 0.2s;
}

.checkout-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Col 2: Features */
.pricing-features { list-style: none; text-align: left; }

.pricing-features li {
  padding: 0.2rem 0;
  font-size: 0.75rem;
  color: var(--landing-text-muted);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--landing-accent);
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 0.68rem;
}

.pricing-guarantee {
  margin-top: 0.75rem;
  padding: 0.65rem;
  background: var(--landing-accent-subtle);
  border: 1px solid rgba(45,122,111,0.12);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--landing-text-muted);
  line-height: 1.5;
}

.pricing-guarantee strong { color: var(--landing-accent); }

/* Col 3: Contact */
.pricing-contact-sub {
  font-size: 0.75rem;
  color: var(--landing-text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

.contact-compact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-compact input,
.contact-compact textarea {
  width: 100%;
  padding: 0.45rem 0.65rem;
  border: 1.5px solid var(--landing-border);
  border-radius: 7px;
  font-size: 0.78rem;
  font-family: inherit;
  background: var(--landing-bg);
  color: var(--landing-text);
  transition: all 0.2s;
}

.contact-compact input:focus,
.contact-compact textarea:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-accent-subtle);
}

.contact-compact textarea { resize: vertical; min-height: 55px; }
.contact-compact .btn { margin-top: 0.2rem; font-size: 0.8rem; }

.pricing-footnote {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.68rem;
  color: var(--landing-text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== Coming Soon ===================== */
.coming-soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.coming-soon-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.coming-soon-info p {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.coming-soon-badge-inline {
  display: inline-block;
  background: var(--landing-accent-subtle);
  color: var(--landing-accent);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  border-radius: 5px;
  border: 1px solid rgba(45, 122, 111, 0.2);
}

@media (max-width: 900px) {
  .coming-soon-grid { grid-template-columns: 1fr; }
}

/* ===================== Preview Overlay ===================== */
#preview-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 250, 249, 0.55);
  backdrop-filter: blur(2px);
}

.preview-gate {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 2.5rem;
  max-width: 420px;
  width: 90%;
  box-shadow: var(--landing-shadow-lg);
  text-align: center;
}

.preview-gate h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-bottom: 0.5rem;
}

.preview-gate h2 span { color: var(--landing-accent); }

.preview-gate p {
  font-size: 0.85rem;
  color: var(--landing-text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.preview-gate-badge {
  display: inline-block;
  background: var(--landing-accent-subtle);
  color: var(--landing-accent);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  border: 1px solid rgba(45, 122, 111, 0.2);
}

.preview-gate-form {
  display: flex;
  gap: 0.5rem;
}

.preview-gate-form input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--landing-border);
  border-radius: var(--landing-radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: var(--landing-bg);
  color: var(--landing-text);
  transition: border-color 0.2s;
}

.preview-gate-form input:focus {
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-accent-subtle);
}

.preview-gate-form button {
  padding: 0.65rem 1.2rem;
  background: var(--landing-accent);
  color: #fff;
  border: none;
  border-radius: var(--landing-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.preview-gate-form button:hover { background: var(--landing-accent-hover); }

.preview-gate-error {
  color: #c0392b;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  display: none;
}

html.dark-theme #preview-overlay {
  background: rgba(14, 14, 14, 0.6);
}

/* ===================== Contact ===================== */
.contact-form-container { max-width: 600px; margin: 0 auto; }

.contact-form {
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  border-radius: var(--landing-radius);
  padding: 2rem;
  box-shadow: var(--landing-shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
  color: var(--landing-text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--landing-border);
  border-radius: var(--landing-radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--landing-bg);
  color: var(--landing-text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-accent-subtle);
}

.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input.error, .contact-form textarea.error { border-color: #ef4444; }

.contact-status {
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  border-radius: var(--landing-radius-sm);
  font-size: 0.85rem;
  text-align: center;
}

.contact-status.success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.contact-status.error { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }

/* ===================== Footer ===================== */
.landing-footer {
  border-top: 1px solid var(--landing-border);
  padding: 1rem 2rem;
  position: relative;
  z-index: 3;
  background: var(--landing-bg);
}

.footer-inner {
  max-width: var(--landing-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand { font-weight: 700; color: var(--landing-primary); font-size: 0.85rem; letter-spacing: -0.02em; }
.footer-copy { color: var(--landing-text-light); font-size: 0.78rem; }

.footer-links { display: flex; align-items: center; gap: 1.5rem; }
.footer-links a { color: var(--landing-text-muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--landing-primary); }

/* ===================== Scroll Animations ===================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.2,0.8,0.2,1), transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.showcase-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.showcase-grid .fade-in:nth-child(2) { transition-delay: 0.08s; }
.showcase-grid .fade-in:nth-child(3) { transition-delay: 0.16s; }
.showcase-grid .fade-in:nth-child(4) { transition-delay: 0.24s; }

.keyfeatures-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.keyfeatures-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.keyfeatures-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }

.features-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.features-grid .fade-in:nth-child(2) { transition-delay: 0.06s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.12s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.18s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.24s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.3s; }
.features-grid .fade-in:nth-child(7) { transition-delay: 0.36s; }

.benefits-grid .fade-in:nth-child(1) { transition-delay: 0s; }
.benefits-grid .fade-in:nth-child(2) { transition-delay: 0.07s; }
.benefits-grid .fade-in:nth-child(3) { transition-delay: 0.14s; }
.benefits-grid .fade-in:nth-child(4) { transition-delay: 0.21s; }
.benefits-grid .fade-in:nth-child(5) { transition-delay: 0.28s; }
.benefits-grid .fade-in:nth-child(6) { transition-delay: 0.35s; }

/* Section headers animate in */
.section-header {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
  .hero { padding: 5.5rem 1.5rem 2.5rem; }
  .hero-split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero h1 { font-size: 2.2rem; }
  .hero-ctas { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-preview { max-width: 480px; margin: 0 auto; }
  .hero-browser-body { height: 300px; }
  .hero-iframe { transform: scale(0.38); width: 263%; height: 1200px; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .keyfeatures-grid { grid-template-columns: 1fr; }
  .geo-shape { display: none; }
  .geo-grid { opacity: 0.3 !important; }

  .benefits-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-mega-grid { grid-template-columns: 1fr; }
  .pricing-col + .pricing-col { border-left: none; border-top: 1px solid var(--landing-border); }
  .pricing-topbar { flex-wrap: wrap; }
  .pricing-topbar-hint { margin-left: 0; width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--landing-bg);
    border-bottom: 1px solid var(--landing-border);
    padding: 1rem 2rem;
    gap: 0.75rem;
  }
  .nav-mobile-toggle { display: flex; }

  .demo-iframe { height: 1000px; }
  .section-header h2 { font-size: 1.5rem; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-browser-body { height: 240px; }
  .showcase-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 1.25rem; }
  .demo-iframe { height: 1000px; }
  .pricing-left, .pricing-right { padding: 1.25rem; }
  .pricing-checkout { padding: 1.25rem; }
  .footer-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ===================== Dark Theme ===================== */
html.dark-theme {
  --landing-primary: #ebebeb;
  --landing-accent: #3db8a6;
  --landing-accent-hover: #34a191;
  --landing-accent-subtle: rgba(61, 184, 166, 0.08);
  --landing-bg: #0e0e0e;
  --landing-bg-alt: #0e0e0e;
  --landing-card: #181818;
  --landing-border: #232323;
  --landing-text: #ebebeb;
  --landing-text-muted: #8a8a8a;
  --landing-text-light: #5c5c5c;
  --landing-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 4px 12px rgba(0,0,0,0.3);
  --landing-shadow-lg: 0 0 0 1px rgba(255,255,255,0.05), 0 12px 40px rgba(0,0,0,0.4);
}

html.dark-theme .landing-nav {
  background: rgba(14,14,14,0.9);
  border-bottom-color: #1a1a1a;
}

html.dark-theme .section-alt {
  border: none;
}

html.dark-theme .btn-primary {
  background: #ebebeb;
  color: #111111;
  border-color: #ebebeb;
}

html.dark-theme .btn-primary:hover {
  background: #d4d4d4;
  border-color: #d4d4d4;
}

html.dark-theme .btn-outline {
  color: var(--landing-text);
  border-color: var(--landing-border);
}

html.dark-theme .btn-outline:hover {
  border-color: var(--landing-text-muted);
  background: var(--landing-bg-alt);
}

html.dark-theme .hero-browser {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 40px rgba(0,0,0,0.5);
}

html.dark-theme .hero-preview:hover .hero-browser {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.6);
}


html.dark-theme .geo-bg { color: #ebebeb; }

html.dark-theme .geo-shape { color: var(--landing-accent); }

@keyframes geoAppearDark {
  0% { opacity: 0; transform: scale(0.5) rotate(-15deg); }
  100% { opacity: 0.12; transform: scale(1) rotate(0deg); }
}

html.dark-theme .geo-grid { opacity: 0.3; }

html.dark-theme .showcase-card:hover {
  border-color: var(--landing-accent);
}

html.dark-theme .hero-badge {
  background: rgba(61,184,166,0.08);
  border-color: rgba(61,184,166,0.2);
  color: var(--landing-accent);
}

html.dark-theme .landing-footer {
  border-top-color: #1a1a1a;
}

html.dark-theme .pricing-topbar {
  background: #141414;
}

html.dark-theme .pricing-interval-toggle {
  background: #0e0e0e;
}

html.dark-theme .pricing-interval-toggle .interval-btn.active {
  background: #1e1e1e;
  box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

html.dark-theme .checkout-inline input,
html.dark-theme .contact-compact input,
html.dark-theme .contact-compact textarea {
  background: #141414;
  border-color: var(--landing-border);
  color: var(--landing-text);
}

html.dark-theme .checkout-inline input:focus,
html.dark-theme .contact-compact input:focus,
html.dark-theme .contact-compact textarea:focus {
  border-color: var(--landing-accent);
  box-shadow: 0 0 0 3px var(--landing-accent-subtle);
}

html.dark-theme .pricing-guarantee {
  background: rgba(61,184,166,0.06);
  border-color: rgba(61,184,166,0.1);
}

/* Dark mode inputs handled by checkout-inline and contact-compact rules */

html.dark-theme .contact-status.success { background: #052e16; color: #34d399; border-color: #065f46; }
html.dark-theme .contact-status.error { background: #450a0a; color: #fca5a5; border-color: #7f1d1d; }

html.dark-theme .nav-mobile-toggle span { background: var(--landing-text); }

/* ===================== Legal Pages ===================== */
.legal-page {
  padding: 7rem 2rem 4rem;
  min-height: calc(100vh - 56px - 60px);
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-inner h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--landing-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.legal-inner h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--landing-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.legal-inner h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--landing-primary);
  margin-top: 1.25rem;
  margin-bottom: 0.35rem;
}

.legal-inner p,
.legal-inner li {
  font-size: 0.88rem;
  color: var(--landing-text-muted);
  line-height: 1.7;
}

.legal-inner ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
}

.legal-inner li {
  margin-bottom: 0.2rem;
}

.legal-inner a {
  color: var(--landing-accent);
  text-decoration: none;
}

.legal-inner a:hover {
  text-decoration: underline;
}

.legal-hint {
  font-size: 0.8rem;
  color: var(--landing-text-light);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.82rem;
}

.legal-table th,
.legal-table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border: 1px solid var(--landing-border);
}

.legal-table th {
  background: var(--landing-bg-alt);
  font-weight: 600;
  color: var(--landing-primary);
  font-size: 0.78rem;
}

.legal-table td {
  color: var(--landing-text-muted);
}
