@font-face {
    font-family: "add witte";
    src: url("https://addwitte.com/css/add-witte.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
:root {
    --bg: #fbf7f1;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --ink: #221a2b;
    --muted: #6b6478;
    --line: rgba(34, 26, 43, 0.1);
    --accent: #ff5d73;
    --accent2: #ffb25c;
    --accent3: #7c5cff;
    --grad: linear-gradient(120deg, #ff5d73, #ffb25c);
    --font: "add witte", "Space Grotesk", sans-serif;
    --shadow: 0 20px 60px rgba(34, 26, 43, 0.1);
    --navbg: rgba(251, 247, 241, 0.82);
    --tint: rgba(251, 247, 241, 1);
    --tint-glow: rgba(255, 255, 255, 0.55);
    --made-bg: #15111f;
    --sel: rgba(255, 93, 115, 0.22);
}
[data-theme="dark"] {
    --bg: #0f0d16;
    --card: #1a1626;
    --glass: rgba(26, 22, 38, 0.85);
    --ink: #efeaf6;
    --muted: #a49cb6;
    --line: rgba(255, 255, 255, 0.12);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --navbg: rgba(15, 13, 22, 0.78);
    --tint: rgba(15, 13, 22, 1);
    --tint-glow: rgba(0, 0, 0, 0.2);
    --made-bg: #15111f;
    --sel: rgba(255, 93, 115, 0.3);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Inter", system-ui, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
::selection {
    background: var(--sel);
    color: var(--ink);
}
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}
a {
    color: inherit;
    text-decoration: none;
}


/* ---------- Nav ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: 0.35s;
}
.nav.scrolled {
    background: var(--navbg);
    backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 30px rgba(34, 26, 43, 0.05);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    font-family: var(--font);
    font-weight: 700;
    font-size: 24px;
    color: var(--ink);
}
.logo .dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--grad);
    margin-left: 3px;
    box-shadow: 0 0 10px rgba(255, 93, 115, 0.5);
}
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
    transition: 0.25s;
}
.theme-toggle:hover {
    border-color: var(--accent);
}
.theme-toggle svg {
    width: 18px;
    height: 18px;
}
.theme-toggle .sun {
    display: none;
}
.theme-toggle .moon {
    display: block;
}
[data-theme="dark"] .theme-toggle .sun {
    display: block;
}
[data-theme="dark"] .theme-toggle .moon {
    display: none;
}
.nav-links {
    display: flex;
    gap: 34px;
}
.nav-links a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--ink);
}
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: 0.3s;
}
.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);
}
.pill {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
    cursor: pointer;
    border: 0;
}
.pill-primary {
    background: var(--ink);
    color: var(--bg);
    box-shadow: 0 10px 30px rgba(34, 26, 43, 0.22);
}
.pill-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(34, 26, 43, 0.3);
}
.pill-ghost {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line);
}
.pill-ghost:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: rgba(34, 26, 43, 0.25);
}
.pill-small {
    padding: 9px 18px;
    font-size: 14px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero #heroLiquid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;

    /* état initial : caché, zoomé, flouté */
    opacity: 0;
    transform: scale(1.12);
    filter: blur(24px) saturate(1.4);
    transition:
        opacity 1.4s cubic-bezier(.22, 1, .36, 1),
        transform 1.8s cubic-bezier(.22, 1, .36, 1),
        filter   1.8s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform, filter;
}
/* état révélé : déclenché par JS quand tout est prêt */
.hero.hero-ready #heroLiquid {
    opacity: 1;
    transform: scale(1);
    filter: blur(0) saturate(1);
}

/* Le tint (dégradé radial + fade) suit le même mouvement */
.hero .tint {
    opacity: 0;
    transition: opacity 1.6s cubic-bezier(.22, 1, .36, 1) .15s;
}
.hero.hero-ready .tint {
    opacity: 1;
}

/* Entrée en cascade du contenu du hero */
.hero-content > * {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .9s cubic-bezier(.16, 1, .3, 1),
        transform .9s cubic-bezier(.16, 1, .3, 1);
}
.hero.hero-ready .hero-content > * {
    opacity: 1;
    transform: none;
}
.hero.hero-ready .hero-content > *:nth-child(1) { transition-delay: .25s; }
.hero.hero-ready .hero-content > *:nth-child(2) { transition-delay: .35s; }
.hero.hero-ready .hero-content > *:nth-child(3) { transition-delay: .45s; }
.hero.hero-ready .hero-content > *:nth-child(4) { transition-delay: .55s; }

/* Le "scroll hint" arrive en dernier */
.hero .scroll-hint {
    opacity: 0;
    transition: opacity .9s ease .9s;
}
.hero.hero-ready .scroll-hint {
    opacity: 1;
}

/* Respect des préférences d'accessibilité : on révèle direct */
@media (prefers-reduced-motion: reduce) {
    .hero #heroLiquid,
    .hero .tint,
    .hero-content > *,
    .hero .scroll-hint {
        transition: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}
.hero .tint {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            820px 600px at 24% 30%,
            var(--tint-glow),
            transparent 60%
        ),
        linear-gradient(180deg, transparent, var(--tint) 92%);
    pointer-events: none;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: clamp(90px, 13vh, 130px) 24px clamp(80px, 11vh, 120px);
    max-width: 820px;
    margin-top: 2em;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    background: var(--card);
    border: 1px solid var(--line);
    padding: 7px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(34, 26, 43, 0.05);
}
.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.35;
        transform: scale(0.75);
    }
}
.hero-title {
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(2.6rem, 8.2vw, 7.2rem);
    line-height: 0.98;
    margin: 0 0 10px;
    color: var(--ink);
}
    .hero-title em {
        font-style: normal;
        background: linear-gradient(120deg, #ff5d73, #ffb25c, #7c5cff);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
.hero-sub {
    max-width: 540px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}
.hero-note {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
}
.hero-note b {
    color: var(--ink);
}
.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sel);
    animation: floatY 2.4s ease-in-out infinite;
}
@keyframes floatY {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, -8px);
    }
}

