/* ============================================
   Oculix Zone World - Main Stylesheet
   AI Platform Styles
   ============================================ */

/* CSS Variables */
:root {
    --bg-body: #0a0a0f;
    --bg-light: #141420;
    --text-main: #ffffff;
    --text-muted: #a0a0b8;
    --accent: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #ec4899;
    --black: #000000;
    --white: #ffffff;
    --radius: 20px;
    --container: 1120px;
    --font-inter: 'Inter', sans-serif;
    --font-space: 'Space Grotesk', sans-serif;
    --glow-blue: rgba(99, 102, 241, 0.4);
    --glow-purple: rgba(139, 92, 246, 0.4);
    --glow-pink: rgba(236, 72, 153, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-inter);
    background: linear-gradient(135deg, #0a0a0f 0%, #141420 50%, #0f0f1a 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* Декоративні графічні елементи */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-glow 20s ease-in-out infinite;
    filter: blur(80px);
}

body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float-glow 25s ease-in-out infinite reverse;
    filter: blur(80px);
}

@keyframes float-glow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

/* ============================================
   Layout & Container
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.section {
    padding: 80px 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 40px 0;
    }
}

.bg-light {
    background: linear-gradient(135deg,
            rgba(20, 20, 32, 0.8) 0%,
            rgba(15, 15, 26, 0.9) 100%);
    position: relative;
}

.bg-light::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.bg-black {
    background-color: var(--black);
    color: var(--white);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(20, 20, 32, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.header.scrolled {
    background: rgba(20, 20, 32, 0.95);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.2);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.logo__img {
    width: 40px;
    height: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    flex-shrink: 0;
}

.logo:hover .logo__img {
    transform: scale(1.15) rotate(8deg);
    filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.8)) drop-shadow(0 0 24px rgba(139, 92, 246, 0.4));
    animation: logo-pulse 2s ease-in-out infinite;
}

@keyframes logo-pulse {

    0%,
    100% {
        filter: drop-shadow(0 0 16px rgba(99, 102, 241, 0.8)) drop-shadow(0 0 24px rgba(139, 92, 246, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(99, 102, 241, 1)) drop-shadow(0 0 32px rgba(139, 92, 246, 0.6)) drop-shadow(0 0 40px rgba(236, 72, 153, 0.3));
    }
}

.logo__text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-tertiary));
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover .logo__text {
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, var(--accent-secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.nav__link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-tertiary));
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: var(--text-main);
    opacity: 1;
}

.nav__link:hover::before {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.burger,
.nav__close {
    display: none;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 22px;
    cursor: pointer;
    position: relative;
    z-index: 100;
    padding: 4px;
    transition: all 0.3s ease;
}

.burger span {
    height: 2px;
    width: 100%;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.burger:hover span {
    background: var(--accent);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    background-size: 200% 200%;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4),
        0 0 0 0 rgba(99, 102, 241, 0.5);
    position: relative;
    overflow: hidden;
    animation: gradient-shift 3s ease infinite;
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--primary:hover {
    background-position: 100% 0;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6),
        0 0 0 4px rgba(99, 102, 241, 0.2);
    transform: translateY(-3px) scale(1.02);
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.btn--black {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn--black::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn--black:hover::before {
    width: 300px;
    height: 300px;
}

.btn--black:hover {
    background: linear-gradient(135deg, #252540 0%, #1a1a2e 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 0 2px rgba(99, 102, 241, 0.3);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(99, 102, 241, 0.5);
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn--outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn--outline:hover::before {
    left: 100%;
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
    transform: translateY(-3px) scale(1.02);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Hero */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__bg-decoration {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
}

.badge__glow {
    position: absolute;
    top: 50%;
    left: -20px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.6;
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {

    0%,
    100% {
        transform: translateX(0) translateY(-50%);
        opacity: 0.6;
    }

    50% {
        transform: translateX(calc(100vw + 40px)) translateY(-50%);
        opacity: 0.3;
    }
}

.hero__title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero__subtitle {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    font-weight: 400;
}

.hero__cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.hero__note {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.2) 0%,
            rgba(139, 92, 246, 0.2) 50%,
            rgba(236, 72, 153, 0.2) 100%);
    border-radius: 20px;
    margin-bottom: 28px;
    color: var(--accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow:
        0 8px 24px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
            var(--accent),
            var(--accent-secondary),
            var(--accent-tertiary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-6px) scale(1.1) rotate(5deg);
    box-shadow:
        0 16px 40px rgba(99, 102, 241, 0.4),
        inset 0 0 30px rgba(99, 102, 241, 0.2),
        0 0 0 4px rgba(99, 102, 241, 0.2);
}

