:root {
    --bg: #0b1020;
    --bg2: #0e1630;
    --card: rgba(255, 255, 255, 0.06);
    --card2: rgba(255, 255, 255, 0.08);
    --text: rgba(255, 255, 255, 0.92);
    --muted: rgba(255, 255, 255, 0.72);
    --muted2: rgba(255, 255, 255, 0.62);
    --stroke: rgba(255, 255, 255, 0.14);
    --stroke2: rgba(255, 255, 255, 0.18);
    --accent: #8ae6ff;
    --accent2: #a6ffcb;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(900px 500px at 10% 10%, rgba(138, 230, 255, 0.22), transparent 60%),
        radial-gradient(900px 500px at 90% 20%, rgba(166, 255, 203, 0.16), transparent 60%),
        linear-gradient(180deg, var(--bg), var(--bg2));
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-150%);
    transition: transform 160ms ease;
    z-index: 1000;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 26, 0.5);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.brand {
    display: inline-flex;
    gap: 0.7rem;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.06em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-link {
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 999px;
    color: var(--muted);
    border: 1px solid transparent;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.menu-button__line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 999px;
}

.hero {
    padding: 4.5rem 0 2.5rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    align-items: center;
}

.pill {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--muted);
    font-weight: 600;
    font-size: 0.9rem;
}

.hero-title {
    margin: 0.9rem 0 0.6rem;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-title__accent {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    margin: 0 0 1.2rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.3rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
}

.button--primary {
    background: linear-gradient(90deg, rgba(138, 230, 255, 0.22), rgba(166, 255, 203, 0.18));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.button--primary:hover {
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.26);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin: 0;
}

.stat {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 0.8rem 0.9rem;
}

.stat-label {
    color: var(--muted2);
    font-weight: 600;
    font-size: 0.86rem;
}

.stat-value {
    margin: 0.25rem 0 0;
    font-weight: 800;
}

.hero-card {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    box-shadow: var(--shadow);
    padding: 1.1rem 1.1rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: radial-gradient(circle at 20% 20%, rgba(138, 230, 255, 0.18), transparent 60%),
        radial-gradient(circle at 80% 30%, rgba(166, 255, 203, 0.14), transparent 60%);
    filter: blur(6px);
}

.hero-media {
    position: relative;
    z-index: 1;
    aspect-ratio: 1 / 1;
    width: min(360px, 82%);
    margin: 0.4rem auto 0.6rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-card-text {
    position: relative;
    z-index: 1;
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}

.section {
    padding: 3.4rem 0;
}

.section--muted {
    background: rgba(255, 255, 255, 0.03);
    border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-head {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
}

.section-title {
    margin: 0 0 0.8rem;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
}

.section-text {
    margin: 0 0 1.4rem;
    color: var(--muted);
    max-width: 75ch;
    line-height: 1.65;
}

.section-kicker {
    margin: 0 0 1.2rem;
    color: var(--muted2);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.card {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.card-title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.card-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.project {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.project-title {
    margin: 0 0 0.35rem;
}

.project-text {
    margin: 0 0 0.75rem;
    color: var(--muted);
    line-height: 1.6;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}

.team {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.team-item {
    padding: 0.9rem 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.contact {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    gap: 1rem;
    align-items: stretch;
}

.contact-card {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 1.1rem;
}

.contact-title {
    margin: 0 0 0.4rem;
}

.contact-text {
    margin: 0 0 1rem;
    color: var(--muted);
}

.contact-form {
    display: grid;
    gap: 0.8rem;
}

.field {
    display: grid;
    gap: 0.4rem;
}

.field-label {
    color: var(--muted2);
    font-weight: 600;
    font-size: 0.9rem;
}

.field-input {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(12, 16, 32, 0.6);
    color: var(--text);
    outline: none;
}

.field-input:focus {
    border-color: rgba(138, 230, 255, 0.45);
    box-shadow: 0 0 0 4px rgba(138, 230, 255, 0.12);
}

.field-input--area {
    resize: vertical;
    min-height: 120px;
}

.contact-footnote {
    margin: 0.9rem 0 0;
    color: var(--muted2);
    font-size: 0.9rem;
}

.contact-aside {
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
    padding: 1.1rem;
    position: relative;
    overflow: hidden;
}

.contact-aside::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: radial-gradient(circle at 10% 30%, rgba(138, 230, 255, 0.16), transparent 60%),
        radial-gradient(circle at 90% 20%, rgba(166, 255, 203, 0.12), transparent 60%);
    filter: blur(8px);
}

.contact-aside__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: grid;
    align-content: center;
    gap: 0.75rem;
    text-align: center;
}

.contact-mark {
    margin: 0 auto;
    border-radius: 16px;
}

.contact-quote {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-meta {
    margin: 0;
    color: var(--muted2);
}

.footer {
    padding: 1.6rem 0 2.2rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.2rem;
}

.footer-text {
    margin: 0;
    color: var(--muted2);
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cards,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .team {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .menu-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .nav {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 0.7rem;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(10, 14, 26, 0.92);
        backdrop-filter: blur(14px);
        box-shadow: var(--shadow);
    }

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

    .nav-link {
        padding: 0.75rem 0.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}