: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:linear-gradient(135deg, #7b12c8 0%, #a114b8 45%, #f72585 100%);
    line-height:1.75;
}

img{ max-width:100%; display:block; }

a{
    color:#ffd5ea;
    text-decoration:none;
    font-weight:600;
    transition:color .2s ease;
}
a:hover{ color:#ffffff; }

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(28,12,66,.78);
    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:700;
}

.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:220px;
    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,.14), rgba(255,255,255,.06));
    border:1px solid rgba(255,255,255,.18);
    box-shadow:var(--shadow-lg);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.hero-kicker{
    color:#e9d5ff;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.78rem;
    margin-bottom:8px;
}

.hero-section h1{
    margin:0 0 10px;
    font-size:clamp(1.7rem, 3vw, 2.9rem);
    line-height:1.2;
    color:#fff;
}

.hero-subtext{
    margin:0;
    font-size:1rem;
    color:#f4e8ff;
    max-width:860px;
}

.intro-card{
    margin-bottom:24px;
    padding:24px;
    border-radius:22px;
    background:rgba(255,255,255,.92);
    border:1px solid rgba(255,255,255,.55);
    box-shadow:var(--shadow-md);
    color:#111827;
}

.intro-card p{
    margin:0 0 16px;
    color:#1f2937;
}

.intro-card p:last-child{ margin-bottom:0; }

.intro-card a{
    color:#7c3aed;
}
.intro-card a:hover{
    color:#4f46e5;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
}

.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;
}

.service-card::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:88px;
    height:88px;
    background:radial-gradient(circle, rgba(114,9,183,.08), transparent 70%);
    pointer-events:none;
}

.service-logo-wrap{
    display:flex;
    justify-content:center;
    margin-bottom:14px;
}

.service-logo{
    max-width:180px;
    width:100%;
    height:auto;
    object-fit:contain;
}

.service-card h2{
    margin:0 0 16px;
    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);
}

.service-action{ margin-top:12px; }

.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:700;
    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;
}

.service-subhead{
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 1.4rem 0 0.7rem;
    color: #8b0000;
    border-left: 4px solid #8b0000;
    padding-left: 12px;
}

.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; }
}

@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; }
}

@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{
        padding:18px;
    }

    .hero-section h1{ font-size:1.6rem; }
    .nav-right{ display:none; }
}

@media (max-width: 480px){
    .hero-section,
    .intro-card,
    .service-card,
    .footer-card{
        border-radius:18px;
    }
}