:root {
    --background: #03060d;
    --panel: #0a101b;
    --panel-soft: rgba(15, 24, 39, 0.78);
    --text: #f4f7fb;
    --muted: #737d8f;
    --muted-2: #aab2c2;
    --border: rgba(120, 138, 168, 0.16);
    --primary: #3578ff;
    --purple: #7944ee;
    --accent: #1fc6a7;
    --radius: 18px;
    --glow: 0 0 90px rgba(53, 120, 255, 0.28), 0 0 160px rgba(31, 198, 167, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main,
section,
.hero-inner {
    min-width: 0;
}

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

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 clamp(22px, 11vw, 168px);
    border-bottom: 1px solid rgba(120, 138, 168, 0.12);
    background: rgba(3, 6, 13, 0.72);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(100deg, #3183ff 0%, #7e45ee 52%, #1fc6a7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand span:first-child {
    color: #3484ff;
    -webkit-text-fill-color: #3484ff;
}

.brand span:last-child {
    color: #24c5a7;
    -webkit-text-fill-color: #24c5a7;
}

.site-header nav,
.site-footer nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.site-header nav a,
.site-footer nav a {
    color: var(--muted-2);
    font-size: 14px;
    font-weight: 700;
    transition: color 180ms ease;
}

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

.site-header .nav-cta {
    color: #060812;
    padding: 13px 25px;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--primary), var(--purple) 56%, var(--accent));
    box-shadow: var(--glow);
}

.section-grid {
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at center, transparent 27%, #03060d 78%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
}

.hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 150px 24px 80px;
}

.ambient {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 999px;
    filter: blur(85px);
    opacity: 0.22;
    pointer-events: none;
}

.ambient-blue {
    top: 28%;
    left: 24%;
    background: #3578ff;
}

.ambient-green {
    right: 21%;
    bottom: 15%;
    background: #1fc6a7;
}

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-width: calc(100vw - 48px);
    text-align: center;
}

.signal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 64px;
    padding: 10px 20px;
    color: var(--muted-2);
    border: 1px solid rgba(53, 120, 255, 0.55);
    border-radius: 999px;
    background: rgba(8, 15, 27, 0.78);
    box-shadow: 0 0 35px rgba(31, 198, 167, 0.08);
    font-size: 14px;
    font-weight: 600;
}

.signal svg {
    width: 17px;
    height: 17px;
    color: #3d8cff;
}

.signal strong {
    color: white;
}

h1,
h2,
h3,
p {
    margin: 0;
}

.hero h1 {
    display: grid;
    gap: 8px;
    max-width: 100%;
    font-size: clamp(58px, 8.5vw, 126px);
    line-height: 0.88;
    letter-spacing: -0.075em;
    font-weight: 900;
}

.hero h1 span {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
}

.gradient-text {
    background: linear-gradient(100deg, #367cff 0%, #7a42ec 52%, #1ec5a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ghost-text {
    color: rgba(155, 167, 187, 0.35);
}

.hero-copy {
    max-width: 520px;
    margin: 34px auto 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.55;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 58px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 38px;
    border-radius: 15px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: transform 180ms ease, opacity 180ms ease, border-color 180ms ease;
}

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

.btn.primary {
    color: #050713;
    background: linear-gradient(120deg, var(--primary), var(--purple) 56%, var(--accent));
    box-shadow: var(--glow);
}

.btn.secondary {
    color: var(--muted-2);
    border-color: rgba(53, 120, 255, 0.26);
    background: rgba(9, 17, 30, 0.58);
}

.btn.secondary:hover {
    border-color: rgba(53, 120, 255, 0.55);
    color: var(--text);
}

.play {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 9px solid currentColor;
    opacity: 0.72;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 760px;
    margin: 78px auto 0;
}

.stat {
    padding: 22px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(9, 15, 26, 0.62);
}

.stat strong {
    display: block;
    font-size: 33px;
    line-height: 1;
    color: white;
}

.stat span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.services {
    padding: 110px 24px;
    background:
        radial-gradient(circle at 15% 12%, rgba(53, 120, 255, 0.13), transparent 30%),
        radial-gradient(circle at 82% 20%, rgba(31, 198, 167, 0.11), transparent 26%),
        var(--background);
}

.section-heading {
    width: min(760px, 100%);
    margin: 0 auto 58px;
    text-align: center;
}

.section-heading > span,
.contact-copy > span {
    display: block;
    margin-bottom: 14px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-heading h2,
.contact-copy h2 {
    font-size: clamp(42px, 5.8vw, 86px);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.055em;
}

.section-heading p,
.contact-copy > p {
    max-width: 660px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(1160px, 100%);
    margin: 0 auto;
}

.service-card {
    min-height: 355px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(14, 23, 38, 0.86), rgba(7, 12, 22, 0.9));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(53, 120, 255, 0.45);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--primary);
    border: 1px solid rgba(53, 120, 255, 0.28);
    border-radius: 14px;
    background: rgba(53, 120, 255, 0.08);
}

