:root {
    --black: #0A0A0A;
    --graphite: #121212;
    --soft-dark: #1A1A1A;

    --primary-green: #00FF88;
    --soft-neon-green: #00CC6A;
    --deep-emerald: #00994C;

    --text: #FFFFFF;
    --text-soft: #EAEAEA;
    --text-muted: #888888;

    --line: rgba(255, 255, 255, 0.11);
    --line-strong: rgba(0, 255, 136, 0.34);

    --surface: rgba(18, 18, 18, 0.78);
    --surface-strong: rgba(26, 26, 26, 0.92);
    --surface-glass: rgba(20, 20, 20, 0.68);

    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
    --shadow-green: 0 0 0 rgba(0, 255, 136, 0);
    --glow-subtle: 0 0 18px rgba(0, 255, 136, 0.15);

    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 10px;

    --max: 1240px;
    --font: "Manrope", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-soft);
    background:
        radial-gradient(1200px 620px at 88% -18%, rgba(0, 255, 136, 0.14), transparent 55%),
        radial-gradient(900px 700px at 15% 120%, rgba(0, 153, 76, 0.18), transparent 58%),
        linear-gradient(180deg, var(--black) 0%, #0D100E 100%);
    line-height: 1.62;
    letter-spacing: 0.002em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(var(--max), calc(100% - 2.4rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(16px) saturate(1.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
    background: rgba(7, 7, 7, 0.9);
    border-bottom-color: rgba(0, 255, 136, 0.22);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo img {
    width: clamp(156px, 13vw, 196px);
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.nav a {
    font-size: 0.93rem;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.28s ease, text-shadow 0.28s ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: var(--text);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.3rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    border: 1px solid rgba(0, 255, 136, 0.42);
    background: linear-gradient(145deg, rgba(12, 12, 12, 0.95), rgba(22, 22, 22, 0.95));
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 255, 136, 0.7);
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.12), rgba(20, 20, 20, 0.96));
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 255, 136, 0.18);
}

.mobile-toggle {
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    color: transparent;
    padding: 0;
    width: 2.7rem;
    height: 2.7rem;
    align-items: center;
    justify-content: center;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.mobile-toggle::before {
    content: "";
    width: 1.05rem;
    height: 2px;
    border-radius: 10px;
    background: var(--text);
    box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text);
    transition: box-shadow 0.28s ease, background 0.28s ease;
}

.mobile-toggle:hover {
    border-color: rgba(0, 255, 136, 0.45);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.2);
    background: rgba(0, 255, 136, 0.06);
}

.mobile-nav {
    display: none;
    gap: 0.55rem;
    padding: 0.88rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.mobile-nav.open {
    display: grid;
}

.mobile-nav a,
.mobile-nav .header-cta {
    width: 100%;
    justify-content: center;
}

.section {
    padding: clamp(4rem, 8vw, 7.4rem) 0;
}

.eyebrow {
    margin: 0 0 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.73rem;
    font-weight: 700;
    color: rgba(0, 255, 136, 0.82);
}

h1,
.h1 {
    margin: 0;
    font-size: clamp(2.2rem, 6vw, 5.2rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    color: var(--text);
    max-width: 14ch;
}

h2,
.h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3.8vw, 3.25rem);
    line-height: 1.09;
    letter-spacing: -0.02em;
    color: var(--text);
}

h3,
.h3 {
    margin: 0;
    font-size: clamp(1.16rem, 2vw, 1.5rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--text);
}

.lead {
    margin-top: 1.3rem;
    max-width: 62ch;
    font-size: clamp(1rem, 1.6vw, 1.24rem);
    color: rgba(234, 234, 234, 0.86);
}

.copy,
.card p {
    color: rgba(234, 234, 234, 0.62);
}

.hero {
    min-height: clamp(680px, 86vh, 880px);
    display: grid;
    align-items: center;
    padding: 5.3rem 0 3.3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: clamp(1.4rem, 3vw, 3rem);
}

