:root {
    --bg: #000;
    --surface: #eee;
    --surface-dark: #292c2f;
    --text: #eef2f6;
    --text-dark: #224F5B;
    --muted: #b7c0cc;
    --accent: #224F5B; /* 224F5B  00ABBC */
    --accent-2: #00ABBC;
    --line: rgba(255, 255, 255, 0.12);
    --ds-dark: #224F5B;
    --ds-light: #00ABBC;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    font-family: "Google Sans Code", monospace;
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

h2{
    font-weight: 400;
}

h3{
    font-weight: 400;
}

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

a:hover{
    text-decoration: underline;
}

.mt-1{
    margin-top: 1rem !important;
}

.mt-2{
    margin-top: 2rem !important;
}

.mt-3{
    margin-top: 3rem !important;
}

.hero {
    position: fixed;
    inset: 0;
    height: 100vh;
    min-height: 620px;
    overflow: hidden;
    display: grid;
    align-items: center;
    border-bottom: 1px solid var(--line);
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(11, 15, 20, 0.6) 20%, rgba(11, 15, 20, 0.2) 60%, rgba(11, 15, 20, 0.6) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 64px 24px 32px;
    display: grid;
    gap: 48px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: end;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(180deg, rgba(11, 15, 20, 0.85), rgba(11, 15, 20, 0));
    backdrop-filter: blur(6px);
}

.nav-logo {
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav-logo img.logo {
    width: 150px;
}

@media (max-width: 768px) {
    .nav-logo img.logo {
        width: 100px;
    }
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 0.95rem;
    color: var(--muted);
}

.hero-title {
    /*font-size: clamp(4.6rem, 4vw, 4.2rem);*/
    font-size: 6rem;
    font-weight: 500;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.02em;
    animation: fade-up 0.8s ease both;
    font-family: "Google Sans Code", monospace;
    text-transform: uppercase;
}

.hero-sub {
    font-family: "IBM Plex Serif", serif;
    font-family: "Google Sans Code", monospace;
    font-size: 1.1rem;
    color: var(--text);
    margin: 16px 0 0;
    max-width: 440px;
    animation: fade-up 0.8s ease both;
    animation-delay: 0.1s;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    animation: fade-up 0.8s ease both;
    animation-delay: 0.2s;
}

.button {
    border: 1px solid transparent;
    padding: 12px 22px;
    border-radius: 0px;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.button-primary {
    background: var(--surface-dark);
    color: #fff;
    box-shadow: 0 14px 30px rgba(255, 106, 61, 0.28);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.hero-panel {
    background: rgba(11, 15, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0px;
    padding: 28px;
    backdrop-filter: blur(14px);
    animation: fade-up 0.8s ease both;
    animation-delay: 0.25s;
}

.hero-panel h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.hero-panel p {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.6;
}

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

.metric {
    padding: 12px;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric span {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
}

.metric small {
    color: var(--muted);
    font-size: 0.8rem;
}

main.startpage {
    padding: 64px 24px 120px;
    margin-top: 100vh;
    position: relative;
    z-index: 2;
    background: var(--bg);
    box-shadow: 0 -24px 60px rgba(5, 10, 16, 0.6);
}

main.page {
    padding: 64px 24px 120px;
    position: relative;
    z-index: 2;
    background: var(--bg);
    box-shadow: 0 -24px 60px rgba(5, 10, 16, 0.6);
}

.section {
    max-width: 1100px;
    margin: 0 auto 72px;
}

.section h2 {
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-bottom: 16px;
}

.section p {
    color: var(--text);
    line-height: 1.7;
    font-family: "IBM Plex Serif", serif;
    font-family: "Google Sans Code", monospace;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.card {
    background: var(--surface-dark);
    border-radius: 8px;
    border: 1px solid #000;
    color: var(--text);
    padding: 24px;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    animation: fade-up 0.7s ease both;
}

.card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -40px;
    bottom: -40px;
    opacity: 0.6;
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    color: var(--text);
}

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

.case-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.case {
    padding: 18px 20px;
    border-radius: 0px;
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 1);
    /*background: linear-gradient(140deg, rgba(255, 106, 61, 0.16), rgba(98, 210, 255, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.1);*/
}

.case span {
    font-size: 0.9rem;
    color: var(--muted);
}

footer {
    border-top: 1px solid var(--line);
    padding: 32px 24px 48px;
    display: grid;
    place-items: center;
    color: var(--muted);
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .nav-links {
        display: none;
    }

    .hero {
        min-height: 560px;
    }

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

.first {
    color: #fff;
    animation: glowPulse 2.3s infinite ease-in-out;
}

.second{
    color: #fff;
    animation: glowPulse 2.5s infinite ease-in-out;
    animation-delay: 1s;
}

.third{
    color: #fff;
    animation: glowPulse 2s infinite ease-in-out;
    animation-delay: 1.5s;
}

@keyframes glowPulse {
    0% {
        color: #fff;
    }
    30% {
        color: #224F5B;
    }
    60% {
        color: #fff;
    }
    100% {
        color: #fff;
    }
}