:root {
    /* Цвета из референса superhello (Яркий нео-брутализм) */
    --color-bg-pink: #F595DB;
    --color-bg-yellow: #FFD166;
    --color-bg-blue: #93C5FD;
    --color-bg-green: #86EFAC;
    --color-bg-white: #FFFFFF;
    --color-bg-black: #111111;

    /* Warm Brutalism / Filament / Hookai Additions */
    --color-bg-bone: oklch(0.97 0.01 90); /* Тёплый кремовый фон */
    --border-bone: 1px solid oklch(0.88 0.01 90); /* Тонкий разделитель */
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    
    --color-text: #000000;
    --color-text-white: #FFFFFF;

    --color-accent-orange: #FF8E3C;
    --color-accent-pink-dark: #E074C4;
    --color-accent-purple: #C084FC;

    /* Borders & Neo-Brutalist Shadows */
    --border-width: 3px;
    --border-main: var(--border-width) solid #000000;

    --shadow-brutal: 6px 6px 0px 0px #000000;
    --shadow-brutal-hover: 10px 10px 0px 0px #000000;
    --shadow-brutal-active: 0px 0px 0px 0px #000000;
    --shadow-brutal-sm: 4px 4px 0px 0px #000000;

    --border-radius-sm: 12px;
    --border-radius-md: 32px;
    /* Усилено для эффекта "пухлости" */
    --border-radius-pill: 9999px;

    /* Fonts */
    --font-heading: 'Jost', system-ui, sans-serif;
    --font-body: 'Jost', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100%;
    background-color: var(--color-bg-bone);
    position: relative;
}

/* Premium Upgrade 10.0: Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    /* Basic SVG noise pattern */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
}

/* Utilities */
.pt-xl {
    padding-top: 140px;
}

.pb-xl {
    padding-bottom: 140px;
}

.center {
    text-align: center;
}

.w-full {
    width: 100%;
}

.hidden {
    display: none !important;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

/* Premium Upgrade 10.0: Section Label */
.section-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text);
    opacity: 0.7;
    margin-bottom: 24px;
    font-weight: 700;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--border-radius-pill);
    font-weight: 800;
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: var(--border-main);
    box-shadow: var(--shadow-brutal-sm);
    gap: 8px;
    color: var(--color-text);
}

.btn:hover {
    transform: translate(-2px, -2px) scaleY(1.02);
    box-shadow: var(--shadow-brutal-hover);
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: var(--shadow-brutal-active);
}

.btn-orange {
    background-color: var(--color-accent-orange);
}

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

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

.btn-black:hover {
    color: white;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-main);
    border-radius: var(--border-radius-pill);
    box-shadow: var(--shadow-brutal-sm);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--color-bg-white);
    z-index: 100;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: var(--border-main);
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.mobile-menu-links a {
    color: var(--color-text);
    text-decoration: none;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.mobile-floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-accent-orange);
    color: var(--color-text);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-brutal-sm);
    border: var(--border-main);
    z-index: 45;
    cursor: pointer;
    transition: transform 0.2s;
}

.mobile-floating-cta:active {
    transform: translate(2px, 2px);
    box-shadow: 0px 0px 0px 0px #000;
}

.mobile-floating-cta svg {
    width: 32px;
    height: 32px;
}

/* --- Hero --- */
.hero-cta {
    display: flex;
    gap: 16px;
}

.nav-container {
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.75rem;
    letter-spacing: -0.05em;
    color: var(--color-text);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn) {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    transition: transform 0.2s;
    display: inline-block;
}

.nav-links a:not(.btn):hover {
    transform: translateY(-2px);
}

/* Shape Dividers (Wavy Ends) */
.shape-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    transform: rotate(180deg);
}

.shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* --- Hero Section (Pink) --- */
.hero {
    min-height: 100vh;
    background-color: var(--color-bg-pink);
    padding: 140px 0 60px 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    gap: 40px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 6rem);
    /* Premium Upgrade 10.0: Huge headers */
    margin-bottom: 24px;
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 600px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.title-small {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-bg-white);
    line-height: 0.8;
    margin-left: 5px;
}

.title-large {
    font-size: clamp(4rem, 10vw, 8rem);
    color: var(--color-bg-white);
    line-height: 0.8;
    letter-spacing: -0.05em;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 800;
    margin-top: 24px;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
}

