/* Happy Vibes – Webseite. Keine externen Abhängigkeiten, keine Webfonts. */

:root {
  --bg: #12071c;
  --bg-2: #1c0b2b;
  --grad-top: #2a0f3a;
  --grad-bottom: #4a2370;
  --violet: #b388ff;
  --violet-strong: #8f5cff;
  --pink: #ff5c8a;
  --orange: #ffb15c;
  --text: #f4ecff;
  --muted: rgba(244, 236, 255, 0.68);
  --glass: rgba(179, 136, 255, 0.08);
  --glass-strong: rgba(179, 136, 255, 0.14);
  --border: rgba(179, 136, 255, 0.32);
  --radius: 22px;
  --max: 1160px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.75);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(143, 92, 255, 0.22), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(255, 92, 138, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: #d7c2ff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--violet); color: #1a0b28; padding: 8px 14px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ---------- Hintergrund-Blobs ---------- */

.blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45;
  animation: drift 26s ease-in-out infinite alternate;
}
.blob.b1 { width: 520px; height: 520px; background: #6b2fd1; top: -160px; right: -120px; }
.blob.b2 { width: 420px; height: 420px; background: #c2306b; bottom: 10%; left: -180px; animation-duration: 32s; opacity: 0.3; }
.blob.b3 { width: 360px; height: 360px; background: #d8822f; top: 45%; right: -160px; animation-duration: 38s; opacity: 0.18; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, 80px) scale(1.15); }
  100% { transform: translate(40px, -40px) scale(0.95); }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  background: rgba(18, 7, 28, 0.6);
  border-bottom: 1px solid rgba(179, 136, 255, 0.12);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.01em; }
.brand:hover { color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 6px 20px -6px rgba(255, 92, 138, 0.6); }

.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 0.95rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--glass-strong); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--glass); color: var(--text); cursor: pointer; padding: 0;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: auto; position: relative;
  transition: transform .25s, background .25s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 10px 20px 20px; background: #160a22; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
}

/* ---------- Buttons & Badges ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; border: 1px solid var(--border); color: var(--text); background: var(--glass);
  transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; font: inherit;
}
.btn:hover { color: var(--text); transform: translateY(-2px); background: var(--glass-strong); }
.btn-primary {
  border: 0; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--violet-strong));
  box-shadow: 0 12px 30px -10px rgba(255, 92, 138, 0.7);
}
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(255, 92, 138, 0.9); }

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; min-width: 178px;
  padding: 9px 18px 9px 14px; border-radius: 14px; color: #fff;
  background: #000; border: 1px solid rgba(255, 255, 255, 0.28);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.store-badge:hover { color: #fff; transform: translateY(-2px); border-color: var(--violet); box-shadow: 0 12px 30px -12px rgba(179, 136, 255, 0.8); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 0.68rem; line-height: 1.1; opacity: 0.85; letter-spacing: 0.02em; }
.store-badge strong { display: block; font-size: 1.15rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Hero ---------- */

.hero { position: relative; padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border); color: var(--violet); font-size: 0.85rem; font-weight: 600;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(255, 177, 92, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 177, 92, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(255, 177, 92, 0); } }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; margin-top: 22px; }
.grad-text {
  background: linear-gradient(100deg, var(--orange) 0%, var(--pink) 40%, var(--violet) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% auto; animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% center; } }

.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 36em; margin: 0 0 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.93rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--violet)); -webkit-mask: radial-gradient(circle, #000 35%, transparent 37%); mask: radial-gradient(circle, #000 35%, transparent 37%); }

/* Phone-Mockup mit Vibrationsringen */
.phone-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings span {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 2px solid rgba(255, 177, 92, 0.5); animation: ripple 4s cubic-bezier(.2, .6, .3, 1) infinite;
}
.rings span:nth-child(2) { animation-delay: 1.33s; border-color: rgba(255, 92, 138, 0.5); }
.rings span:nth-child(3) { animation-delay: 2.66s; border-color: rgba(179, 136, 255, 0.5); }
@keyframes ripple { 0% { transform: scale(0.7); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(2.1); opacity: 0; } }

.phone {
  position: relative; width: 280px; aspect-ratio: 1206 / 2622; border-radius: 46px; padding: 10px;
  background: linear-gradient(145deg, #3a2550, #120a1c);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 80px -20px rgba(143, 92, 255, 0.6);
  animation: buzz 6s ease-in-out infinite;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
@keyframes buzz {
  0%, 70%, 100% { transform: translate(0, 0) rotate(-3deg); }
  72% { transform: translate(-2px, 1px) rotate(-3.4deg); }
  74% { transform: translate(2px, -1px) rotate(-2.6deg); }
  76% { transform: translate(-2px, 0) rotate(-3.3deg); }
  78% { transform: translate(1px, 1px) rotate(-2.8deg); }
  80% { transform: translate(0, 0) rotate(-3deg); }
}

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 16px;
  background: rgba(40, 18, 60, 0.72); border: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow); animation: float 7s ease-in-out infinite;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--pink), var(--violet-strong)); }
