:root {
    --bg: #050712;
    --bg-soft: #0b1220;
    --panel: rgba(255, 255, 255, 0.075);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --text: #ffffff;
    --muted: #c9d0dd;
    --violet: #8c5bff;
    --blue: #27b8ff;
    --mint: #32d6a2;
    --amber: #ffbd5a;
    --line: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Segoe UI, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 4%, rgba(140, 91, 255, 0.28), transparent 28rem),
        radial-gradient(circle at 86% 16%, rgba(39, 184, 255, 0.16), transparent 26rem),
        radial-gradient(circle at 50% 95%, rgba(50, 214, 162, 0.08), transparent 28rem),
        linear-gradient(180deg, #050712 0%, #09111f 48%, #05070d 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 70%);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    line-height: 1.75;
}

ul {
    margin: 0;
    padding: 0;
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.section-pad {
    padding: 92px 0;
}

.section-pad.compact {
    padding-top: 42px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 7, 18, 0.78);
    backdrop-filter: blur(18px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    object-position: left center;
    background: #fff;
    box-shadow: 0 14px 36px rgba(39, 184, 255, 0.24);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 800;
    transition: 180ms ease;
}

.nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #fff;
    border-radius: 999px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.95fr);
    gap: 54px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    color: #d9e9ff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
    max-width: 920px;
    margin-top: 18px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    font-weight: 900;
}

.hero-copy p,
.page-hero p {
    max-width: 720px;
    margin: 24px 0 0;
    font-size: 18px;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.btn {
    border: 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    font: inherit;
}

.btn.primary {
    background: linear-gradient(135deg, var(--violet), var(--blue) 70%, var(--mint));
    color: #fff;
    box-shadow: 0 18px 42px rgba(39, 184, 255, 0.28);
}

.btn.ghost {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 38px;
    max-width: 640px;
}

.hero-stats div,
.feature-card,
.member-card,
.contact-form,
.contact-info,
.split-panel,
.business-grid > div {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
    box-shadow: var(--shadow);
}

.hero-stats div {
    border-radius: 16px;
    padding: 18px;
}

.hero-stats strong {
    display: block;
    font-size: 23px;
}

.hero-stats span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.hero-media {
    position: relative;
    min-height: 570px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #111827;
    box-shadow: var(--shadow);
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(5, 7, 18, 0.78));
}

.hero-media img {
    width: 100%;
    height: 100%;
    min-height: 570px;
    object-fit: cover;
    display: block;
}

.media-badge {
    position: absolute;
    z-index: 2;
    padding: 11px 14px;
    border-radius: 999px;
    color: #fff;
    background: rgba(5, 7, 18, 0.74);
    border: 1px solid var(--line);
    font-weight: 900;
    box-shadow: var(--shadow);
}

.media-badge.top {
    left: 24px;
    top: 24px;
}

.media-badge.bottom {
    right: 24px;
    bottom: 24px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading h2,
.split-panel h2,
.contact-info h2,
.product-grid h2,
.business-grid h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 54px);
    line-height: 1.05;
    font-weight: 900;
}

.service-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-grid.dense {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.member-card,
.contact-form,
.contact-info,
.split-panel,
.business-grid > div {
    border-radius: 22px;
}

.feature-card {
    padding: 28px;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    font-size: 17px;
    font-weight: 900;
}

.feature-card h3 {
    margin-top: 22px;
    font-size: 24px;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 44px;
    align-items: center;
}

.product-collage {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 14px;
}

.product-collage img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.product-collage .wide {
    grid-column: 1 / -1;
    height: 330px;
}

.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
    padding: 34px;
}

.capability-list,
.model-list {
    display: grid;
    gap: 12px;
}

.capability-list span,
.model-list span,
.mini-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 800;
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.business-grid > div {
    padding: 32px;
}

.check-list {
    display: grid;
    gap: 13px;
    margin-top: 24px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 16px 16px 16px 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: #fff;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.06);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(50, 214, 162, 0.16);
    color: var(--mint);
    font-weight: 900;
}

.page-hero {
    padding-bottom: 42px;
}

.team-hero {
    padding-bottom: 56px;
}

.team-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 34px;
    align-items: center;
}

.team-logo-panel {
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
}

.team-logo-panel img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.member-card {
    position: relative;
    padding: 14px 14px 24px;
    text-align: center;
    overflow: hidden;
}

.member-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(39, 184, 255, 0.16), transparent 40%),
        linear-gradient(315deg, rgba(255, 189, 90, 0.1), transparent 45%);
}

.member-photo {
    position: relative;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.member-photo::after {
    content: "";
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(to top, rgba(5, 7, 18, 0.78), transparent);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.member-badge {
    width: 70px;
    height: 70px;
    margin: -35px auto 16px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--violet), var(--blue));
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 12px 35px rgba(39, 184, 255, 0.34);
    font-size: 20px;
    font-weight: 900;
}

.member-card h2 {
    position: relative;
    font-size: 24px;
}

.role {
    position: relative;
    min-height: 46px;
    color: #d8e7ff;
    font-weight: 900;
}

.member-card > p:not(.role) {
    position: relative;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 22px;
    align-items: start;
}

.contact-form,
.contact-info {
    padding: 28px;
}

.contact-form label {
    display: block;
    margin: 0 0 10px;
    color: #fff;
    font-weight: 900;
}

.contact-form textarea {
    width: 100%;
    min-height: 260px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 16px;
    font: inherit;
    outline: none;
    resize: vertical;
}

.contact-form textarea:focus {
    border-color: rgba(39, 184, 255, 0.8);
    box-shadow: 0 0 0 4px rgba(39, 184, 255, 0.14);
}

.contact-form .btn {
    width: 100%;
    margin-top: 18px;
}

.contact-info a {
    display: flex;
    margin: 18px 0 6px;
    color: #fff;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.contact-logo {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer {
    margin-top: 60px;
    padding: 44px 0 24px;
    border-top: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.28);
}

.footer-layout {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 1fr;
    gap: 30px;
}

.footer-brand {
    margin-bottom: 14px;
}

.footer-layout h4 {
    margin: 0 0 14px;
}

.footer-layout a,
.footer-layout span {
    display: block;
    margin: 10px 0;
    color: var(--muted);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--muted);
}

@media (max-width: 980px) {
    .hero-grid,
    .product-grid,
    .split-panel,
    .business-grid,
    .contact-layout,
    .footer-layout,
    .team-hero-grid {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .feature-grid.dense,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .hero-media,
    .hero-media img {
        min-height: 440px;
    }

    .team-logo-panel {
        max-width: 440px;
    }
}

@media (max-width: 720px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .section-pad {
        padding: 64px 0;
    }

    .nav {
        min-height: 68px;
    }

    .brand span {
        font-size: 14px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(5, 7, 18, 0.96);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        justify-content: center;
        padding: 13px;
    }

    .hero-stats,
    .product-collage {
        grid-template-columns: 1fr;
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .hero-copy p,
    .page-hero p {
        font-size: 16px;
    }

    .hero-actions .btn,
    .inline-actions .btn {
        width: 100%;
    }

    .hero-media,
    .hero-media img {
        min-height: 360px;
    }

    .media-badge {
        display: none;
    }

    .product-collage img,
    .product-collage .wide {
        height: 260px;
    }

    .member-photo {
        height: 340px;
    }
}