/* Robot Animations */
.robot-float {
    animation: float 4s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-30px);
    }
}

.eyes .pupil {
    animation: look 5s infinite;
}

@keyframes look {

    0%,
    20% {
        transform: translateX(0);
    }

    25%,
    45% {
        transform: translateX(5px);
    }

    50%,
    70% {
        transform: translateX(-5px);
    }

    75%,
    100% {
        transform: translateX(0);
    }
}

.bulb {
    animation: blink 2s infinite alternate;
}

@keyframes blink {

    0%,
    40% {
        fill: #f9a8d4;
    }

    60%,
    100% {
        fill: #ef4444;
    }
}

.screen-wave {
    stroke-dasharray: 200;
    animation: dashWave 3s linear infinite;
}

@keyframes dashWave {
    from {
        stroke-dashoffset: 200;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.arm-left {
    animation: rotateArm 3s infinite alternate;
    transform-origin: 60px 250px;
}

@keyframes rotateArm {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(20deg);
    }
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 80px;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    /* Premium Upgrade 10.0 */
    margin-bottom: 16px;
    display: inline-block;
    background: var(--color-bg-white);
    padding: 8px 32px;
    border: var(--border-main);
    border-radius: var(--border-radius-pill);
    box-shadow: var(--shadow-brutal-sm);
    line-height: 1;
}

.section-header p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

/* --- Services (Yellow Section) --- */
.services-section {
    background-color: var(--color-bg-yellow);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.service-card {
    background: var(--color-bg-white);
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    padding: 40px 32px;
    transition: transform 0.2s ease, box-shadow 0.2s;
    box-shadow: var(--shadow-brutal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-hover);
}

/* Hookai style progress bar hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 6px;
    width: 0;
    background-color: var(--color-text);
    transition: width 0.4s ease;
    z-index: 3;
}

.service-card:hover::after {
    width: 100%;
}

.service-card:nth-child(1)::after { background-color: var(--color-accent-pink-dark); }
.service-card:nth-child(2)::after { background-color: var(--color-bg-green); }
.service-card:nth-child(3)::after { background-color: var(--color-accent-orange); }

.service-card .icon-wrapper {
    width: 64px;
    height: 64px;
    border: var(--border-main);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: var(--shadow-brutal-sm);
}

.service-card:nth-child(1) .icon-wrapper {
    background-color: var(--color-accent-pink-dark);
    color: white;
}

.service-card:nth-child(2) .icon-wrapper {
    background-color: var(--color-bg-green);
}

.service-card:nth-child(3) .icon-wrapper {
    background-color: var(--color-accent-orange);
}

.service-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.service-card p {
    font-weight: 600;
    font-size: 1.125rem;
}

/* --- Membership Benefits (White Section) --- */
.benefits-section {
    background-color: var(--color-bg-bone);
    position: relative;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.benefit-card {
    text-align: left;
    background: var(--color-bg-white);
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-brutal);
    transition: transform 0.2s;
}

.benefit-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-hover);
}

.benefit-card-img {
    height: 160px;
    border-bottom: var(--border-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-card-img svg {
    width: 80px;
    height: 80px;
}

/* Alternating header colors */
.benefit-card:nth-child(1) .benefit-card-img {
    background-color: var(--color-bg-pink);
}

.benefit-card:nth-child(2) .benefit-card-img {
    background-color: var(--color-bg-yellow);
}

.benefit-card:nth-child(3) .benefit-card-img {
    background-color: var(--color-bg-blue);
}

.benefit-card:nth-child(4) .benefit-card-img {
    background-color: var(--color-bg-green);
}

.benefit-card-body {
    padding: 32px;
}

.benefit-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.benefit-card-body p {
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1.4;
}

/* --- ROI Section (Blue Section) --- */
.roi-section {
    background-color: var(--color-bg-blue);
    position: relative;
}

.roi-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-bg-bone);
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    box-shadow: var(--shadow-brutal);
}

.roi-info h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.roi-info p {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 32px;
}

.metric {
    background: var(--color-bg-white);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border: var(--border-bone);
    margin-bottom: 16px;
    box-shadow: var(--shadow-soft);
}

.metric.highlight {
    background: var(--color-bg-yellow);
}