.float-chip .ic svg { width: 18px; height: 18px; fill: #fff; }
.float-chip.c1 { top: 16%; left: -4%; }
.float-chip.c2 { bottom: 18%; right: -6%; animation-delay: -3.5s; }
.float-chip.c2 .ic { background: linear-gradient(135deg, var(--orange), var(--pink)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Animierte Motorkurve */
.wave { display: block; width: 100%; height: 120px; margin-top: 20px; }
.wave path { fill: none; stroke-width: 3; stroke-linecap: round; }
.wave .w1 { stroke: url(#waveGrad); stroke-dasharray: 14 10; animation: dash 3s linear infinite; }
.wave .w2 { stroke: rgba(179, 136, 255, 0.35); stroke-width: 2; animation: dash 5s linear infinite reverse; stroke-dasharray: 6 12; }
@keyframes dash { to { stroke-dashoffset: -240; } }

@media (max-width: 900px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero .store-badges, .hero-facts { justify-content: center; }
  .phone-stage { min-height: 520px; }
  .phone { width: 240px; }
  .float-chip.c1 { left: 2%; }
  .float-chip.c2 { right: 2%; }
}

/* ---------- Sektionen ---------- */

section { padding: 90px 0; position: relative; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 10px; }
.section-head p { color: var(--muted); margin: 0; }

/* Modus-Karten */
.modes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.mode-card {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(179, 136, 255, 0.13), rgba(179, 136, 255, 0.04));
  border: 1px solid var(--border); overflow: hidden; isolation: isolate;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s;
}
.mode-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 92, 138, 0.22), transparent 45%);
}
.mode-card:hover { transform: translateY(-6px); border-color: rgba(179, 136, 255, 0.7); box-shadow: 0 26px 60px -28px rgba(143, 92, 255, 0.9); }
.mode-card:hover::before { opacity: 1; }
.mode-icon {
  width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.9), rgba(143, 92, 255, 0.9));
  box-shadow: 0 12px 26px -10px rgba(255, 92, 138, 0.8);
}
.mode-icon svg { width: 30px; height: 30px; fill: #fff; }
.mode-card:nth-child(3n+2) .mode-icon { background: linear-gradient(135deg, rgba(255, 177, 92, 0.95), rgba(255, 92, 138, 0.9)); box-shadow: 0 12px 26px -10px rgba(255, 177, 92, 0.7); }
.mode-card:nth-child(3n) .mode-icon { background: linear-gradient(135deg, rgba(143, 92, 255, 0.95), rgba(92, 120, 255, 0.85)); box-shadow: 0 12px 26px -10px rgba(143, 92, 255, 0.8); }
.mode-card h3 { font-size: 1.3rem; margin: 6px 0 0; }
.mode-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.mode-card ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.92rem; }
.mode-card ul li::marker { color: var(--violet); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--muted); }
.tag.warn { color: var(--orange); border-color: rgba(255, 177, 92, 0.4); }
.shot-btn {
  align-self: flex-start; margin-top: 4px; background: none; border: 0; padding: 0; color: var(--violet); font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer;
}
.shot-btn:hover { color: #fff; }
.shot-btn::after { content: " →"; transition: margin .2s; }
.shot-btn:hover::after { margin-left: 4px; }

/* Bento-Highlights */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.bento .tile {
  padding: 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid rgba(179, 136, 255, 0.2);
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden;
}
.bento .tile h3 { font-size: 1.15rem; margin: 0; }
.bento .tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.bento .tile.wide { grid-column: span 2; }
.bento .tile.hot { background: linear-gradient(140deg, rgba(255, 92, 138, 0.35), rgba(143, 92, 255, 0.25)); border-color: rgba(255, 92, 138, 0.5); }
.bento .big { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stop-key {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255, 92, 138, 0.15); border: 2px solid var(--pink); box-shadow: 0 0 30px -4px rgba(255, 92, 138, 0.8);
}
.stop-key::after { content: ""; width: 20px; height: 20px; background: #fff; border-radius: 3px; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .tile.wide { grid-column: auto; } }

/* Galerie */
.gallery {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px;
  scrollbar-width: thin; scrollbar-color: var(--violet) transparent;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.gallery figure { margin: 0; flex: 0 0 220px; scroll-snap-align: center; text-align: center; }
.gallery a { display: block; cursor: zoom-in; border-radius: 30px; }
.gallery a:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.gallery img {
  width: 220px; aspect-ratio: 1206 / 2622; object-fit: cover; border-radius: 30px; border: 6px solid #241334;
  box-shadow: var(--shadow); transition: transform .3s;
}
.gallery figure:hover img { transform: translateY(-8px) rotate(-1deg); }
.gallery figcaption { margin-top: 14px; color: var(--muted); font-size: 0.9rem; }

/* Lightbox */
dialog.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(10, 3, 16, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
dialog.lightbox img { max-height: 86vh; width: auto; border-radius: 30px; border: 6px solid #241334; box-shadow: var(--shadow); }
dialog.lightbox .close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #2a1240; color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1;
}
dialog.lightbox p { text-align: center; color: var(--muted); margin: 12px 0 0; }
dialog[open].lightbox { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* Privacy-Band */
.privacy-band {
  border-radius: 32px; padding: clamp(36px, 6vw, 70px); text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(42, 15, 58, 0.9), rgba(74, 35, 112, 0.9));
  border: 1px solid var(--border);
}
.privacy-band::before {
  content: ""; position: absolute; inset: -50%; z-index: 0;
  background: conic-gradient(from 0deg, transparent, rgba(255, 92, 138, 0.25), transparent 30%, rgba(179, 136, 255, 0.25), transparent 60%);
  animation: spin 18s linear infinite;
}
.privacy-band > * { position: relative; }
.privacy-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.privacy-band p { color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
@keyframes spin { to { transform: rotate(360deg); } }

.cta { text-align: center; }
.cta .app-icon { width: 108px; height: 108px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 20px 50px -14px rgba(255, 92, 138, 0.7); }
.cta .store-badges { justify-content: center; margin-top: 26px; }

/* ---------- Unterseiten ---------- */

.page-hero { padding: 70px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.prose-wrap { padding: 20px 0 90px; }
.prose {
  max-width: 820px; margin: 0 auto; padding: clamp(26px, 5vw, 54px); border-radius: 28px;
  background: rgba(28, 11, 43, 0.72); border: 1px solid rgba(179, 136, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.prose h2 { font-size: 1.5rem; margin: 2em 0 0.6em; padding-top: 0.4em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.6em 0 0.4em; color: #e6d8ff; }
.prose p, .prose li { color: rgba(244, 236, 255, 0.84); }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 0.3em 0; }
.prose li::marker { color: var(--violet); }
.prose address { font-style: normal; line-height: 1.8; }
.prose .meta { color: var(--muted); font-size: 0.9rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(179, 136, 255, 0.18); vertical-align: top; }
.prose th { color: var(--violet); font-weight: 600; white-space: nowrap; }
@media (max-width: 600px) { .prose th { white-space: normal; } }

.callout {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; margin: 0 0 2em;
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.16), rgba(143, 92, 255, 0.16)); border: 1px solid rgba(255, 92, 138, 0.4);
}
.callout svg { width: 28px; height: 28px; flex: none; fill: var(--orange); margin-top: 2px; }
.callout p { margin: 0; color: var(--text); }

mark.todo { background: rgba(255, 177, 92, 0.2); color: var(--orange); border: 1px dashed rgba(255, 177, 92, 0.7); padding: 0 6px; border-radius: 6px; font-weight: 600; }

/* Support: Kontaktkarten + FAQ */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto 40px; }
.contact-card { padding: 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--border); }
.contact-card h2 { font-size: 1.15rem; margin: 12px 0 6px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.contact-card .mode-icon { width: 46px; height: 46px; border-radius: 14px; }
.contact-card .mode-icon svg { width: 24px; height: 24px; }

.faq details {
  border: 1px solid rgba(179, 136, 255, 0.22); border-radius: 18px; background: rgba(179, 136, 255, 0.05);
  margin: 0 0 12px; transition: background .25s, border-color .25s;
}
.faq details[open] { background: rgba(179, 136, 255, 0.1); border-color: rgba(179, 136, 255, 0.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass-strong); color: var(--violet); font-size: 1.2rem; transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 18px; }
.faq details > div p:first-child { margin-top: 0; }
.faq details > div > :last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid rgba(179, 136, 255, 0.15); background: rgba(10, 3, 16, 0.6); padding: 56px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-grid h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); margin: 0 0 16px; }
.footer-grid p { color: var(--muted); font-size: 0.93rem; margin: 14px 0 0; max-width: 340px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-grid .store-badges { flex-direction: column; align-items: flex-start; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(179, 136, 255, 0.1); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: rgba(244, 236, 255, 0.5); font-size: 0.82rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Scroll-Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
