/* ================================================
   ALTERNATIVE A - OnlyTraders Original Colors
   Gelb (#FFDB15) + Dunkel (#0C1115) + Creme (#F9F6EB)
   ================================================ */

/* Local Font: Jost */
@font-face {
  font-family: 'Jost';
  src: url('./fonts/Jost-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ZupStudio-inspired Light Theme */
  --bg: #F4F4F4;
  --bg-white: #FFFFFF;
  --bg-dark: #0E0E0E;
  --text: #0E0E0E;
  --text-light: #FFFFFF;
  --text-dark: #0E0E0E;
  --muted: rgba(14, 14, 14, 0.6);
  --muted2: rgba(14, 14, 14, 0.4);
  --accent: #FFDB15;
  --accent-dark: #E5C410;
  --accent-glow: rgba(255, 219, 21, 0.3);
  --green: #27ae60;
  --panel: rgba(14, 14, 14, .03);
  --stroke: rgba(14, 14, 14, .1);
  --shadow: 0 20px 60px rgba(0, 0, 0, .08);
  --shadow-strong: 0 40px 100px rgba(0, 0, 0, .15);
}

* {
  box-sizing: border-box;
}

html {
  height: auto;
  min-height: 100%;
  overflow-y: auto;
}

body {
  height: auto;
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

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

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

#smooth-wrapper {
  position: relative;
}

#smooth-content {
  will-change: transform;
}

/* ---------- Shared Sections ---------- */
.hero-section,
.team-section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.strategy-scroll-container {
  width: 100%;
  height: 80vh;
  overflow: hidden;
  position: relative;
  --strategy-controls-height: 56px;
  padding-bottom: var(--strategy-controls-height);
  box-sizing: border-box;
}

/* ---------- Topbar ---------- */
.hero-topbar {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  pointer-events: none;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  pointer-events: auto;
  filter: brightness(0) invert(0);
  max-width: min(250px, 40vw);
}

.brand-link {
  pointer-events: auto;
  display: block;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 40px;
    max-width: 150px;
  }
}





/* CTA Button - Primary (Black/Dark) */
.cta {
  pointer-events: auto;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid var(--bg-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  transform: translateZ(0);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta:hover {
  background: var(--bg-white);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.cta-secondary {
  pointer-events: auto;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--stroke);
  padding: 12px 24px;
  margin-right: 12px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translateZ(0);
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-secondary:hover {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

/* ---------- HERO ---------- */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* Light overlay to ensure dark text readability */
    linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7)),
    /* Background Image */
    url('./assets/backgrounds/nyse_bg.webp') center/cover no-repeat;
  z-index: 1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("./assets/backgrounds/nyse_bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.1) brightness(1.3) opacity(0.08);
  /* transform: scale(1.05); Removed zoom effect */
  opacity: .15;
  will-change: transform;
  z-index: -1;
}

/* ... existing styles ... */

.team-bg::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("./assets/backgrounds/nyse_bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.2) brightness(.35) sepia(0.15);
  opacity: .3;
  /* transform: scale(1.06); Removed zoom effect */
  will-change: transform;
}

.hero-stage {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 64px 20px 40px;
}

/* ========== FULL CHART ANIMATION STYLES ========== */

/* Main Chart SVG Container */
#chart-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Grid Lines */
.grid-line {
  stroke: #eee;
  stroke-width: 1;
  stroke-dasharray: 4 4;
  transition: opacity 1s ease;
}

/* Axes Styling */
.axis line,
.axis path {
  stroke: #ccc;
  stroke-width: 1;
  transition: opacity 1s ease;
}

.axis text {
  fill: #999;
  font-size: 10px;
  font-family: 'Jost', sans-serif;
  transition: opacity 1s ease;
}

/* SMA Line */
.sma-line {
  fill: none;
  stroke: #FFB800;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 1s ease;
}

/* Volume Bars */
.volume-bar {
  fill: rgba(14, 14, 14, 0.15);
  transition: opacity 1s ease;
}

/* Candle Styling */
.candle-wick {
  stroke: #0E0E0E;
  stroke-width: 1.5;
}

.candle-body {
  stroke: #0E0E0E;
  stroke-width: 1.5;
}

.candle-up {
  fill: #fff;
}

.candle-down {
  fill: #0E0E0E;
}

/* Candle Groups - Transition for Vortex Suction */
.candle-group {
  transform-box: fill-box;
  transform-origin: center;
  /* Longer duration for visible suction effect */
  transition: transform 3s cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0.3s ease 2.7s;
}

/* Pause animation before squeeze */
.hero-phase-squeeze .candle-group {
  animation: none;
}

/* Phase 2: Fade out auxiliary elements (except SMA) */
.hero-phase-2 .axis,
.hero-phase-2 .grid-line,
.hero-phase-2 .volume-bar {
  opacity: 0;
}

/* Phase 3: SMA fades as ring appears */
.hero-phase-3 .sma-line {
  opacity: 0;
}

/* Yellow Ring (SMA transforms into this) */
#central-ring {
  fill: none;
  stroke: #FFB800;
  stroke-width: 1.5;
  /* Thinner ring */
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
  transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phase 3: Ring appears and scales with dot */
.hero-phase-3 #central-ring {
  opacity: 1;
  transform: scale(6);
  /* Smaller ring */
}

/* Central Dot */
#central-dot {
  fill: #0E0E0E;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transform: scale(0);
  transition: all 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Phase 3: Squeeze -> Show Dot (growing as it absorbs candles) */
.hero-phase-3 #central-dot {
  opacity: 1;
  transform: scale(6);
  /* Smaller dot */
}

