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

:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --border: #1e1e2e;
    --text: #e4e4e7;
    --text-muted: #71717a;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(139, 92, 246, 0.05), transparent);
    content: "";
    pointer-events: none;
}

a {
    color: inherit;
}

.skip-link {
    position: fixed;
    z-index: 10;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--text);
    color: var(--bg);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
}

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

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
    padding-inline: 24px;
}

header {
    padding-top: 48px;
    text-align: center;
}

.logo-text {
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

h1 {
    margin-bottom: 16px;
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.15;
}

h1 span {
    background: linear-gradient(135deg, #e4e4e7, #a1a1aa);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    max-width: 520px;
    margin-inline: auto;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

.divider {
    width: 48px;
    height: 2px;
    margin: 56px auto;
    border-radius: 1px;
    background: var(--accent);
}

.section-label {
    margin-bottom: 40px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-align: center;
    text-transform: uppercase;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 80px;
}

.product-card {
    display: block;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 32px var(--accent-glow);
    transform: translateY(-2px);
}

.product-card:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.product-icon {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 10px;
    background: var(--accent-glow);
    font-size: 20px;
}

.product-card h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.product-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
}

.product-card:hover .product-link {
    opacity: 0.8;
}

footer {
    position: relative;
    z-index: 1;
    padding-block: 48px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-company {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.disclaimer {
    max-width: 640px;
    margin-inline: auto;
    color: #52525b;
    font-size: 0.78rem;
    line-height: 1.7;
}

.disclaimer p + p {
    margin-top: 12px;
}

.message-page {
    display: grid;
    width: min(100% - 40px, 640px);
    min-height: 100vh;
    align-content: center;
    justify-items: center;
    margin-inline: auto;
    padding-block: 48px;
    text-align: center;
}

.home-link {
    margin-top: 24px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.home-link:hover {
    color: #a5b4fc;
}

@media (max-width: 600px) {
    header {
        padding-top: 32px;
    }

    h1 {
        font-size: 2rem;
    }

    .divider {
        margin: 40px auto;
    }

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

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

    .product-card {
        transition: none;
    }
}
