:root {
    --bg: #050816;
    --bg-soft: #0a1022;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.055);
    --border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --muted: #a5aec2;
    --muted-strong: #c9d0df;
    --accent: #7b7cff;
    --accent-2: #d85cff;
    --shadow: 0 25px 80px rgba(0, 0, 0, 0.35);
    --radius: 28px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(123, 124, 255, 0.14), transparent 30%),
        radial-gradient(circle at top right, rgba(216, 92, 255, 0.08), transparent 24%),
        var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

img,
canvas {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #b9c2d6;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.site-header.is-scrolled {
    background: rgba(5, 8, 22, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

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

.brand {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, #8f90ff 0%, #de68ff 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    color: #c0c7d6;
    font-weight: 500;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: #fff;
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 16px;
    min-height: 54px;
    padding: 0 26px;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta,
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
    box-shadow: 0 18px 50px rgba(124, 110, 255, 0.24);
}

.nav-cta:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.btn-full {
    width: 100%;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 130px 0 70px;
}

.hero-ambient {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.hero-ambient-one {
    width: 480px;
    height: 480px;
    background: rgba(123, 124, 255, 0.22);
    top: 80px;
    right: 6%;
}

.hero-ambient-two {
    width: 380px;
    height: 380px;
    background: rgba(216, 92, 255, 0.14);
    bottom: 50px;
    left: 8%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-copy h1 {
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 22px;
    max-width: 780px;
}

.hero-copy h1 span {
    display: block;
    background: linear-gradient(90deg, #8a8cff 0%, #d861ff 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-copy p {
    max-width: 650px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-panel {
    position: absolute;
    border-radius: 26px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-panel-main {
    inset: 58px 52px 58px 36px;
    transform: rotate(-8deg);
    padding: 34px 28px;
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-panel-top {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #d4d9e5;
    font-size: 0.85rem;
}

.hero-panel-lines {
    display: grid;
    gap: 16px;
    margin-bottom: 34px;
}

.hero-panel-lines span {
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(123,124,255,0.95), rgba(216,92,255,0.28));
}

.hero-panel-lines .short {
    width: 68%;
}

.hero-panel-lines .medium {
    width: 84%;
}

.hero-stats {
    display: grid;
    gap: 18px;
}

.hero-stats div {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
}

.hero-stats strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.hero-stats span {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

.hero-panel-small {
    width: 190px;
    height: 128px;
    padding: 22px;
    animation: heroFloat 7s ease-in-out infinite;
}

.top-card {
    top: 36px;
    right: 0;
    transform: rotate(10deg);
    display: flex;
    align-items: center;
    gap: 14px;
}

.bottom-card {
    bottom: 24px;
    left: 0;
    transform: rotate(-10deg);
}

.pulse-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 24px rgba(216, 92, 255, 0.55);
}

.mini-lines {
    flex: 1;
    display: grid;
    gap: 10px;
}

.mini-lines span,
.mini-chart span {
    display: block;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
}

.mini-lines span {
    height: 10px;
}

.mini-chart {
    height: 100%;
    display: flex;
    align-items: end;
    gap: 12px;
}

.mini-chart span:nth-child(1) {
    width: 22%;
    height: 42%;
    background: linear-gradient(180deg, rgba(123,124,255,0.85), rgba(123,124,255,0.25));
}

.mini-chart span:nth-child(2) {
    width: 22%;
    height: 68%;
    background: linear-gradient(180deg, rgba(216,92,255,0.85), rgba(216,92,255,0.25));
}

.mini-chart span:nth-child(3) {
    width: 22%;
    height: 54%;
    background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,255,255,0.15));
}

.trusted-strip,
.about-section,
.services-section,
.projects-section,
.reviews-section,
.contact-section {
    padding: 120px 0;
}

.trusted-strip {
    padding-top: 30px;
    padding-bottom: 40px;
}

.trusted-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trusted-grid > div {
    padding: 24px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 9px;
}

.trusted-grid strong {
    color: #fff;
    font-size: 1.03rem;
}

.trusted-grid span {
    color: var(--muted);
    line-height: 1.7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.about-copy h2,
.services-head h2,
.projects-head h2,
.reviews-head h2,
.contact-head h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.16rem;
    line-height: 1.9;
    color: var(--muted-strong);
    margin-bottom: 24px;
    max-width: 760px;
}

.about-body {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
}

.about-body p,
.services-head p,
.projects-head p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 1.04rem;
}

.about-points {
    display: grid;
    gap: 18px;
}

.about-point {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 16px;
    align-items: start;
}

.about-point i {
    color: #a28cff;
    margin-top: 4px;
}

.about-point strong {
    display: block;
    margin-bottom: 6px;
}

.about-point span {
    color: var(--muted);
    line-height: 1.75;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

#about-sphere {
    width: 100%;
    max-width: 540px;
    height: 540px;
    margin: 0 auto;
    overflow: visible;
}

.services-head,
.projects-head,
.reviews-head,
.contact-head {
    max-width: 880px;
    margin-bottom: 44px;
}

.services-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
}

.service-card {
    position: relative;
    padding: 34px 34px 30px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(123,124,255,0.18), transparent 42%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(123,124,255,0.22);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-main {
    min-height: auto;
    grid-row: auto;
}

.service-index {
    margin-bottom: 18px;
    color: #8f82ff;
    font-size: 0.92rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.service-card h3 {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.service-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.service-card li {
    position: relative;
    padding-left: 18px;
    color: #d8deeb;
    line-height: 1.65;
}

.service-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.projects-slider {
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: projectScroll 32s linear infinite;
}

.project-item {
    width: 340px;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
}

.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-thumb {
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-thumb img {
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-item {
    cursor: pointer;
}

.project-item h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.project-item p {
    color: var(--muted);
    line-height: 1.75;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.review-card {
    min-height: 260px;
    padding: 30px 28px;
    border-radius: 24px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.review-card::after {
    content: "“";
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 40px;
    color: rgba(255,255,255,0.05);
}

.review-card:hover {
    transform: rotate(0deg) translateY(-6px);
    border-color: rgba(123,124,255,0.35);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.35),
        0 0 16px rgba(123,124,255,0.35);
}

.reviews-grid article:nth-child(1) {
    transform: rotate(-1.5deg);
}

.reviews-grid article:nth-child(2) {
    transform: rotate(1.5deg);
}

.reviews-grid article:nth-child(3) {
    transform: rotate(-1deg);
}

.review-avatar {
    position: absolute;

    top: -22px;
    left: -22px;

    width: 56px;
    height: 56px;

    border-radius: 50%;
    overflow: hidden;

    background: #0a1022;

    border: 2px solid rgba(255,255,255,0.08);

    box-shadow:
        0 8px 18px rgba(0,0,0,0.35),
        0 0 12px rgba(123,124,255,0.35);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card p {
    color: #c9d0dd;
    line-height: 1.9;
    margin-bottom: 28px;
}

.review-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.review-meta strong {
    color: #fff;
}

.review-meta span {
    color: var(--muted);
}

.review-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 16px;

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 0 12px rgba(123,124,255,0.25);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}




.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(110px);
    background: rgba(216, 92, 255, 0.18);
    left: 6%;
    top: 22%;
    pointer-events: none;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-copy h3 {
    font-size: 2.3rem;
    margin-bottom: 14px;
}

.contact-copy p {
    color: var(--muted);
    line-height: 1.9;
    max-width: 520px;
    margin-bottom: 30px;
}

.contact-list {
    display: grid;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #d4dbea;
}

.contact-item i {
    width: 20px;
    color: #b68cff;
}

.contact-card {
    position: relative;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    font: inherit;
    resize: vertical;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #8f98ad;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(123,124,255,0.36);
    background: rgba(255,255,255,0.045);
}

.site-footer {
    padding: 26px 0 34px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #96a0b6;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 22px;
}

@keyframes projectScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 12px));
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-panel-main {
        inset: 34px 40px 34px 40px;
    }

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

    .service-card-main {
        grid-row: auto;
    }

    .reviews-grid,
    .trusted-grid {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 32px, 1200px);
    }

    .nav-wrap {
        min-height: 78px;
    }

    .brand {
        font-size: 1.55rem;
    }

    .nav-cta {
        min-height: 48px;
        padding: 0 18px;
    }

    .hero-section,
    .about-section,
    .services-section,
    .projects-section,
    .reviews-section,
    .contact-section {
        padding: 96px 0;
    }

.hero-copy h1 {
    font-size: clamp(2.6rem, 4.6vw, 4.4rem);
}

    .hero-visual {
    min-height: 460px;
}

    .hero-panel-main {
    inset: 80px 70px 80px 60px;
}

    .hero-panel-small {
        display: none;
    }

    .trusted-grid,
    .reviews-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .projects-track {
        animation-duration: 24s;
    }

    .project-item {
        width: 280px;
    }

    .contact-copy h3 {
        font-size: 1.9rem;
    }

    .footer-wrap {
        flex-direction: column;
    }
}


.form-status {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 24px;
}

.form-status.is-success {
    color: #9df7c1;
}

.form-status.is-error {
    color: #ff9aa8;
}

.legal-page {
padding: 140px 0;
}

.legal-page h1 {
font-size: 2.5rem;
margin-bottom: 30px;
}

.legal-page h2 {
margin-top: 30px;
margin-bottom: 10px;
}

.legal-page p {
line-height: 1.8;
color: var(--muted);
}

.legal-page ul {
margin-left: 20px;
line-height: 1.8;
color: var(--muted);
}


.cookie-banner {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);

background: rgba(10,16,34,0.9);
border: 1px solid rgba(255,255,255,0.1);

padding: 14px 22px;
border-radius: 12px;

display: flex;
gap: 16px;
align-items: center;

z-index: 9999;
}

.cookie-banner button {
background: var(--accent);
border: none;
padding: 8px 16px;
border-radius: 8px;
color: white;
cursor: pointer;
}


@keyframes heroFloat {
    0% {
        transform: translateY(0px) rotate(-8deg);
    }

    50% {
        transform: translateY(-12px) rotate(-8deg);
    }

    100% {
        transform: translateY(0px) rotate(-8deg);
    }
}