﻿:root {
    --bg: #070709;
    --bg-2: #0d0d10;
    --bg-3: #141418;
    --card: rgba(20, 20, 24, 0.82);
    --line: rgba(255, 255, 255, 0.08);
    --text: #f5f7fb;
    --muted: #b6bcc9;
    --red: #d90404;
    --red-2: #ff2a2a;
    --red-3: #8f0202;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.35);
    --glow: 0 0 25px rgba(217, 4, 4, 0.35);
    --radius: 24px;
    --radius-sm: 18px;
    --max: 1200px;
    --header-h: 84px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 15% 15%, rgba(217, 4, 4, 0.14), transparent 0 24%), radial-gradient(circle at 85% 5%, rgba(255, 42, 42, 0.08), transparent 0 20%), linear-gradient(180deg, #060608 0%, #0a0a0d 38%, #0d0d12 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
        background-size: 40px 40px;
        mask-image: linear-gradient(180deg, rgba(255,255,255,0.45), transparent 90%);
        pointer-events: none;
        z-index: -2;
    }

    body::after {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at center, transparent 35%, rgba(0,0,0,0.28) 100%);
        pointer-events: none;
        z-index: -1;
    }

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}

.section {
    padding: 96px 0;
    position: relative;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255,255,255,0.03);
    color: #f8d6d6;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

    .badge::before {
        content: "";
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--red-2);
        box-shadow: 0 0 14px rgba(255, 42, 42, 0.95);
    }

.section-head {
    max-width: 720px;
    margin-bottom: 46px;
}

    .section-head h2 {
        font-family: 'Orbitron', sans-serif;
        font-size: clamp(2rem, 4vw, 3.3rem);
        line-height: 1.1;
        letter-spacing: 0.02em;
        margin-top: 16px;
    }

    .section-head p {
        color: var(--muted);
        margin-top: 16px;
        font-size: 1.04rem;
        line-height: 1.8;
    }

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    backdrop-filter: blur(16px);
    background: rgba(9, 9, 12, 0.72);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-mark {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 14px rgba(255, 42, 42, 0.30));
}

.brand-text {
    min-width: 0;
}

    .brand-text strong {
        display: block;
        font-family: 'Orbitron', sans-serif;
        letter-spacing: 0.05em;
        font-size: 1rem;
    }

    .brand-text small {
        color: var(--muted);
        font-size: 0.84rem;
    }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

    .nav-menu a {
        color: #e8e8ee;
        font-size: 0.95rem;
        transition: 0.25s ease;
    }

        .nav-menu a:hover {
            color: var(--red-2);
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.01em;
}

    .btn:hover {
        transform: translateY(-2px);
    }

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(217, 4, 4, 0.28), 0 0 28px rgba(255, 42, 42, 0.18);
}

    .btn-primary:hover {
        box-shadow: 0 14px 34px rgba(217, 4, 4, 0.34), 0 0 34px rgba(255, 42, 42, 0.25);
    }

.btn-ghost {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.03);
    color: var(--white);
    backdrop-filter: blur(12px);
}

    .btn-ghost:hover {
        border-color: rgba(255, 42, 42, 0.45);
        box-shadow: var(--glow);
    }

.hero {
    padding: 72px 0 100px;
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    position: relative;
    overflow: clip;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 34px;
    align-items: center;
}

.hero-copy h1 {
    margin-top: 22px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 0.97;
    letter-spacing: 0.02em;
    max-width: 780px;
    text-transform: uppercase;
}

    .hero-copy h1 span {
        color: var(--red-2);
        text-shadow: 0 0 18px rgba(255, 42, 42, 0.22);
    }

.hero-copy p {
    margin-top: 24px;
    max-width: 690px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
    max-width: 760px;
}

.metric {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

    .metric strong {
        display: block;
        font-size: 1.35rem;
        font-weight: 800;
        color: #fff;
        margin-bottom: 8px;
    }

    .metric span {
        color: var(--muted);
        font-size: 0.95rem;
        line-height: 1.6;
    }

.hero-visual {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
}

.orb {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,4,4,0.20) 0%, rgba(217,4,4,0.08) 35%, transparent 68%);
    filter: blur(10px);
    animation: pulse 5.5s ease-in-out infinite;
}

