:root {
    --bg: #0A0A0A;
    --panel: rgba(255, 255, 255, 0.03);
    --muted: rgba(255, 255, 255, 0.55);
    --text: #E9E9EE;
    --accent1: #00C2FF;
    --accent2: #6C63FF;
    --gradient: linear-gradient(90deg, var(--accent1), var(--accent2));
    --glass-border: rgba(108, 99, 255, 0.18);
    --radius: 12px;
    --container: 1180px;
    --glass-blur: 8px;
    font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
}

/* Base */
* {
    box-sizing: border-box
}

html, body {

}

body.page {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    font-size: 16px;
}

/* decorative background */
.bg-decor {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(800px 400px at 10% 10%, rgba(0, 194, 255, 0.06), transparent 8%),
    radial-gradient(700px 350px at 90% 80%, rgba(108, 99, 255, 0.05), transparent 8%);
    pointer-events: none;
    overflow: hidden;
}

.bg-decor::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent 50%, rgba(255, 255, 255, 0.01) 50%),
    linear-gradient(90deg, transparent 50%, rgba(255, 255, 255, 0.01) 50%);
    background-size: 60px 60px, 60px 60px;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* container */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.site-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(6px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo img {
    display: block;
    width: 50px;
}

.brand {
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.4px
}

.brand small {
}

.nav {
    display: flex;
    gap: 22px;
    align-items: center
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 6px;
    border-radius: 8px;
}

.nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.02)
}

.header-cta .btn {
    white-space: nowrap
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid white;
}

.btn-primary {
    position: relative;
    font-family: 'Roboto Mono';
    color: white;
    box-shadow: 0 6px 22px rgba(12, 48, 120, 0.18);
    background: transparent;
}
.btn-primary span {
    position: relative;
    z-index: 2;
}
.btn-primary::after {
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    transition: width 0.2s;
}
.btn-primary:hover {
    color: black;
}
.btn-primary:hover::after {
    width: 100%;
}

.btn-cta {
    background: var(--gradient);
    color: red;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
}

.ghost {
    color: var(--muted);
    margin-left: 14px;
    text-decoration: none;
    font-weight: 600;
}

.ghost:hover {
    color: var(--text)
}

/* Hero */
.hero {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 30px;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    z-index: 1;
    opacity: .4;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    box-shadow: inset 10px -50px 45px -20px #000000;
}

.hero-grid {
    display: grid;
    grid-template-columns:1fr 520px;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 3;
}

@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns:1fr;
    }
}

.hero-title {
    font-size: 35px;
    margin: 0;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-rotator {
    font-family: "Roboto Mono";
    font-size: 28px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 18px;
}

@keyframes hue {
    0% {
        filter: hue-rotate(0deg)
    }
    100% {
        filter: hue-rotate(360deg)
    }
}

.hero-sub {
    color: var(--muted);
    margin-top: 14px;
    max-width: 520px
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    align-items: center
}

/* Sections */
.section {
    padding: 56px 0;
    scroll-margin-top: 30px;
}

.section h2 {
    font-size: 28px;
    margin: 0 0 14px;
    font-weight: 700
}

.section p {
    color: var(--muted);
    margin: 0 0 20px
}

.section li {
    color: var(--muted);
}

/* About */
.about-inner {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: space-between
}

@media (max-width: 880px) {
    .about-inner {
        flex-direction: column;
        align-items: flex-start
    }
}

.about-text {
    max-width: 720px
}

.infographics {
    display: flex;
    gap: 14px
}

.info-card {
    background: var(--panel);
    padding: 18px 22px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.03);
    min-width: 120px;
}

.info-value {
    font-size: 20px;
    font-weight: 800;
    /*background: var(--gradient);*/
    color: white;
/*    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent*/
}

.info-label {
    color: var(--muted);
    margin-top: 6px;
    font-weight: 600
}

/* Services Grid */
.services-intro {
    max-width: 900px
}

.services-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px;
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns:1fr
    }
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    padding: 20px;
    min-height: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 24px rgba(2, 6, 23, 0.6);
    /*transition: transform .28s cubic-bezier(.2, .9, .2, 1), box-shadow .28s;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(40, 66, 255, 0.12)
}*/

.card-icon {
    font-size: 28px;
    margin-bottom: 8px;
    filter: drop-shadow(0 6px 18px rgba(0, 194, 255, 0.04));
}

.card-icon img {
    width: 50px;
}

.service-card h3 {
    margin: 6px 0 10px
}

.service-card ul {
    margin: 0 0 12px 18px;
    color: var(--muted)
}

.card-cta {
    position: relative;
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    border: 1px solid white;
}

.card-cta span {
    position: relative;
    z-index: 2;
}
.card-cta::after {
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    transition: width 0.2s;
}
.card-cta:hover {
    color: black;
}
.card-cta:hover::after {
    width: 100%;
}

/* Cases */
.cases-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

@media (max-width: 980px) {
    .cases-grid {
        grid-template-columns:1fr
    }
}

.case-card {
    background: var(--panel);
    border-radius: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-media {
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    margin-bottom: 12px;
}

.case-media::before {
    content: '';
    width: 100%;
    display: block;
    padding-top: 46%;
}

/* Roadmap */
.roadmap {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 18px;
    flex-wrap: wrap
}

.roadmap__title {
    margin-bottom: 12px;
}

.roadmap p {
    margin-bottom: 0;
}

.step {
    flex: 1 1 18%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    min-width: 180px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step img {
    width: 40px;
}

.step span {
    display: block;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 600
}

/* Contacts section */
.contacts-inner {
    display: flex;
    gap: 28px
}

@media (max-width: 900px) {
    .contacts-inner {
        flex-direction: column
    }
}

.contact-cta {
    flex: 1
}

/*.contact-form {
    flex: 1.1;
    background: var(--panel);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03)
}

.contact-form .form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    outline: none;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35)
}*/

.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    justify-content: space-between
}

.contact-info {
    color: var(--muted);
    font-weight: 600
}

.contact-info a {
    display: block;
    color: var(--muted);
    text-decoration: none
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 28px 0;
    margin-top: 40px
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center
}

.footer-desc {
    color: var(--muted);
    max-width: 420px
}

.footer-left, .footer-right {
    flex: 1;
}

.footer-right {
    display: flex;
    flex-direction: column;
}

.footer-right__contact {
    width: 100%;
    display: flex;
    gap: 10px;
}

.footer-right__contact a {
    /*width: 100px;*/
    color: white;
}

@media (max-width: 680px) {
    .footer-inner {
        flex-direction: column;
    }

    .footer-left {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footer-desc {
        text-align: center;
    }
}

/* small screens */
@media (max-width: 520px) {
    .header-inner {
        height: 64px;
        padding: 6px 0
    }

    .nav {
        display: none
    }

    .hero-title {
        font-size: 36px
    }

    .services-grid {
        gap: 12px
    }

    .info-card {
        min-width: 96px
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px
    }
}
