/* ================================================================
   Riseone Media — Public Pages
   Design System: Clean SaaS — DM Sans, Blue accent
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

:root{
    --font:'DM Sans',system-ui,-apple-system,sans-serif;
    --primary:#2563eb;--primary-hover:#1d4ed8;
    --gray-50:#f8fafc;--gray-100:#f1f5f9;--gray-200:#e2e8f0;
    --gray-400:#94a3b8;--gray-500:#64748b;--gray-700:#334155;
    --gray-800:#1e293b;--gray-900:#0f172a;
    --radius:10px;--radius-lg:14px;
    --ease:cubic-bezier(.4,0,.2,1);
}

body{
    font-family:var(--font);background:#fff;color:var(--gray-500);
    -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
::selection{background:var(--primary);color:#fff}

/* ======== NAVBAR ======== */
header.public-nav{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(14px) saturate(180%);
    -webkit-backdrop-filter:blur(14px) saturate(180%);
    border-bottom:1px solid rgba(0,0,0,.05);
    position:sticky;top:0;z-index:50;
    transition:box-shadow .2s var(--ease);
}
header.public-nav .nav-inner{
    max-width:1080px;margin:0 auto;padding:.75rem 1.5rem;
    display:flex;align-items:center;justify-content:space-between;
}
.nav-brand{display:flex;align-items:center;gap:.625rem;text-decoration:none}
.nav-brand-mark{
    width:34px;height:34px;border-radius:9px;background:var(--primary);
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.nav-brand-mark span{font-weight:800;color:#fff;font-size:11px;letter-spacing:.02em}
.nav-brand-text{font-weight:800;font-size:1rem;color:var(--gray-900);letter-spacing:-.015em}

.nav-actions{display:flex;align-items:center;gap:.5rem}
.nav-actions .btn-ghost{
    font-size:.82rem;font-weight:600;color:var(--gray-500);
    padding:.45rem .875rem;border-radius:8px;text-decoration:none;
    transition:all .15s var(--ease);border:none;background:none;
}
.nav-actions .btn-ghost:hover{background:var(--gray-50);color:var(--gray-900)}
.nav-actions .btn-primary{
    font-size:.82rem;font-weight:700;padding:.45rem 1rem;border-radius:8px;
    background:var(--primary);color:#fff;text-decoration:none;border:none;
    box-shadow:0 1px 3px rgba(37,99,235,.25);transition:all .15s var(--ease);
}
.nav-actions .btn-primary:hover{
    background:var(--primary-hover);box-shadow:0 4px 12px rgba(37,99,235,.3);
    transform:translateY(-1px);
}

/* ======== HERO ======== */
.hero{
    background:#fff;border-bottom:1px solid var(--gray-200);
    padding:5rem 1.5rem;text-align:center;
}
.hero-inner{max-width:680px;margin:0 auto}

.hero-pill{
    display:inline-flex;align-items:center;gap:6px;
    background:#eff6ff;border:1px solid #bfdbfe;
    border-radius:100px;padding:5px 14px;
    font-size:10px;font-weight:800;letter-spacing:.1em;
    text-transform:uppercase;color:var(--primary);margin-bottom:1.75rem;
}

.hero h1{
    font-family:var(--font);font-weight:800;
    font-size:clamp(2.1rem,5vw,3.5rem);
    line-height:1.1;letter-spacing:-.03em;color:var(--gray-900);
    margin-bottom:1.25rem;
}

.hero p.lead{
    font-size:1.0625rem;color:var(--gray-500);
    max-width:500px;margin:0 auto 2rem;line-height:1.75;font-weight:400;
}

.hero-ctas{display:flex;flex-wrap:wrap;gap:.625rem;justify-content:center}
.hero-ctas .btn-primary{
    padding:.7rem 1.75rem;font-size:.9rem;font-weight:700;border-radius:10px;
    background:var(--primary);color:#fff;text-decoration:none;border:none;
    box-shadow:0 4px 14px rgba(37,99,235,.25);transition:all .2s var(--ease);
    display:inline-flex;align-items:center;gap:6px;
}
.hero-ctas .btn-primary:hover{
    background:var(--primary-hover);box-shadow:0 8px 24px rgba(37,99,235,.3);transform:translateY(-2px);
}
.hero-ctas .btn-ghost{
    padding:.7rem 1.75rem;font-size:.9rem;font-weight:700;border-radius:10px;
    background:#fff;color:var(--gray-700);border:1.5px solid var(--gray-200);
    text-decoration:none;transition:all .2s var(--ease);
    display:inline-flex;align-items:center;gap:6px;
}
.hero-ctas .btn-ghost:hover{
    border-color:var(--gray-300);background:var(--gray-50);transform:translateY(-1px);
    box-shadow:0 2px 8px rgba(0,0,0,.04);
}

.hero-trust{margin-top:1.75rem;font-size:11px;color:var(--gray-400);font-weight:500}

/* ======== STATS BAR ======== */
.stats-bar{background:var(--gray-50);border-bottom:1px solid var(--gray-200);padding:2.5rem 1.5rem}
.stats-bar-inner{max-width:820px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr)}
.stat-item{text-align:center;padding:1rem 0}
.stat-item:nth-child(2){border-left:1px solid var(--gray-200);border-right:1px solid var(--gray-200)}
.stat-number{font-size:2.25rem;font-weight:800;color:var(--primary);line-height:1;letter-spacing:-.02em}
.stat-label{font-size:12px;color:var(--gray-500);margin-top:4px;font-weight:600}

/* ======== HOW IT WORKS ======== */
.how-section{padding:4.5rem 1.5rem;background:#fff}
.how-inner{max-width:920px;margin:0 auto}

.section-header{text-align:center;margin-bottom:2.75rem}
.section-eyebrow{
    font-size:10px;font-weight:800;letter-spacing:.12em;
    text-transform:uppercase;color:var(--gray-400);margin-bottom:8px;
}
.section-title{
    font-size:clamp(1.6rem,3.5vw,2.2rem);font-weight:800;
    color:var(--gray-900);letter-spacing:-.025em;
}
.section-subtitle{color:var(--gray-500);margin-top:6px;font-size:.9375rem}

.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.step-card{
    background:#fff;border:1.5px solid var(--gray-200);border-radius:var(--radius-lg);
    padding:1.75rem;transition:all .2s var(--ease);
}
.step-card:hover{border-color:#bfdbfe;box-shadow:0 4px 16px rgba(37,99,235,.06);transform:translateY(-2px)}

.step-num{
    width:38px;height:38px;border-radius:10px;
    background:#eff6ff;border:1.5px solid #bfdbfe;
    display:flex;align-items:center;justify-content:center;
    font-weight:800;font-size:1rem;color:var(--primary);margin-bottom:1.25rem;
}
.step-card h3{font-size:.95rem;font-weight:700;color:var(--gray-900);margin-bottom:6px}
.step-card p{font-size:13px;color:var(--gray-500);line-height:1.65;margin-bottom:.875rem}
.step-tag{
    display:inline-flex;align-items:center;gap:4px;
    font-size:11.5px;font-weight:700;color:var(--primary);
}

/* ======== FEATURES ======== */
.features-section{
    padding:4.5rem 1.5rem;
    background:var(--gray-50);border-top:1px solid var(--gray-200);
    border-bottom:1px solid var(--gray-200);
}
.features-inner{max-width:920px;margin:0 auto}
.features-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.feature-card{
    display:flex;gap:14px;align-items:flex-start;
    background:#fff;border:1.5px solid var(--gray-200);
    border-radius:var(--radius-lg);padding:1.25rem;
    transition:all .2s var(--ease);
}
.feature-card:hover{border-color:#bfdbfe;box-shadow:0 4px 16px rgba(37,99,235,.06)}
.feature-icon{
    width:40px;height:40px;border-radius:10px;
    background:#eff6ff;border:1.5px solid #bfdbfe;
    display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.feature-icon i{font-size:16px;color:var(--primary)}
.feature-card h3{font-size:.875rem;font-weight:700;color:var(--gray-900);margin-bottom:4px}
.feature-card p{font-size:13px;color:var(--gray-500);line-height:1.6;margin:0}

/* ======== FOOTER ======== */
.public-footer{
    background:#fff;border-top:1px solid var(--gray-200);padding:2rem 1.5rem;
}
.footer-inner{
    max-width:1080px;margin:0 auto;
    display:flex;align-items:center;justify-content:space-between;
    flex-wrap:wrap;gap:1rem;
}
.footer-brand{display:flex;align-items:center;gap:.5rem}
.footer-brand-mark{
    width:28px;height:28px;border-radius:7px;background:var(--primary);
    display:flex;align-items:center;justify-content:center;
}
.footer-brand-mark span{font-weight:800;color:#fff;font-size:9px}
.footer-brand-text{font-weight:700;font-size:.85rem;color:var(--gray-900)}
.footer-copy{font-size:.75rem;color:var(--gray-400);font-weight:500}

/* ======== AUTH PAGES ======== */
.auth-wrapper{
    min-height:calc(100vh - 60px);display:flex;align-items:center;
    justify-content:center;padding:2rem 1rem;
    background:linear-gradient(160deg,#f8fafc 0%,#eff6ff 100%);
}
.auth-card{
    width:100%;max-width:420px;
    background:#fff;border:1px solid var(--gray-200);
    border-radius:16px;box-shadow:0 4px 24px rgba(0,0,0,.05),0 1px 2px rgba(0,0,0,.03);
    overflow:hidden;
}
.auth-card .auth-body{padding:2.25rem}
.auth-card .auth-brand{
    display:flex;align-items:center;justify-content:center;gap:.5rem;
    margin-bottom:1.5rem;
}
.auth-card .auth-brand-mark{
    width:36px;height:36px;border-radius:10px;background:var(--primary);
    display:flex;align-items:center;justify-content:center;
}
.auth-card .auth-brand-mark span{font-weight:800;color:#fff;font-size:11px}

.auth-card h2{
    font-size:1.4rem;font-weight:800;color:var(--gray-900);
    letter-spacing:-.02em;text-align:center;margin-bottom:.375rem;
}
.auth-card .auth-subtitle{
    text-align:center;font-size:.85rem;color:var(--gray-400);margin-bottom:1.5rem;
}

.auth-card .form-floating>.form-control{
    border:1.5px solid var(--gray-200);border-radius:10px;
    font-size:.875rem;background:var(--gray-50);
    transition:all .15s var(--ease);
}
.auth-card .form-floating>.form-control:focus{
    border-color:var(--primary);box-shadow:0 0 0 3px rgba(37,99,235,.1);background:#fff;
}
.auth-card .form-floating>label{font-size:.85rem;color:var(--gray-400)}

.auth-card .btn-primary{
    width:100%;padding:.7rem;font-size:.9rem;font-weight:700;
    border-radius:10px;background:var(--primary);border:none;
    box-shadow:0 2px 8px rgba(37,99,235,.25);transition:all .2s var(--ease);
}
.auth-card .btn-primary:hover{
    background:var(--primary-hover);box-shadow:0 6px 16px rgba(37,99,235,.3);transform:translateY(-1px);
}

.auth-card .nda-box{
    background:var(--gray-50);border:1.5px solid var(--gray-200);
    border-radius:10px;padding:.875rem;margin-bottom:1rem;
}
.auth-card .form-check-input:checked{background-color:var(--primary);border-color:var(--primary)}

.auth-card .auth-footer{
    text-align:center;margin-top:1.25rem;font-size:.82rem;color:var(--gray-400);
}
.auth-card .auth-footer a{color:var(--primary);font-weight:600;text-decoration:none}
.auth-card .auth-footer a:hover{text-decoration:underline}

/* ======== ALERTS ======== */
.alert{
    border-radius:var(--radius);font-size:.85rem;border:none;
    border-left:3.5px solid;padding:.875rem 1.125rem;font-weight:500;
}
.alert-success{background:#f0fdf4;color:#166534;border-color:#22c55e}
.alert-danger {background:#fef2f2;color:#991b1b;border-color:#ef4444}
.alert-info   {background:#eff6ff;color:#1e40af;border-color:#3b82f6}
.alert-warning{background:#fffbeb;color:#92400e;border-color:#f59e0b}

/* ======== RESPONSIVE ======== */
@media(max-width:768px){
    .hero{padding:3.5rem 1.25rem}
    .steps-grid{grid-template-columns:1fr}
    .features-grid{grid-template-columns:1fr}
    .stats-bar-inner{grid-template-columns:1fr;gap:0}
    .stat-item:nth-child(2){border-left:none;border-right:none;border-top:1px solid var(--gray-200);border-bottom:1px solid var(--gray-200)}
    .footer-inner{flex-direction:column;text-align:center}
}

/* Page entrance */
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
main,.auth-wrapper{animation:fadeUp .35s ease-out}