/* ---------- Apps (AnimatedGradient backdrop) ---------- */
/* ---------- Apps (AnimatedGradient backdrop) ---------- */
#apps {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: var(--bg); /* same color as the hero's final tint */
}

#appsGrad {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.4;

    /* Smooth vertical fade so the gradient doesn't cut in abruptly */
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
}
.apps-wrap {
    position: relative;
    z-index: 2;
}
/* Generic animated-gradient band used on product pages */
.grad-band {
    position: relative;
    overflow: hidden;
}
.grad-band #pageGrad {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
}
.grad-band > .container {
    position: relative;
    z-index: 2;
}

.center {
    text-align: center;
}
.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
}
.section-title {
    font-family: var(--font);
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.08;
    margin: 14px 0 16px;
    color: var(--ink);
}
.section-desc {
    color: var(--muted);
    font-size: 17px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.app-card {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 36px 30px;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}
.app-card:hover {
    transform: translateY(-8px) rotate(-0.4deg);
    background: var(--card);
}
/* ---------- Apps (AnimatedGradient backdrop) ---------- */
.app-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* Remove the box */
    box-shadow: none;        /* Remove the box shadow */
    padding: 0;              /* Remove padding */
    margin-bottom: 22px;
    will-change: transform;
    /* Apply a soft drop shadow directly to the icon itself */
    filter: drop-shadow(0 6px 16px rgba(34, 26, 43, 0.15));
}

/* Dark mode drop shadow */
[data-theme="dark"] .app-icon {
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

[data-theme="dark"] #rapidSaveCloud {
    filter: invert(1);
}