.hero-card {
    width: min(100%, 340px);
    position: relative;
    border-radius: 30px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(22,22,28,0.92), rgba(12,12,16,0.88));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 90px rgba(0,0,0,0.5), 0 0 60px rgba(217,4,4,0.18);
    overflow: hidden;
}

    .hero-card::before,
    .service-card::before,
    .reason-card::before,
    .stack-card::before,
    .process-card::before,
    .portfolio-card::before,
    .contact-panel::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--red-2), transparent);
        opacity: 0.75;
    }

    .hero-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255,42,42,0.10), transparent 30%, transparent 70%, rgba(255,42,42,0.08));
        pointer-events: none;
    }

.hero-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

    .hero-topline .label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.86rem;
        color: #ffd5d5;
        border: 1px solid rgba(255,42,42,0.22);
        background: rgba(255,42,42,0.07);
        padding: 8px 12px;
        border-radius: 999px;
    }

.signal {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red-2);
    box-shadow: 0 0 14px rgba(255, 42, 42, 1);
}

.hero-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 26px rgba(255, 42, 42, 0.22));
}

.tech-lines {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.line {
    height: 14px;
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

    .line::before {
        content: "";
        position: absolute;
        inset: 0;
        width: 55%;
        background: linear-gradient(90deg, rgba(217,4,4,0.1), rgba(255,42,42,0.78), rgba(217,4,4,0.12));
        box-shadow: 0 0 16px rgba(255,42,42,0.25);
        animation: move 3.8s linear infinite;
    }

    .line:nth-child(2)::before {
        width: 70%;
        animation-duration: 5.2s;
    }

    .line:nth-child(3)::before {
        width: 40%;
        animation-duration: 4.4s;
    }

    .line:nth-child(4)::before {
        width: 82%;
        animation-duration: 5.8s;
    }

.services-grid,
.stack-grid,
.reasons-grid,
.process-grid,
.portfolio-grid {
    display: grid;
    gap: 22px;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.reason-card,
.stack-card,
.process-card,
.portfolio-card,
.contact-panel {
    position: relative;
    background: linear-gradient(180deg, rgba(20,20,24,0.92), rgba(12,12,16,0.88));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-card,
.reason-card,
.stack-card,
.process-card,
.portfolio-card {
    padding: 26px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .service-card:hover,
    .reason-card:hover,
    .stack-card:hover,
    .process-card:hover,
    .portfolio-card:hover {
        transform: translateY(-6px);
        border-color: rgba(255,42,42,0.35);
        box-shadow: var(--shadow), 0 0 28px rgba(255,42,42,0.12);
    }

.icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: #fff;
    background: linear-gradient(135deg, rgba(255,42,42,0.18), rgba(255,42,42,0.05));
    border: 1px solid rgba(255,42,42,0.2);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.02), 0 0 18px rgba(255,42,42,0.08);
}

.service-card h3,
.reason-card h3,
.stack-card h3,
.portfolio-card h3 {
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.service-card p,
.reason-card p,
.stack-card p,
.portfolio-card p,
.process-card p,
.contact-card p,
.contact-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.impact {
    padding: 0 0 12px;
}

.impact-panel {
    padding: 44px;
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,0.08);
    background: radial-gradient(circle at top left, rgba(255,42,42,0.12), transparent 22%), linear-gradient(135deg, rgba(20,20,24,0.94), rgba(11,11,14,0.94));
    box-shadow: var(--shadow), 0 0 60px rgba(255,42,42,0.10);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .impact-panel h2 {
        font-family: 'Orbitron', sans-serif;
        font-size: clamp(2rem, 5vw, 4rem);
        line-height: 1.15;
        max-width: 980px;
        margin: 0 auto;
        text-transform: uppercase;
    }

        .impact-panel h2 span {
            color: var(--red-2);
        }

    .impact-panel p {
        max-width: 860px;
        margin: 18px auto 0;
        color: var(--muted);
        font-size: 1.06rem;
        line-height: 1.9;
    }

.stack-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.chip {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: #eceef4;
    font-size: 0.92rem;
}

.reasons-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reason-card strong {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 1.4rem;
    color: var(--red-2);
}

.process-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.process-card {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: rgba(255,42,42,0.10);
    color: #fff;
    border: 1px solid rgba(255,42,42,0.22);
    box-shadow: 0 0 18px rgba(255,42,42,0.08);
}

.portfolio-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.tag {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.84rem;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #f1f1f6;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 24px;
    align-items: stretch;
}

.contact-panel {
    padding: 30px;
}

.contact-copy h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.12;
    text-transform: uppercase;
}

.contact-copy p {
    margin-top: 18px;
    max-width: 600px;
    font-size: 1.02rem;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.contact-item {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

    .contact-item span {
        display: block;
        color: var(--muted);
        font-size: 0.92rem;
        margin-bottom: 6px;
    }

    .contact-item strong,
    .contact-item a {
        color: #fff;
        font-size: 1rem;
        word-break: break-word;
    }

.contact-card {
    display: grid;
    gap: 18px;
}

    .contact-card h3 {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }

.form-grid {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 8px;
}

    .field label {
        font-size: 0.95rem;
        color: #f2f2f6;
    }

    .field input,
    .field textarea {
        width: 100%;
        border: 1px solid rgba(255,255,255,0.08);
        background: rgba(255,255,255,0.03);
        color: #fff;
        padding: 14px 16px;
        border-radius: 14px;
        outline: none;
        transition: 0.25s ease;
        resize: vertical;
    }

        .field input:focus,
        .field textarea:focus {
            border-color: rgba(255,42,42,0.45);
            box-shadow: 0 0 0 4px rgba(255,42,42,0.08);
        }

.footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 28px 0 46px;
    color: var(--muted);
    background: rgba(255,255,255,0.01);
}

.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer a:hover {
    color: var(--red-2);
}

.float-whats {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 18px 34px rgba(217,4,4,0.34), 0 0 26px rgba(255,42,42,0.22);
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.25s ease;
}

    .float-whats:hover {
        transform: translateY(-3px);
    }

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

    [data-reveal].visible {
        opacity: 1;
        transform: translateY(0);
    }

@keyframes move {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(220%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9999;
}

    .popup-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

.popup-box {
    background: #111;
    border-radius: 12px;
    padding: 30px;
    width: 320px;
    text-align: center;
    border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

    .popup-box h3 {
        color: #fff;
        margin-bottom: 10px;
    }

    .popup-box p {
        color: #aaa;
        margin-bottom: 20px;
    }

    .popup-box button {
        background: #e50914;
        border: none;
        padding: 10px 20px;
        border-radius: 6px;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
    }

        .popup-box button:hover {
            background: #ff1c26
        }

@media (max-width: 1120px) {
    .hero-grid,
    .contact-wrap,
    .services-grid,
    .stack-grid,
    .portfolio-grid,
    .reasons-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-copy h1 {
        max-width: 100%;
    }
}

.hero-logo-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.hero-logo-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 25px rgba(255,0,0,0.35));
}

@media (max-width: 860px) {
    :root {
        --header-h: auto;
    }

    .topbar {
        position: relative;
        height: auto;
    }

    .nav {
        padding: 18px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        gap: 14px;
    }

    .hero {
        min-height: auto;
        padding-top: 38px;
    }

    .hero-grid,
    .contact-wrap,
    .services-grid,
    .stack-grid,
    .portfolio-grid,
    .reasons-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 440px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .impact-panel,
    .contact-panel {
        padding: 26px;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 74px 0;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 13vw, 3.4rem);
    }

    .hero-copy p,
    .section-head p,
    .impact-panel p {
        font-size: 0.98rem;
    }

    .btn {
        width: 100%;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-card {
        padding: 20px;
    }

    .hero-logo-wrap {
        width: min(100%, 300px);
    }
}