.metric-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 900;
}

.premium-input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: var(--border-main);
    background: white;
    font-size: 1.125rem;
    font-family: inherit;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.2s;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.premium-input:focus {
    outline: none;
    box-shadow: var(--shadow-brutal-sm);
    transform: translate(-2px, -2px);
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-text);
}

/* --- Cases Grid (Pink Section) --- */
.cases-section {
    background-color: var(--color-bg-pink);
    position: relative;
}

.cases-tabs-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 10px;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.tab-btn {
    background: var(--color-bg-white);
    border: var(--border-main);
    padding: 12px 24px;
    border-radius: var(--border-radius-pill);
    font-size: 1.125rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-brutal-sm);
    transition: all 0.2s;
    white-space: nowrap;
    color: var(--color-text);
    font-family: inherit;
}

.tab-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-brutal-hover);
}

.tab-btn.active {
    background: var(--color-bg-yellow);
    box-shadow: inset 4px 4px 0px rgba(0, 0, 0, 0.1);
    transform: translate(2px, 2px);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block;
}

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

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

.case-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--color-bg-bone);
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-brutal);
}

.case-info h3 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.1;
}

.case-desc {
    font-size: 1.125rem;
    margin-bottom: 32px;
}

.case-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tag {
    font-size: 0.875rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--border-radius-pill);
    background: var(--color-bg-yellow);
    color: var(--color-text);
    border: var(--border-main);
    text-transform: uppercase;
    box-shadow: 2px 2px 0 0 #000;
}

.case-metrics {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.case-metrics .metric {
    flex: 1;
    min-width: 140px;
    padding: 16px;
    margin-bottom: 0;
    box-shadow: var(--shadow-soft);
    border: var(--border-bone);
}

.case-metrics .metric-value {
    font-size: 2rem;
}

/* Architecture Graphic */
.case-architecture {
    background: var(--color-bg-white);
    border: var(--border-main);
    border-radius: var(--border-radius-sm);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: radial-gradient(rgba(0, 0, 0, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
}

.arch-box {
    background: var(--color-bg-bone);
    border: var(--border-main);
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 800;
    text-align: center;
    box-shadow: var(--shadow-brutal-sm);
    z-index: 2;
    margin: 8px 0;
    position: relative;
    word-break: break-word;
    /* Fix overflow text */
    max-width: 100%;
}

.arch-arrow {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-text);
    margin: -8px 0;
    z-index: 1;
    line-height: 1;
}

.arch-flow-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.arch-flow-row.triple {
    gap: 8px;
}

.arch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-col .arch-box {
    font-size: 0.9rem;
    padding: 10px 16px;
}

.arch-box.accent-pink {
    background: var(--color-bg-pink);
}

.arch-box.accent-yellow {
    background: var(--color-bg-yellow);
}

.arch-box.accent-blue {
    background: var(--color-bg-blue);
}

/* --- Pricing Section (Yellow Section) --- */
.pricing-section {
    background-color: var(--color-bg-yellow);
    position: relative;
    padding-top: 180px;
}

.pricing-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}

.pricing-info {
    flex: 1;
    max-width: 500px;
    padding-bottom: 80px;
}

.pricing-info h2 {
    font-size: 4rem;
    line-height: 0.9;
    margin-bottom: 32px;
    letter-spacing: -0.05em;
}

.pricing-info p {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 40px;
}

.slots-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-text);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow-brutal);
}

.slots-indicator .number {
    background: white;
    color: black;
    border-radius: 8px;
    padding: 4px 12px;
    font-size: 1.5rem;
}

.pricing-cards {
    display: flex;
    gap: 32px;
    padding-bottom: 0px;
    margin-bottom: 80px;
    position: relative;
    z-index: 10;
}

.pricing-card {
    background: var(--color-bg-bone);
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    padding: 40px;
    width: 320px;
    box-shadow: var(--shadow-brutal);
    display: flex;
    flex-direction: column;
}

