/* ==========================================================================
   WohnungsBewerber – Landingpage
   Design system: warm, wohnlich, tech-clean
   Palette: Terrakotta + Anthrazit + Smaragdgrün auf Creme
   ========================================================================== */

:root {
  /* Light theme */
  --cream:        #FBF7F0;
  --cream-2:      #F4ECE0;   /* alt. section bg */
  --surface:      #FFFFFF;
  --surface-2:    #FFFDFA;

  --ink:          #1B2420;   /* near-black warm */
  --ink-soft:     #4A554F;
  --ink-faint:    #6E7A73;

  --line:         rgba(27, 36, 32, 0.10);
  --line-strong:  rgba(27, 36, 32, 0.16);

  --green:        #17795A;
  --green-600:    #14684E;
  --green-700:    #0F5641;
  --green-tint:   #E4F1EB;
  --green-tint-2: #D3E9DF;

  --terra:        #CB6E45;
  --terra-600:    #B65C36;
  --terra-tint:   #F7E4D9;

  --amber:        #E0A13A;

  --shadow-sm:    0 1px 2px rgba(27,36,32,.06), 0 2px 6px rgba(27,36,32,.05);
  --shadow-md:    0 8px 24px rgba(27,36,32,.08), 0 2px 6px rgba(27,36,32,.05);
  --shadow-lg:    0 24px 60px rgba(27,36,32,.14), 0 8px 20px rgba(27,36,32,.08);
  --shadow-green: 0 12px 30px rgba(15,86,65,.28);

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1180px;
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --header-bg: rgba(251, 247, 240, 0.80);
}

[data-theme="dark"] {
  --cream:        #12100E;
  --cream-2:      #17140F;
  --surface:      #1C1A16;
  --surface-2:    #211E19;

  --ink:          #F2EDE3;
  --ink-soft:     #C0BAAF;
  --ink-faint:    #948E82;

  --line:         rgba(255, 249, 240, 0.10);
  --line-strong:  rgba(255, 249, 240, 0.16);

  --green:        #3FBE8E;
  --green-600:    #35B187;
  --green-700:    #2C9E77;
  --green-tint:   rgba(63,190,142,.14);
  --green-tint-2: rgba(63,190,142,.22);

  --terra:        #E08B63;
  --terra-600:    #D57C52;
  --terra-tint:   rgba(224,139,99,.16);

  --amber:        #ECB454;

  --shadow-sm:    0 1px 2px rgba(0,0,0,.4);
  --shadow-md:    0 10px 26px rgba(0,0,0,.45);
  --shadow-lg:    0 26px 64px rgba(0,0,0,.6);
  --shadow-green: 0 14px 34px rgba(0,0,0,.5);

  --header-bg: rgba(18, 16, 14, 0.78);
}

/* --------------------------------------------------------------------- Base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* SVG icon defaults (stroke system) */
.hero-trust svg, .step-ico svg, .feat-ico svg, .sec-ico svg, .aud-ico svg,
.trust-badges svg, .chrome-glyph, .theme-toggle svg, .float-card svg, .url-pill svg, .ext-hint svg {
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap; will-change: transform;
}
.btn-lg { font-size: 16.5px; padding: 16px 28px; }
.btn-sm { font-size: 14px; padding: 10px 16px; }

.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn-primary:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 18px 40px rgba(15,86,65,.34); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.btn-ghost .arrow { transition: transform .2s ease; }
.btn-ghost:hover .arrow { transform: translateY(3px); }

.btn-oncta { background: #fff; color: var(--green-700); box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.btn-oncta:hover { background: #fff; color: var(--green-700); transform: translateY(-2px); box-shadow: 0 20px 44px rgba(0,0,0,.28); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 20px; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); }
.brand-mark { display: inline-flex; filter: drop-shadow(0 3px 8px rgba(15,86,65,.25)); }
.brand-mark svg { border-radius: 9px; }
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }

.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--ink-soft); padding: 8px 14px; border-radius: 999px;
  transition: color .18s ease, background-color .18s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--green-tint); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--line-strong);
  background: transparent; color: var(--ink-soft); cursor: pointer;
  transition: color .2s, border-color .2s, transform .2s, background-color .2s;
}
.theme-toggle:hover { color: var(--green); border-color: var(--green); transform: rotate(-12deg); }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }

