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

* {
    margin: 0;
    padding: 0;
}

:root {
    --bg: #020604;
    --bg-soft: #06110d;
    --panel: rgba(7, 20, 15, 0.78);
    --panel-strong: rgba(9, 28, 21, 0.92);
    --text: #f5fff9;
    --muted: #a8bdb3;
    --green: #36ffae;
    --green-deep: #00c878;
    --red: #ff2a45;
    --red-soft: rgba(255, 42, 69, 0.15);
    --line: rgba(54, 255, 174, 0.2);
    --line-hot: rgba(54, 255, 174, 0.45);
    --shadow-green: 0 0 24px rgba(54, 255, 174, 0.32), 0 0 84px rgba(54, 255, 174, 0.16);
    --shadow-red: 0 0 24px rgba(255, 42, 69, 0.32), 0 0 84px rgba(255, 42, 69, 0.16);
    --container: 1180px;
    --pad: clamp(1rem, 3vw, 1.5rem);
    --radius: 8px;
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --nav-height: 5rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 1rem);
    font-size: 16px;
}

body {
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 6%, rgba(54, 255, 174, 0.22), transparent 28rem),
        radial-gradient(circle at 90% 10%, rgba(255, 42, 69, 0.16), transparent 30rem),
        linear-gradient(180deg, #020604 0%, #03100c 52%, #020604 100%);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

:focus-visible {
    outline: 3px solid rgba(54, 255, 174, 0.65);
    outline-offset: 4px;
}

.container {
    width: min(100% - (var(--pad) * 2), var(--container));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    background: rgba(2, 6, 4, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.navbar.scrolled {
    background: rgba(2, 6, 4, 0.95);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), var(--shadow-green);
}

.nav-container {
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: min(100% - (var(--pad) * 2), var(--container));
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: max-content;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    color: #00160d;
    background: var(--green);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    font-weight: 900;
    box-shadow: var(--shadow-green);
}

.brand-copy {
    display: grid;
    color: var(--text);
    font-weight: 900;
    line-height: 1;
}

.brand-copy span {
    letter-spacing: 0;
}

.brand-copy strong {
    color: var(--green);
    font-size: 0.85rem;
    text-shadow: 0 0 16px rgba(54, 255, 174, 0.7);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    color: rgba(245, 255, 249, 0.78);
    font-size: 0.94rem;
    font-weight: 800;
    transition: color 180ms ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.3rem;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--red));
    box-shadow: 0 0 16px rgba(54, 255, 174, 0.72);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green);
}

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

.nav-cta {
    padding: 0.2rem 0.85rem;
    color: #02100a;
    background: var(--green);
    border-radius: var(--radius);
    box-shadow: var(--shadow-green);
}

.nav-cta:hover,
.nav-cta.active {
    color: #02100a;
}

.nav-cta::after {
    display: none;
}

.hamburger {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line-hot);
    border-radius: var(--radius);
    background: rgba(54, 255, 174, 0.08);
}

.hamburger span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0.25rem auto;
    background: var(--text);
    border-radius: 99px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 100svh;
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 16% auto auto -10rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(54, 255, 174, 0.12);
    border-radius: 50%;
    box-shadow: var(--shadow-green);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 1.1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-content {
    max-width: 42rem;
}

.eyebrow {
    margin-bottom: 0.85rem;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 0 18px rgba(54, 255, 174, 0.5);
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.05;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(2.85rem, 6vw, 5.9rem);
    max-width: 11ch;
    font-weight: 900;
    text-wrap: balance;
    text-shadow: 0 0 42px rgba(54, 255, 174, 0.11);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 900;
    text-wrap: balance;
}

h3 {
    font-size: 1.18rem;
    font-weight: 900;
}

.hero-lede {
    max-width: 38rem;
    margin-top: 1.2rem;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.6rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.15rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.2;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #02100a;
    background: linear-gradient(135deg, var(--green), #95ffd0);
    box-shadow: var(--shadow-green);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 42, 69, 0.08);
    border-color: rgba(255, 42, 69, 0.5);
    box-shadow: var(--shadow-red);
}

.btn-full {
    width: 100%;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
}

.trust-row span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.28rem 0.65rem;
    color: rgba(245, 255, 249, 0.9);
    background: rgba(54, 255, 174, 0.08);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border: 1px solid rgba(54, 255, 174, 0.26);
    border-radius: var(--radius);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55), var(--shadow-green), var(--shadow-red);
}

