:root{
    --bg:#08111f;
    --bg-2:#0f172a;
    --bg-3:#111827;
    --panel:rgba(255,255,255,.08);
    --panel-soft:rgba(255,255,255,.05);
    --panel-border:rgba(255,255,255,.10);
    --text:#eaf2ff;
    --text-soft:#d7e2f7;
    --muted:#94a3b8;
    --heading:#ffffff;
    --primary:#3a0ca3;
    --primary-2:#7209b7;
    --accent:#f72585;
    --accent-soft:#ff9cc8;
    --shadow-lg:0 20px 50px rgba(0,0,0,.35);
    --shadow-md:0 10px 30px rgba(0,0,0,.22);
    --radius-xl:28px;
    --radius-lg:20px;
    --radius-md:14px;
    --radius-sm:10px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
    margin:0;
    font-family:"Poppins","Segoe UI",Tahoma,sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at top left, rgba(247,37,133,.22), transparent 30%),
        radial-gradient(circle at top right, rgba(114,9,183,.26), transparent 30%),
        linear-gradient(135deg, #150a2e 0%, #441172 45%, #f72585 100%);
    line-height:1.75;
}

img{max-width:100%;display:block}

a{
    color:#ffd5ea;
    text-decoration:none;
    font-weight:700;
    transition:color .2s ease, transform .2s ease;
}
a:hover{color:#ffffff}

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(28,12,66,.82);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar{
    max-width:1280px;
    margin:0 auto;
    padding:14px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.nav-left,.nav-right{
    display:flex;
    align-items:center;
    gap:14px;
}

.brand{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-weight:800;
}

.brand-logo{
    width:42px;
    height:42px;
    object-fit:contain;
}

.brand-text{
    white-space:nowrap;
    letter-spacing:.01em;
}

.menu-toggle,.menu-close{
    width:28px;
    height:28px;
    cursor:pointer;
}

.menu-toggle-btn,.menu-close-btn,.dropdown-toggle{
    background:none;
    border:none;
    padding:0;
    cursor:pointer;
    font:inherit;
    color:#e5eefc;
}

.nav-list{
    list-style:none;
    display:flex;
    align-items:center;
    gap:10px;
    margin:0;
    padding:0;
}

.nav-list li{position:relative}

.nav-list a{
    display:inline-flex;
    align-items:center;
    padding:10px 14px;
    border-radius:12px;
    color:#f5eefe;
    transition:background .2s ease, color .2s ease, transform .2s ease;
}

.nav-list a:hover,
.nav-list a.active,
.dropdown-toggle:hover{
    background:rgba(255,255,255,.08);
    color:#fff;
    transform:translateY(-1px);
}

.dropdown-toggle{
    display:inline-flex;
    align-items:center;
    padding:10px 14px;
    border-radius:12px;
    width:100%;
}

.has-dropdown:hover .dropdown{display:block}

.dropdown{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:240px;
    background:#281043;
    border:1px solid rgba(255,255,255,.10);
    border-radius:14px;
    box-shadow:var(--shadow-md);
    padding:8px;
}

.dropdown li{display:block}
.dropdown a{width:100%}

.auth-links{
    display:flex;
    align-items:center;
    gap:10px;
}

.auth-links a{
    padding:10px 14px;
    border-radius:10px;
    background:rgba(255,255,255,.06);
    color:#fff;
}

.auth-links .signup-btn{
    background:linear-gradient(90deg, #3a0ca3, #7209b7, #f72585);
    box-shadow:0 8px 20px rgba(114,9,183,.28);
}

.auth-user{
    background:rgba(255,255,255,.06);
    padding:8px 10px;
    border-radius:12px;
}

.welcome-text{
    color:#f7ddff;
    margin-right:8px;
}

.nav-close-wrap{display:none}

.nav-overlay{
    position:fixed;
    inset:0;
    background:rgba(2,6,23,.58);
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease, visibility .2s ease;
    z-index:900;
}

.nav-overlay.is-active{
    opacity:1;
    visibility:visible;
}

.page-main{
    max-width:1280px;
    margin:0 auto;
    padding:28px 20px 50px;
}

.hero-section{
    margin-bottom:20px;
    border-radius:26px;
    padding:36px 30px;
    background:linear-gradient(135deg, rgba(255,255,255,.15), rgba(255,255,255,.07));
    border:1px solid rgba(255,255,255,.18);
    box-shadow:var(--shadow-lg);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.corporate-hero{
    display:grid;
    grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);
    gap:24px;
    align-items:stretch;
}

.hero-kicker{
    color:#e9d5ff;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.78rem;
    margin:0 0 8px;
    font-weight:800;
}

.hero-section h1{
    margin:0 0 10px;
    font-size:clamp(1.85rem, 4vw, 3.55rem);
    line-height:1.12;
    color:#fff;
}

.hero-subtext{
    margin:0;
    font-size:1.02rem;
    color:#f4e8ff;
    max-width:880px;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:20px;
}

.hero-actions.center{
    justify-content:center;
}

.hero-panel{
    padding:24px;
    border-radius:22px;
    background:rgba(255,255,255,.92);
    color:#111827;
    box-shadow:var(--shadow-md);
}

.panel-title{
    color:#7c3aed;
    font-size:.85rem;
    text-transform:uppercase;
    letter-spacing:.12em;
    font-weight:900;
    margin-bottom:8px;
}

.hero-panel p{margin:0;color:#1f2937}

.intro-card,
.business-model-card,
.service-process,
.compliance-note,
.cta-section{
    margin-bottom:24px;
    padding:24px;
    border-radius:22px;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(255,255,255,.55);
    box-shadow:var(--shadow-md);
    color:#111827;
}

.intro-card h2,
.business-model-card h2,
.service-process h2,
.compliance-note h2,
.cta-section h2{
    margin:0 0 12px;
    color:#111827;
    line-height:1.25;
}

.intro-card p,
.business-model-card p,
.service-process p,
.compliance-note p,
.cta-section p{
    margin:0 0 14px;
    color:#1f2937;
}

.value-strip{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:24px;
}

.value-strip div{
    padding:20px;
    border-radius:20px;
    background:rgba(255,255,255,.92);
    color:#111827;
    border:1px solid rgba(255,255,255,.50);
    box-shadow:var(--shadow-md);
}

.value-strip strong{
    display:block;
    color:#3a0ca3;
    margin-bottom:8px;
    font-size:1.05rem;
}

.value-strip span{color:#374151}

.section-head{
    max-width:920px;
    margin:10px 0 20px;
}

.section-head h2{
    margin:0 0 8px;
    color:#fff;
    font-size:clamp(1.45rem,3vw,2.25rem);
}

.section-head p{margin:0;color:#f4e8ff}
.section-head.compact h2{color:#111827}
.section-head.compact p{color:#374151}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
    margin-bottom:24px;
}

.service-card{
    padding:24px;
    border-radius:22px;
    background:#ffffff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 12px 28px rgba(15,23,42,.12);
    position:relative;
    overflow:hidden;
    color:#111827;
}

.service-card::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:110px;
    height:110px;
    background:radial-gradient(circle, rgba(114,9,183,.11), transparent 70%);
    pointer-events:none;
}

.service-logo-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:14px;
}

.service-logo{
    max-width:150px;
    width:100%;
    height:auto;
    object-fit:contain;
}

.service-code{
    display:inline-flex;
    margin-bottom:14px;
    padding:6px 10px;
    border-radius:999px;
    background:#f3e8ff;
    color:#6d28d9;
    font-size:.78rem;
    letter-spacing:.1em;
    font-weight:900;
}

.service-card h2{
    margin:0 0 8px;
    font-size:1.25rem;
    color:#111827;
    line-height:1.3;
}

.service-card p{
    margin:0 0 16px;
    color:#1f2937;
}

.service-card a{color:#7c3aed}
.service-card a:hover{color:#4f46e5}

.service-banner{
    width:100%;
    border-radius:16px;
    border:2px solid rgba(15,23,42,.08);
    margin:0 0 18px;
    box-shadow:0 10px 24px rgba(0,0,0,.10);
    max-height:260px;
    object-fit:cover;
}

.service-action{margin-top:16px}

.cta-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:10px 16px;
    border-radius:12px;
    background:linear-gradient(90deg, #3a0ca3, #7209b7, #f72585);
    color:#fff !important;
    font-weight:800;
    box-shadow:0 8px 20px rgba(114,9,183,.28);
    transition:transform .18s ease, box-shadow .18s ease;
}

.cta-link:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(114,9,183,.36);
    color:#fff !important;
}

.cta-link.ghost{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.25);
    box-shadow:none;
}

.service-subhead{
    font-size:1rem;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
    margin:1.2rem 0 .75rem;
    color:#8b0000;
    border-left:4px solid #8b0000;
    padding-left:12px;
}

.service-list{
    margin:0;
    padding-left:20px;
    color:#1f2937;
}

.service-list li{margin-bottom:7px}

.business-model-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);
    gap:20px;
    align-items:center;
}

.business-model-card .hero-kicker{color:#7c3aed}

.income-grid{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.income-pill{
    padding:10px 12px;
    border-radius:999px;
    background:#f3e8ff;
    color:#6d28d9;
    font-weight:800;
    font-size:.9rem;
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.process-grid div{
    padding:18px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
}

.process-grid span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#7c3aed;
    color:#fff;
    font-weight:900;
    margin-bottom:10px;
}

.process-grid strong{
    display:block;
    color:#111827;
    margin-bottom:6px;
}

.process-grid p{
    color:#475569;
    margin:0;
}

.compliance-note{border-left:8px solid #7c3aed}

.cta-section{
    text-align:center;
    background:linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
}

.cta-section p{
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.site-footer{
    margin-top:36px;
    padding:28px 20px 34px;
    background:rgba(255,255,255,.04);
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-columns{
    max-width:1280px;
    margin:0 auto 20px;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:18px;
}

.footer-card{
    padding:20px;
    border-radius:18px;
    background:#ffffff;
    border:1px solid rgba(15,23,42,.08);
    box-shadow:0 12px 28px rgba(15,23,42,.12);
}

.footer-card h3{
    margin:0 0 12px;
    color:#111827;
    font-size:1.1rem;
}

.footer-card p{
    margin:0 0 10px;
    color:#374151;
}

.footer-card a{color:#7c3aed}
.footer-card a:hover{color:#4f46e5}

.footer-bottom{
    margin:0;
    text-align:center;
    color:#f3e8ff;
}

@media (max-width:1100px){
    .services-grid{grid-template-columns:1fr}
    .footer-columns{grid-template-columns:1fr}
    .business-model-card{grid-template-columns:1fr}
    .process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:900px){
    .brand-text{display:none}

    .nav-list{
        position:fixed;
        top:0;
        left:-100%;
        width:300px;
        max-width:85vw;
        height:100vh;
        background:#190b35;
        flex-direction:column;
        align-items:flex-start;
        padding:20px;
        gap:8px;
        box-shadow:var(--shadow-lg);
        transition:left .25s ease;
        overflow-y:auto;
        z-index:1001;
    }

    .nav-list.is-open{left:0}
    .nav-list li{width:100%}
    .nav-list a,.dropdown-toggle{width:100%}

    .nav-close-wrap{
        display:block;
        width:100%;
        text-align:right;
    }

    .has-dropdown:hover .dropdown{display:none}

    .has-dropdown .dropdown{
        display:none;
        position:static;
        background:rgba(255,255,255,.04);
        margin-top:8px;
        box-shadow:none;
        border:none;
        padding:8px 0 0;
    }

    .has-dropdown.mobile-open .dropdown{display:block}
    .nav-center{flex:1}
    .corporate-hero{grid-template-columns:1fr}
}

@media (min-width:901px){
    .menu-toggle-btn,.menu-close-btn{display:none}
    .nav-overlay{display:none !important}
    .dropdown-toggle{width:auto}
}

@media (max-width:768px){
    .navbar{padding:12px 14px}
    .page-main{padding:18px 14px 40px}

    .hero-section,
    .intro-card,
    .service-card,
    .footer-card,
    .business-model-card,
    .service-process,
    .compliance-note,
    .cta-section{
        padding:18px;
    }

    .hero-section h1{font-size:1.8rem}
    .nav-right{display:none}
    .value-strip{grid-template-columns:1fr}
    .process-grid{grid-template-columns:1fr}
}

@media (max-width:480px){
    .hero-section,
    .intro-card,
    .service-card,
    .footer-card,
    .business-model-card,
    .service-process,
    .compliance-note,
    .cta-section{
        border-radius:18px;
    }

    .hero-actions{flex-direction:column}
    .cta-link{width:100%}
}
