:root {
    --bg: #06110f;
    --surface: rgba(9, 25, 22, 0.72);
    --surface-strong: rgba(12, 30, 27, 0.92);
    --line: rgba(180, 219, 207, 0.18);
    --line-strong: rgba(180, 219, 207, 0.34);
    --text: #edf8f4;
    --muted: #b6cac3;
    --green: #3dd6a3;
    --aqua: #73f3dc;
    --blue: #9aacff;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    color: var(--text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(80% 70% at 15% 0%, rgba(61, 214, 163, 0.22), transparent 60%),
        radial-gradient(72% 76% at 86% 18%, rgba(84, 125, 206, 0.2), transparent 58%),
        linear-gradient(155deg, #06110f 0%, #0a171c 48%, #0e1325 100%);
    -webkit-font-smoothing: antialiased;
}

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

.home {
    width: min(1180px, calc(100vw - 32px));
    min-height: 100svh;
    margin: 0 auto;
    display: grid;
    align-content: center;
    gap: clamp(1.6rem, 3vw, 2.5rem);
    padding: clamp(2.25rem, 5vw, 5rem) 0;
}

.intro {
    max-width: 760px;
}

.intro-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand,
.product-kicker {
    margin: 0;
    color: var(--aqua);
    font-family: "Sora", system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.28rem;
    border: 2px solid rgba(115, 243, 220, 0.18);
    border-radius: 999px;
    background: rgba(5, 22, 18, 0.68);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 10px 26px rgba(0, 0, 0, 0.22);
}

.home-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.1rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    color: rgba(237, 248, 244, 0.76);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    letter-spacing: 0;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.home-lang-link:hover,
.home-lang-link:focus-visible {
    color: var(--text);
    outline: none;
}

.home-lang-link.is-active {
    color: #041b15;
    background: linear-gradient(180deg, #4ef2bd, #2dd99e);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 8px 18px rgba(45, 217, 158, 0.18);
}

h1 {
    margin: 0.6rem 0 0;
    max-width: 12ch;
    font-family: "Sora", system-ui, sans-serif;
    font-size: clamp(3rem, 8vw, 6.7rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.lede {
    margin: 1rem 0 0;
    max-width: 64ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.55;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.product-card {
    min-width: 0;
    display: grid;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    outline: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    background: var(--surface-strong);
}

.product-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0c1918;
}

.product-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 360ms ease, filter 360ms ease;
}

.product-card:hover .product-media img,
.product-card:focus-visible .product-media img {
    transform: scale(1.06);
    filter: saturate(1.12) contrast(1.04);
}

.product-card-tend .product-media img {
    object-position: 47% 26%;
}

.product-card-dark .product-media img {
    object-position: 42% 27%;
}

.product-body {
    display: grid;
    gap: 0.65rem;
    padding: clamp(1.1rem, 2.2vw, 1.55rem);
}

.product-title {
    font-family: "Sora", system-ui, sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.product-copy {
    min-height: 3.2em;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.45;
}

.product-cta {
    width: fit-content;
    margin-top: 0.25rem;
    padding: 0.68rem 0.95rem;
    border-radius: 999px;
    color: #061713;
    background: linear-gradient(180deg, var(--green), #22be8b);
    font-weight: 800;
    line-height: 1;
}

.product-card-dark .product-kicker {
    color: var(--blue);
}

.product-card-dark .product-cta {
    color: #081025;
    background: linear-gradient(180deg, #a9b8ff, #73f3dc);
}

@media (max-width: 760px) {
    .home {
        width: min(100% - 24px, 520px);
        align-content: start;
        padding: 1.4rem 0 2rem;
    }

    h1 {
        max-width: 10ch;
        font-size: clamp(2.55rem, 15vw, 4.7rem);
    }

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

    .product-copy {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}