.hero-actions {
    margin-top: 2.2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.9rem 1.35rem;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background: linear-gradient(145deg, rgba(14, 14, 14, 0.96), rgba(24, 24, 24, 0.96));
    border-color: rgba(0, 255, 136, 0.5);
    color: var(--text);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.46), 0 0 14px rgba(0, 255, 136, 0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(145deg, rgba(0, 255, 136, 0.16), rgba(18, 18, 18, 0.98));
    border-color: rgba(0, 255, 136, 0.76);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(0, 255, 136, 0.24);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.88);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 255, 136, 0.52);
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(0, 255, 136, 0.28), 0 0 18px rgba(0, 255, 136, 0.12);
}

.hero-card {
    border-radius: var(--radius-lg);
    padding: 1.3rem;
    background: linear-gradient(155deg, rgba(26, 26, 26, 0.86), rgba(12, 12, 12, 0.78));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.kpi {
    padding: 0.85rem;
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi strong {
    display: block;
    font-size: 1.22rem;
    color: rgba(0, 255, 136, 0.94);
}

.band {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: linear-gradient(120deg, rgba(0, 255, 136, 0.03), rgba(18, 18, 18, 0.9));
}

.marquee {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 1rem;
    overflow: auto hidden;
    padding: 1rem 0;
    scrollbar-width: none;
}

.marquee::-webkit-scrollbar {
    display: none;
}

.marquee span {
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 136, 0.24);
    background: rgba(0, 255, 136, 0.05);
    color: rgba(234, 234, 234, 0.9);
    padding: 0.48rem 0.86rem;
    font-size: 0.88rem;
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    border-radius: var(--radius-md);
    background: linear-gradient(155deg, rgba(20, 20, 20, 0.88), rgba(16, 16, 16, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
    transition: transform 0.32s ease, border-color 0.32s ease, box-shadow 0.32s ease, background 0.32s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.44);
    background: linear-gradient(155deg, rgba(20, 20, 20, 0.95), rgba(12, 12, 12, 0.75));
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4), 0 0 22px rgba(0, 255, 136, 0.12);
}

.service-link {
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(0, 255, 136, 0.86);
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.28s ease, text-shadow 0.28s ease;
}

.service-link:hover {
    color: var(--primary-green);
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.32);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
}

.filter-btn {
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.78);
    transition: all 0.28s ease;
}

.filter-btn:hover {
    border-color: rgba(0, 255, 136, 0.45);
    color: var(--text);
}

.filter-btn.active {
    border-color: rgba(0, 255, 136, 0.65);
    background: rgba(0, 255, 136, 0.1);
    color: var(--text);
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 230px;
    background: #0F0F0F;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 136, 0.45);
    box-shadow: 0 20px 34px rgba(0, 0, 0, 0.44), 0 0 18px rgba(0, 255, 136, 0.12);
}

.portfolio-item:hover img {
    transform: scale(1.045);
    filter: brightness(0.9);
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 0.9rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84));
    z-index: 4;
}

.portfolio-overlay strong {
    color: var(--text);
}

.timeline {
    display: grid;
    gap: 0.85rem;
}

.step {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(18, 18, 18, 0.7);
    padding: 1rem;
}

.step strong {
    color: rgba(0, 255, 136, 0.9);
}

.form-wrap {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: linear-gradient(160deg, rgba(26, 26, 26, 0.82), rgba(14, 14, 14, 0.7));
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.form-group {
    display: grid;
    gap: 0.35rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    color: rgba(234, 234, 234, 0.88);
    font-size: 0.91rem;
}

input,
select,
textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(10, 10, 10, 0.78);
    color: var(--text);
    font: inherit;
    padding: 0.74rem 0.82rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(0, 255, 136, 0.72);
    background: rgba(12, 14, 12, 0.9);
    box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.16), 0 0 14px rgba(0, 255, 136, 0.14);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.checkbox input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
}