.feature-item:hover .feature-icon::before {
    opacity: 1;
}

.feature-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 16px;
}

.feature-item {
    padding: 40px;
    background: rgba(20, 20, 32, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent),
            var(--accent-secondary),
            var(--accent-tertiary),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-item:hover::before {
    transform: translateX(100%);
}

.feature-item:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 0 40px rgba(99, 102, 241, 0.05);
    transform: translateY(-8px) scale(1.02);
    background: rgba(20, 20, 32, 0.8);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .grid-services {
        gap: 20px;
        margin-top: 32px;
        margin-bottom: 32px;
    }
}

.section-title {
    text-align: center;
    font-family: var(--font-space);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg,
            #ffffff 0%,
            var(--accent) 30%,
            var(--accent-secondary) 60%,
            #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 5s ease infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent) 20%,
            var(--accent-secondary) 50%,
            var(--accent-tertiary) 80%,
            transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

.service-card {
    background: rgba(20, 20, 32, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 0;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.1) 0%,
            rgba(139, 92, 246, 0.1) 50%,
            rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(99, 102, 241, 0.3),
        inset 0 0 40px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.5);
}

.service-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card h3,
.service-card p {
    padding: 0 32px;
}

.service-card h3 {
    padding-top: 32px;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-card p {
    padding-bottom: 32px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Split Content */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .split-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .split-content {
        gap: 32px;
    }
}

.text-block {
    position: relative;
}

.text-block h2 {
    font-family: var(--font-space);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 50%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-block p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.visual-block {
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-block:hover::before {
    opacity: 1;
}

.visual-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-block:hover img {
    transform: scale(1.05);
}

.sub-heading {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 16px;
    display: block;
}

.check-list {
    list-style: none;
    margin: 24px 0;
}

.check-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.link-arrow {
    color: var(--accent);
    font-weight: 500;
}

/* Reviews */
.review-section {
    position: relative;
    overflow: hidden;
}

.review-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--glow-blue) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, var(--glow-purple) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, var(--glow-pink) 0%, transparent 50%);
    pointer-events: none;
    filter: blur(60px);
    animation: float-glow 20s ease-in-out infinite;
}

.review-container {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .reviews-grid {
        gap: 24px;
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--accent),
            var(--accent-secondary),
            var(--accent-tertiary),
            transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.review-card:hover::before {
    transform: translateX(100%);
}

.review-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 0 40px rgba(99, 102, 241, 0.05);
}

.review-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 3px solid transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary), var(--accent-tertiary));
    padding: 3px;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(99, 102, 241, 0.2),
        0 0 30px rgba(99, 102, 241, 0.3);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.review-card:hover .review-avatar {
    transform: scale(1.1);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(99, 102, 241, 0.4);
}

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

