﻿/* ================================
   DocProof – Premium Trust Theme (v2)
   Stripe/Notion/Linear vibe (pas crypto flashy)
   - Hero dark premium, glow bleu subtil (pas de mauve)
   - CTA button = premium dark (classe .dp-cta)
   - Cards plus ancrées, steps plus clean
   ================================ */

/* ================================
   Tokens
   ================================ */
:root {
    --dp-bg: #f6f7fb;
    --dp-card: #ffffff;
    --dp-text: #0f172a;
    --dp-muted: #64748b;
    --dp-border: rgba(15,23,42,.10);
    --dp-shadow: 0 22px 70px rgba(0,0,0,.26);
    --dp-shadow-sm: 0 16px 40px rgba(15,23,42,.12);
    --dp-radius: 18px;
    /* accents (keep subtle) */
    --dp-blue: #3b82f6;
    --dp-blue-2: #60a5fa;
    /* CTA premium */
    --dp-cta: #0f172a; /* dark slate */
    --dp-cta-hover: #0b1220; /* darker */
}

/* ================================
   Base
   ================================ */
html, body {
    height: 100%;
}

body {
    color: var(--dp-text);
    background: radial-gradient(900px 420px at 15% -10%, rgba(59,130,246,.12), transparent 60%), radial-gradient(700px 320px at 95% 5%, rgba(96,165,250,.08), transparent 55%), var(--dp-bg);
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* ================================
   Navbar (glass on light)
   IMPORTANT: <nav class="navbar ... dp-navbar">
   ================================ */
.dp-navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.86) !important;
    border-bottom: 1px solid rgba(15,23,42,.08);
}

    .dp-navbar .navbar-brand {
        font-weight: 700;
        color: rgba(0,0,0,.92) !important;
    }

    .dp-navbar .nav-link {
        color: rgba(0,0,0,.70) !important;
    }

        .dp-navbar .nav-link:hover {
            color: rgba(0,0,0,.95) !important;
        }

    /* navbar buttons */
    .dp-navbar .btn-primary {
        background: var(--dp-cta) !important;
        color: #fff !important;
        border: none !important;
        border-radius: 999px;
        padding: .5rem 1rem;
        box-shadow: 0 10px 24px rgba(15,23,42,.22);
    }

        .dp-navbar .btn-primary:hover {
            background: var(--dp-cta-hover) !important;
        }

    .dp-navbar .btn-outline-secondary {
        color: rgba(15,23,42,.85) !important;
        border-color: rgba(15,23,42,.25) !important;
        background: transparent !important;
        border-radius: 999px;
        padding: .5rem 1rem;
    }

        .dp-navbar .btn-outline-secondary:hover {
            background: rgba(15,23,42,.06) !important;
            border-color: rgba(15,23,42,.35) !important;
            color: rgba(15,23,42,.95) !important;
        }

/* ================================
   Hero
   ================================ */
.dp-hero {
    border-radius: 22px;
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 70%);
    color: #ffffff;
    box-shadow: 0 35px 80px rgba(15,23,42,.35);
    border: 1px solid rgba(255,255,255,.06);
}

    /* Glow bleu SUBTIL seulement (pas de mauve) */
    /*.dp-hero::before {
        content: "";
        position: absolute;
        width: 560px;
        height: 560px;
        left: -260px;
        top: -300px;
        border-radius: 999px;
        filter: blur(70px);
        opacity: .22;
        background: rgba(59,130,246,.55);
        pointer-events: none;
    }

    .dp-hero::after {
        display: none;
    }*/

    .dp-hero h1, .dp-hero h2, .dp-hero h3 {
        color: #fff;
    }

    .dp-hero h1 {
        font-size: 3rem;
        letter-spacing: -0.03em;
    }

    .dp-hero .dp-muted {
        color: rgba(255,255,255,.74);
    }

/* ================================
   Pills
   ================================ */
.dp-pill {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    padding: .38rem .75rem;
    border-radius: 999px;
    font-size: .88rem;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.82);
}

    .dp-pill .opacity-50 {
        opacity: .65 !important;
    }

/* ================================
   Trust row chips
   ================================ */
.dp-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem .9rem;
    margin-top: 1rem;
    color: rgba(255,255,255,.80);
    font-size: .92rem;
}

    .dp-trust span {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .35rem .6rem;
        border-radius: 999px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.14);
    }

/* ================================
   Cards
   ================================ */
