/* ═══════════════════════════════════════════════════════════
   PhysiQ Marketing Website — Deep Purple Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  --primary:       #7C3AED;
  --primary-light: #A855F7;
  --accent:        #C084FC;
  --bg:            #0D0A14;
  --surface:       #13101E;
  --surface2:      #1A1628;
  --surface3:      #221D33;
  --text:          #F5F3FF;
  --text-2:        #A78BFA;
  --text-3:        #6D5E8A;
  --border:        rgba(124,58,237,.18);
  --border2:       rgba(124,58,237,.32);
  --green:         #10B981;
  --orange:        #F59E0B;
  --r:             16px;
  --r-lg:          24px;
  --maxw:          1140px;
  --font:          'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ─── Ambient Glow Background ─── */
.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124,58,237,.25), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(192,132,252,.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 5% 60%, rgba(168,85,247,.10), transparent 50%);
}

/* ─── Navbar ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,10,20,.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.5px; }
.nav-logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important; padding: 9px 18px; border-radius: 11px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 20px rgba(124,58,237,.35);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(124,58,237,.5); }
.nav-burger {
  display: none; background: none; border: none; color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 6px 4px; margin-left: 4px;
}
.nav-drop { display: none; flex-direction: column; border-top: 1px solid var(--border); }
.nav-drop a { padding: 15px 24px; color: var(--text-2); font-weight: 600; font-size: 15px; }
.nav-drop a:not(:last-child) { border-bottom: 1px solid var(--border); }
.nav-drop a:hover { color: var(--text); background: var(--surface); }
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-burger { display: inline-flex; align-items: center; }
  .nav.open .nav-drop { display: flex; }
}

/* ─── Hero ─── */
.hero { padding: 80px 0 60px; text-align: center; position: relative; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface2); border: 1px solid var(--border2);
  padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 24px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero h1 {
  font-size: clamp(38px, 7vw, 68px); font-weight: 900; line-height: 1.05;
  letter-spacing: -2px; margin-bottom: 22px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: clamp(16px, 2.5vw, 20px); color: var(--text-2);
  max-width: 600px; margin: 0 auto 36px; font-weight: 500;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; padding: 16px 32px; border-radius: 14px; border: none;
  font-size: 16px; font-weight: 800; cursor: pointer; font-family: var(--font);
  box-shadow: 0 14px 34px rgba(124,58,237,.4);
  transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(124,58,237,.55); }
.btn-ghost {
  background: var(--surface2); color: var(--text); padding: 16px 28px;
  border-radius: 14px; border: 1px solid var(--border2);
  font-size: 16px; font-weight: 700; cursor: pointer; font-family: var(--font);
  transition: background .2s, border-color .2s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-ghost:hover { background: var(--surface3); border-color: var(--primary-light); }
.hero-note { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ─── Screenshot Carousel ─── */
.carousel-section { padding: 30px 0 80px; }
.carousel {
  position: relative; max-width: 920px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
}
.carousel-track {
  flex: 1; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 20px 0; scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }
.shot {
  flex: 0 0 auto; width: 280px; scroll-snap-align: center;
  border-radius: 32px; overflow: hidden;
  border: 1px solid var(--border2);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transition: transform .3s;
}
.shot:hover { transform: translateY(-6px); }
.shot img { width: 100%; display: block; }
.shot-placeholder {
  width: 280px; aspect-ratio: 9/19.5; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  color: var(--text-3); font-size: 14px; font-weight: 600; text-align: center; padding: 24px;
  background: linear-gradient(160deg, var(--surface2), var(--surface));
}
.shot-placeholder .ph-icon { font-size: 40px; opacity: .5; }
.carousel-btn {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--text); font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s; z-index: 2;
}
.carousel-btn:hover { background: var(--primary); transform: scale(1.08); }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.carousel-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--surface3);
  cursor: pointer; transition: background .2s, width .2s;
}
.carousel-dots .dot.active { background: var(--primary-light); width: 24px; border-radius: 4px; }
@media (max-width: 720px) {
  .carousel-btn { display: none; }
  .carousel { gap: 0; }
}

/* ─── Section ─── */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  color: var(--primary-light); font-size: 14px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 900; letter-spacing: -1px; margin-bottom: 14px; }
.section-head p { color: var(--text-2); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ─── Feature Grid ─── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-card {
  background: linear-gradient(160deg, var(--surface2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; transition: transform .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--border2); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(124,58,237,.4);
}
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { color: var(--text-2); font-size: 15px; }

/* ─── Steps / How it works ─── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--surface2); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900; color: var(--primary-light);
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15px; }

/* ─── CTA band ─── */
.cta-band {
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(192,132,252,.08));
  border: 1px solid var(--border2); border-radius: var(--r-lg);
  padding: 56px 32px; text-align: center; margin: 40px 0;
}
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: -1px; margin-bottom: 16px; }
.cta-band p { color: var(--text-2); font-size: 17px; margin-bottom: 30px; }

/* ─── Footer ─── */
.footer { border-top: 1px solid var(--border); padding: 50px 0 40px; margin-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-3); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; text-align: center; }

