/**
 * ONNLY Landing Page — "Obsidian" theme skin
 *
 * Scoped entirely under body.landing-page so it never leaks into
 * login/register/verification pages, which keep the original
 * public-mobile.css palette. Loaded AFTER onnly-obsidian-base.css
 * (shared palette/navbar/button rules) and public-mobile.css.
 *
 * Most components (steps, faq, data-item, legal-card, privacy-card…)
 * already use translucent rgba(255,255,255,x) overlays + var(--light)/
 * var(--gray-light) text, so overriding the custom properties in the
 * base file re-themes them automatically. The rules below only patch
 * the landing-page-specific layout and the handful of places that use
 * hardcoded indigo/pink hex values instead of the CSS variables.
 */

/* ========================================
   HERO
   ======================================== */
body.landing-page .hero {
    background: var(--dark);
    min-height: auto;
    padding-top: 9rem;
}

body.landing-page .hero-bg {
    background: radial-gradient(ellipse at 30% 40%, rgba(189, 0, 255, 0.12) 0%, transparent 55%);
}

body.landing-page .hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--onnly-glass-stroke);
    color: var(--onnly-cyan);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.landing-page .hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--onnly-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.landing-page .trust-item {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

/* Hero two-column layout with visual */
body.landing-page .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

body.landing-page .hero-text {
    flex: 1;
    width: 100%;
}

body.landing-page .hero-visual {
    flex: 1;
    width: 100%;
    max-width: 460px;
}

body.landing-page .hero-visual-frame {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(26, 26, 36, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--onnly-glass-stroke);
}

body.landing-page .hero-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.landing-page .hero-visual-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 8, 12, 0.85) 100%);
}

@media (min-width: 992px) {
    body.landing-page .hero-grid {
        flex-direction: row;
        text-align: left;
    }
}

/* ========================================
   SECTION HEADERS / BADGES
   ======================================== */
body.landing-page .section-dark {
    background: var(--dark-light);
}

/* ========================================
   PRIVACY / ADVANTAGE GRID
   ======================================== */
body.landing-page .privacy-card {
    background: rgba(26, 26, 36, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--onnly-glass-stroke);
}

body.landing-page .privacy-card:hover {
    border-color: rgba(236, 178, 255, 0.4);
    background: rgba(26, 26, 36, 0.75);
}

body.landing-page .privacy-icon,
body.landing-page .feature-icon {
    background: linear-gradient(135deg, rgba(189, 0, 255, 0.22), rgba(255, 0, 122, 0.22));
}

/* Danger variant (Bouton d'Urgence card) */
body.landing-page .privacy-card--panic {
    border-color: rgba(255, 59, 48, 0.3);
}

body.landing-page .privacy-card--panic:hover {
    border-color: rgba(255, 59, 48, 0.6);
}

body.landing-page .privacy-card--panic .privacy-icon {
    background: rgba(255, 59, 48, 0.12);
    border: 1px solid rgba(255, 59, 48, 0.4);
    color: var(--onnly-panic);
    animation: onnly-panic-glow 2s infinite;
}

body.landing-page .privacy-card--panic .privacy-icon i {
    color: var(--onnly-panic);
}

@keyframes onnly-panic-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
    70% { box-shadow: 0 0 0 14px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* ========================================
   CONTROL SECTION ("Elles décident qui voit quoi")
   ======================================== */
body.landing-page .control-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

body.landing-page .control-text {
    flex: 1;
    width: 100%;
}

body.landing-page .control-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: var(--onnly-cyan);
    margin-bottom: 1rem;
}

body.landing-page .control-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

body.landing-page .control-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

body.landing-page .control-list-item i {
    color: var(--onnly-cyan);
    margin-top: 0.2rem;
}

body.landing-page .control-list-item strong {
    display: block;
    color: var(--light);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

body.landing-page .control-list-item span {
    color: var(--gray-light);
    font-size: 0.9rem;
}

body.landing-page .control-visual {
    flex: 1;
    width: 100%;
    max-width: 380px;
}

body.landing-page .mock-card {
    background: rgba(26, 26, 36, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--onnly-glass-stroke);
    border-radius: 20px;
    overflow: hidden;
}

body.landing-page .mock-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    background: rgba(8, 8, 12, 0.5);
    border-bottom: 1px solid var(--onnly-glass-stroke);
    color: var(--light);
    font-weight: 600;
}