/* Ensure the icon pop animation still works */
.app-card:hover .app-icon {
    animation: iconPop .55s cubic-bezier(.22, 1, .36, 1);
}
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
/*.app-card:hover .app-icon {
    animation: iconPop .55s cubic-bezier(.22, 1, .36, 1);
}*/
@keyframes iconPop {
    0%   { transform: translateY(0)    rotate(0deg); }
    45%  { transform: translateY(-6px) rotate(-3deg); }
    100% { transform: translateY(0)    rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
    .app-card:hover .app-icon { animation: none; }
}
.app-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}
.app-card h3 {
    font-family: var(--font);
    font-size: 24px;
    margin-bottom: 6px;
    color: var(--ink);
}
.app-card .tagline {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 14px;
}
.app-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    flex: 1;
}
.app-card .status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
    transition: 0.2s;
}
.app-card .status:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.app-card .status .arrow {
    transition: 0.2s;
}
.app-card .status:hover .arrow {
    transform: translateX(3px);
}
.coming {
    color: var(--muted);
    font-weight: 500;
    font-size: 13px;
    align-self: flex-start;
    margin-top: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 999px;
}

/* ---------- Particle banner ---------- */
#made {
    position: relative;
    min-height: 78vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.4vh, 16px);
    padding: clamp(80px, 12vh, 140px) 0;
    background: var(--made-bg);
    overflow: hidden;
}
#made::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: clamp(90px, 14vh, 160px);
    background: linear-gradient(180deg, var(--bg), transparent);
    z-index: 3;
    pointer-events: none;
}
#made::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: clamp(90px, 14vh, 160px);
    background: linear-gradient(0deg, var(--bg), transparent);
    z-index: 3;
    pointer-events: none;
}

.made-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    pointer-events: none;
}
.made-copy .section-tag { color: #ffb25c; }
.made-copy h2 {
    font-family: var(--font);
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    line-height: 1;
    color: #fff;
    margin-top: 12px;
}

.made-stage {
    position: relative;
    z-index: 2;
    width: min(100%, 1080px);
    height: clamp(170px, 32vh, 320px);
    margin: 0 auto;
    cursor: crosshair;
    touch-action: pan-y;
}
#madeCanvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.made-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;                     /* above the fade overlays */
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
    background: rgba(0, 0, 0, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- Why ---------- */
#why {
    padding: 130px 0;
    background: var(--bg);
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.why-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px 28px;
    transition: 0.35s;
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--accent);
}
.why-icon svg {
    width: 24px;
    height: 24px;
}
.why-icon.w2 {
    color: var(--accent3);
}
.why-icon.w3 {
    color: #00b484;
}
.why-card h3 {
    font-family: "Space Grotesk";
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--ink);
}
.why-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

/* ---------- Waitlist ---------- */
#waitlist {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: var(--bg);
}

#waitGlow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.42;

    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
}
.wait-card {
    position: relative;
    z-index: 2;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 60px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}
.wait-form {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.wait-form input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 15px 22px;
    font-family: "Inter";
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: 0.25s;
}
.wait-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 93, 115, 0.15);
}
.wait-form input::placeholder {
    color: rgba(107, 100, 120, 0.6);
}
.wait-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- Nav auth ---------- */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav-user {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    white-space: nowrap;
}
.nav-user .greet {
    color: var(--muted);
}
.nav-user strong a {
    color: var(--ink);
    font-weight: 700;
}
.nav-user strong a:hover {
    color: var(--accent);
}
.nav-user form {
    display: inline;
    margin: 0;
}
.nav-logout {
    background: none;
    border: 1px solid var(--line);
    color: var(--muted);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.25s;
}
.nav-logout:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(255, 93, 115, 0.08);
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    border-top: 1px solid var(--line);
    background: var(--bg);
    padding: 70px 0 0;
    overflow: hidden;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
}
.footer-brand .logo {
    font-size: 26px;
}
.footer-brand p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14.5px;
    max-width: 300px;
}
.footer-col h4 {
    font-family: var(--font);
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    color: var(--muted);
    font-size: 14.5px;
    margin-bottom: 12px;
    transition: 0.2s;
}
.footer-col a:hover {
    color: var(--accent);
}
.footer-giant {
    width: 100%;
    text-align: center;
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(2.5rem, 13.5vw, 11rem);
    line-height: 0.95;
    color: var(--ink);
    opacity: 0.06;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
}
.footer-bar {
    border-top: 1px solid var(--line);
    padding: 22px 0;
    margin-top: 8px;
}
.footer-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bar p {
    color: var(--muted);
    font-size: 13.5px;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s;
    background: var(--card);
}
.footer-social a:hover {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
    transform: translateY(-2px);
}