/* ─── Store badges ─── */
.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; border: 1px solid var(--border2); border-radius: 13px;
  padding: 11px 20px; transition: transform .2s, border-color .2s;
}
.store-badge:hover { transform: translateY(-2px); border-color: var(--primary-light); }
.store-badge .store-icon { font-size: 28px; }
.store-badge .store-text small { display: block; font-size: 10px; color: var(--text-3); }
.store-badge .store-text strong { display: block; font-size: 16px; font-weight: 700; }

/* ─── reveal animation ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════════════════
   v2 — Conversion-Landingpage: Trust, Steps, Compare, FAQ,
   Build-in-Public, Glasmorphism
   ═══════════════════════════════════════════════════════════ */

/* Glass-Card */
.glass {
  background: rgba(25,20,40,.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(168,85,247,.18);
  border-radius: 20px;
}

/* Trust-Bar */
.trust { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 8px 0 8px; }
.trust .pill {
  font-size: 13px; font-weight: 600; color: var(--text-2);
  background: rgba(124,58,237,.08); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 16px;
}

/* How it works — Steps */
.steps-flow { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 520px; margin: 0 auto; }
.flow-step {
  width: 100%; text-align: center; padding: 20px 24px;
  background: linear-gradient(145deg, var(--surface2), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r-lg);
}
.flow-step .fs-icon { font-size: 32px; margin-bottom: 8px; }
.flow-step h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.flow-step p { font-size: 14px; color: var(--text-2); }
.flow-arrow { font-size: 24px; color: var(--primary-light); padding: 10px 0; }

/* Compare table (Free vs Premium) */
.compare { max-width: 560px; margin: 0 auto; border: 1px solid var(--border2); border-radius: 18px; overflow: hidden; }
.compare-row { display: grid; grid-template-columns: 1fr 90px 100px; align-items: center; border-top: 1px solid rgba(255,255,255,.06); }
.compare-row:first-child { border-top: none; }
.compare-head { background: rgba(124,58,237,.10); }
.compare-row > div { padding: 13px 16px; font-size: 14px; }
.compare-row .c-feat { color: var(--text); font-weight: 600; }
.compare-row .c-free { text-align: center; color: var(--text-3); font-weight: 700; font-size: 13px; }
.compare-row .c-prem { text-align: center; color: var(--primary-light); font-weight: 800; background: rgba(124,58,237,.06); }
.compare-head .c-feat { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); font-weight: 800; }
.compare-head .c-free, .compare-head .c-prem { font-size: 12px; text-transform: uppercase; }

/* FAQ accordion */
.faq { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 18px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--border2); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-size: 15px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary-light); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* Build in Public */
.bip { max-width: 720px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bip-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.bip-card .bip-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; color: var(--primary-light); background: rgba(124,58,237,.12); border-radius: 8px; padding: 4px 10px; margin-bottom: 12px; }
.bip-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.bip-list { list-style: none; }
.bip-list li { font-size: 14px; color: var(--text-2); padding: 6px 0 6px 22px; position: relative; }
.bip-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary-light); }
.bip-version { font-size: 30px; font-weight: 900; color: var(--text); letter-spacing: -1px; }
@media (max-width: 640px) { .bip { grid-template-columns: 1fr; } }

/* QR / Download */
.dl-grid { display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; }
.qr-box { width: 150px; height: 150px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 12px; }
.qr-box img { width: 100%; height: 100%; }
.qr-box .qr-ph { color: #6D5E8A; font-size: 12px; text-align: center; font-weight: 600; }

/* Newsletter */
.news { max-width: 460px; margin: 0 auto; display: flex; gap: 10px; }
.news input {
  flex: 1; background: var(--surface2); border: 1px solid var(--border2); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font-size: 15px; outline: none; font-family: var(--font);
}
.news input:focus { border-color: var(--primary-light); }
@media (max-width: 480px) { .news { flex-direction: column; } }

/* Section divider spacing helper */
.tight { padding: 50px 0; }

/* ─── Legal-Seiten (Impressum/Datenschutz/AGB) ─── */
.legal { max-width: 760px; margin: 0 auto; padding: 24px 0 40px; }
.legal h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 900; letter-spacing: -1px; margin-bottom: 6px; }
.legal h1 .grad { background: linear-gradient(120deg, var(--primary-light), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.legal .updated { color: var(--text-3); font-size: 13px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; font-weight: 800; color: var(--primary-light); margin: 34px 0 12px; }
.legal h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 20px 0 8px; }
.legal p, .legal li { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 8px; }
.legal ul { margin: 8px 0 16px 22px; }
.legal a { color: var(--primary-light); }
.legal a:hover { text-decoration: underline; }
.legal section { margin-bottom: 8px; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.legal th, .legal td { padding: 9px 11px; text-align: left; border-bottom: 1px solid var(--border); color: var(--text-2); }
.legal th { background: rgba(124,58,237,.10); font-weight: 700; color: var(--primary-light); }
.legal .note { background: rgba(124,58,237,.08); border-left: 3px solid var(--primary); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 20px 0; font-size: 14px; color: var(--text-2); }
.legal .warning { background: rgba(245,158,11,.08); border-left: 3px solid var(--orange); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; }