.pricing-card-header {
    margin-bottom: 32px;
    border-bottom: 2px dashed #000;
    padding-bottom: 24px;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.pricing-price {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    display: flex;
    align-items: baseline;
}

.pricing-price span {
    font-size: 1.5rem;
    font-weight: 600;
    margin-left: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 4px;
}

/* SVG Rabbit Graphic */
.pricing-rabbit {
    position: absolute;
    right: 2%;
    bottom: -10px;
    width: 380px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

/* --- FAQ Section (White Section) --- */
.faq-section {
    background-color: var(--color-bg-bone);
    position: relative;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-item {
    border: var(--border-main);
    background: var(--color-bg-bone);
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-brutal-sm);
    overflow: hidden;
}

.faq-header {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 800;
    font-size: 1.5rem;
}

.faq-header.active {
    background-color: var(--color-bg-yellow);
}

.faq-body {
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-weight: 500;
    font-size: 1.125rem;
}

.faq-header.active+.faq-body {
    padding: 24px 32px;
    max-height: 500px;
    border-top: var(--border-main);
}


/* --- Contact CTA (Before Footer) --- */
.contact-cta {
    background-color: var(--color-bg-pink);
    padding: 100px 24px 140px;
    text-align: center;
    position: relative;
    border-top: var(--border-main);
}

.contact-form-block {
    max-width: 600px;
    margin: 40px auto 0;
    background: var(--color-bg-bone);
    padding: 40px;
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-brutal);
    text-align: left;
}

/* --- Footer (Black) --- */
footer {
    background-color: var(--color-bg-black);
    color: var(--color-text-white);
    padding: 100px 24px 60px;
    position: relative;
}

/* Specific black to white wave */
.shape-divider-black {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider-black svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .logo {
    font-weight: 900;
    font-size: 3rem;
    color: white;
    margin-bottom: 24px;
}

.footer-brand p {
    font-weight: 600;
    font-size: 1.25rem;
    color: #a1a1aa;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li {
    margin-bottom: 16px;
}

.footer-col a {
    color: #a1a1aa;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-accent-pink-dark);
}

/* --- Animations (Reveal & Stagger) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Premium Upgrade 10.0: Staggered Reveals */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active .stagger-item,
.reveal.active.stagger-item {
    opacity: 1;
    transform: translateY(0);
}

.reveal.active .stagger-1 {
    transition-delay: 0.1s;
}

.reveal.active .stagger-2 {
    transition-delay: 0.2s;
}

.reveal.active .stagger-3 {
    transition-delay: 0.3s;
}

.reveal.active .stagger-4 {
    transition-delay: 0.4s;
}

.reveal.active .stagger-5 {
    transition-delay: 0.5s;
}

.reveal.active .stagger-6 {
    transition-delay: 0.6s;
}


/* Responsive text for stagger labels */
.step-number-bg {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 900;
    line-height: 0.8;
    color: var(--color-bg-white);
    -webkit-text-stroke: 2px #000;
    opacity: 0.5;
    position: absolute;
    top: -20px;
    right: 20px;
    z-index: 0;
}

/* --- Modal Window --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background-color: var(--color-bg-bone);
    border: var(--border-main);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-brutal);
    padding: 40px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--color-accent-pink);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.modal-desc {
    color: #666;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.modal-input {
    padding: 14px 16px;
    font-size: 1rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    border: var(--border-main);
    border-radius: var(--border-radius-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus {
    transform: translate(-2px, -2px);
    box-shadow: 0 0 0 2px var(--color-accent-orange), var(--shadow-brutal-sm);
    outline: none;
}

.radio-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    background: #fff;
}

.radio-label input {
    display: none;
}

.radio-label input:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
}

.tags-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag-label {
    cursor: pointer;
}

.tag-label input {
    display: none;
}

.tag-text {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid #000;
    border-radius: 12px;
    background: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 4px 4px 0 0 #000;
    transition: all 0.2s ease;
}

.case-tags .tag {
    display: inline-block;
    padding: 6px 12px;
    border: 2px solid #000;
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 2px 2px 0 0 #000;
}

.tag-label input:checked+.tag-text {
    background: var(--color-bg-green);
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0 0 #000;
}

.checkbox-group {
    margin-top: 16px;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #000;
    border-radius: 4px;
    background: #fff;
    position: relative;
    margin-top: 2px;
}

.checkbox-label input {
    display: none;
}

.checkbox-label input:checked+.checkbox-custom::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: #000;
}

.policy-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.policy-text a {
    color: var(--color-accent-blue);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        align-items: center;
    }

    .benefits-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 24px;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        margin: 0 -24px;
        padding: 0 24px 24px 24px;
        scrollbar-width: none;
        /* Firefox */
    }

    .benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .benefit-card {
        min-width: 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .benefits-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 24px;
        margin: 0 -24px;
        padding: 0 24px 24px 24px;
        scrollbar-width: none;
    }

    .benefits-grid::-webkit-scrollbar {
        display: none;
    }

    .services-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 24px;
        margin: 0 -24px;
        padding: 0 24px 24px 24px;
        scrollbar-width: none;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        min-width: 80vw;
        max-width: 80vw;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

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

    .cases-tabs-container {
        max-width: 100%;
        overflow: hidden;
    }

    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -24px;
        padding: 0 24px 16px 24px;
        scrollbar-width: none;
    }

    .tabs-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .case-tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -24px;
        padding: 0 24px 12px 24px;
        scrollbar-width: none;
    }

    .case-tags::-webkit-scrollbar {
        display: none;
    }

    .case-tags .tag {
        flex-shrink: 0;
    }

    .case-content-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .pricing-cards {
        flex-direction: column;
    }

    .pricing-rabbit {
        display: none;
    }

    .roi-container {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-bottom-bar>div:last-child {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-floating-cta {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .pricing-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .hero-title .title-large {
        font-size: 2.5rem;
    }

    .hero-title .title-small {
        font-size: 1.25rem;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .case-info h3 {
        font-size: 1.5rem;
    }

    .pricing-info h2 {
        font-size: 2.5rem;
    }

    .pricing-price {
        font-size: 2.5rem;
    }

    .pricing-card {
        padding: 24px;
        width: 100%;
    }

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

    /* Wrapped Tabs Logic 11.0 */
    .tabs-nav {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 24px 0;
        padding: 0;
        overflow: visible;
        justify-content: flex-start;
    }

    .tab-btn {
        flex: 0 1 auto;
        white-space: normal;
        text-align: left;
        padding: 8px 16px;
        font-size: 0.95rem;
    }

    .tab-pane {
        display: none;
        animation: fadeIn 0.4s ease;
    }

    .tab-pane.active {
        display: block;
    }

    .case-content-grid {
        padding: 0 16px;
        gap: 24px;
        width: 100%;
        box-sizing: border-box;
    }

    /* 9.0: Reorder case info (Title -> Desc -> Tags -> Schema Btn) */
    .case-info {
        display: flex;
        flex-direction: column;
    }

    .case-info h3 {
        font-size: 1.4rem;
        word-wrap: break-word;
        hyphens: auto;
        order: 1;
        margin-top: 0;
        margin-bottom: 12px;
    }

    .case-desc {
        order: 2;
    }

    .case-tags {
        order: 3;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin: 16px 0 0 0;
        padding: 0;
        overflow: visible;
    }

    /* Format read-more to fit new order if needed */
    .read-more-btn {
        margin-top: 12px;
    }

    /* 9.0: Hide inline schema, show via modal button */
    .case-architecture {
        display: none !important;
    }

    .mobile-arch-btn {
        order: 4;
        margin-top: 24px;
        text-align: center;
        align-self: flex-start;
        width: 100%;
    }

    .arch-box {
        padding: 12px 16px;
        font-size: 0.85rem;
        max-width: 100%;
        box-sizing: border-box;
        word-break: break-word;
    }

    .arch-flow-row {
        flex-direction: column;
        gap: 16px;
    }

    .benefit-card {
        padding: 24px;
    }

    .pt-xl {
        padding-top: 56px !important;
    }

    .pb-xl {
        padding-bottom: 56px !important;
    }

    .services-section,
    .benefits-section,
    .roi-section,
    .cases-section {
        padding-top: 56px !important;
    }

    .pricing-section {
        padding-top: 40px !important;
    }

    .pricing-info {
        padding-bottom: 0px !important;
    }

    .pricing-info h2 {
        font-size: 2rem;
        margin-bottom: 4px;
    }

    .pricing-info p {
        margin-bottom: 0px;
    }

    .slots-indicator {
        display: none !important;
    }

    .contact-inline-card {
        padding: 16px !important;
    }

    .modal-content {
        padding: 16px;
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }

    .modal-desc {
        display: none;
    }

    .form-group {
        margin-bottom: 10px;
    }

    .form-group label {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .modal-input {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .tags-group {
        gap: 8px;
    }

    .tag-text {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .case-tags .tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    footer {
        padding-top: 56px !important;
    }

    .faq-header {
        font-size: 1.2rem;
        padding: 16px 20px;
    }

    .faq-header.active+.faq-body {
        padding: 16px 20px;
        font-size: 1rem;
    }

    /* Expandable Mobile Case Text */
    .expandable-on-mobile {
        position: relative;
    }

    .expandable-on-mobile .case-desc-inner {
        max-height: 90px;
        overflow: hidden;
        transition: max-height 0.3s ease;
        position: relative;
    }

    .expandable-on-mobile:not(.expanded) .case-desc-inner::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, transparent, var(--color-bg-white));
        pointer-events: none;
    }

    .expandable-on-mobile.expanded .case-desc-inner {
        max-height: 1000px;
    }

    .read-more-btn {
        display: block;
        width: 100%;
        text-align: left;
        background: none;
        border: none;
        color: #000;
        font-weight: 800;
        padding: 12px 0 0 0;
        margin-top: 4px;
        cursor: pointer;
        font-size: 1rem;
        text-decoration: underline;
    }
}

@media (min-width: 769px) {
    .read-more-btn {
        display: none;
    }
}
/* ====== NEW CASES GRID CSS ====== */
.cases-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
    margin-top: 40px;
}

.case-card {
    background: var(--color-bg-white);
    border: 3px solid #000;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 8px 8px 0px 0px #000;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px 0px #000;
}

.case-card h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.2;
}

.case-short-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 24px;
    flex-grow: 1;
}

.case-modal-data {
    display: none !important;
}

#case-modal-desc {
    background: #fff;
    padding: 16px;
    border: 2px solid #000;
    border-radius: 12px;
    box-shadow: 4px 4px 0px 0px #000;
}