body.landing-page .mock-card-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

body.landing-page .mock-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--onnly-glass-stroke);
}

body.landing-page .mock-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.landing-page .mock-avatar-lock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 8, 12, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
}

body.landing-page .mock-name {
    color: var(--light);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

body.landing-page .mock-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--onnly-cyan);
    box-shadow: 0 0 8px var(--onnly-cyan);
    margin-left: 0.35rem;
}

body.landing-page .mock-location {
    color: var(--gray-light);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

body.landing-page .mock-cta {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--onnly-glass-stroke);
    color: var(--light);
    padding: 0.85rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: default;
}

body.landing-page .mock-caption {
    margin-top: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: rgba(212, 192, 215, 0.5);
}

@media (min-width: 992px) {
    body.landing-page .control-section {
        flex-direction: row;
        align-items: center;
    }
}

/* ========================================
   LEGAL CARDS
   ======================================== */
body.landing-page .legal-card {
    background: rgba(26, 26, 36, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-color: var(--onnly-glass-stroke);
}

body.landing-page .legal-card::before {
    background: linear-gradient(90deg, var(--primary-dark), var(--onnly-magenta));
}

body.landing-page .legal-card:nth-child(1)::before { background: linear-gradient(90deg, var(--primary-dark), var(--onnly-magenta)); }
body.landing-page .legal-card:nth-child(2)::before { background: linear-gradient(90deg, var(--onnly-cyan), #22d3ee); }
body.landing-page .legal-card:nth-child(3)::before { background: linear-gradient(90deg, var(--onnly-amber), #fbbf24); }
body.landing-page .legal-card:nth-child(4)::before { background: linear-gradient(90deg, var(--onnly-magenta), #f472b6); }

body.landing-page .legal-icon {
    background: rgba(236, 178, 255, 0.12);
}

body.landing-page .legal-card:nth-child(1) .legal-icon { background: rgba(236, 178, 255, 0.15); color: var(--primary); }
body.landing-page .legal-card:nth-child(2) .legal-icon { background: rgba(0, 240, 255, 0.15); color: var(--onnly-cyan); }
body.landing-page .legal-card:nth-child(3) .legal-icon { background: rgba(255, 185, 97, 0.15); color: var(--onnly-amber); }
body.landing-page .legal-card:nth-child(4) .legal-icon { background: rgba(255, 0, 122, 0.15); color: var(--onnly-magenta); }

/* ========================================
   STEPS / DATA GRID
   (.faq-item glass treatment lives in onnly-obsidian-base.css, shared
   with the support page)
   ======================================== */
body.landing-page .step,
body.landing-page .data-item {
    background: rgba(26, 26, 36, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-color: var(--onnly-glass-stroke);
}

/* ========================================
   FOOTER
   ======================================== */
body.landing-page .footer {
    background: var(--dark);
    border-top-color: var(--onnly-glass-stroke);
}

body.landing-page .footer-badge {
    background: rgba(236, 178, 255, 0.08);
    border-color: rgba(236, 178, 255, 0.18);
}

body.landing-page .footer-note {
    font-family: 'JetBrains Mono', monospace;
    color: var(--onnly-amber);
}

@media (max-width: 768px) {
    body.landing-page .hero {
        padding-top: 7rem;
    }
}

/* Fix: public-mobile.css redefines .contact-wrapper/.contact-info
   unconditionally further down the file, which silently overrides the
   max-width:480px stacking rule and causes horizontal overflow on
   phones. Re-assert it here (loaded last) so it actually wins. */
@media (max-width: 480px) {
    body.landing-page .contact-wrapper {
        grid-template-columns: 1fr;
    }

    body.landing-page .contact-info {
        padding-right: 0;
        text-align: center;
    }

    body.landing-page .contact-features {
        align-items: center;
    }
}