/* ---------- ID sign in / up ---------- */
#id {
    position: relative;
    padding: 130px 0;
    overflow: hidden;
    background: var(--bg);
}
#idGlow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
    mask-image: linear-gradient(
        180deg,
        transparent 0,
        rgba(0, 0, 0, 0.35) 100px,
        #000 300px,
        #000 calc(100% - 240px),
        rgba(0, 0, 0, 0.35) calc(100% - 100px),
        transparent 100%
    );
}
.id-card {
    position: relative;
    z-index: 2;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 56px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow);
}
.id-tabs {
    display: inline-flex;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    margin-top: 26px;
}
.id-tab {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    cursor: pointer;
    transition: 0.25s;
}
.id-tab.active {
    background: var(--ink);
    color: var(--bg);
    box-shadow: 0 6px 20px rgba(34, 26, 43, 0.18);
}
.id-form {
    margin-top: 30px;
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}
.id-field {
    margin-bottom: 18px;
}
.id-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
}
.id-field input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 18px;
    font-family: "Inter";
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: 0.25s;
}
.id-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 93, 115, 0.15);
}
.id-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}
.id-form-alt {
    margin-top: 18px;
    font-size: 13.5px;
    color: var(--muted);
    text-align: center;
}
.id-form-alt a {
    color: var(--accent);
    font-weight: 600;
}
.id-form-alt a:hover {
    text-decoration: underline;
}
.id-note {
    margin-top: 22px;
    font-size: 13px;
    color: var(--muted);
}
.id-signed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
}
.id-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 93, 115, 0.35);
}
.id-signed p {
    color: var(--muted);
    font-size: 15px;
}