.metrics {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(2, 6, 4, 0.7);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric {
    min-height: 8.5rem;
    padding: 1.4rem;
    display: grid;
    align-content: center;
    border-right: 1px solid var(--line);
}

.metric:last-child {
    border-right: 0;
}

.metric strong {
    color: var(--green);
    font-size: clamp(1.8rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
    text-shadow: var(--shadow-green);
}

.metric span {
    margin-top: 0.45rem;
    color: var(--muted);
    font-weight: 700;
}

.section {
    scroll-margin-top: calc(var(--nav-height) + 1rem);
    padding: clamp(4.5rem, 8vw, 7rem) 0;
}

.section-header {
    max-width: 48rem;
    margin-bottom: 2.7rem;
}

.section-header.compact {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-header p:not(.eyebrow),
.security-grid > div > p,
.contact-copy > p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.05rem;
}

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

.service-card,
.process-step,
.security-panel,
.contact-card,
.support-form {
    background:
        linear-gradient(180deg, rgba(9, 28, 21, 0.88), rgba(3, 12, 9, 0.88)),
        radial-gradient(circle at top left, rgba(54, 255, 174, 0.10), transparent 14rem);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.service-card {
    min-height: 100%;
    padding: 1.35rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-hot);
    box-shadow: var(--shadow-green);
}

.service-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.1rem;
    color: var(--green);
    background: rgba(54, 255, 174, 0.08);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: inset 0 0 20px rgba(54, 255, 174, 0.08);
}

.service-icon svg {
    width: 1.85rem;
    height: 1.85rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card p,
.process-step p,
.signal p,
.contact-card p {
    margin-top: 0.65rem;
    color: var(--muted);
}

.security {
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 42, 69, 0.16), transparent 26rem),
        rgba(3, 10, 8, 0.72);
}

.security-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.security-panel {
    padding: 1rem;
}

.signal {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
}

.signal:last-child {
    border-bottom: 0;
}

.signal > span {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.45rem;
    background: var(--green);
    border-radius: 50%;
    box-shadow: var(--shadow-green);
}

.signal.active > span {
    background: var(--red);
    box-shadow: var(--shadow-red);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.process-step {
    padding: 1.35rem;
}

.process-step span {
    display: inline-flex;
    margin-bottom: 1.1rem;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 900;
    text-shadow: var(--shadow-green);
}

.contact {
    background:
        radial-gradient(circle at 18% 20%, rgba(54, 255, 174, 0.14), transparent 25rem),
        radial-gradient(circle at 88% 20%, rgba(255, 42, 69, 0.14), transparent 25rem),
        rgba(2, 6, 4, 0.72);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(18rem, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.contact-card {
    margin-top: 1.4rem;
    padding: 1.1rem;
}

.contact-card strong {
    display: block;
    color: var(--green);
}

.contact-card a {
    display: inline-flex;
    margin-top: 0.35rem;
    color: var(--text);
    font-weight: 900;
    word-break: break-word;
}

.support-form {
    padding: 1.25rem;
}

.support-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 900;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem 0.85rem;
    color: var(--text);
    background: rgba(2, 6, 4, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.support-form textarea {
    resize: vertical;
    min-height: 9rem;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    border-color: var(--green);
    outline: none;
    box-shadow: var(--shadow-green);
}

.form-status {
    min-height: 1.5rem;
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
}

.form-status.error {
    color: #ff9aa7;
}

.form-status.success {
    color: var(--green);
}

.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--line);
    background: #020604;
}

.footer-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
}

.footer p {
    color: var(--muted);
    font-size: 0.92rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1020px) {
    .hero {
        min-height: auto;
    }

    .hero-grid,
    .security-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: 54rem;
    }

    h1 {
        max-width: 13ch;
    }

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

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

    .metric:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 760px) {
    :root {
        --nav-height: 4.75rem;
        --pad: 1rem;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 2;
        display: grid;
        align-content: start;
        width: 100%;
        height: calc(100svh - var(--nav-height));
        padding: 1rem;
        background: rgba(2, 6, 4, 0.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 58px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(54, 255, 174, 0.08);
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 200ms ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .nav-link {
        width: 100%;
        min-height: 3.35rem;
    }

    .nav-link::after {
        display: none;
    }

    .nav-cta {
        justify-content: center;
        margin-top: 1rem;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 2rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .trust-row {
        display: none;
    }

    .hero-visual img {
        min-height: 15rem;
    }

    .section {
        padding: 4rem 0;
    }

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

@media (max-width: 560px) {
    h1 {
        font-size: clamp(2.55rem, 13vw, 4rem);
    }

    .service-grid,
    .process-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .metric,
    .metric:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .metric:last-child {
        border-bottom: 0;
    }

    .service-card,
    .process-step,
    .support-form {
        padding: 1.1rem;
    }
}

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