/* Schaltworks v2 — premium design system.
   Matches /Users/linumis/Projects/schaltworks-website/index-premium.html. */

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

:root {
  --bg: #050505;
  --bg-soft: #0b0b0c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7;
  --muted: rgba(245, 245, 247, 0.72);
  --muted-soft: rgba(245, 245, 247, 0.5);
  --accent: #fa5518;
  --accent-dark: #d44410;
  --accent-soft: rgba(250, 85, 24, 0.14);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(250, 85, 24, 0.16), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(250, 85, 24, 0.08), transparent 22%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 28%, #050505 100%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before, body::after {
  content: "";
  position: fixed;
  width: 42vw; height: 42vw;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.24;
  z-index: 0;
}
body::before { top: -10vw; left: -10vw; background: rgba(250, 85, 24, 0.18); }
body::after  { right: -14vw; top: 36vh; background: rgba(250, 85, 24, 0.1); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Pill label (orange) */
.section-label {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(250, 85, 24, 0.18);
  background: rgba(250, 85, 24, 0.08);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

/* Buttons */
.btn-primary, .btn-ghost, .btn-call {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}
.btn-primary { color: var(--text); background: rgba(255, 255, 255, 0.03); border-color: var(--border); }
.btn-primary:hover, .btn-ghost:hover, .btn-call:hover { transform: translateY(-1px); }
.btn-primary:hover { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06); }
.btn-ghost, .btn-call {
  color: #fff;
  background: linear-gradient(180deg, #ff6d36 0%, var(--accent) 100%);
  box-shadow: 0 20px 40px rgba(250, 85, 24, 0.22);
  padding: 17px 34px; font-size: 16px;
}
.btn-ghost:hover, .btn-call:hover {
  background: linear-gradient(180deg, #ff7540 0%, var(--accent-dark) 100%);
  box-shadow: 0 24px 48px rgba(250, 85, 24, 0.26);
}
.btn-call { min-width: 172px; }
.nav-call { min-width: 0; padding: 10px 18px; font-size: 13px; }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.wordmark {
  font-size: 14px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); transition: color 0.15s ease;
}
.wordmark:hover { color: var(--accent); }

/* Hero container */
.hero { padding: 132px 0 36px; position: relative; }
.hero .container {
  padding: 72px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 18% 18%, rgba(250, 85, 24, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.015);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero .container::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 85, 24, 0.16) 0%, transparent 62%);
  filter: blur(12px); pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}

.hero-headline, .hero-subheadline {
  font-size: clamp(3.8rem, 8vw, 6.4rem);
  font-weight: 800; line-height: 0.96; letter-spacing: -0.065em;
}
.hero-headline { color: var(--text); }
.hero-subheadline { color: var(--muted-soft); margin-bottom: 34px; }

.hero-body {
  max-width: 640px;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 38px;
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* In-card / inline H2 (smaller than section-headline) */
.h2 {
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text);
}

/* Muted supporting paragraph */
.sub {
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  max-width: 60ch;
}
.sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Section headers */
.section-header { margin-bottom: 34px; max-width: 760px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header.center .section-label { display: inline-flex; }
.section-headline {
  font-size: clamp(2.1rem, 4.2vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.06em; line-height: 1.02;
}
.accent { color: var(--accent); }

/* Sections spacing */
.section { padding: 36px 0; }

/* Steps grid (how-it-works pattern) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}
.steps.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step {
  padding: 32px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(250, 85, 24, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(250, 85, 24, 0.22);
  background: linear-gradient(180deg, rgba(250, 85, 24, 0.18), rgba(250, 85, 24, 0.06));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--accent); margin-bottom: 26px;
}
.step-title {
  font-size: 1.32rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.step-body { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }

/* Stacked card (for FAQ, body copy) */
.stacked {
  max-width: 860px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.016));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.stacked-body {
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--muted);
}
.stacked-body p + p { margin-top: 18px; }

/* FAQ items inside stacked */
.faq-item { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; }
.faq-item:first-child { border-top: 0; padding-top: 0; }
.faq-q {
  font-size: 1.08rem; font-weight: 700; color: var(--text);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.faq-a { color: var(--muted); font-size: 0.98rem; line-height: 1.75; }

/* Research / centered CTA block (like index-premium.html .research-inner) */
.research-inner {
  padding: 72px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    radial-gradient(circle at top center, rgba(250, 85, 24, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.02);
}
.research-inner::before {
  content: "";
  position: absolute;
  inset: auto 50% -120px auto;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 85, 24, 0.2) 0%, transparent 64%);
  transform: translateX(50%);
  pointer-events: none;
}
.research-inner .section-label { justify-content: center; }
.research-body {
  max-width: 600px; margin: 32px auto 34px;
  font-size: 1.04rem; line-height: 1.8;
  color: var(--muted); position: relative;
}