/* Phase 4: ECHT Text Reveal */
#echt-text {
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 900;
  fill: #0E0E0E;
  stroke: transparent;
  /* Start with no border */
  stroke-width: 0;
  text-anchor: middle;
  dominant-baseline: middle;
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transform-box: fill-box;
  transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-phase-4 #echt-text {
  opacity: 1;
  transform: scale(1);
  /* Yellow Border - outer only */
  stroke: #FFB800;
  stroke-width: 3px;
  paint-order: stroke fill;
  /* Stroke behind fill = outer only */
}

/* Hide Dot and Ring when Text appears */
.hero-phase-4 #central-dot,
.hero-phase-4 #central-ring {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Top Text (Kicker) */
.hero-top {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
  z-index: 10;
  pointer-events: none;
}

.hero-phase-4 .hero-top {
  opacity: 1;
  transform: translateY(0);
}

.hero-top .kicker {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #999;
}

/* Bottom Content */
.hero-bottom {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
  z-index: 10;
  pointer-events: none;
}

.hero-phase-4 .hero-bottom {
  opacity: 1;
  transform: translateY(0);
}

.hero-bottom h2 {
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: 0.3em;
  font-weight: 400;
  color: #333;
  margin: 0 0 12px 0;
}

.hero-bottom p {
  font-size: 16px;
  color: #666;
  margin: 0;
}

/* ========== END CHART ANIMATION ========== */

.hero-copy {
  width: min(1200px, 92vw);
  text-align: center;
}

.kicker {
  font-weight: 500;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 24px;
}

.hero-text {
  margin: 0;
  line-height: .8;
  letter-spacing: -0.04em;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(80px, 14vw, 220px);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  color: var(--text);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--text);
  background-clip: unset;
}

.hero-sub {
  display: block;
  font-size: clamp(14px, 1.8vw, 32px);
  letter-spacing: .45em;
  font-weight: 400;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
  width: 100%;
  -webkit-text-fill-color: var(--muted);
  background: none;
}

.hero-lead {
  margin: 32px auto 0;
  width: min(600px, 90vw);
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
}

.hero-portal {
  position: absolute;
  width: min(80vmin, 700px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  box-shadow: 0 0 120px rgba(255, 219, 21, .08);
  opacity: .2;
  transform: translateY(20px);
  backdrop-filter: blur(2px);
  pointer-events: none;
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 4;
  opacity: .5;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.scroll-hint .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text);
}

.scroll-hint .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(14, 14, 14, .2), rgba(14, 14, 14, .5));
}

/* ---------- STRATEGY HORIZONTAL ---------- */
.strategy-track {
  display: flex;
  width: 100%;
  height: calc(100% - var(--strategy-controls-height));
  transition: transform .8s ease;
}

