/* =======================================================================
   DOONKOO — landing page (portage du projet React vers Symfony/Twig)
   ======================================================================= */

:root {
    --background: oklch(0.985 0.005 280);
    --foreground: oklch(0.18 0.04 290);
    --card: oklch(1 0 0);
    --primary: oklch(0.26 0.08 295);
    --primary-foreground: oklch(0.985 0.005 280);
    --primary-glow: oklch(0.55 0.18 300);
    --accent-mint: oklch(0.78 0.14 165);
    --secondary: oklch(0.96 0.01 290);
    --muted-foreground: oklch(0.5 0.03 285);
    --border: oklch(0.9 0.02 290);
    --gradient-hero: radial-gradient(ellipse at top, oklch(0.55 0.18 300 / 0.35), transparent 60%), linear-gradient(180deg, oklch(0.18 0.06 295), oklch(0.12 0.05 290));
    --gradient-purple: linear-gradient(135deg, oklch(0.26 0.08 295), oklch(0.4 0.14 300));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site {
    margin: 0;
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow { max-width: 48rem; }

.italic-accent { font-style: italic; color: var(--primary-glow); }

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: color-mix(in oklab, var(--primary) 60%, transparent);
}
.eyebrow--white { color: rgba(255, 255, 255, 0.5); }

.h2 {
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--foreground);
}
.h2--white { color: #fff; }
@media (min-width: 768px) { .h2 { font-size: 3.75rem; } }

/* ---------- reveal-on-scroll / reveal-on-load ------------------------- */
.reveal, .hero__reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible, .hero__reveal.is-visible { opacity: 1; transform: none; }
.hero__reveal--x { transform: translateX(60px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.hero__reveal--x.is-visible { transform: none; }

/* ---------- buttons ----------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.9rem 1.5rem;
    font-weight: 500;
    transition: gap .25s ease, background-color .2s ease, transform .2s ease;
}
.btn--white {
    position: relative;
    overflow: hidden;
    background: #fff;
    color: var(--primary);
}
.btn--white:hover { gap: 0.75rem; }
.btn__sheen {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
    transform: translateX(-100%);
    transition: transform .7s ease;
    pointer-events: none;
}
.btn--white:hover .btn__sheen { transform: translateX(100%); }
.btn--outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

/* ---------- phone frame (reused everywhere) ----------------------------*/
.phone-frame {
    position: relative;
    border-radius: 40px;
    padding: 3.5px;
    background: linear-gradient(145deg, #484848 0%, #1e1e1e 42%, #060606 100%);
    box-shadow:
        inset 0 1.5px 0 rgba(255,255,255,0.12),
        0 0 0 0.5px rgba(255,255,255,0.05),
        0 40px 100px rgba(0,0,0,0.9),
        0 14px 36px rgba(0,0,0,0.65);
    user-select: none;
}
.phone-frame::before {
    content: ""; position: absolute; inset: -16px; z-index: -1;
    border-radius: 56px; pointer-events: none; filter: blur(48px);
    background: radial-gradient(ellipse at 50% 55%, rgba(139,92,246,0.5), transparent 62%);
}
.phone-frame > img { border-radius: 37px; overflow: hidden; width: 100%; height: auto; }
.phone-frame__sheen {
    position: absolute; inset: 3.5px; border-radius: 37px; pointer-events: none;
    background: linear-gradient(155deg, rgba(255,255,255,0.07) 0%, transparent 36%);
}
.phone-frame__btn { position: absolute; width: 4px; background: linear-gradient(180deg, #525252, #1e1e1e); }
.phone-frame__btn--vol1 { left: -4px; top: 20%; height: 1.75rem; border-radius: 2px 0 0 2px; }
.phone-frame__btn--vol2 { left: -4px; top: 31%; height: 3rem; border-radius: 2px 0 0 2px; }
.phone-frame__btn--vol3 { left: -4px; top: 46%; height: 3rem; border-radius: 2px 0 0 2px; }
.phone-frame__btn--power { right: -4px; top: 28%; height: 4rem; border-radius: 0 2px 2px 0; }

/* ---------- preloader ---------------------------------------------------*/
.preloader {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .6s ease;
}
.preloader--hide { opacity: 0; pointer-events: none; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.preloader__logo {
    width: 5rem; height: 5rem;
    animation: preloaderLogo .9s cubic-bezier(.16,1,.3,1) both;
    filter: drop-shadow(0 0 40px rgba(160,120,255,0.6));
}
.preloader__logo img { width: 100%; height: 100%; object-fit: contain; }
.preloader__brand {
    font-size: 2.25rem; letter-spacing: 0.05em; color: #fff;
    animation: preloaderFade .5s ease .4s both;
}
.preloader__bar {
    height: 2px; width: 160px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
    animation: preloaderBar 1s ease .6s both;
}
@keyframes preloaderLogo { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@keyframes preloaderFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes preloaderBar { from { width: 0; } to { width: 160px; } }

/* ---------- nav ----------------------------------------------------------*/
.nav {
    position: fixed; top: 1rem; left: 50%; transform: translateX(-50%);
    z-index: 50; width: min(960px, 92%);
    opacity: 0; animation: navIn .7s ease 2s both;
}
@keyframes navIn { from { opacity: 0; transform: translate(-50%, -40px); } to { opacity: 1; transform: translate(-50%, 0); } }
.nav__bar {
    display: flex; align-items: center; justify-content: space-between;
    border-radius: 9999px; border: 1px solid rgba(255,255,255,0.12);
    padding: 0.625rem 1.25rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    transition: background-color .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.nav__bar.is-scrolled {
    background: rgba(10,6,22,0.92);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}
.nav__brand img { height: 3rem; width: auto; object-fit: contain; }
.nav__links { display: none; align-items: center; gap: 1.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.nav__links a:hover { color: #fff; }
@media (min-width: 768px) { .nav__links { display: flex; } }
.nav__cta {
    border-radius: 9999px; background: #fff; color: var(--primary);
    font-size: 0.875rem; font-weight: 500; padding: 0.4rem 1rem;
    transition: transform .2s ease;
}
.nav__cta:hover { transform: scale(1.05); }

/* ---------- hero ----------------------------------------------------------*/
.hero { position: relative; min-height: 100vh; overflow-x: hidden; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__grid {
    position: absolute; inset: 0; opacity: 0.07;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero__blob { position: absolute; border-radius: 9999px; filter: blur(120px); }
.hero__blob--a { top: 25%; left: -8rem; width: 400px; height: 400px; background: color-mix(in oklab, var(--primary-glow) 30%, transparent); animation: floatA 8s ease-in-out infinite; }
.hero__blob--b { bottom: 25%; right: -8rem; width: 500px; height: 500px; background: color-mix(in oklab, var(--accent-mint) 20%, transparent); animation: floatB 10s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }
@keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(30px); } }
.hero__dot {
    position: absolute; width: 6px; height: 6px; border-radius: 9999px;
    background: rgba(255,255,255,0.25);
    animation-name: dotFloat; animation-iteration-count: infinite; animation-timing-function: ease-in-out;
}
@keyframes dotFloat { 0%,100% { transform: translateY(-8px); opacity: .15; } 50% { transform: translateY(8px); opacity: .55; } }

.hero__inner {
    position: relative; z-index: 10; max-width: 80rem; margin: 0 auto;
    padding: 10rem 1.5rem 6rem;
    display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 880px) { .hero__inner { grid-template-columns: 1fr 1fr; } }
.hero__text { color: #fff; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    border-radius: 9999px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    padding: 0.25rem 0.75rem; font-size: 0.75rem; color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
}
.hero__badge-dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--accent-mint); animation: badgePulse 2s ease-in-out infinite; }
@keyframes badgePulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero__title { font-size: 3rem; line-height: 1.05; letter-spacing: -0.02em; }
@media (min-width: 768px) { .hero__title { font-size: 4.5rem; } }
.hero__desc { margin-top: 1.5rem; font-size: 1.125rem; color: rgba(255,255,255,0.7); max-width: 32rem; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__stats {
    margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center;
    gap: 1rem 2rem; font-size: 0.875rem; color: rgba(255,255,255,0.6);
}
.hero__stat { display: flex; align-items: center; gap: 1rem; }
.hero__stat-big { font-size: 1.5rem; color: #fff; }
.hero__stat-sep { width: 1px; height: 2rem; background: rgba(255,255,255,0.15); }

.hero__visual { position: relative; }

/* desktop 3D coverflow carousel */
.carousel3d { position: relative; display: none; flex-direction: column; align-items: center; height: 700px; }
@media (min-width: 880px) { .carousel3d { display: flex; } }
.carousel3d__glow {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.carousel3d__glow::before {
    content: ""; width: 540px; height: 540px; border-radius: 9999px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.22) 0%, transparent 64%);
}
.carousel3d__stage {
    position: relative; width: 100%; flex: 1; display: flex; align-items: center; justify-content: center;
    perspective: 1400px; perspective-origin: 50% 50%;
}
.carousel3d__item {
    position: absolute; width: 285px; cursor: pointer; opacity: 0;
    transition: transform .65s cubic-bezier(.4,0,.2,1), opacity .65s cubic-bezier(.4,0,.2,1), filter .65s ease;
}
.carousel3d__item[data-index="0"] { opacity: 1; }
.carousel3d__float.is-active { animation: phoneBob12 4s ease-in-out infinite; }
@keyframes phoneBob12 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.carousel3d__nav {
    position: absolute; top: 44%; z-index: 20;
    width: 2.5rem; height: 2.5rem; border-radius: 9999px;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; color: #fff;
    transition: background-color .2s ease;
}
.carousel3d__nav:hover { background: rgba(255,255,255,0.2); }
.carousel3d__nav--prev { left: 0; }
.carousel3d__nav--next { right: 0; }
.carousel3d__dots { display: flex; gap: 0.5rem; padding-bottom: 0.5rem; z-index: 10; }
.carousel3d__dots button { height: 6px; width: 12px; border-radius: 9999px; background: rgba(255,255,255,0.3); transition: all .3s ease; }
.carousel3d__dots button.is-active { width: 32px; background: #fff; }

/* mobile hero phone */
.hero-mobile { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; padding-top: 0.5rem; }
@media (min-width: 880px) { .hero-mobile { display: none; } }
.hero-mobile__stage { position: relative; width: 200px; aspect-ratio: 330 / 636; perspective: 900px; }
@media (min-width: 640px) { .hero-mobile__stage { width: 230px; } }
.hero-mobile__item {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    transform: rotateY(20deg) scale(.9);
    transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
    transform-style: preserve-3d;
}
.hero-mobile__item[data-index="0"] { opacity: 1; pointer-events: auto; transform: rotateY(0) scale(1); }
.hero-mobile__float.is-active { animation: phoneBob8 4s ease-in-out infinite; }
@keyframes phoneBob8 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero-mobile__text { position: relative; width: 100%; text-align: center; color: #fff; padding: 0 1rem; min-height: 5.5rem; }
.hero-mobile__caption {
    position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease;
}
.hero-mobile__caption[data-index="0"] { opacity: 1; }
.hero-mobile__caption-title { font-size: 1.125rem; margin-bottom: 0.25rem; }
.hero-mobile__caption-desc { color: rgba(255,255,255,0.55); font-size: 0.875rem; max-width: 260px; margin: 0 auto; line-height: 1.4; }
.hero-mobile__dots { display: flex; gap: 0.5rem; }
.hero-mobile__dots button { height: 6px; width: 12px; border-radius: 9999px; background: rgba(255,255,255,0.3); transition: all .3s ease; }
.hero-mobile__dots button.is-active { width: 32px; background: #fff; }

/* ---------- features -------------------------------------------------- */
.features { position: relative; padding: 8rem 0; background: var(--background); }
.features__head { max-width: 42rem; margin-bottom: 4rem; }
.features__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
    position: relative; overflow: hidden; border-radius: 1rem;
    border: 1px solid var(--border); background: var(--card);
    padding: 1.75rem;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.feature-card:hover { border-color: color-mix(in oklab, var(--primary-glow) 50%, transparent); box-shadow: 0 0 32px rgba(139,92,246,0.12); transform: translateY(-5px) scale(1.02); }
.feature-card__glow {
    position: absolute; top: -5rem; right: -5rem; width: 10rem; height: 10rem; border-radius: 9999px;
    background: color-mix(in oklab, var(--primary-glow) 0%, transparent); filter: blur(48px);
    transition: background-color .5s ease;
}
.feature-card:hover .feature-card__glow { background: color-mix(in oklab, var(--primary-glow) 12%, transparent); }
.feature-card__body { position: relative; }
.feature-card__icon { color: var(--primary-glow); margin-bottom: 1.25rem; display: inline-block; transition: transform .3s ease; }
.feature-card:hover .feature-card__icon { transform: scale(1.1); }
.feature-card__title { font-size: 1.5rem; color: var(--foreground); margin-bottom: 0.5rem; }
.feature-card__desc { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; }

/* ---------- screens ------------------------------------------------------*/
.screens { position: relative; padding: 7rem 0; overflow: hidden; }
.screens__bg { position: absolute; inset: 0; pointer-events: none; }
.screens__grid {
    position: absolute; inset: 0; opacity: .05;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 60px 60px;
}
.screens__glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 700px; height: 700px; border-radius: 9999px;
    background: radial-gradient(ellipse, rgba(124,58,237,0.25), transparent 65%);
    filter: blur(80px);
}
.screens__wrap { position: relative; z-index: 10; }
.screens__head { text-align: center; margin-bottom: 5rem; color: #fff; }
.screens__layout { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 880px) { .screens__layout { grid-template-columns: 1fr auto 1fr; gap: 2.5rem; } }
@media (min-width: 1200px) { .screens__layout { gap: 4rem; } }

.screens__text { color: #fff; order: 2; }
@media (min-width: 880px) { .screens__text { order: 1; } }
.screens__counter { font-size: 0.75rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; }
.screens__caption { position: relative; min-height: 11rem; }
.screens__caption-item {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    transition: opacity .55s cubic-bezier(.4,0,.2,1), transform .55s cubic-bezier(.4,0,.2,1);
}
.screens__caption-item[data-index="0"] { opacity: 1; pointer-events: auto; }
.screens__caption-title { font-size: 1.875rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.25rem; }
@media (min-width: 768px) { .screens__caption-title { font-size: 3rem; } }
.screens__caption-desc { color: rgba(255,255,255,0.65); font-size: 1.125rem; line-height: 1.6; max-width: 24rem; }
.screens__dots { display: flex; gap: 0.5rem; margin-top: 2.5rem; }
.screens__dots button { height: 4px; width: 16px; border-radius: 9999px; background: rgba(255,255,255,0.25); transition: all .4s ease; }
.screens__dots button:hover { background: rgba(255,255,255,0.5); }
.screens__dots button.is-active { width: 40px; background: #fff; }

.screens__stage-col { order: 1; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
@media (min-width: 880px) { .screens__stage-col { order: 2; } }
.screens__stage { position: relative; width: 290px; aspect-ratio: 330 / 636; perspective: 1200px; }
.screens__item {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    transform-style: preserve-3d;
    transition: transform .55s cubic-bezier(.4,0,.2,1), opacity .55s cubic-bezier(.4,0,.2,1);
}
.screens__item[data-index="0"] { opacity: 1; pointer-events: auto; transform: rotateY(0) scale(1); }
.screens__float.is-active { animation: phoneBob10 4.5s ease-in-out infinite; }
@keyframes phoneBob10 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.screens__arrows { display: flex; align-items: center; gap: 1rem; }
.screens__arrows button {
    width: 2.75rem; height: 2.75rem; border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05);
    backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
    color: #fff; transition: background-color .2s ease, transform .2s ease;
}
.screens__arrows button:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); }
.screens__counter-mid { color: rgba(255,255,255,0.4); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.screens__preview { display: none; flex-direction: column; gap: 1.5rem; order: 3; color: #fff; }
@media (min-width: 880px) { .screens__preview { display: flex; } }
.screens__preview-item { opacity: 0.3; cursor: pointer; transition: opacity .2s ease; }
.screens__preview-item:hover { opacity: 0.6; }
.screens__preview-item--dim { opacity: 0.2; }
.screens__preview-item--dim:hover { opacity: 0.5; }
.screens__preview-label { font-size: 0.625rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; text-transform: uppercase; }
.screens__preview-title { font-size: 1.25rem; line-height: 1.25; }
.screens__preview-sep { width: 1px; height: 3rem; background: rgba(255,255,255,0.1); margin-left: 0.25rem; }

/* ---------- how it works ------------------------------------------------*/
.how { padding: 5rem 0; background: var(--background); overflow: hidden; }
.how__title { max-width: 42rem; margin-bottom: 3.5rem; }
.how__grid { display: grid; gap: 3rem 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .how__grid { grid-template-columns: repeat(3, 1fr); } }
.how__step-n { font-size: 4.5rem; line-height: 1; color: color-mix(in oklab, var(--primary-glow) 40%, transparent); margin-bottom: 1rem; }
.how__step-t { font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .how__step-t { font-size: 1.875rem; } }
.how__step-d { color: var(--muted-foreground); line-height: 1.6; }

/* ---------- trust / indice de confiance ---------------------------------*/
.trust { padding: 6rem 0; }
.trust__grid { display: grid; gap: 4rem; align-items: center; color: #fff; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: 1fr 1fr; } }
.trust__title { margin-bottom: 1.5rem; }
.trust__desc { color: rgba(255,255,255,0.7); max-width: 28rem; font-size: 1rem; margin-bottom: 2.5rem; line-height: 1.6; }
.trust__levels { display: flex; flex-direction: column; gap: 0.5rem; }
.trust__level {
    display: flex; align-items: flex-start; gap: 1rem; border-radius: 0.75rem;
    padding: 0.75rem 1rem; background-color: rgba(255,255,255,0); transition: background-color .4s ease;
}
.trust__level.is-active { background-color: rgba(255,255,255,0.09); }
.trust__level-bar { width: 4px; align-self: stretch; border-radius: 9999px; flex-shrink: 0; margin-top: 0.25rem; background: rgba(255,255,255,0.15); transition: background-color .4s ease; }
.trust__level-head { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.125rem; }
.trust__level-label { font-weight: 600; font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color .4s ease; }
.trust__level-range { color: rgba(255,255,255,0.3); font-size: 0.75rem; }
.trust__level-desc { font-size: 0.875rem; line-height: 1.4; color: rgba(255,255,255,0.35); transition: color .4s ease; }
.trust__level.is-active .trust__level-desc { color: rgba(255,255,255,0.75); }

.trust__score { position: relative; display: flex; align-items: center; justify-content: center; }
.trust__score-glow { position: absolute; inset: 0; border-radius: 9999px; filter: blur(48px); transition: background .6s ease; }
.trust__score-ring {
    position: relative; width: 18rem; height: 18rem; border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
}
@media (min-width: 768px) { .trust__score-ring { width: 20rem; height: 20rem; } }
.trust__score-ring-inner { position: absolute; inset: 1rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.1); }
.trust__score-ring-inner2 { position: absolute; inset: 2rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.05); }
.trust__score-center { text-align: center; }
.trust__score-value { font-size: 6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.trust__score-suffix { font-size: 0.875rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.55); margin-top: 0.25rem; }
.trust__score-pill {
    margin-top: 1rem; display: inline-block; border-radius: 9999px; border: 1px solid;
    font-size: 0.75rem; padding: 0.25rem 1rem; font-weight: 600; letter-spacing: 0.2em;
    transition: color .4s ease, border-color .4s ease, background-color .4s ease;
}

/* ---------- faq -----------------------------------------------------------*/
.faq { padding: 8rem 0; background: var(--background); }
.faq__head { margin-bottom: 4rem; }
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq__item { border-radius: 1rem; border: 1px solid var(--border); overflow: hidden; }
.faq__question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    text-align: left; padding: 1.25rem 1.5rem; transition: background-color .2s ease;
}
.faq__question:hover { background: color-mix(in oklab, var(--secondary) 50%, transparent); }
.faq__question span:first-child { font-size: 1.25rem; }
.faq__plus { font-size: 1.5rem; color: var(--primary-glow); transition: transform .2s ease; }
.faq__item--open .faq__plus { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__item--open .faq__answer { max-height: 20rem; }
.faq__answer-inner { padding: 0 1.5rem 1.5rem; color: var(--muted-foreground); line-height: 1.6; }

/* ---------- cta -------------------------------------------------------- */
.cta { position: relative; padding: 8rem 0; overflow: hidden; }
.cta__grid {
    position: absolute; inset: 0; opacity: .07;
    background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 60px 60px;
}
.cta__ring {
    position: absolute; top: -10rem; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.05);
    animation: ctaSpin 40s linear infinite;
}
@keyframes ctaSpin { to { transform: translateX(-50%) rotate(360deg); } }
.cta__inner { position: relative; text-align: center; color: #fff; }
.cta__inner .h2 { font-size: 3rem; }
@media (min-width: 768px) { .cta__inner .h2 { font-size: 4.5rem; } }
.cta__desc { margin-top: 1.5rem; color: rgba(255,255,255,0.7); font-size: 1.125rem; }
.cta__stores { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.store-btn {
    display: inline-flex; align-items: center; gap: 0.75rem; border-radius: 1rem;
    background: #000; border: 1px solid rgba(255,255,255,0.2);
    padding: 0.875rem 1.25rem; color: #fff; transition: border-color .2s ease, transform .15s ease;
}
.store-btn:hover { border-color: rgba(255,255,255,0.4); transform: scale(1.04); }
.store-btn:active { transform: scale(.97); }
.store-btn__text { text-align: left; line-height: 1.2; }
.store-btn__small { font-size: 0.625rem; color: rgba(255,255,255,0.5); letter-spacing: 0.02em; }
.store-btn__big { font-weight: 600; font-size: 1.125rem; margin-top: -1px; }
.store-btn--sm { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); border-radius: 0.75rem; padding: 0.625rem 1rem; }
.store-btn--sm:hover { background: rgba(255,255,255,0.1); }
.store-btn--sm .store-btn__small { font-size: 0.5625rem; }
.store-btn--sm .store-btn__big { font-size: 0.875rem; }

/* ---------- footer ---------------------------------------------------- */
.footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 4rem 0 2.5rem;
    background: linear-gradient(180deg, #0a0616 0%, #06030f 100%);
    color: #fff;
}
.footer__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; margin-bottom: 3.5rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }
.footer__brand { grid-column: span 2; }
@media (min-width: 768px) { .footer__brand { grid-column: span 1; } }
.footer__brand-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer__logo { width: 2rem; height: 2rem; object-fit: contain; }
.footer__brand-name { font-size: 1.5rem; }
.footer__brand-desc { color: rgba(255,255,255,0.45); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 200px; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social a {
    width: 2.25rem; height: 2.25rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5);
    transition: color .2s ease, border-color .2s ease;
}
.footer__social a:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.footer__col-head { font-size: 0.625rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); margin-bottom: 1.25rem; font-weight: 500; }
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col a, .footer__legal-link {
    font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.4;
    display: block; text-align: left; transition: color .2s ease;
}
.footer__col a:hover, .footer__legal-link:hover { color: #fff; }
.footer__stores { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08); padding-top: 2rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; color: rgba(255,255,255,0.3);
}

/* ---------- legal modal ------------------------------------------------- */
.legal-modal { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.legal-modal.is-open { visibility: visible; }
.legal-modal__backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .3s ease;
}
.legal-modal.is-open .legal-modal__backdrop { opacity: 1; }
.legal-modal__panel {
    position: fixed; right: 0; top: 0; bottom: 0; z-index: 201;
    width: 100%; max-width: 580px; display: flex; flex-direction: column;
    background: linear-gradient(160deg, #100824 0%, #06030f 100%);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.32,.72,0,1);
}
.legal-modal.is-open .legal-modal__panel { transform: translateX(0); }
.legal-modal__accent {
    height: 2px; flex-shrink: 0;
    background: linear-gradient(90deg, transparent, rgba(139,92,246,0.8), rgba(99,179,237,0.4), transparent);
}
.legal-modal__header {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 1.5rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.08); flex-shrink: 0;
}
.legal-modal__eyebrow { font-size: 0.625rem; letter-spacing: 0.25em; color: color-mix(in oklab, var(--primary-glow) 50%, transparent); margin-bottom: 0.5rem; }
.legal-modal__title { font-size: 1.5rem; color: #fff; line-height: 1.2; }
.legal-modal__date { color: rgba(255,255,255,0.35); font-size: 0.75rem; margin-top: 0.375rem; }
.legal-modal__close {
    margin-top: 0.25rem; width: 2.25rem; height: 2.25rem; border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.5); flex-shrink: 0; transition: color .2s ease, border-color .2s ease;
}
.legal-modal__close:hover { color: #fff; border-color: rgba(255,255,255,0.35); }
.legal-modal__body { flex: 1; overflow-y: auto; padding: 2rem 1.75rem; }
.legal-doc { display: none; flex-direction: column; gap: 2rem; }
.legal-doc.is-active { display: flex; }
.legal-doc__heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.legal-doc__bar { width: 3px; height: 1.25rem; border-radius: 9999px; flex-shrink: 0; background: linear-gradient(180deg, #a78bfa, #7c3aed); }
.legal-doc__heading h3 { color: #fff; font-size: 1rem; line-height: 1.3; }
.legal-doc__text { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.6; white-space: pre-line; padding-left: 0.9375rem; margin: 0; }
.legal-doc__pad { height: 2rem; }
.legal-modal__fade {
    height: 4rem; flex-shrink: 0; pointer-events: none;
    background: linear-gradient(to top, #06030f, transparent);
    margin-top: -4rem;
}
body.legal-open { overflow: hidden; }
