﻿:root {
    /* Light/Dark hybrid palette (from your logo) */
    --bg: #F6F5FF; /* base background (light) */
    --surface: #FFFFFF; /* cards/nav */
    --surface-2: #11091A; /* dark panels */
    --surface-3: #1A1030; /* deeper accent panel */
    --ink: #1A1430; /* primary text */
    --muted: #635684; /* secondary text */
    --brand: #9F8BFF; /* lilac */
    --brand-strong: #6B57E6; /* deeper lilac */
    --accent: #64D5CB; /* teal */
    --ring: #E5E0FF; /* soft outline for light */
    --ring-dark: #2C1F47; /* outline for dark */
    --shadow: 0 14px 40px rgba(17, 9, 26, .10);
    --shadow-dark: 0 16px 50px rgba(0,0,0,.35);
    --radius: 18px;
    /* Image sizing helpers */ --media-h-sm: 220px;
    --media-h-md: 260px;
    --media-h-lg: 380px;
}

/* Base */
*, ::before, ::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: radial-gradient(1100px 600px at 85% -10%, #E8E2FF88 0%, transparent 60%), radial-gradient(900px 700px at -15% 0%, #CFF4EF88 0%, transparent 50%), var(--bg);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: 14px;
}

.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
}

/* Header / Nav */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: color-mix(in oklab, var(--surface) 86%, transparent);
    border-bottom: 1px solid var(--ring);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo-row {
    display: flex;
    gap: .7rem;
    align-items: center;
}

.logo {
/*    width: 36px;
*/    height: 36px;
    display: grid;
    place-items: center;
}

    .logo img {
        height: 36px;
    }

.logo-brand {
    font-weight: 900;
    letter-spacing: -.02em;
    font-size: 1.15rem;
    color: #200b2b;
}

.brand {
    font-weight: 900;
    letter-spacing: -.02em;
    font-size: 1.15rem;
    color: var(--brand-strong);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

    .nav-links a {
        color: #4C416F;
        font-weight: 600;
        font-size: .95rem;
        line-height: 1;
        display: flex;
        align-items: center;
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .85rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    color: #0d0d12;
    background: linear-gradient(135deg, var(--accent), var(--brand));
    box-shadow: var(--shadow);
    transition: transform .12s ease, filter .2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

.btn-outline {
    background: #fff;
    border: 2px solid var(--ring);
    color: var(--ink);
    box-shadow: none;
    font-weight: 700;
}

/* Sections + grids */
section {
    padding: 84px 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--ring);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.card-dark {
    background: linear-gradient(180deg, var(--surface-2), var(--surface-3));
    border: 1px solid var(--ring-dark);
    border-radius: var(--radius);
    box-shadow: var(--shadow-dark);
    color: #EDEBFF;
}

.headline {
    font-weight: 900;
    letter-spacing: -.02em;
    font-size: clamp(2rem, 4.2vw, 3.3rem);
    margin: .4rem 0 .8rem;
}

.sub {
    color: var(--muted);
}

.chip {
    font-size: .8rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    color: #08423E;
    background: color-mix(in oklab, var(--accent) 86%, white);
    font-weight: 800;
}

.grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(12, 1fr);
}

.col-3 {
    grid-column: span 3;
}

.col-4 {
    grid-column: span 4;
}

.col-5 {
    grid-column: span 5;
}

.col-6 {
    grid-column: span 6;
}

.col-7 {
    grid-column: span 7;
}

.col-8 {
    grid-column: span 8;
}

.col-12 {
    grid-column: span 12;
}

/* Media helpers: fixed heights to avoid “too big” images */
.media {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

    .media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.h-sm {
    height: var(--media-h-sm);
}

.h-md {
    height: var(--media-h-md);
}

.h-lg {
    height: var(--media-h-lg);
}

/* Feature, KPI, and list styles */
.feature {
    padding: 1.1rem;
    border-radius: 16px;
    border: 1px solid var(--ring);
    background: #FFFFFF;
}

    .feature h4 {
        margin: .2rem 0 .35rem;
    }

.kpi {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px dashed var(--ring);
    background: #ffffff;
    color: #3B2F63;
}

    .kpi strong {
        font-size: 1.6rem;
        color: var(--brand-strong);
    }

/* Testimonial */
.quote {
    font-size: 1.05rem;
    line-height: 1.6;
    border-left: 4px solid var(--brand-strong);
    padding-left: 1rem;
    color: #E9E7FF;
}

/* Footer */
footer {
    border-top: 1px solid var(--ring);
    background: #FBFAFF;
    color: #5b4f80;
    padding: 36px 0 56px;
}

.footer-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr 1fr;
}

.sm {
    display: flex;
    gap: .8rem;
    flex-direction: row-reverse;
}

    .sm a {
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        border: 1px solid var(--ring);
        background: #fff;
    }

.topradius {
    border-radius: 0 14px;
}

/* Responsive */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .col-8, .col-7, .col-6, .col-5, .col-4, .col-3 {
        grid-column: span 6;
    }

    .nav-links {
        display: none;
    }

    .h-lg {
        height: 300px;
    }

    .topradius {
        border-radius: 0 !important;
        border-bottom-left-radius: 14px;
        border-bottom-right-radius: 14px;
    }
}

@media (max-width: 560px) {
    .h-lg {
        height: 240px;
    }

    .h-md {
        height: 200px;
    }

    .h-sm {
        height: 180px;
    }
}