.strategy-panel {
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 22px;
  flex: 0 0 100%;
  background: var(--bg-white);
}

.panel-inner {
  width: min(960px, 80vw);
  display: grid;
  gap: 24px;
  align-content: center;
}

.panel-eyebrow {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
}

.panel-title {
  margin: 0;
  font-size: clamp(42px, 7vw, 100px);
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.big-number {
  color: var(--text);
  font-weight: 800;
}

.red {
  color: var(--accent);
}

.panel-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 22px);
  max-width: 58ch;
  line-height: 1.5;
  font-weight: 300;
}

.strategy-panel--weekly .panel-title {
  font-size: clamp(30px, 5vw, 70px);
}

.strategy-panel--weekly .panel-text {
  font-size: clamp(13px, 1.2vw, 16px);
}

.strategy-panel--secondary .panel-title {
  font-size: clamp(34px, 5.5vw, 82px);
}

.strategy-panel--secondary .panel-text {
  font-size: clamp(15px, 1.5vw, 19px);
}

.panel-media {
  position: relative;
  margin-top: 24px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: clamp(240px, 32vh, 420px);
  max-width: 65%;
  margin-left: auto;
  margin-right: auto;
}

.panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .05);
  pointer-events: none;
}

.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.9);
  transform: scale(1.02);
  opacity: 1;
}

.panel-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 16px;
  justify-content: center;
}

.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1.5px solid var(--stroke);
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: transparent;
  transition: all .3s ease;
}

.ghost:hover {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-light);
}

.strategy-carousel-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
  align-items: center;
}

.strategy-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.strategy-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--stroke);
  background: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.strategy-dot.is-active::before {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  transform: translate(-50%, -50%) scale(1.2);
}

.strategy-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--stroke);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.strategy-arrow:hover {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-light);
  transform: translateY(-1px);
}

/* Floating "candlestick-like" blocks */
.floating {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, rgba(255, 219, 21, .6), transparent);
  opacity: .4;
  mix-blend-mode: multiply;
  filter: blur(0px);
  transform: translateZ(0);
}

.floating::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translateX(-50%);
  width: 14px;
  height: 40px;
  background: rgba(255, 219, 21, .2);
  border: 1px solid rgba(255, 219, 21, .5);
  box-shadow: 0 0 15px rgba(255, 219, 21, .1);
}

.floating-4 {
  left: 16%;
  top: 62%;
  height: 180px;
}

.floating-5 {
  left: 48%;
  top: 22%;
  height: 140px;
}

.floating-6 {
  left: 80%;
  top: 58%;
  height: 240px;
}

.floating-7 {
  left: 18%;
  top: 22%;
  height: 190px;
}

.floating-8 {
  left: 78%;
  top: 58%;
  height: 160px;
}

/* Slab card on panel 3 */
.panel-slab {
  padding: 40px;
  min-height: clamp(300px, 40vh, 500px);
  display: grid;
  align-content: center;
  gap: 24px;
  background: var(--bg);
  border-radius: 16px;
}

.slab-title {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  font-size: 12px;
}

.slab-list {
  display: grid;
  gap: 16px;
}

.slab-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--bg-white);
  color: var(--text);
  font-weight: 400;
  font-size: 18px;
  box-shadow: var(--shadow);
}

.badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-dark);
  border: none;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- TESTIMONIAL ---------- */
.testimonial-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
}

.testimonial-quote {
  margin-bottom: 32px;
}

.quote-icon {
  color: var(--text);
  opacity: .4;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--text);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-light);
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.author-location {
  font-size: 14px;
  color: var(--muted);
}

.testimonial-audio {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.audio-play-btn {
  width: 52px;
  height: 52px;
  background: var(--bg-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all .3s ease;
  box-shadow: var(--shadow);
}

.audio-play-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-strong);
}

.audio-play-btn.playing {
  background: var(--accent);
  color: var(--bg-dark);
}

.audio-play-btn.playing .play-icon {
  display: none;
}

.audio-play-btn.playing .pause-icon {
  display: block !important;
}