.dp-card {
    border-radius: var(--dp-radius);
    background: var(--dp-card);
    border: 1px solid rgba(15,23,42,.10);
    box-shadow: var(--dp-shadow-sm);
}

    .dp-card .dp-muted {
        color: #475569; /* slate 600 – plus lisible */
    }

        .dp-card .dp-muted strong {
            color: #0f172a;
        }


.dp-paid-note {
    font-size: .85rem;
    color: #475569;
    margin-top: .6rem;
}

    .dp-paid-note strong {
        color: #1e293b;
    }
/* Form card: plus "ancrée" visuellement */
#create-proof.dp-card {
    border: 1px solid rgba(15,23,42,.12);
    box-shadow: 0 20px 55px rgba(15,23,42,.18);
}

/* Typography helpers */
.dp-title {
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.dp-muted {
    color: var(--dp-muted);
}

/* Hover polish */
.dp-card, .dp-hero {
    transition: transform .18s ease, box-shadow .18s ease;
}

    .dp-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 26px 65px rgba(15,23,42,.16);
    }

/* Steps (How it works) – clean highlight */
#how .dp-card {
    position: relative;
    overflow: hidden;
}

    #how .dp-card::before {
        content: "";
        position: absolute;
        inset: -1px;
        background: linear-gradient(135deg, rgba(59,130,246,.08), transparent 55%);
        pointer-events: none;
    }

    #how .dp-card > * {
        position: relative;
    }

/* ================================
   Buttons
   ================================ */

/* Hero left buttons */
.dp-hero .btn-primary {
    background: #fff !important;
    color: #0f172a !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,.34);
    font-weight: 700;
    padding: .75rem 1.25rem;
    border-radius: 14px;
}

    .dp-hero .btn-primary:hover {
        background: #f3f4f6 !important;
        transform: translateY(-1px);
    }

.dp-hero .btn-outline-secondary {
    color: rgba(255,255,255,.92) !important;
    border-color: rgba(255,255,255,.32) !important;
    border-radius: 14px;
    padding: .75rem 1.25rem;
}

    .dp-hero .btn-outline-secondary:hover {
        background: rgba(255,255,255,.10) !important;
        border-color: rgba(255,255,255,.44) !important;
    }

/* ✅ TON bouton submit: <button class="btn dp-cta w-100"> ... */
.dp-cta {
    background: linear-gradient(135deg,#2563eb,#1d4ed8) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(37,99,235,.35);
    transition: all .2s ease;
}

    .dp-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 25px 60px rgba(37,99,235,.45);
    }

    .dp-cta:active {
        transform: translateY(0);
        box-shadow: 0 14px 34px rgba(15,23,42,.28);
    }

/* Default .btn-primary outside hero (neutral dark) */
.btn-primary {
    background: var(--dp-cta) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.20);
    font-weight: 700;
    padding: .7rem 1.2rem;
    border-radius: 12px;
}

    .btn-primary:hover {
        background: var(--dp-cta-hover) !important;
        transform: translateY(-1px);
    }

/* ================================
   Inputs
   ================================ */
.form-control {
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,.12);
}

    .form-control:focus {
        border-color: rgba(59,130,246,.60);
        box-shadow: 0 0 0 .25rem rgba(59,130,246,.16);
    }

/* ================================
   Code blocks
   ================================ */
code {
    border: 1px solid rgba(15,23,42,.10);
    background: rgba(255,255,255,.7);
    border-radius: 12px;
    padding: .5rem .75rem;
}

/* ================================
   Small polish
   ================================ */
hr {
    border-color: rgba(15,23,42,.10);
}

ul {
    padding-left: 1.1rem;
}

/* ================================
   Footer (optional)
   ================================ */
.dp-footer {
    background: rgba(255,255,255,.78);
    border-top: 1px solid rgba(15,23,42,.08);
}

    .dp-footer, .dp-footer a {
        color: rgba(15,23,42,.65);
    }

        .dp-footer a:hover {
            color: rgba(15,23,42,.90);
        }

/* Only fix the two secondary buttons (no side effects on dp-cta) */
.dp-card .dp-secondary-btn,
.dp-card .dp-secondary-btn:link,
.dp-card .dp-secondary-btn:visited {
    color: rgba(15,23,42,.92) !important;
    border-color: rgba(15,23,42,.25) !important;
    background: transparent !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

    .dp-card .dp-secondary-btn:hover {
        background: rgba(15,23,42,.06) !important;
        border-color: rgba(15,23,42,.35) !important;
        color: rgba(15,23,42,.98) !important;
    }