:root {
    --bg-main: #071824;
    --accent: #BFFF00;
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --card-bg: #0B2333;
    --border-subtle: #1F3342;
    --focus-ring: rgba(191, 255, 0, 0.35);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
    --radius-xl: 18px;
    --radius-full: 999px;
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    background: radial-gradient(circle at top, #0E2A3C 0, #071824 52%, #02060A 100%);
    color: var(--text-main);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

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

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

.container {
    width: min(1120px, 100% - 32px);
    margin-inline: auto;
}

/* Header & Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(7, 24, 36, 0.96), rgba(7, 24, 36, 0.88));
    border-bottom: 1px solid rgba(31, 51, 66, 0.85);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    box-shadow: 0 0 0 1px rgba(191, 255, 0, 0.15);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 0.9rem;
}

.main-nav a {
    padding: 6px 0;
    position: relative;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--accent);
}

.main-nav a.active::after,
.main-nav a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Mobile nav toggle */

.nav-toggle {
    display: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(191, 255, 0, 0.35);
    background: transparent;
    padding: 0;
    margin-left: 8px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .nav-toggle span:first-child {
    transform: translateY(2px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
    transform: translateY(-2px) rotate(-45deg);
}

.nav-open .main-nav {
    max-height: 240px;
    opacity: 1;
    pointer-events: auto;
}

/* Hero */

.hero {
    padding: 48px 0 32px;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
    gap: 40px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 2.7rem);
    margin: 0 0 8px;
}

.hero-subtitle {
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-text {
    margin: 0 0 18px;
    max-width: 520px;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.hero-highlights li {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.hero-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
}

/* Hero card */

.hero-card {
    justify-self: end;
}

.hero-card-inner {
    width: min(320px, 100%);
    border-radius: 26px;
    padding: 18px 18px 16px;
    background: radial-gradient(circle at top left, rgba(191, 255, 0, 0.16), transparent 52%),
                radial-gradient(circle at bottom right, rgba(6, 18, 32, 0.8), #02060A);
    border: 1px solid rgba(191, 255, 0, 0.25);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-card-pill {
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(191, 255, 0, 0.5);
    color: var(--accent);
    font-size: 0.75rem;
}

.hero-card-metric {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: baseline;
    column-gap: 10px;
}

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

.metric-value {
    font-size: 2.4rem;
    font-weight: 700;
}

.metric-unit {
    align-self: flex-end;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-card-bars {
    display: flex;
    gap: 5px;
    margin-top: 6px;
}

.hero-card-bars .bar {
    flex: 1;
    height: 30px;
    border-radius: 999px;
    background: linear-gradient(to top, rgba(191, 255, 0, 0.1), rgba(191, 255, 0, 0.8));
    transform-origin: bottom;
    animation: pulseBar 1.6s ease-in-out infinite alternate;
}

.hero-card-bars .bar:nth-child(2) { animation-delay: 0.12s; }
.hero-card-bars .bar:nth-child(3) { animation-delay: 0.24s; }
.hero-card-bars .bar:nth-child(4) { animation-delay: 0.36s; }
.hero-card-bars .bar:nth-child(5) { animation-delay: 0.48s; }

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-card-foot-value {
    color: var(--accent);
    font-weight: 500;
}

@keyframes pulseBar {
    from { transform: scaleY(0.4); }
    to { transform: scaleY(1); }
}

/* Sections */

.section {
    padding: 32px 0;
}

.feature-section {
    padding-bottom: 40px;
}

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

.feature-card {
    border-radius: var(--radius-xl);
    padding: 16px 16px 14px;
    background: radial-gradient(circle at top, #10283A, #050F17);
    border: 1px solid rgba(31, 51, 66, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.feature-title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.feature-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-privacy h2,
.section-contact h2 {
    font-size: 1.6rem;
    margin-top: 0;
}

.section-privacy h3 {
    font-size: 1.05rem;
    margin-top: 20px;
    margin-bottom: 6px;
}

.section-privacy p {
    font-size: 0.94rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.section-privacy ul {
    font-size: 0.94rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.section-privacy li + li {
    margin-top: 4px;
}

/* Contact */

.section-contact {
    padding-bottom: 48px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 32px;
    align-items: flex-start;
}

.section-contact p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.7;
}

.contact-form {
    background: radial-gradient(circle at top left, #142E40, #050F17);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 51, 66, 0.95);
    padding: 18px 16px 16px;
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 8px;
}

.contact-form label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-form textarea,
.contact-form input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(31, 51, 66, 0.95);
    background: #020910;
    padding: 9px 10px;
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form textarea:focus,
.contact-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent), 0 0 0 6px var(--focus-ring);
    background: #020C16;
}

.btn-primary {
    margin-top: 6px;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent), #E4FF65);
    color: #071824;
    box-shadow: 0 14px 30px rgba(191, 255, 0, 0.35);
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(191, 255, 0, 0.45);
    filter: brightness(1.05);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(191, 255, 0, 0.35);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(31, 51, 66, 0.9);
    padding: 14px 0 18px;
    background: radial-gradient(circle at top, #091C28, #050C14);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-mail {
    color: var(--accent);
}

/* Responsive */

@media (max-width: 768px) {
    .nav-container {
        padding-block: 8px;
    }

    .main-nav {
        position: absolute;
        inset-inline: 16px;
        top: 52px;
        background: radial-gradient(circle at top, #102638, #050E16);
        border-radius: 16px;
        border: 1px solid rgba(31, 51, 66, 0.95);
        flex-direction: column;
        padding: 10px 14px 12px;
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        overflow: hidden;
        transition: max-height 0.18s ease, opacity 0.18s ease;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: 34px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .hero-card {
        justify-self: flex-start;
    }

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

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

    .section {
        padding-inline: 0;
    }
}

@media (max-width: 480px) {
    .hero-copy h1 {
        font-size: 2rem;
    }

    .hero-card-inner {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