.audio-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 600px) {
  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .author-info {
    text-align: center;
  }
}

/* ---------- MEMBERSHIP / OFFER SECTION ---------- */
.membership-section {
  padding: 100px 24px;
  background: var(--bg);
}

.content-limit {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 64px;
}

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

.eyebrow {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 16px;
}

.section-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
  box-shadow: var(--shadow);
}

.pricing-card .cta {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(255, 219, 21, .3);
}

.pricing-card .cta:hover {
  background: var(--accent-dark);
  color: var(--text);
  box-shadow: 0 15px 40px rgba(255, 219, 21, .4);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.glow-card {
  background: var(--bg-white);
  border: 2px solid var(--bg-dark);
  box-shadow: var(--shadow-strong);
}

.glow-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, .2);
}

.badge-overlay {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 6px 12px;
  border-radius: 50px;
}

.card-header {
  margin-bottom: 32px;
}

.card-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 40px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-back {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 50px;
  pointer-events: auto;
}

.period {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--stroke);
  font-size: 15px;
  color: var(--text);
}

.check {
  color: var(--green);
  font-weight: 700;
}

.card-footer {
  margin-top: auto;
}

.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 24px;
  border: 1.5px solid var(--stroke);
  border-radius: 50px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .3s ease;
}

.cta-outline:hover {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-light);
}

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

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

.thanks-page .hero-section {
  height: 90vh;
}

.thanks-hero .hero-bg {
  opacity: 0.7;
}

.thanks-title {
  font-size: clamp(32px, 4.2vw, 64px);
  letter-spacing: -0.02em;
  text-transform: none;
}

.thanks-title .hero-sub {
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 700;
}

.thanks-copy .hero-lead {
  max-width: 60ch;
}

.thanks-signature {
  display: block;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 600;
}

.thanks-section {
  padding: 80px 24px 100px;
  background:
    radial-gradient(800px 400px at 70% 0%, rgba(255, 219, 21, .08), transparent 60%),
    var(--bg);
}

.thanks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.thanks-card {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.thanks-card-header {
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.thanks-split {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.thanks-panel {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 14px;
}

.thanks-panel h3 {
  margin: 0;
  font-size: clamp(20px, 2.6vw, 28px);
}

.thanks-panel-wide {
  margin-top: 32px;
}

.thanks-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.thanks-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.thanks-links a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}

.thanks-video {
  margin-top: 32px;
}

.video-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.limit-page .hero-section {
  height: 85vh;
}

.limit-title {
  font-size: clamp(34px, 4.6vw, 70px);
  text-transform: none;
}

.limit-section {
  padding: 80px 24px 110px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(255, 219, 21, .08), transparent 60%),
    var(--bg);
}

.limit-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.limit-card,
.limit-form-card {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 32px;
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

.limit-card-header {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.limit-form-card .newsletter-form {
  width: 100%;
}

.limit-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.newsletter-form-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 48px 40px;
  display: grid;
  gap: 16px;
  justify-items: center;
  box-sizing: border-box;
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: grid;
  gap: 20px;
  width: 100%;
}

.form-group {
  text-align: left;
  width: 100%;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.cinematic-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: all .3s ease;
}

.cinematic-input:focus {
  outline: none;
  border-color: var(--bg-dark);
  box-shadow: 0 0 0 3px rgba(14, 14, 14, .1);
}

.cinematic-input::placeholder {
  color: var(--muted2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  font-size: 13px;
  color: var(--muted);
  width: 100%;
}

.cinematic-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 100px 24px;
  background: var(--bg);
}

.faq-grid {
  display: grid;
  gap: 24px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s ease;
  box-shadow: var(--shadow);
}

.faq-item:hover {
  box-shadow: var(--shadow-strong);
}

.faq-q {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-q::after {
  content: "+";
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  transition: transform .3s ease;
}

.faq-item.is-open .faq-q::after {
  content: "–";
}

.faq-a {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  transition: max-height .6s ease, opacity .4s ease, transform .4s ease, margin .3s ease;
}

.faq-item:hover .faq-a,
.faq-item.is-open .faq-a {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  margin: 0 0 12px;
}

.faq-item:hover .faq-a:last-child,
.faq-item.is-open .faq-a:last-child {
  margin-bottom: 0;
}

@media (hover: none) {
  .faq-item:hover .faq-a {
    max-height: 0;
    opacity: 0;
    transform: translateY(6px);
    margin: 0;
  }

  .faq-item.is-open .faq-a {
    max-height: 300px;
    opacity: 1;
    transform: translateY(0);
    margin: 0 0 12px;
  }

  .faq-item.is-open .faq-a:last-child {
    margin-bottom: 0;
  }
}

.faq-a a {
  color: var(--text);
  text-decoration: underline;
  font-weight: 600;
}

/* ---------- LIMITED SECTION ---------- */
.limited-section {
  padding: 80px 24px;
  background: var(--bg-white);
}

.limit-content {
  max-width: 700px;
  margin: 48px auto 0;
  text-align: center;
}

.limit-question {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text);
}

.limit-answer {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 12px;
}

/* ---------- TEAM ---------- */
.team-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 0% 50%, rgba(255, 219, 21, .1), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(255, 219, 21, .08), transparent 50%),
    linear-gradient(to bottom, var(--bg-white), var(--bg));
}

