/* -------------------------------------------------
   Global design tokens – Dark theme with blue accent
--------------------------------------------------- */
:root {
    /* Colors - Dark theme with blue tint */
    --c-primary: #4d7cff;
    --c-primary-dark: #2a5bff;
    --c-bg: #0a0a0f;
    --c-surface: #121218;
    --c-text: #ffffff;
    --c-muted: #9aa5ce;
    --c-accent: #6b9fff;

    /* Typography */
    --font-base: 'Inter', system-ui, -apple-system,
                 BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
                 sans-serif;
    --fs-xxl: clamp(2.4rem, 6vw, 3.8rem);
    --fs-xl : clamp(1.9rem,5vw,2.8rem);
    --fs-lg : clamp(1.5rem,4vw,2.0rem);
    --fs-md : 1rem;
    --fs-sm : .875rem;

    /* Spacing */
    --space-xxl: 3rem;
    --space-xl : 2rem;
    --space-lg : 1.5rem;
    --space-md : 1rem;
    --space-sm : .75rem;
}

/* -------------------------------------------------
   Reset & base styles
--------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin:0;
    font-family: var(--font-base);
    color: var(--c-text);
    background-color: var(--c-bg);
    line-height: 1.6;
}

/* -------------------------------------------------
   Layout helpers
--------------------------------------------------- */
.container{
    width: min(90%,1200px);
    margin-inline:auto;
    padding-inline:var(--space-md);
}
.bg-light{background:#1a1a24;}
.bg-dark{
    background:#0d0d12;
    color:#e6ebff;
}
section {padding: var(--space-xxl) 0;}

/* -------------------------------------------------
   Typography
--------------------------------------------------- */
h1, h2, h3, h4 {
    margin-top:0;
    line-height:1.25;
    font-weight:600;
}
h1{font-size:var(--fs-xxl);}
h2{font-size:var(--fs-xl);margin-bottom:.5em;}
h3{font-size:var(--fs-lg);margin-bottom:.4em;}

/* Lead paragraph */
.lead{
    font-size: var(--fs-lg);
    color: var(--c-muted);
    max-width: 45ch;
}

/* -------------------------------------------------
   Buttons & links
--------------------------------------------------- */
a {color:var(--c-primary);}
.btn {
    display:inline-block;
    padding:.75em 1.5em;
    border:none;
    border-radius:.4rem;
    font-size: var(--fs-md);
    cursor:pointer;
    text-decoration:none;
    transition:background .2s, transform .15s;
}
.btn--primary{
    background:var(--c-primary);
    color:#fff;
}
.btn:hover{background:var(--c-primary-dark);}
a:hover{text-decoration:underline;}

/* -------------------------------------------------
   Hero section
--------------------------------------------------- */
.hero {
    position:relative;
    min-height:80vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    overflow:hidden;
    color:#fff;
}
.hero__bg img{
    width:100%;
    height:auto;
    object-fit:cover;
    filter:brightness(0.8);
}
.hero__overlay{
    position:absolute; inset:0;
    background:linear-gradient(180deg,
        rgba(77,124,255,.1) 30%,
        rgba(10,10,15,.6));
}
.navbar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: var(--space-md);
    position:absolute; top:0; left:0; right:0;
    z-index:10;
}

/* -------------------------------------------------
   Card grid (overview & search tools)
--------------------------------------------------- */
.card-grid {
    display:grid;
    gap:var(--space-lg);
    grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
}
.card{
    background: var(--c-surface);
    border-radius:.6rem;
    padding:var(--space-md);
    box-shadow:0 2px 8px rgba(77,124,255,.15);
    transition:transform .15s,box-shadow .15s;border:1px solid rgba(77,124,255,.1);
}
.card:hover{
    transform:translateY(-4px);
    box-shadow:0 6px 12px rgba(77,124,255,.2);border-color:rgba(77,124,255,.3);}

/* -------------------------------------------------
   Lists & highlights
--------------------------------------------------- */
.feature-list,
.doc-list{list-style:none;padding-left:0;}
.feature-list li::before{content:"✔";margin-right:.5em;color:var(--c-accent);color:#6b9fff;}
.highlight{
    background:#1a2035;
    border-left:4px solid var(--c-primary);
    padding:.8rem 1.2rem;margin:1.5rem 0;color:var(--c-muted);}

/* -------------------------------------------------
   Footer
--------------------------------------------------- */
.footer {
    font-size:var(--fs-sm);background:#0d0d12;color:#e6ebff;}
.footer__inner{
    display:flex; flex-wrap:wrap;
    gap:var(--space-lg);
    justify-content:space-between;
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xl);
}
.footer a{color:#b8c3ff;}
.footer h4{margin-bottom:.5rem;color:#fff}

/* -------------------------------------------------
   Responsive tweaks
--------------------------------------------------- */
@media (max-width:768px){
    .hero__content{text-align:center;}
    .navbar ul{
        flex-direction:column;
        background:rgba(10,10,15,.8);
        position:absolute; top:100%; left:0; right:0;
        display:none;
    }
}
