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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ── Page shell ─────────────────────────────────────────── */

.page {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: #060a18;
}

/* Blurred background pseudo-element */
.page::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("assets/bg.jpg");
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    filter: blur(6px) brightness(0.45) saturate(0.85);
    transform: scale(1.04);
    z-index: 0;
}

/* Dark gradient overlay on top of the blur */
.page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(6, 10, 24, 0.55) 0%,
        rgba(6, 10, 24, 0.25) 55%,
        rgba(6, 10, 24, 0.05) 100%
    );
    z-index: 1;
}

/* ── Nav ────────────────────────────────────────────────── */

.nav {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 48px;
}

.nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav__logo {
    height: 36px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

.nav__name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.03em;
}

/* ── Hero ───────────────────────────────────────────────── */

.hero {
    position: relative;
    z-index: 20;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 0 48px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero__content {
    max-width: 600px;
}

.hero__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.hero__headline {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero__subheadline {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}

.hero__sub {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    max-width: 420px;
}

/* ── Product card ───────────────────────────────────────── */

.products {
    flex-shrink: 0;
}

.product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 32px;
    width: 440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #0277bd;
    border-radius: 20px 20px 0 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 20px 60px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.product-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card__logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.product-card__badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 20px;
    padding: 3px 10px;
}

.product-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.product-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-card__chip {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 4px 11px;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 12px 22px;
    background: #0277bd;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.15s;
}

.product-card__cta:hover {
    background: #0266a3;
    transform: translateX(2px);
}

.product-card__arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.15s;
}

.product-card__cta:hover .product-card__arrow {
    transform: translateX(3px);
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 48px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.footer__sep {
    opacity: 0.4;
}

.footer__link {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.15s;
}

.footer__link:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 860px) {
    html {
        overflow: hidden;
    }

    body {
        overflow-x: hidden;
        overflow-y: auto;
        height: 100%;
    }

    .page {
        height: auto;
        min-height: 100vh;
        overflow: hidden;
    }

    .nav {
        padding: 20px 24px;
    }

    .hero {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 40px 24px 32px;
        gap: 32px;
    }

    .products {
        width: 100%;
    }

    .product-card {
        width: 100%;
    }

    .footer {
        padding: 20px 24px;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero__headline {
        font-size: 36px;
    }
}

/* ── Reduced motion ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card__cta,
    .product-card__arrow {
        transition: none;
    }
}