.team-bg::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image: url("./assets/backgrounds/nyse_bg.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.1) brightness(1.4) opacity(0.06);
  opacity: .1;
  transform: scale(1.06);
  will-change: transform;
}

.team-center {
  position: relative;
  z-index: 3;
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.team-quote {
  width: min(800px, 92vw);
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 48px 32px;
  box-shadow: var(--shadow);
}

.team-kicker {
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  margin-bottom: 16px;
}

.team-title {
  margin: 0;
  font-size: clamp(40px, 6vw, 90px);
  line-height: .9;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.team-text {
  margin: 24px auto 32px;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  max-width: 60ch;
  font-weight: 300;
}

.team-foreground {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.team-photo {
  position: absolute;
  width: min(29vmin, 340px);
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-strong);
  opacity: 1;
  will-change: transform;
  filter: none;
}

.team-photo-michael {
  left: 2vw;
  top: 30vh;
  transform: rotate(-3deg);
}

.team-photo-matthias {
  right: 2vw;
  bottom: 30vh;
  transform: rotate(3deg);
}

/* ---------- WAITLIST CTA ---------- */
.waitlist-cta-section {
  padding: 100px 24px;
  text-align: center;
  background: var(--bg);
}

.waitlist-cta-text {
  font-size: 18px;
  color: var(--muted);
  margin: 24px 0 40px;
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  padding: 60px 24px 40px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  background: var(--bg-white);
  border-top: 1px solid var(--stroke);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 16px;
  color: var(--muted);
  transition: color .3s ease;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.05em;
}

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

.footer-link.is-active {
  color: var(--text);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--stroke);
  color: var(--muted);
  transition: all .3s ease;
}

.social-icon:hover {
  border-color: var(--bg-dark);
  color: var(--text);
  background: var(--bg-dark);
  color: var(--text-light);
}

.footer-copyright {
  font-size: 12px;
  color: var(--muted);
}

.secondary-footer-cta {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--stroke);
  box-shadow: none;
}

.secondary-footer-cta:hover {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, .6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-strong);
}

.auth-modal {
  overflow: hidden;
}

.auth-panels {
  position: relative;
  min-height: 420px;
}

.auth-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: transform .4s ease, opacity .25s ease;
}