/* ---------- Product / presentation pages ---------- */
.page-hero {
    position: relative;
    text-align: center;
    padding: clamp(150px, 20vh, 190px) 24px 90px;
    background:
        radial-gradient(820px 600px at 24% 30%, var(--tint-glow), transparent 60%),
        var(--bg);
    overflow: hidden;
}
.page-hero .product-badge {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent);
    background: var(--card);
    border: 1px solid var(--line);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
    box-shadow: 0 6px 20px rgba(34, 26, 43, 0.05);
}
.page-hero h1 {
    font-family: var(--font);
    font-size: clamp(2.8rem, 8vw, 6rem);
    line-height: 0.98;
    color: var(--ink);
    margin-bottom: 18px;
}
.page-hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ff5d73, #ffb25c, #7c5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-hero .lead {
    max-width: 620px;
    margin: 0 auto;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.7;
}
.page-hero .hero-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 10px 24px rgba(34, 26, 43, 0.18));
}
[data-theme="dark"] .page-hero .hero-icon.invert {
    filter: invert(1);
}
.page-hero .hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-body {
    padding: 0 0 120px;
    background: var(--bg);
}
.page-section {
    padding: 70px 0 0;
}
.page-section .center {
    margin-bottom: 8px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 46px;
}
.feature-card {
    background: var(--glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 34px 30px;
    transition: 0.35s;
}
.feature-card:hover {
    transform: translateY(-5px);
    background: var(--card);
    box-shadow: var(--shadow);
}
.feature-card .why-icon {
    margin-bottom: 20px;
}
.feature-card h3 {
    font-family: var(--font);
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--ink);
}
.feature-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}
.step-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 46px;
}
.step-card {
    text-align: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 36px 26px;
}
.step-num {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-family: var(--font);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(255, 93, 115, 0.3);
}
.step-card h3 {
    font-family: var(--font);
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--ink);
}
.step-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}
.product-cta {
    text-align: center;
    margin-top: 70px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 56px 40px;
    box-shadow: var(--shadow);
}
.product-cta h2 {
    font-family: var(--font);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--ink);
    margin-bottom: 12px;
}
.product-cta p {
    color: var(--muted);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 26px;
}
.product-cta .pill {
    margin: 0 6px;
}
.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- About / text pages ---------- */
.page-wrap {
    padding: 130px 24px 120px;
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg);
}
.page-wrap .section-tag {
    margin-bottom: 10px;
}
.page-wrap h1 {
    font-family: var(--font);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 18px;
}
.page-wrap h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #ff5d73, #ffb25c, #7c5cff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.page-wrap > p.lede {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
}
.prose h2 {
    font-family: var(--font);
    font-size: 26px;
    color: var(--ink);
    margin: 40px 0 14px;
}
.prose p {
    color: var(--muted);
    font-size: 16.5px;
    line-height: 1.75;
    margin-bottom: 18px;
}
.prose ul {
    list-style: none;
    margin: 0 0 22px;
}
.prose ul li {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    padding-left: 26px;
    position: relative;
    margin-bottom: 12px;
}
.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--grad);
}
.prose strong {
    color: var(--ink);
}

/* ---------- FAQ / help ---------- */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 8px;
}
.category-tab {
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 18px;
    cursor: pointer;
    transition: 0.25s;
}
.category-tab.active {
    background: var(--ink);
    color: var(--bg);
}
.faq-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
}
.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.25s;
}
.faq-item.open {
    border-color: rgba(255, 93, 115, 0.35);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--ink);
}
.faq-toggle {
    color: var(--muted);
    transition: 0.25s;
    flex-shrink: 0;
}
.faq-item.open .faq-toggle {
    transform: rotate(180deg);
    color: var(--accent);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.faq-item.open .faq-answer {
    max-height: 400px;
}
.faq-answer-content {
    padding: 0 24px 22px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}
.faq-answer-content a {
    color: var(--accent);
    font-weight: 600;
}
.faq-answer-content a:hover {
    text-decoration: underline;
}
.search-input {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 15px 22px;
    font-family: "Inter";
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: 0.25s;
}
.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 93, 115, 0.15);
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: clamp(2.4rem, 9.5vw, 5rem);
    }
    .hero-sub {
        font-size: 1.05rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .features-grid,
    .step-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .nav-links.mobile-open {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--navbg);
        backdrop-filter: blur(16px);
        padding: 26px 24px;
        border-bottom: 1px solid var(--line);
        gap: 20px;
        z-index: 99;
    }
    .nav-links.mobile-open a {
        font-size: 17px;
    }

    .hero-content {
        padding: 88px 20px 72px;
    }
    .hero-title {
        font-size: clamp(2.1rem, 10.5vw, 3.4rem);
        margin-bottom: 8px;
    }
    .hero-sub {
        font-size: 1rem;
        line-height: 1.6;
    }
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        margin-top: 26px;
        gap: 10px;
    }
    .hero-cta .pill {
        justify-content: center;
    }
    .hero-note {
        margin-top: 16px;
        font-size: 12px;
    }
    .scroll-hint {
        bottom: 14px;
        font-size: 10px;
        letter-spacing: 2.4px;
    }

    .wait-form {
        flex-direction: column;
    }
    .wait-card {
        padding: 40px 26px;
    }
    .id-card {
        padding: 40px 26px;
    }
    .nav-user .greet {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 40px;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-bar-inner {
        justify-content: center;
        text-align: center;
    }
}