.nav-burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: flex; flex-direction: column; gap: 4px; padding: 12px clamp(20px,5vw,40px) 22px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 6px; font-weight: 500; color: var(--ink-soft); border-radius: 10px; }
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ---------------------------------------------------------------- Eyebrow / heads */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .02em;
  color: var(--green); background: var(--green-tint); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-tint-2); }
.eyebrow-tc { color: var(--terra-600); background: var(--terra-tint); }
.eyebrow-light { color: #fff; background: rgba(255,255,255,.16); }

.section { padding: clamp(72px, 10vw, 130px) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); }
.section-lead { margin-top: 18px; font-size: clamp(16.5px, 2vw, 19px); color: var(--ink-soft); line-height: 1.6; }

/* ================================================================ HERO */
.hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 76px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(23,121,90,.16), transparent 70%),
    radial-gradient(50% 45% at 12% 8%, rgba(203,110,69,.13), transparent 70%);
}
[data-theme="dark"] .hero-glow {
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(63,190,142,.18), transparent 70%),
    radial-gradient(50% 45% at 12% 8%, rgba(224,139,99,.14), transparent 70%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center;
}
.hero-copy h1 {
  font-size: clamp(34px, 5.6vw, 60px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero-sub { font-size: clamp(17px, 2.2vw, 20.5px); color: var(--ink-soft); max-width: 560px; line-height: 1.6; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.hero-trust svg { width: 18px; height: 18px; color: var(--green); stroke-width: 2.6; }

/* Hero visual */
.hero-visual { position: relative; z-index: 1; }
.browser {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: perspective(1600px) rotateY(-7deg) rotateX(2.5deg); transform-origin: 60% 50%;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-visual:hover .browser { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #ec6a5e; } .tl-y { background: #f4bf4f; } .tl-g { background: #61c454; }
.url-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; font-size: 12.5px; color: var(--ink-faint); font-weight: 500; max-width: 100%; overflow: hidden;
}
.url-pill svg { color: var(--green); flex-shrink: 0; }

.browser-body { position: relative; padding: 22px; min-height: 360px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); }

.faux-listing { filter: blur(1.5px); opacity: .5; }
.fl-photo { height: 118px; border-radius: 14px; background: linear-gradient(120deg, var(--green-tint), var(--terra-tint)); margin-bottom: 16px; }
.fl-line { height: 12px; border-radius: 6px; background: var(--line-strong); margin-bottom: 12px; }
.fl-line.w70 { width: 70%; } .fl-line.w40 { width: 40%; } .fl-line.w90 { width: 90%; } .fl-line.w60 { width: 60%; }

.ext-popup {
  position: absolute; right: 18px; top: 34px; width: min(330px, 86%);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 16px; z-index: 2;
}
.ext-head { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.ext-logo svg { border-radius: 7px; }
.ext-title { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; }
.ext-badge { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--green); background: var(--green-tint); padding: 3px 9px; border-radius: 999px; }

.ext-label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.chip { font-size: 11.5px; font-weight: 500; color: var(--ink-soft); background: var(--cream-2); border: 1px solid var(--line); padding: 4px 9px; border-radius: 8px; }
.chip b { color: var(--ink); font-weight: 700; }

.ext-tones { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.tone { font-size: 11px; font-weight: 500; color: var(--ink-soft); border: 1px solid var(--line-strong); padding: 4px 10px; border-radius: 999px; }
.tone.active { color: #fff; background: var(--green); border-color: var(--green); box-shadow: 0 4px 10px rgba(15,86,65,.25); }

.ext-letter { background: var(--cream-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 13px; margin-bottom: 14px; }
.ext-letter p { font-size: 12px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 8px; }
.ext-letter p:last-child { margin-bottom: 0; }
.ext-letter .tw {
  display: inline-block; width: 46px; height: 9px; border-radius: 4px; vertical-align: middle;
  background: linear-gradient(90deg, var(--green-tint-2), transparent);
  animation: shimmer 2.2s ease-in-out infinite;
}
@keyframes shimmer { 0%,100% { opacity: .4; } 50% { opacity: .9; } }

.ext-actions { display: flex; flex-direction: column; gap: 9px; }
.ext-btn { width: 100%; background: var(--green); color: #fff; border: none; font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 11px; border-radius: 11px; cursor: pointer; box-shadow: 0 6px 14px rgba(15,86,65,.24); }
.ext-hint { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 10.5px; line-height: 1.4; color: var(--ink-faint); }
.ext-hint svg { color: var(--green); flex-shrink: 0; margin-top: 1px; stroke-width: 2.6; }

.float-card {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 11px 14px; z-index: 3;
}
.float-card svg { color: var(--green); flex-shrink: 0; }
.float-card b { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 700; line-height: 1.1; }
.float-card span { font-size: 11.5px; color: var(--ink-faint); }
.fc-1 { left: -26px; top: 30%; animation: floaty 5s ease-in-out infinite; }
.fc-2 { right: -20px; bottom: 8%; animation: floaty 5s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* hero portals strip */
.hero-portals {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: center;
  margin-top: clamp(44px, 6vw, 68px); padding-top: 30px; border-top: 1px solid var(--line);
}
.hp-label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-right: 6px; }
.hp-item { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-soft); }
.hp-sep { color: var(--line-strong); }

/* ================================================================ PROBLEM */
.problem { background: var(--cream-2); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-num {
  display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 56px; padding: 0 12px;
  font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--terra-600);
  background: var(--terra-tint); border-radius: 14px; margin-bottom: 18px;
}
.pain-card h3 { font-size: 20px; margin-bottom: 10px; }
.pain-card p { color: var(--ink-soft); font-size: 15.5px; }

/* ================================================================ STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-tint-2); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-700)); border-radius: 12px; box-shadow: var(--shadow-green);
}
.step-ico { display: inline-flex; color: var(--terra); }
.step-ico svg { width: 30px; height: 30px; stroke-width: 1.8; }
.step-card h3 { font-size: 21px; margin-bottom: 10px; }
.step-card p { color: var(--ink-soft); font-size: 15.5px; }
/* connector line on wide screens */
@media (min-width: 861px) {
  .steps-grid { position: relative; }
  .step-card:not(:last-child)::after {
    content: ""; position: absolute; top: 52px; right: -24px; width: 24px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
  }
}

/* ================================================================ FEATURES */
.features { background: var(--cream-2); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-tint-2); }
.feat-wide { grid-column: span 2; display: flex; flex-direction: column; }
.feat-highlight { background: linear-gradient(160deg, var(--green-tint), var(--surface) 60%); border-color: var(--green-tint-2); }
.feat-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  color: var(--green); background: var(--green-tint); border-radius: 14px; margin-bottom: 18px;
}
.feat-ico svg { width: 26px; height: 26px; }
.feat-highlight .feat-ico { background: var(--surface); box-shadow: var(--shadow-sm); }
.feat-card h3 { font-size: 20px; margin-bottom: 9px; }
.feat-card p { color: var(--ink-soft); font-size: 15.5px; }

.tone-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tp { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-soft); border: 1.5px solid var(--line-strong); padding: 7px 15px; border-radius: 999px; transition: all .2s ease; }
.tp.active { color: #fff; background: var(--green); border-color: var(--green); box-shadow: var(--shadow-green); }
.feat-wide:hover .tp:not(.active) { border-color: var(--green-tint-2); }

/* ================================================================ PORTALS */
.portal-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.portal-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 22px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.portal-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-tint-2); }
.pb-glyph {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 11px; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: #fff; letter-spacing: -0.02em;
}
.pb-wg { background: linear-gradient(135deg, #1f9370, #0f6047); }
.pb-kl { background: linear-gradient(135deg, #3fae5a, #2b8a42); }
.pb-is { background: linear-gradient(135deg, #f2603a, #d1451f); font-size: 14px; }
.pb-iw { background: linear-gradient(135deg, #2f8fd8, #1f6fb0); }
.pb-in { background: linear-gradient(135deg, #7a5cf0, #5b3fd0); }
.pb-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink); }

/* ================================================================ SECURITY */
.security { background: linear-gradient(150deg, var(--green-700), var(--green)); color: #fff; position: relative; overflow: hidden; }
.security::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(45% 55% at 85% 20%, rgba(255,255,255,.14), transparent 70%),
              radial-gradient(40% 50% at 10% 90%, rgba(203,110,69,.30), transparent 70%);
}
[data-theme="dark"] .security { background: linear-gradient(150deg, #0c4635, #0f5a44); }
.sec-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.sec-head-left { text-align: left; margin: 0; }
.sec-head-left h2 { color: #fff; }
.sec-head-left .section-lead { color: rgba(255,255,255,.85); }
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-card {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius);
  padding: 24px 22px; backdrop-filter: blur(6px); transition: transform .25s ease, background-color .25s ease;
}
.sec-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.15); }
.sec-card:first-child { grid-column: span 2; }
.sec-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.16); color: #fff; margin-bottom: 15px; }
.sec-ico svg { width: 24px; height: 24px; }
.sec-card h3 { color: #fff; font-size: 19px; margin-bottom: 8px; }
.sec-card p { color: rgba(255,255,255,.85); font-size: 15px; }

/* ================================================================ AUDIENCE */
.aud-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aud-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.aud-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--terra-tint); color: var(--terra-600); margin-bottom: 16px; }
.aud-ico svg { width: 25px; height: 25px; }
.aud-card h3 { font-size: 19px; margin-bottom: 8px; }
.aud-card p { color: var(--ink-soft); font-size: 15px; }

/* ================================================================ TRUST PANEL */
.trust { background: var(--cream-2); }
.trust-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 60px); box-shadow: var(--shadow-md); text-align: center;
  max-width: 960px; margin: 0 auto;
}
.trust-head { max-width: 640px; margin: 0 auto; }
.trust-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.trust-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 24px; }
.trust-badges li {
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 14px;
  transition: transform .25s ease, border-color .25s ease;
}
.trust-badges li:hover { transform: translateY(-4px); border-color: var(--green-tint-2); }
.trust-badges svg { width: 28px; height: 28px; color: var(--green); margin-bottom: 6px; stroke-width: 1.8; }
.trust-badges b { font-family: var(--font-display); font-size: 15.5px; color: var(--ink); }
.trust-badges span { font-size: 13px; color: var(--ink-faint); }
.trust-foot { font-size: 15px; color: var(--ink-soft); }
.trust-foot a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ================================================================ FAQ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] { border-color: var(--green-tint-2); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-chevron::before, .faq-chevron::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 2px; background: var(--green); border-radius: 2px; transition: transform .28s ease;
}
.faq-chevron::before { left: 0; transform: rotate(45deg); }
.faq-chevron::after { right: 0; transform: rotate(-45deg); }
.faq-item[open] .faq-chevron::before { transform: rotate(-45deg); }
.faq-item[open] .faq-chevron::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; }
.faq-body p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }

/* ================================================================ FINAL CTA */
.final-cta { padding: clamp(56px, 8vw, 100px) 0; }
.cta-panel {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(150deg, var(--green-700), var(--green) 55%, var(--terra) 160%);
  border-radius: var(--radius-xl); padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 60px);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .cta-panel { background: linear-gradient(150deg, #0c4635, #0f5a44 55%, #7a4128 170%); }
.cta-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 60% at 80% 10%, rgba(255,255,255,.16), transparent 70%), radial-gradient(40% 60% at 15% 90%, rgba(0,0,0,.12), transparent 70%); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; font-size: clamp(28px, 4.6vw, 46px); max-width: 640px; margin: 0 auto 16px; }
.cta-panel p { color: rgba(255,255,255,.9); font-size: clamp(16px, 2vw, 19px); max-width: 540px; margin: 0 auto 32px; }
.cta-sub { display: block; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); font-weight: 500; }

/* ================================================================ FOOTER */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-tag { color: var(--ink-soft); font-size: 15px; max-width: 380px; }
.footer-col h4 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; font-weight: 700; }
.footer-col a { display: block; padding: 6px 0; color: var(--ink-soft); font-size: 15px; transition: color .18s ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 14px; }
.fb-dot { color: var(--line-strong); }

/* ================================================================ REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fc-1, .fc-2, .ext-letter .tw { animation: none; }
  .browser { transform: none; }
}

/* ================================================================ RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 500px; margin-inline: auto; }
  .browser { transform: none; }
  .sec-wrap { grid-template-columns: 1fr; }
  .sec-head-left { text-align: center; max-width: 620px; margin-inline: auto; }
  .feat-wide { grid-column: span 3; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .brand-name { font-size: 17px; }
  .pain-grid, .steps-grid, .feat-grid { grid-template-columns: 1fr; }
  .feat-wide { grid-column: span 1; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-card:first-child { grid-column: span 1; }
  .fc-1 { left: -8px; } .fc-2 { right: -8px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-actions .btn-primary { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .aud-grid, .trust-badges { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .ext-popup { position: relative; right: auto; top: auto; width: 100%; margin-top: 14px; }
  .faux-listing { display: none; }
  .browser-body { min-height: 0; }
  .fc-1, .fc-2 { display: none; }
  .hero-portals { gap: 8px 12px; }
  .hp-item { font-size: 14px; }
}

/* reduce hero visual tilt tweaks for very small already handled */