/* --- Process Schema (Redesigned Benefits) --- */
.process-schema {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}

.process-schema::before {
    background: #E5E7EB; /* Сначала серая линия */
    content: '';
    position: absolute;
    left: 48px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: #000;
    z-index: 1;
}

@media (max-width: 768px) {
    .process-schema::before {
    background: #E5E7EB; /* Сначала серая линия */
        left: 40px;
    }
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .process-step {
        gap: 16px;
    }
}

.step-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-bg-white);
    border: 4px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 4px 4px 0 0 #000;
}

.process-step:nth-child(1) .step-marker { background: var(--color-bg-pink); }
.process-step:nth-child(2) .step-marker { background: var(--color-bg-yellow); }
.process-step:nth-child(3) .step-marker { background: var(--color-bg-blue); }
.process-step:nth-child(4) .step-marker { background: var(--color-bg-green); }

.step-content {
    background: transparent;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1.1;
}

@media (max-width: 768px) {
    .step-content h3 {
        font-size: 1.5rem;
    }
}

.step-content p {
    font-size: 1.125rem;
    font-weight: 500;
    color: #222;
    max-width: 600px;
}

/* --- 13.0 Mesh Background for Hero --- */
.mesh-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}
.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: floatOrb 15s ease-in-out infinite alternate;
}
.mesh-pink { width: 50vw; height: 50vw; background: var(--color-bg-pink); top: -10vw; left: -10vw; }
.mesh-blue { width: 40vw; height: 40vw; background: var(--color-bg-blue); bottom: -10vw; right: -5vw; animation-delay: -5s; }
.mesh-yellow { width: 30vw; height: 30vw; background: var(--color-bg-yellow); top: 30%; left: 40%; animation-delay: -10s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 5vw) scale(1.2); }
}

.schema-progress-line {
    position: absolute;
    left: 48px;
    top: 20px;
    width: 4px;
    background: #000;
    z-index: 1;
    height: 0%;
    transform-origin: top;
    transition: height 0.1s ease-out;
}
@media (max-width: 768px) {
    .schema-progress-line { left: 40px; }
}

/* --- 13.0 Magnetic Button --- */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.2s, box-shadow 0.2s;
}
.magnetic-btn:hover {
    transition: none; /* Disable transition during mousemove for instant follow */
}
.magnetic-btn .btn-text {
    display: inline-block;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
