/* =========================================
   ОСНОВНЫЕ НАСТРОЙКИ
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at 20% 10%, rgba(56, 189, 248, .18), transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(99, 102, 241, .18), transparent 30%),
        linear-gradient(135deg, #020617, #0f172a 45%, #172554);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: #38bdf8;
    color: #020617;
}


/* =========================================
   ФОНОВЫЕ ЭФФЕКТЫ
========================================= */

.background-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
}

.glow-1 {
    background: rgba(14, 165, 233, .12);
    top: -250px;
    left: -200px;
}

.glow-2 {
    background: rgba(99, 102, 241, .12);
    right: -250px;
    top: 40%;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    width: min(1200px, 90%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 24px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.logo:first-letter {
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: rgba(255, 255, 255, .68);
    font-size: 14px;
    font-weight: 600;

    transition: .3s;
}

.nav-links a:hover {
    color: #fff;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 800px;
    position: relative;
}

.hero-content {
    width: min(950px, 90%);
    margin: 120px auto 0;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;

    padding: 9px 17px;
    border-radius: 50px;

    background: rgba(56, 189, 248, .08);
    border: 1px solid rgba(125, 211, 252, .22);

    color: #7dd3fc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;

    animation: fadeUp .8s ease both;
}

.hero h1 {
    margin-top: 28px;

    font-size: clamp(48px, 7vw, 86px);
    line-height: 1.02;
    letter-spacing: -4px;

    animation: fadeUp 1s ease both;
}

.hero h1 span,
.section-heading h2 span,
.info-content h2 span,
.about-text h2 span,
.inner-hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        #38bdf8,
        #818cf8,
        #c084fc
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content > p {
    max-width: 720px;
    margin: 30px auto 0;

    color: rgba(255, 255, 255, .72);
    font-size: 19px;
    line-height: 1.8;

    animation: fadeUp 1.2s ease both;
}

.hero-buttons {
    margin-top: 42px;

    display: flex;
    justify-content: center;
    gap: 12px;

    animation: fadeUp 1.4s ease both;
}


/* =========================================
   BUTTONS
========================================= */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;

    padding: 15px 27px;

    border-radius: 50px;

    font-size: 15px;
    font-weight: 800;

    transition: .3s;
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: white;

    box-shadow:
        0 10px 30px rgba(56, 189, 248, .2);
}

.btn-primary:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 40px rgba(56, 189, 248, .32);
}

.btn-secondary {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .11);
}


/* =========================================
   SCROLL HINT
========================================= */

.scroll-hint {
    position: absolute;
    bottom: 35px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    color: rgba(255, 255, 255, .45);

    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-hint span {
    font-size: 22px;
    animation: bounce 2s infinite;
}


/* =========================================
   SECTIONS
========================================= */

.section {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-label {
    color: #38bdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 15px;

    font-size: clamp(36px, 5vw, 55px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.section-heading > p {
    margin-top: 22px;

    color: rgba(255, 255, 255, .58);
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   ADVANTAGE CARDS
========================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    position: relative;
    overflow: hidden;

    min-height: 320px;
    padding: 30px;

    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .09),
            rgba(255, 255, 255, .035)
        );

    backdrop-filter: blur(20px);

    transition:
        transform .4s,
        border-color .4s,
        background .4s;
}

.card::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    top: -80px;
    right: -70px;

    background: #38bdf8;
    border-radius: 50%;

    filter: blur(70px);
    opacity: .08;
}

.card:hover {
    transform: translateY(-10px);

    border-color: rgba(56, 189, 248, .35);

    background:
        linear-gradient(
            145deg,
            rgba(56, 189, 248, .13),
            rgba(255, 255, 255, .05)
        );
}

.card-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border-radius: 16px;

    background: rgba(56, 189, 248, .1);
    border: 1px solid rgba(56, 189, 248, .15);

    font-size: 25px;
}

.card h3 {
    font-size: 21px;
    margin-bottom: 14px;
}

