* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #05080f;
    color: #f5f7fb;
    font-family: Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(5, 8, 15, 0.95);
    border-bottom: 1px solid #172033;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 900;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.brand b,
.brand span,
.tag,
.hero em {
    color: #159cff;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #087cff;
    border: 1px solid #087cff;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.btn:hover {
    background: #159cff;
    border-color: #159cff;
    transform: translateY(-1px);
}

.btn.secondary {
    background: transparent;
    border-color: #29384f;
    color: #dfe8f5;
}

.btn.secondary:hover {
    background: #0b1019;
    border-color: #3c506e;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
    padding-top: 48px;
    padding-bottom: 45px;
}

.hero-copy {
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(52px, 6.2vw, 82px);
    line-height: 1.01;
    margin: 14px 0 22px;
    letter-spacing: -0.05em;
    max-width: 760px;
}

.hero em {
    font-style: normal;
}

.hero-text {
    color: #9eabbc;
    max-width: 650px;
    font-size: 18px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-points {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
    color: #8d9bad;
    font-size: 14px;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    border-radius: 24px;
}


/* =========================================================
   GENERAL
   ========================================================= */

.tag {
    display: inline-block;
    color: #159cff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.17em;
}

.section {
    padding: 72px 0;
}

.section h1,
.legal-page h1 {
    font-size: clamp(42px, 6vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.section h2 {
    font-size: clamp(38px, 5vw, 56px);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 28px;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 40px;
}

.section-intro p {
    color: #8f9bad;
    font-size: 17px;
    max-width: 650px;
}


/* =========================================================
   SERVICES
   ========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    padding: 30px;
    background: #0b1019;
    border: 1px solid #1d293b;
    border-radius: 18px;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #245684;
    background: #0d1420;
}

.service-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-number {
    color: #159cff;
    font-size: 13px;
    font-weight: 900;
}

.service-arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #26364c;
    border-radius: 50%;
    color: #7f8da0;
    transition: 0.2s ease;
}

.service-card:hover .service-arrow {
    color: #ffffff;
    border-color: #159cff;
    transform: translate(2px, -2px);
}

.service-card h3 {
    font-size: 27px;
    line-height: 1.15;
    margin: 48px 0 14px;
    letter-spacing: -0.025em;
}

.service-card > p {
    color: #92a0b3;
    max-width: 510px;
    margin-bottom: 28px;
}

.service-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-points span {
    padding: 7px 10px;
    background: #080d15;
    border: 1px solid #202d40;
    border-radius: 7px;
    color: #a5b2c3;
    font-size: 12px;
}


/* =========================================================
   STANDARD CARD
   ========================================================= */

.card {
    background: #0b1019;
    border: 1px solid #1d293b;
    border-radius: 18px;
    padding: 30px;
}

.card p {
    color: #94a2b7;
}


/* =========================================================
   PROCESS
   ========================================================= */

.process-intro {
    margin-bottom: 46px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #1d293b;
    border-radius: 18px;
    overflow: hidden;
    background: #0b1019;
}

.process-step {
    position: relative;
    min-height: 350px;
    padding: 30px 26px 34px;
    border-right: 1px solid #1d293b;
    transition: background 0.25s ease;
}

.process-step:last-child {
    border-right: 0;
}

.process-step:hover {
    background: #0d1420;
}

.process-number {
    color: #159cff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.process-line {
    width: 42px;
    height: 2px;
    background: #159cff;
    margin: 24px 0 30px;
}

.process-label {
    display: block;
    color: #7c8a9d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin-bottom: 12px;
}

.process-content h3 {
    font-size: 23px;
    line-height: 1.2;
    margin: 0 0 14px;
    letter-spacing: -0.025em;
}

.process-content p {
    color: #8f9bad;
    margin: 0;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-intro {
    max-width: 760px;
    margin-bottom: 42px;
}

.contact-intro p {
    max-width: 620px;
    color: #8f9bad;
    font-size: 17px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 18px;
    align-items: stretch;
}

.contact-info-card,
.contact-form-card {
    background: #0b1019;
    border: 1px solid #1d293b;
    border-radius: 18px;
    padding: 32px;
}

.contact-kicker {
    color: #159cff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.contact-info-card h3 {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 24px 0 16px;
}

.contact-info-card > p {
    color: #8f9bad;
    margin-bottom: 34px;
}

.contact-benefits {
    display: grid;
    gap: 10px;
}

.contact-benefits > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #1c2738;
}

.contact-benefits > div:last-child {
    border-bottom: 0;
}

.contact-benefits span {
    color: #159cff;
    font-size: 12px;
    font-weight: 900;
}

.contact-benefits p {
    margin: 0;
    color: #d9e1ec;
    font-weight: 700;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #aab5c5;
    font-size: 13px;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    background: #070b12;
    border: 1px solid #28364b;
    border-radius: 9px;
    color: #ffffff;
    font: inherit;
}

input::placeholder,
textarea::placeholder {
    color: #596679;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #159cff;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

.contact-submit {
    margin-top: 18px;
}

.form-note {
    margin: 12px 0 0;
    color: #687689;
    font-size: 12px;
}


/* =========================================================
   LEGAL CHECK
   ========================================================= */

.legal-check {
    margin-top: 2px;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    cursor: pointer;
    color: #8997aa;
    line-height: 1.45;
    font-weight: 400;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: #159cff;
    cursor: pointer;
}

.checkbox-row span {
    font-size: 12px;
}

.checkbox-row a {
    color: #159cff;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-page {
    padding-top: 70px;
    padding-bottom: 90px;
}

.legal-content {
    max-width: 900px;
}

.legal-intro {
    color: #94a2b7;
    font-size: 18px;
    max-width: 720px;
    margin-bottom: 50px;
}

.legal-block {
    padding: 30px 0;
    border-bottom: 1px solid #1c2738;
}

.legal-block h2 {
    margin: 0 0 16px;
    font-size: 25px;
    letter-spacing: -0.025em;
}

.legal-block p,
.legal-block li {
    color: #94a2b7;
}

.legal-block a {
    color: #159cff;
}

.legal-block ul {
    padding-left: 22px;
}

.legal-updated {
    color: #667488;
    margin-top: 40px;
    font-size: 13px;
}

.legal-card h2 {
    margin-top: 44px;
}

.legal-card h2:first-child {
    margin-top: 0;
}

.legal-card a {
    color: #159cff;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer,
.footer {
    border-top: 1px solid #172033;
}

.foot,
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 35px 0;
    color: #8996aa;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-brand {
    font-weight: 900;
}


/* =========================================================
   FLASH MESSAGE
   ========================================================= */

.flash {
    position: fixed;
    right: 20px;
    top: 90px;
    z-index: 100;
    max-width: calc(100% - 40px);
    background: #101a28;
    border: 1px solid #27405f;
    padding: 14px 18px;
    border-radius: 10px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .container {
        width: min(100% - 36px, 760px);
    }

    .hero {
        gap: 36px;
    }

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

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

    .process-step:nth-child(1),
    .process-step:nth-child(2) {
        border-bottom: 1px solid #1d293b;
    }

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


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: calc(100% - 32px);
    }


    /* HEADER */

    .nav {
        min-height: 68px;
        gap: 10px;
    }

    .brand {
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    nav {
        gap: 8px;
    }

    nav > a:not(.btn) {
        display: none;
    }

    nav .btn {
        padding: 10px 13px;
        border-radius: 9px;
        font-size: 12px;
    }


    /* HERO */

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0;
        padding-top: 28px;
        padding-bottom: 58px;
    }

    .hero-logo-wrap {
        order: -1;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 190px;
        margin-bottom: 28px;
        isolation: isolate;
    }

    .hero-logo-wrap::before {
        content: "";
        position: absolute;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        background:
            radial-gradient(
                circle,
                rgba(5, 8, 15, 0.05) 0%,
                rgba(5, 8, 15, 0.35) 45%,
                #05080f 74%
            );
        z-index: -1;
        pointer-events: none;
    }

    .hero-logo {
        width: 185px;
        height: 185px;
        max-width: none;
        display: block;
        object-fit: cover;
        border-radius: 50%;
        clip-path: circle(49% at 50% 50%);
        box-shadow:
            0 0 30px rgba(0, 132, 255, 0.10),
            0 0 60px rgba(0, 132, 255, 0.06);
    }

    .hero-copy {
        max-width: none;
    }

    .tag {
        font-size: 10px;
        letter-spacing: 0.17em;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 56px);
        line-height: 0.99;
        letter-spacing: -0.05em;
        margin: 14px 0 22px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hero-text {
        font-size: 16px;
        line-height: 1.62;
        max-width: none;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 26px;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 50px;
        border-radius: 11px;
        font-size: 15px;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 24px;
        font-size: 13px;
        color: #8f9daf;
    }


    /* SECTIONS */

    .section {
        padding: 54px 0;
    }

    .section h2 {
        font-size: clamp(34px, 10vw, 45px);
        line-height: 1.05;
        margin-top: 14px;
        margin-bottom: 20px;
    }

    .section-intro {
        margin-bottom: 28px;
    }

    .section-intro p,
    .contact-intro p {
        font-size: 15px;
        line-height: 1.6;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-card {
        min-height: auto;
        padding: 24px 20px;
        border-radius: 15px;
    }

    .service-card:hover {
        transform: none;
    }

    .service-card h3 {
        font-size: 23px;
        margin: 30px 0 12px;
    }

    .service-card > p {
        font-size: 15px;
        margin-bottom: 22px;
    }

    .service-arrow {
        width: 31px;
        height: 31px;
    }

    .service-points {
        gap: 6px;
    }

    .service-points span {
        font-size: 11px;
        padding: 6px 8px;
    }


    /* PROCESS */

    .process-intro {
        margin-bottom: 28px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        border-radius: 15px;
    }

    .process-step {
        min-height: auto;
        padding: 24px 20px 28px;
        border-right: 0;
        border-bottom: 1px solid #1d293b;
    }

    .process-step:last-child {
        border-bottom: 0;
    }

    .process-number {
        font-size: 30px;
    }

    .process-line {
        margin: 18px 0 22px;
    }

    .process-content h3 {
        font-size: 21px;
    }

    .process-content p {
        font-size: 15px;
    }


    /* CONTACT */

    .contact-intro {
        margin-bottom: 28px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 22px 18px;
        border-radius: 15px;
    }

    .contact-info-card h3 {
        font-size: 26px;
        margin-top: 18px;
    }

    .contact-info-card > p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-full {
        grid-column: auto;
    }

    input,
    textarea,
    select {
        min-height: 48px;
        font-size: 16px;
    }

    textarea {
        min-height: 150px;
    }

    .contact-submit {
        width: 100%;
        min-height: 50px;
    }

    .checkbox-row span {
        font-size: 12px;
    }


    /* LEGAL */

    .legal-page {
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .legal-page h1,
    .section h1 {
        font-size: clamp(38px, 11vw, 50px);
    }

    .legal-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .legal-block {
        padding: 24px 0;
    }

    .legal-block h2 {
        font-size: 21px;
    }

    .legal-block p,
    .legal-block li {
        font-size: 15px;
    }

    .legal-card {
        padding: 22px 18px;
    }


    /* FOOTER */

    .foot,
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 28px 0;
    }

    .footer-links {
        gap: 12px 16px;
    }


    /* FLASH */

    .flash {
        top: 78px;
        left: 16px;
        right: 16px;
        max-width: none;
        font-size: 14px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 390px) {

    .container {
        width: calc(100% - 24px);
    }

    .brand {
        font-size: 12px;
    }

    nav .btn {
        padding: 9px 10px;
        font-size: 11px;
    }

    .hero-logo-wrap {
        min-height: 165px;
        margin-bottom: 22px;
    }

    .hero-logo-wrap::before {
        width: 200px;
        height: 200px;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-actions .btn {
        font-size: 14px;
    }

    .service-card,
    .contact-info-card,
    .contact-form-card,
    .legal-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}