.auth-modal[data-mode="login"] .auth-panel--login {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.auth-modal[data-mode="login"] .auth-panel--reset {
  transform: translateX(40px);
}

.auth-modal[data-mode="reset"] .auth-panel--reset {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.auth-modal[data-mode="reset"] .auth-panel--login {
  transform: translateX(-40px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  transition: color .3s ease;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

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

.modal-title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
}

/* ---------- RESET PAGE ---------- */
.auth-helper-link {
  color: var(--muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.auth-helper-link:hover {
  color: var(--text);
  text-decoration: underline;
}

.reset-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;
  background: var(--bg);
  color: var(--text);
}

.reset-wrapper {
  width: min(560px, 100%);
  text-align: center;
}

.reset-logo img {
  width: 180px;
  height: auto;
  margin-bottom: 28px;
  filter: brightness(0);
}

.reset-card {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 36px 32px;
  text-align: left;
  box-shadow: var(--shadow);
}

.reset-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.reset-subtitle {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.reset-form {
  display: grid;
  gap: 16px;
}

.reset-status {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.reset-status.is-error {
  color: #e74c3c;
}

.reset-status.is-success {
  color: #2ecc71;
}

.reset-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
}

.reset-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.reset-footer a:hover {
  color: var(--accent);
}

/* ---------- BLOG ---------- */
.blog-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  padding-bottom: 80px;
}

.blog-hero {
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255, 219, 21, .08), transparent 50%),
    linear-gradient(to bottom, var(--bg-white), var(--bg));
  z-index: 0;
}

.blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.blog-hero-title {
  font-size: clamp(32px, 4vw, 56px);
  margin: 0 0 12px;
  letter-spacing: .02em;
}

.blog-hero-subtitle {
  color: var(--muted);
  margin: 0 auto;
  max-width: 640px;
  line-height: 1.6;
}

.blog-list {
  max-width: 1080px;
  margin: -20px auto 0;
  padding: 0 24px;
  display: grid;
  gap: 24px;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 24px;
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 24px;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.blog-card-media a { display: block; }
.blog-card-media a img { cursor: pointer; }

.blog-card-media img {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stroke);
}

.blog-card-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 24px;
  margin: 0 0 12px;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { text-decoration: underline; }

.blog-card-excerpt {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Refactored Blog Link to match Primary Button */
.blog-card-link {
  pointer-events: auto;
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 14px 28px;
  border-radius: 50px;
  border: 1px solid var(--bg-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  transform: translateZ(0);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: fit-content;
}

.blog-card-link:hover {
  background: var(--bg-white);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
}

.blog-article {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.blog-article-header {
  padding: 140px 0 40px;
  text-align: center;
}

.blog-article-title {
  font-size: clamp(32px, 4vw, 52px);
  margin: 0 0 12px;
}

.blog-article-meta {
  color: var(--muted);
  font-size: 14px;
}

.blog-article-lead {
  margin: 24px auto 0;
  max-width: 720px;
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
}

.blog-section {
  margin: 48px 0;
}

.blog-section h2 {
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--text);
}

.blog-section h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  color: var(--text);
}

.blog-section p,
.blog-section li {
  color: var(--muted);
  line-height: 1.7;
}

.blog-section ul {
  padding-left: 20px;
}

.blog-divider {
  border: none;
  border-top: 1px solid var(--stroke);
  margin: 32px 0;
}

.blog-figure {
  margin: 24px 0;
}

.blog-figure img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  cursor: zoom-in;
}

[data-lightbox] { cursor: zoom-in; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  animation: lb-fade-in .2s ease;
  overflow: hidden;
}
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  transition: transform .25s ease;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
}
.lightbox-overlay img.lb-zoomed { cursor: grab; }
.lightbox-overlay img.lb-grabbing { cursor: grabbing; }
.lightbox-overlay img.lb-max-zoom { cursor: zoom-out; }
.lightbox-overlay .lb-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(0,0,0,.6);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  color: #fff;
  font-family: system-ui, sans-serif;
}
.lightbox-overlay .lb-btn {
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-overlay .lb-btn:hover { background: rgba(255,255,255,.3); }
.lightbox-overlay .lb-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-overlay .lb-close:hover { background: rgba(255,255,255,.3); }
@keyframes lb-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.blog-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.blog-back {
  text-align: center;
  margin-top: 40px;
}

.blog-back a {
  color: var(--muted);
  text-decoration: none;
}

.blog-back a:hover {
  color: var(--text);
  text-decoration: underline;
}

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

  .blog-card-media img {
    max-height: 240px;
  }
}

.modal-subtitle {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 15px;
}

.login-form {
  display: grid;
  gap: 20px;
}

.login-error {
  background: rgba(231, 76, 60, .1);
  border: 1px solid rgba(231, 76, 60, .3);
  border-radius: 8px;
  padding: 12px 16px;
  color: #e74c3c;
  font-size: 14px;
}