.help {
    color: rgba(234, 234, 234, 0.68);
    font-size: 0.84rem;
}

.error-text {
    color: #ffb2b2;
    font-size: 0.84rem;
}

.alert {
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.9rem;
    font-size: 0.94rem;
}

.alert.success {
    background: rgba(0, 255, 136, 0.14);
    border: 1px solid rgba(0, 255, 136, 0.44);
    color: #d5ffe8;
}

.alert.error {
    background: rgba(239, 68, 68, 0.11);
    border: 1px solid rgba(239, 68, 68, 0.52);
    color: #ffd0d0;
}

.network-card {
    position: relative;
    overflow: hidden;
}

.network-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, transparent, rgba(0, 255, 136, 0.18), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.network-card:hover::after {
    opacity: 1;
}

.network-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.52rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 8, 8, 0.88);
    padding: 0.2rem;
    object-fit: contain;
    margin-bottom: 0.72rem;
    filter: grayscale(1) brightness(1.14);
}

@keyframes partner-loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.partner-loop-wrap {
    margin-top: 1.3rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(130deg, rgba(18, 18, 18, 0.8), rgba(10, 10, 10, 0.74));
    overflow: hidden;
}

.partner-loop-track {
    display: flex;
    width: max-content;
    animation: partner-loop 24s linear infinite;
}

.partner-logo {
    min-width: 270px;
    padding: 0.95rem 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.35rem;
}

.partner-logo:hover {
    background: rgba(0, 255, 136, 0.06);
}

.partner-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    color: var(--text);
}

.partner-logo-img {
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(6, 6, 6, 0.88);
    padding: 0.12rem;
    object-fit: contain;
    filter: grayscale(1) brightness(1.16);
}

.partner-dot {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 255, 136, 0.32);
    background: radial-gradient(circle at 35% 35%, rgba(0, 255, 136, 0.56), rgba(12, 12, 12, 0.95));
    flex-shrink: 0;
}

.partner-copy {
    color: rgba(234, 234, 234, 0.58);
    font-size: 0.84rem;
}

.partner-loop-wrap:hover .partner-loop-track {
    animation-play-state: paused;
}

.muted {
    color: rgba(234, 234, 234, 0.56);
}

.site-footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.68), rgba(10, 10, 10, 0.95));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
}

.footer-title {
    margin-bottom: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.82rem;
    color: rgba(0, 255, 136, 0.82);
    font-weight: 700;
}

.footer-link {
    display: inline-block;
    margin-bottom: 0.34rem;
    font-size: 0.91rem;
    color: rgba(234, 234, 234, 0.73);
    transition: color 0.28s ease;
}

.footer-link:hover {
    color: var(--text);
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    width: 100%;
    max-width: 980px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(16, 16, 16, 0.96);
}

.lightbox-content img {
    width: 100%;
    max-height: 72vh;
    object-fit: cover;
}

.lightbox-meta {
    padding: 0.9rem;
}

.lightbox-close {
    position: absolute;
    top: 0.95rem;
    right: 1rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.42);
    color: var(--text);
    cursor: pointer;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
}

[data-reveal].revealed {
    animation: fade-up 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .nav,
    .desktop-cta {
        display: none;
    }

    .mobile-toggle {
        display: inline-flex;
    }

    .mobile-nav {
        display: grid;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        border-top-color: transparent;
        transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
    }

    .mobile-nav.open {
        max-height: 420px;
        opacity: 1;
        padding: 0.88rem 0 1rem;
        border-top-color: rgba(255, 255, 255, 0.09);
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .form-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3.5rem 0;
    }

    .container {
        width: min(var(--max), calc(100% - 1.6rem));
    }

    .hero {
        min-height: auto;
        padding: 4.2rem 0 2.5rem;
    }

    .partner-logo {
        min-width: 225px;
    }
}
