:root {
    --bg: #070b0c;
    --bg-secondary: #0d1315;
    --card: rgba(255,255,255,0.03);

    --text: #f5f7f7;
    --text-muted: #9ba8aa;

    --border: rgba(255,255,255,0.08);

    --accent: #8ed7cb;
    --accent-soft: rgba(142, 215, 203, 0.12);

    --container: 1240px;

    --radius: 24px;

    --transition: 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family:
        Inter,
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

    position: relative;
}

/* =========================
   BACKGROUND EFFECTS
========================= */

body::before {
    content: "";

    position: fixed;

    width: 700px;
    height: 700px;

    top: -250px;
    right: -250px;

    border-radius: 50%;

    background: rgba(142, 215, 203, 0.08);

    filter: blur(140px);

    z-index: -2;
}

body::after {
    content: "";

    position: fixed;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.015) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    opacity: 0.22;

    z-index: -3;

    pointer-events: none;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;

    z-index: 1000;

    backdrop-filter: blur(18px);

    background: rgba(7, 11, 12, 0.72);

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-image {
    display: flex;
    align-items: center;
}

.logo-image img {
    height: 38px;
    width: auto;

    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav a {
    position: relative;

    color: var(--text-muted);

    font-size: 0.92rem;

    transition: var(--transition);
}

.nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: var(--transition);
}

.nav a:hover {
    color: var(--text);
}

.nav a:hover::after {
    width: 100%;
}

/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 82px);

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;

    padding: 120px 0;
}

.hero-grid {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;

    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 90px;
}

.hero-left {
    position: relative;
}

.eyebrow {
    color: var(--accent);

    font-size: 0.82rem;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    margin-bottom: 30px;
}

.hero-brand {
    margin-bottom: 34px;
}

.hero-brand img {
    width: min(760px, 100%);
    height: auto;

    display: block;
}

.hero-text {
    font-size: 1.45rem;

    color: var(--text);

    margin-bottom: 18px;
}

.hero-description {
    max-width: 640px;

    color: var(--text-muted);

    font-size: 1.05rem;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.mini-card {
    position: relative;

    min-height: 160px;

    display: flex;
    align-items: flex-end;

    padding: 24px;

    border-radius: var(--radius);

    background: rgba(255,255,255,0.025);

    border: 1px solid var(--border);

    overflow: hidden;

    transition: var(--transition);
}

.mini-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(142, 215, 203, 0.08),
            transparent 60%
        );

    opacity: 0;

    transition: var(--transition);
}

.mini-card:hover::before {
    opacity: 1;
}

.mini-card:hover {
    transform: translateY(-5px);

    border-color: rgba(142, 215, 203, 0.18);
}

.mini-card span {
    position: relative;
    z-index: 2;

    color: #d9dddd;

    font-size: 0.96rem;
}

/* =========================
   SCROLL INDICATOR
========================= */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 40px;

    transform: translateX(-50%);
}

.scroll-indicator span {
    width: 1px;
    height: 70px;

    display: block;

    background:
        linear-gradient(
            to bottom,
            rgba(255,255,255,0),
            rgba(142,215,203,0.9),
            rgba(255,255,255,0)
        );

    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }

    100% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }
}

/* =========================
   SECTIONS
========================= */

.projects {
    padding: 140px 0;
}

.section-header {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;

    margin-bottom: 60px;
}

.section-kicker {
    display: inline-block;

    color: var(--accent);

    font-size: 0.8rem;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    margin-bottom: 18px;
}

.section-header h2,
.infrastructure h2,
.legal-container h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);

    line-height: 1.05;

    letter-spacing: -0.05em;
}

/* =========================
   PROJECT GRID
========================= */

.project-grid {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.project-card {
    position: relative;

    background: rgba(255,255,255,0.025);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 38px;

    overflow: hidden;

    transition: var(--transition);
}

.project-card::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(142, 215, 203, 0.09),
            transparent 60%
        );

    opacity: 0;

    transition: var(--transition);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-6px);

    border-color: rgba(142,215,203,0.18);
}

.card-top {
    margin-bottom: 28px;
}

.card-tag {
    display: inline-flex;

    padding: 8px 14px;

    border-radius: 999px;

    background: var(--accent-soft);

    color: var(--accent);

    font-size: 0.75rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.project-card h3 {
    font-size: 1.5rem;

    margin-bottom: 18px;

    letter-spacing: -0.03em;
}

.project-card p {
    color: var(--text-muted);
}

/* =========================
   INFRASTRUCTURE
========================= */

.infrastructure {
    padding: 0 0 140px;
}

.infra-box {
    width: min(100% - 40px, var(--container));
    margin-inline: auto;

    position: relative;

    padding: 80px;

    border-radius: 34px;

    overflow: hidden;

    background: rgba(255,255,255,0.025);

    border: 1px solid var(--border);
}

.infra-box::before {
    content: "";

    position: absolute;

    width: 340px;
    height: 340px;

    top: -140px;
    right: -140px;

    border-radius: 50%;

    background: rgba(142,215,203,0.08);

    filter: blur(120px);
}

.infrastructure h2 {
    max-width: 860px;
}

/* =========================
   LEGAL
========================= */

.legal-page {
    padding: 120px 0;
}

.legal-container {
    max-width: 940px;
}

.legal-box {
    margin-top: 30px;

    padding: 38px;

    border-radius: 26px;

    background: rgba(255,255,255,0.025);

    border: 1px solid var(--border);
}

.legal-box h2 {
    margin-bottom: 18px;
}

.legal-box p,
.legal-box li {
    color: var(--text-muted);
}

.legal-box ul {
    margin-top: 14px;
    padding-left: 20px;
}

.legal-box a {
    color: var(--accent);
}

/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 34px 0;

    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-left {
    color: var(--text-muted);

    font-size: 0.9rem;
}

.footer-right {
    display: flex;
    gap: 26px;
}

.footer-right a {
    color: var(--text-muted);

    font-size: 0.9rem;

    transition: var(--transition);
}

.footer-right a:hover {
    color: var(--text);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1080px) {

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }

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

@media (max-width: 720px) {

    .site-header {
        position: relative;
    }

    .header-inner {
        height: auto;

        padding: 22px 0;

        flex-direction: column;

        gap: 18px;
    }

    .logo-image img {
        height: 30px;
    }

    .nav {
        gap: 18px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero {
        min-height: auto;

        padding: 90px 0 120px;
    }

    .hero-brand img {
        width: 100%;
    }

    .hero-text {
        font-size: 1.2rem;
    }

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

    .mini-card {
        min-height: 120px;
    }

    .infra-box {
        padding: 42px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
    }
}