.review-card blockquote {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 1.7;
    position: relative;
    padding: 0 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

.review-card blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -10px;
    top: -20px;
    opacity: 0.2;
    font-family: Georgia, serif;
    background: linear-gradient(135deg, var(--accent), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.review-card cite {
    font-style: normal;
    opacity: 0.85;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    display: block;
}

.section-title--white {
    color: var(--white);
    margin-bottom: 60px;
}

.section-title--white::after {
    background: linear-gradient(90deg,
            transparent 0%,
            var(--accent) 20%,
            var(--accent-secondary) 50%,
            var(--accent-tertiary) 80%,
            transparent 100%);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* Contact */
.contact-section {
    position: relative;
    background: linear-gradient(135deg,
            rgba(20, 20, 32, 0.95) 0%,
            rgba(15, 15, 26, 0.98) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .contact-wrapper {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-wrapper {
        gap: 32px;
    }
}

.contact-info {
    color: var(--white);
}

.contact-info h2 {
    font-family: var(--font-space);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg,
            #ffffff 0%,
            var(--accent) 30%,
            var(--accent-secondary) 60%,
            #ffffff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-gradient 5s ease infinite;
}

.contact-info__text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: var(--white);
    transform: translateX(4px);
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: var(--accent-secondary);
    transform: scale(1.1);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"] {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
}

.contact-form input[type="number"]::-webkit-inner-spin-button,
.contact-form input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.contact-form input[type="number"] {
    -moz-appearance: textfield;
}

.contact-form input:invalid:not(:placeholder-shown) {
    border-color: rgba(236, 72, 153, 0.5);
}

.form-error {
    font-size: 0.85rem;
    color: rgba(236, 72, 153, 0.9);
    margin-top: 4px;
    display: none;
    padding: 8px 12px;
    background: rgba(236, 72, 153, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.form-group:has(input:invalid:not(:placeholder-shown)) .form-error {
    display: block;
}

/* Captcha */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.captcha-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(99, 102, 241, 0.3);
    min-width: 120px;
    text-align: center;
}

#contact-captcha {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.form-group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 14px;
    font-weight: bold;
}

.checkbox-text {
    flex: 1;
}

.checkbox-text a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: var(--accent-secondary);
}

.cta-box {
    text-align: center;
    background: rgba(20, 20, 32, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 80px 40px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.simple-form {
    max-width: 400px;
    margin: 32px auto;
    display: flex;
    gap: 8px;
}

.simple-form input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-main);
}

.simple-form input::placeholder {
    color: var(--text-muted);
}

.simple-form input:focus {
    border-color: var(--accent);
    box-shadow:
        0 0 0 4px rgba(99, 102, 241, 0.2),
        inset 0 0 20px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.small-text {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.small-text a {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 80px 0 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 100%);
    color: var(--white);
    font-size: 0.95rem;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 60px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .footer__top {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer__top {
        gap: 32px;
    }
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer__logo-img {
    width: 40px;
    height: 40px;
}

.footer__logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

.footer__heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.footer__nav-list,
.footer__legal-list,
.footer__contacts-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-list a,
.footer__legal-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer__nav-list a:hover,
.footer__legal-list a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.footer__contacts-list {
    gap: 16px;
}

.footer__contacts-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer__icon {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer__contacts-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contacts-list a:hover {
    color: var(--accent);
}

.footer__contacts-list span {
    color: rgba(255, 255, 255, 0.8);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-size: 0.85rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(20, 20, 32, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 40px rgba(99, 102, 241, 0.1);
    z-index: 1000;
    max-width: 500px;
    display: none;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: var(--text-main);
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner__content {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cookie-banner__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.cookie-banner__text {
    flex: 1;
}

.cookie-banner__text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}

.cookie-banner__text p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.cookie-banner__text a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-banner__text a:hover {
    color: var(--accent-secondary);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions .btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: 100%;
        padding: 20px;
    }

    .cookie-banner__content {
        flex-direction: column;
        gap: 12px;
    }

    .cookie-banner__icon {
        width: 36px;
        height: 36px;
    }

    .cookie-banner__text h4 {
        font-size: 1rem;
    }

    .cookie-banner__text p {
        font-size: 0.85rem;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.modal__content {
    background: rgba(20, 20, 32, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    color: var(--text-main);
    max-height: 90vh;
    overflow-y: auto;
}

.modal__content::-webkit-scrollbar {
    width: 8px;
}

.modal__content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal__content::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 4px;
}

.modal__content::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

.modal__content--large {
    max-width: 600px;
}

.modal__subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    margin-top: 8px;
}

.modal.active .modal__content {
    transform: scale(1);
    opacity: 1;
}

@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }

    .modal__overlay {
        background: rgba(0, 0, 0, 0.6);
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.modal-form input {
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius);
    width: 100%;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
}

.modal-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

/* Modal Text Content */
.modal-text-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 24px;
}

.modal-text-content::-webkit-scrollbar {
    width: 8px;
}

.modal-text-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-text-content::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 4px;
}

.modal-text-content::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}

.modal-text-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-main);
}

.modal-text-content h4:first-of-type {
    margin-top: 0;
}

.modal-text-content p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: var(--text-muted);
}

.modal-text-content ul {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-muted);
}

.modal-text-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.modal-text-content a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-text-content a:hover {
    color: var(--accent-secondary);
}

/* Quiz Form Styles */
.quiz-form {
    margin-top: 32px;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-question {
    margin-bottom: 32px;
}

.quiz-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quiz-option::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    transition: width 0.3s ease;
    z-index: 0;
}

.quiz-option:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.quiz-option:hover::before {
    width: 4px;
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 16px;
    cursor: pointer;
    accent-color: var(--accent);
    position: relative;
    z-index: 1;
}

.quiz-option span {
    flex: 1;
    position: relative;
    z-index: 1;
    color: var(--text-main);
}

.quiz-option input:checked+span {
    color: var(--accent);
    font-weight: 500;
}

.quiz-option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.quiz-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.quiz-input::placeholder {
    color: var(--text-muted);
}

.quiz-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.quiz-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 16px;
}