/* VSL embed wrapper */
.vsl-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  box-shadow: var(--shadow);
  margin: 40px 0 32px;
}
.vsl-wrap iframe, .vsl-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}
.vsl-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  background: repeating-linear-gradient(45deg, #0a0a0a, #0a0a0a 10px, #111 10px, #111 20px);
  color: var(--muted-soft);
  font-size: 14px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  text-align: center; padding: 20px;
}

/* Trust row under hero */
.trust-row {
  display: flex; flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
  font-size: 14px; color: var(--muted-soft);
}
.trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-item::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* Quiz inputs */
.field { display: block; margin-bottom: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; color: var(--muted);
  margin-bottom: 8px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: inherit; font-size: 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}
.field textarea { resize: vertical; min-height: 96px; }

/* Quiz option grid */
.options { display: grid; gap: 12px; grid-template-columns: 1fr; }
.options.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .options.cols-2 { grid-template-columns: 1fr; } }
.option {
  display: block; width: 100%;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 15px; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.option:hover {
  border-color: rgba(250, 85, 24, 0.26);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}
.option.selected { border-color: var(--accent); background: rgba(250, 85, 24, 0.08); }
.option-label { display: block; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.01em; }
.option-hint { display: block; font-size: 13px; color: var(--muted-soft); font-weight: 400; }

/* Progress bar + step count */
.progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff6d36, var(--accent));
  transition: width 0.3s ease;
}
.step-count {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}

.actions {
  display: flex; gap: 12px; margin-top: 32px;
}
.actions .btn-primary { flex: 0; }
.actions .btn-ghost { flex: 1; }

/* Booking embed frame */
.booking-frame {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  margin-top: 40px;
}
.booking-frame iframe { width: 100%; border: 0; display: block; }

/* Footer */
footer { padding: 22px 0 44px; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-wordmark {
  font-size: 0.84rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); margin-bottom: 6px;
}
.footer-tagline, .footer-bottom {
  font-size: 0.92rem; color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

/* Fade-up scroll animation */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Site-wide nav menu + footer sitemap (website pages only,
   NOT funnel pages which use the minimal wordmark-only nav)
============================================================ */

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.15s ease;
  position: relative;
}
.nav-link:hover { color: var(--text); }
.nav-link-active { color: var(--text); }
.nav-link-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 16px; padding: 8px 0; }

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-call { display: none; }
}

.site-footer {
  padding: 72px 0 28px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.7fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-socials { display: flex; flex-direction: row; gap: 16px; align-items: center; flex-wrap: wrap; }
.footer-socials a { color: var(--muted); transition: color 0.15s ease; display: inline-flex; align-items: center; justify-content: center; }
.footer-socials a:hover { color: var(--accent); }
.footer-socials svg { width: 22px; height: 22px; display: block; flex-shrink: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color 0.15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text); margin-bottom: 18px;
}
.footer-wordmark {
  font-size: 16px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text); margin-bottom: 10px;
}
.footer-tagline {
  font-size: 14px; color: var(--muted);
  margin-bottom: 16px; max-width: 280px;
}
.footer-meta { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.footer-meta a { color: var(--muted); transition: color 0.15s ease; }
.footer-meta a:hover { color: var(--accent); }
.footer-email a { font-size: 14px; color: var(--muted); }
.footer-email a:hover { color: var(--accent); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal { display: inline-flex; gap: 10px; align-items: center; }
.footer-legal a { color: var(--muted-soft); }
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer .footer-bottom { justify-content: flex-start; }
}

/* Article / long-form content (privacy, terms pages) */
.article {
  max-width: 760px;
  margin: 0 auto;
}
.article h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 14px;
}
.article h2:first-child { margin-top: 0; }
.article h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
  margin-top: 28px; margin-bottom: 10px;
}
.article p {
  font-size: 1rem; line-height: 1.8;
  color: var(--muted); margin-bottom: 16px;
}
.article ul, .article ol {
  margin: 0 0 16px 22px;
  color: var(--muted); line-height: 1.8;
}
.article li { margin-bottom: 6px; }
.article a { color: var(--accent); text-decoration: underline; }
.article a:hover { color: var(--accent-dark); }
.article strong { color: var(--text); font-weight: 700; }
.article-meta {
  font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 700;
  color: var(--muted-soft);
  margin-bottom: 12px;
}

/* Utilities */
.text-center { text-align: center; }
.mt-lg { margin-top: 72px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Responsive breakpoints */
@media (max-width: 960px) {
  .hero .container, .stacked, .research-inner { padding: 44px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps.cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), 1180px); }
  .hero { padding-top: 108px; }
  .hero .container, .stacked, .research-inner { padding: 30px 24px; }
  .hero-headline, .hero-subheadline { font-size: clamp(2.9rem, 15vw, 4.4rem); }
  .hero-cta, .footer-top { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost, .btn-call { width: 100%; }
  .step { padding: 24px; }
  .steps { grid-template-columns: 1fr; }
}

/* Fade-up observer trigger script lives in each page */
