:root {
    --bg: #090b14;
    --bg-soft: rgba(18, 22, 38, 0.82);
    --surface: rgba(14, 18, 32, 0.92);
    --surface-strong: rgba(23, 29, 50, 0.95);
    --border: rgba(141, 167, 255, 0.18);
    --text: #f4f7ff;
    --muted: #b4bfdc;
    --accent: #73a7ff;
    --accent-strong: #8a6dff;
    --success: #6ee7b7;
    --error: #fda4af;
    --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1120px, calc(100% - 2rem));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(115, 167, 255, 0.18), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(138, 109, 255, 0.14), transparent 22%),
        linear-gradient(180deg, #05070d 0%, #090b14 40%, #05070d 100%);
}

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

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    position: relative;
    overflow: hidden;
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 22rem;
    height: 22rem;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

.page-shell::before {
    top: 6rem;
    left: -5rem;
    background: rgba(115, 167, 255, 0.45);
}

.page-shell::after {
    right: -6rem;
    bottom: 10rem;
    background: rgba(138, 109, 255, 0.34);
}

.container {
    width: var(--container);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(5, 7, 13, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner,
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
}

.brand,
.hero-copy h1,
.section-heading h2,
.info-card h3,
.product-card h3 {
    font-family: "Space Grotesk", sans-serif;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    flex-direction: row;
    flex-wrap: nowrap;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.brand-mark {
    display: block;
    flex: 0 0 auto;
    width: 42px;
    height: auto;
}

.brand-text {
    display: inline-block;
    flex: 0 0 auto;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.site-nav {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
    color: var(--muted);
    transition: color 180ms ease;
}

.site-nav a:hover,
.footer-links a:hover,
.site-nav a:focus-visible,
.footer-links a:focus-visible {
    color: var(--text);
}

.hero-section {
    padding: 6rem 0 4rem;
}

.hero-grid,
.section-grid,
.contact-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: calc(100vh - 6rem);
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--accent);
    background: rgba(115, 167, 255, 0.08);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 5.8rem);
    line-height: 0.95;
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.hero-logo {
    width: min(96px, 24vw);
    height: auto;
    filter: drop-shadow(0 16px 32px rgba(99, 125, 255, 0.18));
}

.hero-tagline {
    margin: 1.25rem 0 0;
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    color: var(--text);
    max-width: 16ch;
}

.hero-text,
.section-content p,
.section-heading p,
.info-card p,
.product-card p,
.contact-form,
.site-footer,
.panel-list span {
    color: var(--muted);
}

.hero-text {
    max-width: 60ch;
    margin: 1.2rem 0 0;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #06101f;
    font-weight: 700;
    box-shadow: 0 18px 40px rgba(99, 125, 255, 0.28);
}

.button-secondary {
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.button-full {
    width: 100%;
    cursor: pointer;
}

.panel-card,
.info-card,
.product-card,
.contact-card {
    background: linear-gradient(180deg, var(--surface) 0%, var(--surface-strong) 100%);
    border: 1px solid rgba(141, 167, 255, 0.12);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-panel {
    display: flex;
    justify-content: flex-end;
}

.panel-card {
    width: min(100%, 420px);
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
}

.panel-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(140deg, rgba(115, 167, 255, 0.18), transparent 35%),
        radial-gradient(circle at 100% 0%, rgba(138, 109, 255, 0.18), transparent 35%);
    pointer-events: none;
}

.panel-badge {
    display: inline-flex;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1.5rem;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.panel-list li {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.panel-list i,
.card-icon {
    color: var(--accent);
}

.section {
    padding: 5rem 0;
}

.section-grid {
    grid-template-columns: 0.9fr 1.1fr;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
}

.section-content p,
.section-heading p {
    margin: 0 0 1rem;
    line-height: 1.8;
}

.narrow {
    max-width: 46rem;
    margin-bottom: 2rem;
}

.cards-grid,
.products-grid {
    display: grid;
    gap: 1.5rem;
}

.cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.product-card,
.contact-card {
    padding: 1.8rem;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.info-card:hover,
.product-card:hover,
.contact-card:hover {
    transform: translateY(-4px);
    border-color: rgba(141, 167, 255, 0.3);
    box-shadow: 0 22px 56px rgba(2, 6, 23, 0.52);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 0.95rem;
    background: rgba(115, 167, 255, 0.08);
    border: 1px solid rgba(115, 167, 255, 0.12);
    font-size: 1.15rem;
}

.info-card h3,
.product-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.35rem;
}

.info-card p,
.product-card p {
    margin: 0;
    line-height: 1.75;
}

.product-label {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 0.9rem;
}

.contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.contact-form label {
    color: var(--text);
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-radius: var(--radius-sm);
    padding: 1rem 1.05rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(115, 167, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(115, 167, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.form-feedback {
    margin-bottom: 1.2rem;
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    line-height: 1.6;
}

.form-feedback.success {
    border: 1px solid rgba(110, 231, 183, 0.24);
    background: rgba(110, 231, 183, 0.08);
    color: var(--success);
}

.form-feedback.error {
    border: 1px solid rgba(253, 164, 175, 0.22);
    background: rgba(253, 164, 175, 0.08);
    color: var(--error);
}

.form-feedback ul {
    margin: 0;
    padding-left: 1.15rem;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 920px) {
    .hero-grid,
    .section-grid,
    .contact-grid,
    .cards-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 4.5rem;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-panel {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .header-inner,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav,
    .footer-links,
    .hero-actions {
        width: 100%;
    }

    .site-nav {
        gap: 0.8rem 1rem;
    }

    .brand-mark {
        width: 38px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .hero-logo {
        width: min(76px, 22vw);
    }

    .hero-brand {
        gap: 0.8rem;
    }

    .button {
        width: 100%;
    }

    .section,
    .hero-section {
        padding-left: 0;
        padding-right: 0;
    }

    .panel-card,
    .info-card,
    .product-card,
    .contact-card {
        padding: 1.4rem;
        border-radius: 1.25rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