.card p {
    color: rgba(255, 255, 255, .58);
    line-height: 1.7;
    font-size: 14px;
}

.card-number {
    position: absolute;
    bottom: 22px;
    right: 27px;

    color: rgba(255, 255, 255, .1);

    font-size: 48px;
    font-weight: 900;
}


/* =========================================
   SERVICES
========================================= */

.services {
    padding-top: 50px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    padding: 32px;

    border-radius: 24px;

    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .045);

    transition: .4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(125, 211, 252, .3);
}

.service-card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(56, 189, 248, .13),
            rgba(99, 102, 241, .1)
        );

    border-color: rgba(56, 189, 248, .22);
}

.service-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-icon {
    font-size: 28px;
}

.service-tag {
    padding: 6px 12px;

    border-radius: 30px;

    background: rgba(56, 189, 248, .1);
    color: #7dd3fc;

    font-size: 11px;
    font-weight: 800;
}

.service-card h3 {
    margin-top: 30px;

    font-size: 20px;
    line-height: 1.3;
}

.service-card p {
    margin-top: 15px;

    color: rgba(255, 255, 255, .57);
    line-height: 1.7;
    font-size: 14px;
}

.service-line {
    height: 1px;

    margin: 28px 0 20px;

    background: rgba(255, 255, 255, .1);
}

.service-card strong {
    color: #bae6fd;
    font-size: 13px;
}


/* =========================================
   INFO BLOCK
========================================= */

.info-section {
    width: min(1200px, 90%);
    min-height: 530px;

    margin: 50px auto 120px;
    padding: 70px;

    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;

    border-radius: 35px;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(56, 189, 248, .15),
            transparent 35%
        ),
        rgba(255, 255, 255, .05);

    border: 1px solid rgba(255, 255, 255, .1);
}

.info-content h2 {
    margin-top: 18px;

    max-width: 600px;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.info-content p {
    max-width: 610px;
    margin-top: 25px;

    color: rgba(255, 255, 255, .6);

    font-size: 16px;
    line-height: 1.8;
}

.text-link {
    display: inline-block;
    margin-top: 30px;

    color: #7dd3fc;
    font-size: 14px;
    font-weight: 800;

    transition: .3s;
}

.text-link:hover {
    color: white;
    transform: translateX(5px);
}


/* =========================================
   INFO VISUAL
========================================= */

.info-visual {
    position: relative;
    height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cloud-circle {
    width: 210px;
    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(56, 189, 248, .22),
            rgba(99, 102, 241, .08) 55%,
            transparent 70%
        );

    font-size: 75px;

    animation: floating 5s ease-in-out infinite;
}

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px 17px;

    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;

    background: rgba(15, 23, 42, .75);

    backdrop-filter: blur(15px);

    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
}

.floating-card span {
    font-size: 20px;
}

.floating-card strong {
    display: block;
    font-size: 13px;
}

.floating-card small {
    display: block;

    margin-top: 2px;

    color: rgba(255, 255, 255, .45);
    font-size: 10px;
}

.floating-card-1 {
    top: 25px;
    right: 10px;
}

.floating-card-2 {
    bottom: 30px;
    left: 0;
}


/* =========================================
   FOOTER
========================================= */

footer {
    border-top: 1px solid rgba(255, 255, 255, .08);

    padding: 55px 20px;
}

.footer-content {
    width: min(1200px, 90%);
    margin: auto;
}

.footer-content p {
    margin-top: 15px;

    color: rgba(255, 255, 255, .45);
    font-size: 13px;
}

.footer-line {
    height: 1px;

    margin: 30px 0;

    background: rgba(255, 255, 255, .08);
}

.footer-content small {
    color: rgba(255, 255, 255, .3);
}


/* =========================================
   ABOUT PAGE
========================================= */

.inner-header {
    min-height: 570px;
}

.inner-hero {
    width: min(850px, 90%);
    margin: 120px auto 0;
    text-align: center;
}