.icon-wrap svg {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.service-card p {
    margin-top: 14px;
    color: var(--muted);
    line-height: 1.55;
    font-weight: 500;
}

.service-card ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.service-card li {
    padding: 7px 10px;
    color: var(--muted-2);
    border: 1px solid rgba(120, 138, 168, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    font-size: 12px;
    font-weight: 700;
}

.contact {
    padding: 108px 24px;
}

.contact-wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    width: min(1110px, 100%);
    margin: 0 auto;
    align-items: start;
}

.contact-copy {
    padding-top: 18px;
}

.contact-copy > p {
    margin-left: 0;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 42px;
}

.contact-list a,
.contact-list span,
.guarantee {
    display: block;
    padding: 20px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(9, 15, 26, 0.62);
    color: var(--muted-2);
    font-weight: 700;
}

.contact-list strong,
.guarantee strong {
    display: block;
    margin-bottom: 6px;
    color: white;
    font-size: 14px;
}

.guarantee {
    margin-top: 22px;
}

.guarantee p {
    color: var(--muted);
    line-height: 1.55;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(9, 15, 26, 0.76);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
}

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    color: var(--muted-2);
    font-size: 14px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    color: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    outline: none;
    background: rgba(3, 6, 13, 0.56);
    padding: 16px 18px;
    transition: border-color 180ms ease, box-shadow 180ms ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(53, 120, 255, 0.65);
    box-shadow: 0 0 0 4px rgba(53, 120, 255, 0.12);
}

.form-button {
    width: 100%;
    min-height: 62px;
    border: 0;
    margin-top: 4px;
}

.form-button svg {
    width: 20px;
    height: 20px;
}

.form-success {
    padding: 14px 16px;
    color: #b9ffe7;
    border: 1px solid rgba(31, 198, 167, 0.35);
    border-radius: 14px;
    background: rgba(31, 198, 167, 0.08);
    font-weight: 700;
}

.site-footer {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 28px;
    align-items: center;
    padding: 42px clamp(24px, 11vw, 168px) 34px;
    border-top: 1px solid var(--border);
    background: #03060d;
}

.site-footer p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.back-top {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--muted-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 22px;
    transition: color 180ms ease, border-color 180ms ease;
}

.back-top:hover {
    color: var(--primary);
    border-color: rgba(53, 120, 255, 0.45);
}

.copyright {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: white;
    border-radius: 999px;
    background: #25d366;
    box-shadow: 0 18px 46px rgba(37, 211, 102, 0.22);
    transition: transform 180ms ease, background 180ms ease;
}

.whatsapp:hover {
    transform: scale(1.08);
    background: #1ebe5b;
}

.whatsapp svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@media (max-width: 1050px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        min-height: 68px;
        padding: 0 18px;
    }

    .site-header nav {
        gap: 16px;
        flex: 0 0 auto;
    }

    .site-header nav a:not(.nav-cta) {
        display: none;
    }

    .site-header .nav-cta {
        display: none;
    }

    .brand {
        font-size: 18px;
    }

    .hero {
        min-height: auto;
        padding: 128px 18px 80px;
        place-items: center start;
    }

    .hero-inner {
        width: min(330px, calc(100vw - 36px));
        max-width: min(330px, calc(100vw - 36px));
        text-align: left;
    }

    .signal {
        max-width: 100%;
        justify-content: flex-start;
        margin-bottom: 42px;
        font-size: 11px;
        padding: 9px 12px;
    }

    .hero h1 {
        gap: 10px;
        font-size: clamp(34px, 10.2vw, 40px);
        line-height: 0.96;
        letter-spacing: -0.035em;
    }

    .hero-copy {
        font-size: 17px;
    }

    .hero-actions {
        margin-top: 42px;
        justify-content: flex-start;
    }

    .btn {
        width: 100%;
        padding: 0 22px;
    }

    .stats {
        grid-template-columns: 1fr;
        margin-top: 54px;
    }

    .services,
    .contact {
        padding: 80px 18px;
    }

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

    .service-card {
        min-height: auto;
    }

    .contact-form {
        padding: 20px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        padding: 36px 20px 30px;
        text-align: center;
    }

    .site-footer nav {
        justify-content: center;
    }

    .back-top {
        margin: 0 auto;
    }
}