.quiz-progress {
    margin-top: 24px;
}

.quiz-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent-tertiary));
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 25%;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.quiz-progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    display: block;
}

/* Додаткові графічні елементи */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item {
    position: relative;
}

.feature-item:hover::after {
    opacity: 1;
}

/* Покращення для hero */
.hero__title {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Small Tablet / Large Mobile */
@media (max-width: 840px) and (min-width: 769px) {
    .header__container {
        padding: 0 20px;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .header__actions {
        gap: 12px;
        flex-shrink: 0;
        min-width: 0;
    }

    .header__actions .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        white-space: nowrap;
        min-width: auto;
        flex-shrink: 1;
    }

    .nav {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .nav__list {
        gap: 12px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav__list::-webkit-scrollbar {
        display: none;
    }

    .nav__link {
        font-size: 0.85rem;
        padding: 8px 4px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .logo {
        flex-shrink: 0;
        min-width: 120px;
    }

    .logo__text {
        font-size: 0.95rem;
    }

    .logo__img {
        width: 36px;
        height: 36px;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .header__actions .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .nav__list {
        gap: 24px;
    }

    .nav__list {
        gap: 20px;
    }

    .nav__link {
        font-size: 0.9rem;
    }

    .hero__title {
        font-size: 3rem;
    }

    .grid-3 {
        gap: 32px;
    }

    .grid-services {
        gap: 24px;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .grid-3,
    .grid-services {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .split-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer__top {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Image Responsive Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.service-card__image img,
.visual-block img,
.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
    .header__container {
        padding: 0 20px;
    }

    .logo__img {
        width: 32px;
        height: 32px;
    }

    .logo__text {
        font-size: 1rem;
    }

    .header__actions {
        gap: 12px;
    }

    .header__actions .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .header__actions .btn--primary {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 320px;
        background: rgba(20, 20, 32, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 32px 32px;
        transition: right 0.3s ease;
        z-index: 999;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -4px 0 40px rgba(0, 0, 0, 0.5);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        align-items: flex-start;
    }

    .nav__list li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav__link {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
        color: var(--text-main);
        width: 100%;
        transition: all 0.3s ease;
    }

    .nav__link:hover {
        color: var(--accent);
        padding-left: 12px;
        opacity: 1;
    }

    .nav__link::before {
        display: none;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 2rem;
        background: none;
        border: none;
        color: var(--text-main);
        cursor: pointer;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .nav__close:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent);
        transform: rotate(90deg);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero__content {
        padding: 0 20px;
    }

    .hero__title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero__subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .hero__cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta-group .btn {
        width: 100%;
    }

    .text-block h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero {
        min-height: 80vh;
        padding: 100px 0 80px;
    }

    .grid-3,
    .grid-services,
    .split-content,
    .reviews-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .grid-3 {
        gap: 32px;
    }

    .grid-services {
        gap: 24px;
    }

    .contact-wrapper {
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .reviews-grid {
        gap: 32px;
    }

    .review-card {
        padding: 32px 24px;
    }

    .review-card blockquote {
        font-size: 1rem;
        padding: 0 10px;
    }

    .section-title--white {
        margin-bottom: 40px;
    }

    .simple-form {
        flex-direction: column;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__brand {
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    /* Modal improvements for mobile */
    .modal__content {
        width: 95%;
        max-width: 100%;
        padding: 32px 24px;
        max-height: 90vh;
        overflow-y: auto;
        margin: 20px;
    }

    .modal__content--large {
        padding: 24px 20px;
    }

    .modal__close {
        top: 12px;
        right: 12px;
        font-size: 1.8rem;
        width: 36px;
        height: 36px;
    }

    .modal-text-content {
        max-height: calc(90vh - 100px);
        padding-right: 4px;
    }

    .modal-text-content h4 {
        font-size: 1.1rem;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .modal-text-content p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .faq-question {
        padding: 18px 20px;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 18px;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.faq-item {
    background: rgba(20, 20, 32, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: rgba(99, 102, 241, 0.2);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 32px 24px;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 20px 24px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 24px;
    }

    .faq-item.active .faq-answer {
        padding: 0 24px 20px;
    }
}