.login-error p {
  margin: 0;
}

.login-error.is-success {
  background: rgba(46, 204, 113, .15);
  border-color: rgba(46, 204, 113, .35);
  color: #2ecc71;
}

.modal-footer-text {
  margin: 24px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.modal-footer-text a {
  color: #0E0E0E;
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 16px;
    align-items: center;
  }

  .modal-content {
    padding: 28px 18px 20px;
    max-width: 100%;
    border-radius: 18px 18px 0 0;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }

  .auth-modal {
    overflow: visible;
  }

  .auth-panels {
    min-height: auto;
  }

  .auth-panel {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
  }

  .auth-modal[data-mode="login"] .auth-panel--reset {
    display: none;
  }

  .auth-modal[data-mode="reset"] .auth-panel--login {
    display: none;
  }

  .auth-modal[data-mode="reset"] .auth-panel--reset {
    display: block;
  }

  .modal-footer-text {
    font-size: 12px;
  }

  .login-form {
    gap: 16px;
  }

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

  .newsletter-form-container {
    padding: 32px 24px;
  }

  .team-photo {
    width: min(35vw, 200px);
  }

  .team-photo-michael {
    left: 4vw;
    top: 15vh;
  }

  .team-photo-matthias {
    right: 4vw;
    bottom: 15vh;
  }

  .team-foreground {
    position: relative;
    inset: auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 24px 24px 0;
    pointer-events: auto;
  }

  .team-photo {
    position: static;
    transform: none;
    width: min(42vw, 180px);
  }

  .team-photo-michael,
  .team-photo-matthias {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 12px 20px;
  }

  .footer-link {
    font-size: 14px;
    letter-spacing: 0.03em;
  }

  .legal-back {
    display: inline-flex;
  }

  .legal-page-body .cta-secondary {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-topbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .cta-secondary {
    display: inline-flex;
    padding: 10px 12px;
    font-size: 12px;
    letter-spacing: .06em;
  }

  .footer {
    padding-top: 48px;
  }
}

/* =============================================
   COOKIE CONSENT BANNER (Light Theme)
   ============================================= */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--stroke);
  padding: 24px 40px;
  z-index: 10000;
  display: flex;
  justify-content: center;
  transition: transform .3s ease;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .1);
}

#cookie-consent-banner.cookie-banner-hidden {
  transform: translateY(100%);
}

.cookie-banner-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.cookie-banner-text h3 {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 18px;
}

.cookie-banner-text p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--text);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .2s ease;
}

.cookie-btn-accept {
  background: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--bg-dark);
}

.cookie-btn-accept:hover {
  background: var(--bg-white);
  color: var(--text);
  box-shadow: var(--shadow);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--stroke);
}

.cookie-btn-reject:hover {
  background: var(--bg);
}

.cookie-btn-settings {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--stroke);
}

.cookie-btn-settings:hover {
  background: var(--bg);
}

/* Settings Panel */
.cookie-settings-panel {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid var(--stroke);
}

.cookie-category {
  margin-bottom: 20px;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cookie-category-badge {
  font-size: 10px;
  background: rgba(39, 174, 96, .15);
  color: #27ae60;
  padding: 2px 8px;
  border-radius: 20px;
}

.cookie-category-badge-optional {
  background: var(--bg);
  color: var(--muted);
}

.cookie-link {
  color: var(--text);
  font-weight: 600;
}

/* Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 14, 14, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10001;
}

.cookie-modal-content {
  background: var(--bg-white);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-strong);
}

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

.cookie-modal-notice {
  background: var(--bg);
  border: 1px solid var(--stroke);
  padding: 16px;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 13px;
}

@media (max-width: 768px) {
  #cookie-consent-banner {
    padding: 24px 20px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .cookie-banner-text h3 {
    font-size: 16px;
  }

  .cookie-banner-text p {
    font-size: 13px;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 12px;
  }

  .cookie-settings-panel {
    padding: 16px;
  }

  .cookie-modal {
    padding: 16px;
  }

  .cookie-modal-content {
    max-height: 90vh;
    overflow: auto;
    padding: 24px;
  }
}