﻿:root {
    --primary: #1d4ed8;
    --primary-strong: #1e40af;
    --primary-soft: #dbeafe;
    --accent: #0f172a;
    --accent-soft: #334155;
    --success: #059669;
    --bg: #f4f7fb;
    --bg-2: #eef4fb;
    --surface: #ffffff;
    --surface-2: rgba(255,255,255,.78);
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --shadow-sm: 0 8px 24px rgba(15,23,42,.06);
    --shadow-md: 0 16px 42px rgba(15,23,42,.10);
    --shadow-lg: 0 30px 80px rgba(15,23,42,.16);
    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --container: 1200px;
    --transition: .28s cubic-bezier(.2,.8,.2,1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color: var(--text);
    background: radial-gradient(circle at top left, rgba(59,130,246,.08), transparent 24%), radial-gradient(circle at top right, rgba(14,165,233,.08), transparent 18%), linear-gradient(180deg, #f8fbff 0%, #f4f7fb 48%, #edf3f9 100%);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(920px, 100%);
}

/* TOPBAR */
.topbar {
    background: linear-gradient(90deg, #0f172a, #13223d);
    color: rgba(255,255,255,.84);
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar a:hover {
    color: #fff;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255,255,255,.76);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 4px 18px rgba(15,23,42,.03);
}

.header-row {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .04em;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 56%, #60a5fa 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 16px 32px rgba(37,99,235,.26);
    flex: 0 0 auto;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.05;
}

.brand-subtitle {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 480px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .nav a {
        position: relative;
        padding: 12px 16px;
        border-radius: 14px;
        font-size: 14px;
        font-weight: 700;
        color: var(--accent-soft);
        transition: var(--transition);
    }

        .nav a:hover {
            background: rgba(219,234,254,.75);
            color: var(--primary-strong);
            transform: translateY(-1px);
        }

        .nav a.active {
            background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
            color: var(--primary-strong);
            box-shadow: inset 0 0 0 1px rgba(147,197,253,.55);
        }

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.95);
    border-radius: 14px;
    cursor: pointer;
    font-size: 20px;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* GLOBAL BLOCKS */
.glass-card {
    border: 1px solid rgba(226,232,240,.92);
    background: rgba(255,255,255,.76);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(219,234,254,.88);
    color: var(--primary-strong);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid rgba(147,197,253,.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
    margin-bottom: 18px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    transition: var(--transition);
    overflow: hidden;
}

    .btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,.18), transparent);
        pointer-events: none;
    }

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 30px rgba(15,23,42,.12);
    }

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 48%, #1e40af 100%);
    box-shadow: 0 12px 28px rgba(37,99,235,.28);
}

.btn-secondary {
    color: var(--primary-strong);
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(191,219,254,.95);
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}

/* HERO */
.hero-section {
    padding: 56px 0 30px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .88fr;
    gap: 24px;
    align-items: stretch;
}

.hero-copy {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    padding: 44px;
    isolation: isolate;
    background: radial-gradient(circle at top right, rgba(96,165,250,.18), transparent 24%), linear-gradient(145deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.90) 100%);
}

    .hero-copy::before {
        content: "";
        position: absolute;
        inset: auto -80px -80px auto;
        width: 240px;
        height: 240px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(37,99,235,.12), transparent 70%);
        z-index: -1;
    }

    .hero-copy h1,
    .page-hero h1 {
        margin: 0 0 16px;
        font-size: clamp(34px, 5vw, 60px);
        line-height: 1.02;
        letter-spacing: -.035em;
        max-width: 760px;
    }

    .hero-copy p,
    .page-hero p {
        margin: 0;
        font-size: 17px;
        color: var(--muted);
        max-width: 720px;
    }

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.stat-card {
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid rgba(226,232,240,.94);
    box-shadow: 0 6px 16px rgba(15,23,42,.04);
}

    .stat-card strong {
        display: block;
        font-size: 24px;
        line-height: 1;
        margin-bottom: 8px;
        color: var(--primary-strong);
    }

    .stat-card span {
        display: block;
        font-size: 13px;
        color: var(--muted);
    }

.hero-visual {
    min-width: 0;
}

.hero-image-card {
    position: relative;
    height: 100%;
    min-height: 560px;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

    .hero-image-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.10), rgba(15,23,42,.45));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 24px;
}

.hero-badge-card {
    width: min(100%, 360px);
    padding: 20px;
    border-radius: 22px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
}

.mini-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.hero-badge-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.hero-badge-card li {
    font-size: 14px;
    color: #334155;
}

.hero-badge-card strong {
    color: #0f172a;
}

/* SECTIONS */
.section {
    padding: 34px 0 48px;
}