.inner-hero h1 {
    margin-top: 25px;

    font-size: clamp(45px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.inner-hero p {
    max-width: 650px;
    margin: 25px auto;

    color: rgba(255, 255, 255, .62);
    font-size: 18px;
    line-height: 1.7;
}


/* =========================================
   ABOUT INTRO
========================================= */

.about-main {
    width: min(1200px, 90%);
    margin: auto;
}

.about-intro {
    min-height: 550px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.about-text h2 {
    margin-top: 18px;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.about-text p {
    max-width: 600px;
    margin-top: 25px;

    color: rgba(255, 255, 255, .58);

    font-size: 16px;
    line-height: 1.8;
}

.about-visual {
    position: relative;

    height: 420px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.big-cloud {
    width: 230px;
    height: 230px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(56, 189, 248, .2),
            rgba(99, 102, 241, .08),
            transparent 70%
        );

    font-size: 85px;

    filter: drop-shadow(
        0 0 40px rgba(56, 189, 248, .2)
    );

    animation: floating 5s ease-in-out infinite;
}

.orbit {
    position: absolute;

    width: 360px;
    height: 160px;

    border: 1px solid rgba(56, 189, 248, .16);
    border-radius: 50%;

    transform: rotate(-25deg);
}

.orbit-2 {
    transform: rotate(55deg);
    border-color: rgba(129, 140, 248, .12);
}


/* =========================================
   BENEFITS LIST
========================================= */

.about-benefits {
    padding: 100px 0;
}

.benefits-list {
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.benefit {
    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 30px;

    padding: 30px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .1);

    transition: .3s;
}

.benefit > span {
    color: #38bdf8;

    font-size: 14px;
    font-weight: 800;
}

.benefit h3 {
    font-size: 21px;
}

.benefit p {
    max-width: 700px;

    margin-top: 8px;

    color: rgba(255, 255, 255, .5);

    line-height: 1.7;
    font-size: 14px;
}

.benefit:hover {
    padding-left: 12px;
}


/* =========================================
   BACK SECTION
========================================= */

.back-section {
    margin: 50px 0 120px;

    padding: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    border-radius: 28px;

    background:
        linear-gradient(
            120deg,
            rgba(56, 189, 248, .1),
            rgba(99, 102, 241, .08)
        );

    border: 1px solid rgba(56, 189, 248, .15);
}

.back-section h2 {
    font-size: 30px;
}

.back-section p {
    margin-top: 10px;

    color: rgba(255, 255, 255, .5);
    font-size: 14px;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
        padding: 50px;
    }

    .info-visual {
        margin-top: 20px;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }
}


@media (max-width: 700px) {

    .hero {
        min-height: 700px;
    }

    .navbar {
        padding-top: 18px;
    }

    .nav-links {
        display: none;
    }

    .hero-content {
        margin-top: 90px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: min(280px, 100%);
    }

    .section {
        padding: 70px 0;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: 280px;
    }

    .info-section {
        padding: 35px 25px;
        margin-bottom: 70px;
    }

    .info-visual {
        height: 280px;
    }

    .cloud-circle {
        width: 170px;
        height: 170px;
        font-size: 60px;
    }

    .floating-card-1 {
        right: -5px;
    }

    .floating-card-2 {
        left: -5px;
    }

    .inner-header {
        min-height: 500px;
    }

    .inner-hero {
        margin-top: 90px;
    }

    .inner-hero h1 {
        letter-spacing: -2px;
    }

    .about-visual {
        height: 300px;
    }

    .big-cloud {
        width: 180px;
        height: 180px;
        font-size: 65px;
    }

    .orbit {
        width: 280px;
        height: 130px;
    }

    .benefit {
        grid-template-columns: 55px 1fr;
        gap: 15px;
    }

    .benefit h3 {
        font-size: 18px;
    }

    .back-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 35px 25px;
        margin-bottom: 70px;
    }

    .back-section .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