.section-soft {
    background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.18)), linear-gradient(180deg, #edf4fb 0%, #f6f9fd 100%);
    border-top: 1px solid rgba(226,232,240,.74);
    border-bottom: 1px solid rgba(226,232,240,.74);
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

    .section-heading h2 {
        margin: 0;
        font-size: clamp(28px, 3.8vw, 42px);
        line-height: 1.08;
        letter-spacing: -.02em;
    }

    .section-heading p {
        width: min(760px, 100%);
        margin: 14px auto 0;
        color: var(--muted);
        font-size: 15px;
    }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(249,251,255,.95));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, #2563eb, #38bdf8);
    }

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(191,219,254,.95);
    }

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--primary-strong);
    background: linear-gradient(180deg, #eff6ff, #dbeafe);
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.15;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.brand-card {
    border-radius: 24px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.94));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

    .brand-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .brand-card h3 {
        margin: 0 0 10px;
        font-size: 22px;
    }

    .brand-card p {
        margin: 0;
        color: var(--muted);
    }

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.content-panel {
    border-radius: 28px;
    padding: 32px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.95));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-md);
}

    .content-panel h3 {
        margin: 0 0 12px;
        font-size: 26px;
        line-height: 1.12;
        letter-spacing: -.02em;
    }

    .content-panel p {
        margin: 0;
        color: var(--muted);
    }

.cta-section {
    padding-top: 14px;
}

.cta-box {
    border-radius: 30px;
    padding: 34px;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 18px;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(96,165,250,.16), transparent 28%), linear-gradient(135deg, rgba(255,255,255,.98), rgba(243,247,255,.94));
}

    .cta-box h2 {
        margin: 0 0 10px;
        font-size: clamp(28px, 3.5vw, 42px);
        line-height: 1.08;
        letter-spacing: -.02em;
    }

    .cta-box p {
        margin: 0;
        color: var(--muted);
    }

/* PAGE */
.page-main {
    min-height: 60vh;
}

.page-hero {
    padding: 48px 0 14px;
}

    .page-hero .narrow {
        text-align: center;
    }

.content-card {
    border-radius: 30px;
    padding: 36px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.95));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: var(--shadow-md);
}

.large-content h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 25px;
    line-height: 1.18;
    letter-spacing: -.01em;
}

.large-content p {
    margin: 0 0 16px;
    color: var(--accent-soft);
    font-size: 15.5px;
}

.large-content hr {
    border: none;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}

.content-list {
    margin: 0 0 18px 18px;
    padding: 0;
}

    .content-list li {
        margin-bottom: 10px;
        color: var(--accent-soft);
    }

/* FOOTER */
.site-footer {
    margin-top: 28px;
    background: radial-gradient(circle at top left, rgba(59,130,246,.14), transparent 24%), linear-gradient(180deg, #0f172a 0%, #111c32 100%);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr 1fr;
    gap: 28px;
    padding: 42px 0 18px;
}

.site-footer h4 {
    margin: 0 0 14px;
    font-size: 18px;
    letter-spacing: .02em;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.75;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a:hover {
        color: #fff;
    }

.footer-bottom {
    padding: 18px 0 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.60);
    font-size: 13px;
}

/* MOBILE */
@media (max-width: 1024px) {
    .hero-grid,
    .feature-grid,
    .brand-grid,
    .mission-grid,
    .footer-grid,
    .cta-box {
        grid-template-columns: 1fr;
    }

    .hero-image-card {
        min-height: 440px;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border: 1px solid rgba(226,232,240,.95);
        border-radius: 22px;
        background: rgba(255,255,255,.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: var(--shadow-lg);
    }

        .nav.open {
            display: flex;
        }

        .nav a {
            width: 100%;
            padding: 14px 16px;
        }

    .brand-subtitle {
        max-width: 240px;
    }

    .topbar-inner {
        min-height: auto;
        padding: 10px 0;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 20px));
    }

    .header-row {
        min-height: 76px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 18px;
    }

    .brand-title {
        font-size: 17px;
    }

    .brand-subtitle {
        font-size: 11px;
        max-width: 180px;
    }

    .hero-section {
        padding: 34px 0 20px;
    }

    .hero-copy,
    .content-card,
    .content-panel,
    .feature-card,
    .brand-card,
    .cta-box {
        padding: 22px;
        border-radius: 22px;
    }

        .hero-copy h1,
        .page-hero h1 {
            font-size: 31px;
        }

        .hero-copy p,
        .page-hero p {
            font-size: 15px;
        }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-image-card {
        min-height: 340px;
    }

    .hero-image-overlay {
        padding: 16px;
    }

    .hero-badge-card {
        width: 100%;
    }

    .topbar-left,
    .topbar-right {
        width: 100%;
    }
}
