/* ==========================================================================
   CSS Variables & Tokens
   ========================================================================== */
:root {
    --color-bg: #f3f6fc;
    --color-surface: #ffffff;
    --color-text-main: #0b1220;
    --color-text-muted: #55637a;
    --color-primary: #2253d8;
    --color-primary-hover: #1942b1;
    --color-secondary: #d9e2f1;
    --color-accent: #6c4cf7;
    --color-border: rgba(14, 25, 44, 0.08);
    
    --glass-bg: rgba(255, 255, 255, 0.78);
    --glass-border: rgba(255, 255, 255, 0.55);
    --glass-shadow: 0 18px 40px rgba(29, 42, 72, 0.08);
    
    --font-main: 'Inter', sans-serif;
    
    --transition-fast: 0.22s ease;
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 12% 8%, rgba(34, 83, 216, 0.08), transparent 42%),
                      radial-gradient(circle at 84% 2%, rgba(108, 76, 247, 0.09), transparent 34%);
}

input,
button,
select {
    font: inherit;
}

:focus-visible {
    outline: 2px solid rgba(34, 83, 216, 0.45);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.85rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--color-text-main);
}

.section-head {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.section-head--narrow {
    max-width: 52rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .pains__grid {
        grid-template-columns: 1fr;
    }
}

.section-padding {
    padding: 60px 0;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    padding: 40px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    padding: 30px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(29, 42, 72, 0.14);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    font-size: 0.98rem;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 12px 25px rgba(34, 83, 216, 0.28);
}

.btn--primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(34, 83, 216, 0.36);
}

.btn:disabled,
.btn[disabled] {
    cursor: not-allowed;
    opacity: 0.62;
    transform: none;
    box-shadow: none;
}

.btn--secondary {
    background-color: var(--color-surface);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 18px rgba(11, 18, 32, 0.08);
}

.btn--secondary:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-text-main);
    border: 1px solid var(--color-secondary);
}

.btn--outline:hover {
    border-color: var(--color-text-main);
    background-color: var(--color-text-main);
    color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(243, 246, 252, 0.82);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(14, 25, 44, 0.06);
    transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.header.is-scrolled {
    box-shadow: 0 10px 22px rgba(13, 24, 43, 0.1);
    background: rgba(243, 246, 252, 0.95);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo__link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.logo__link:focus-visible {
    outline-offset: 4px;
}

.logo {
    width: clamp(59px, 6.67vw, 84px);
}

.logo svg,
.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.logo__color {
    -webkit-animation: color 7s infinite;
    animation: color 7s infinite;
}

@-webkit-keyframes color {
    from {
        fill: #3791FF;
    }
    25% {
        fill: #9D69F6;
    }
    50% {
        fill: #83C867;
    }
    75% {
        fill: #F2B546;
    }
    to {
        fill: #3791FF;
    }
}

@keyframes color {
    from {
        fill: #3791FF;
    }
    25% {
        fill: #9D69F6;
    }
    50% {
        fill: #83C867;
    }
    75% {
        fill: #F2B546;
    }
    to {
        fill: #3791FF;
    }
}

.color {
    -webkit-animation-name: color;
    animation-name: color;
}

.header__logo .logo svg path:not(.logo__color) {
    fill: var(--color-text-main);
}

.header__nav {
    display: flex;
    gap: 30px;
}

.nav__link {
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.nav__link:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    padding: 96px 0 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero__bg-gradient {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 56% 40%, rgba(34, 83, 216, 0.2) 0%, rgba(243, 246, 252, 0) 68%),
                radial-gradient(circle at 82% 18%, rgba(108, 76, 247, 0.16) 0%, rgba(243, 246, 252, 0) 42%);
    z-index: -1;
    pointer-events: none;
}

.hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero__content {
    flex: 1;
    max-width: 700px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(34, 83, 216, 0.12);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero__illustration {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.hero-visual {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-photo {
    position: relative;
    width: 100%;
    max-width: none;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 28px 56px rgba(29, 42, 72, 0.16),
        0 0 0 1px rgba(34, 83, 216, 0.1);
}

.hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        205deg,
        rgba(243, 246, 252, 0.5) 0%,
        transparent 42%,
        rgba(34, 83, 216, 0.08) 100%
    );
}

.hero-photo__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1000 / 666;
    object-fit: cover;
    transform: scale(1.02);
    filter: blur(0.5px);
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo__img {
        transform: none;
        filter: none;
    }
}

.hero__title {
    font-size: clamp(2.2rem, 4.4vw, 4.1rem);
    letter-spacing: -0.04em;
    margin-bottom: 22px;
}

.hero__title span {
    color: transparent;
    background: linear-gradient(135deg, var(--color-primary) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero__subtitle {
    font-size: 1.12rem;
    color: var(--color-text-muted);
    max-width: 62ch;
    margin-bottom: 34px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 0;
}

.hero__hint {
    margin: 20px 0 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.hero__hint-link {
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.hero__hint-link:hover {
    color: var(--color-primary-hover);
}

.hero__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.hero-metric {
    padding: 14px 12px;
    border-radius: 14px;
    border: 1px solid rgba(34, 83, 216, 0.14);
    background: rgba(255, 255, 255, 0.74);
    text-align: center;
}

.hero-metric strong {
    display: block;
    font-size: 1rem;
    color: var(--color-text-main);
}

.hero-metric span {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.78rem;
    line-height: 1.35;
}

/* ==========================================================================
   Pains
   ========================================================================== */
.pains__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.pain-card {
    position: relative;
    padding: 22px 22px 24px;
    border-radius: 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.pain-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), #8b5cf6);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.pain-card:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 14px 30px rgba(11, 18, 32, 0.1);
}

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

.pain-card__num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
    margin-bottom: 14px;
}

.pain-card__title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--color-text-main);
}

.pain-card__text {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* Highlighted vendor lock-in callout */
.pain-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 18px;
    padding: 26px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #1d2a48 100%);
    color: #fff;
    border: 1px solid rgba(34, 83, 216, 0.4);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.pain-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.3);
}

.pain-feature__body {
    max-width: 70ch;
}

.pain-feature__label {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(108, 76, 247, 0.28);
    color: #d7ccff;
    font-size: 0.76rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.pain-feature__title {
    font-size: 1.4rem;
    margin: 0 0 10px;
    color: #fff;
}

.pain-feature__text {
    margin: 0;
    color: #c2cde0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.pain-feature__cta {
    flex-shrink: 0;
    font-weight: 700;
    font-size: 1rem;
    color: #93c5fd;
    white-space: nowrap;
}

.pain-feature:hover .pain-feature__cta {
    color: #bfdbfe;
}

/* ==========================================================================
   Benefits (Problem / Solution)
   ========================================================================== */
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.benefit-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-card__title {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.benefit-card__text {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Expertise
   ========================================================================== */
.expertise__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.expertise-item {
    background: var(--color-surface);
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition-medium);
}

.expertise-item:hover {
    box-shadow: 0 14px 26px rgba(11, 18, 32, 0.08);
}

.expertise-item__title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.expertise-item__text {
    color: var(--color-text-muted);
}

.expertise-item__link,
.tariff__link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color var(--transition-fast);
}

.expertise-item__link:hover,
.tariff__link:hover {
    color: var(--color-primary-hover);
}

/* ==========================================================================
   Vendor migration / lock-in
   ========================================================================== */
.migration__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(108, 76, 247, 0.12);
    color: var(--color-accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
}

.migration__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 24px;
    align-items: stretch;
}

.migration__signs {
    padding: 34px;
}

.migration__signs-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.migration__signs-list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.migration__signs-list li {
    position: relative;
    padding-left: 30px;
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.migration__signs-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    box-shadow: inset 0 0 0 1.5px rgba(239, 68, 68, 0.55);
}

.migration__signs-list code {
    font-size: 0.85em;
    padding: 0.05em 0.4em;
    border-radius: 5px;
    background: var(--color-secondary);
    color: var(--color-text-main);
}

.migration__platforms-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.platform-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.platform-chip {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--color-border);
    padding: 7px 13px;
    border-radius: 999px;
    white-space: nowrap;
}

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

.migration-card {
    padding: 26px;
}

.migration-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-primary);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.migration-card__title {
    font-size: 1.12rem;
    margin-bottom: 12px;
}

.migration-card__text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.migration__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
    padding: 26px 32px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(34, 83, 216, 0.08), rgba(108, 76, 247, 0.08));
    border: 1px solid rgba(34, 83, 216, 0.16);
}

.migration__cta-text {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-main);
    max-width: 58ch;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio__header {
    text-align: center;
    margin-bottom: 34px;
}

.portfolio__subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    margin-top: 0;
    line-height: 1.5;
    max-width: 42ch;
    margin-left: auto;
    margin-right: auto;
}

.portfolio__stats {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.78);
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* Filters */
.portfolio__filters-container {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 42px;
    padding: 22px 30px;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--color-secondary);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text-main);
    min-width: 200px;
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
}

.filter-select:focus, .filter-select:hover {
    border-color: var(--color-primary);
}

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

.portfolio-card {
    background: var(--color-surface);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeIn 0.5s ease-out forwards;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(11, 18, 32, 0.1);
}

.portfolio-card__logo {
    height: 60px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.portfolio-card__logo img {
    max-height: 100%;
    max-width: 160px;
    object-fit: contain;
}

.portfolio-card__title {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.portfolio-card__location {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.portfolio-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.portfolio-card__tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #edf2ff;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Collaboration
   ========================================================================== */
.collaboration__inner {
    max-width: 1040px;
    margin: 0 auto;
}

.collaboration__header {
    text-align: center;
    margin-bottom: 48px;
}

.collaboration__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.collaboration-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px;
    border-radius: 22px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    box-shadow: var(--glass-shadow);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}

.collaboration-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.collaboration-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 48px rgba(29, 42, 72, 0.16);
}

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

/* Featured (primary) card */
.collaboration-card--featured {
    border-color: rgba(34, 83, 216, 0.28);
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(108, 76, 247, 0.10), transparent 55%),
        linear-gradient(180deg, rgba(34, 83, 216, 0.06), var(--color-surface) 60%);
}

.collaboration-card--featured::before {
    opacity: 1;
}

/* Decorative index */
.collaboration-card__num {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(34, 83, 216, 0.08);
    pointer-events: none;
}

.collaboration-card__top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.collaboration-card__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(34, 83, 216, 0.28);
}

.collaboration-card__icon svg {
    width: 30px;
    height: 30px;
}

.collaboration-card__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 6px 12px;
    border-radius: 20px;
    color: var(--color-primary);
    background: rgba(34, 83, 216, 0.1);
}

.collaboration-card__badge--muted {
    color: var(--color-text-muted);
    background: rgba(85, 99, 122, 0.1);
}

.collaboration-card__title {
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.collaboration-card__text {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 22px;
}

.collaboration-card__list {
    list-style: none;
    margin: auto 0 0;
    padding: 18px 0 0;
    width: 100%;
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 12px;
}

.collaboration-card__list li {
    position: relative;
    padding-left: 30px;
    color: var(--color-text-main);
    font-size: 0.96rem;
    line-height: 1.4;
}

.collaboration-card__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 83, 216, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232253d8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

/* ==========================================================================
   Tariffs
   ========================================================================== */
.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.tariff {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tariff--featured {
    border-color: rgba(34, 83, 216, 0.45);
    box-shadow: 0 14px 32px rgba(34, 83, 216, 0.2);
    transform: translateY(-4px);
}

.tariff__name {
    font-size: 1.2rem;
}

.tariff__price {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.2;
}

.tariff__currency {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.tariff__desc {
    color: var(--color-text-muted);
}

.tariff--estimate {
    justify-content: space-between;
    background: linear-gradient(145deg, #ffffff, #f2f6ff);
}

.tariff__cta {
    width: 100%;
    margin-top: auto;
}

.tariffs__note {
    margin-top: 18px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #0f172a;
    color: #fff;
    padding: 56px 0 32px;
}

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

.footer__cta {
    text-align: center;
    margin-bottom: 44px;
    max-width: 620px;
}

.footer__title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff;
}

.footer__subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.footer-form input {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.footer-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255,255,255,0.1);
}

.footer-form input.is-invalid {
    border-color: rgba(248, 113, 113, 0.9);
    background: rgba(127, 29, 29, 0.24);
}

.footer-form input.is-invalid:focus {
    border-color: rgba(252, 165, 165, 0.95);
    box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.24);
}

.footer-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -2px 0 2px;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #cbd5e1;
    cursor: pointer;
}

.footer-form__consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #93c5fd;
}

.footer-form__consent.is-invalid {
    color: #fecaca;
}

.footer-form__consent.is-invalid input[type="checkbox"] {
    outline: 1px solid rgba(252, 165, 165, 0.8);
    outline-offset: 2px;
}

.footer-form__consent-hint {
    margin: -8px 0 2px 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.84rem;
    line-height: 1.4;
    color: #fee2e2;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(252, 165, 165, 0.35);
    text-align: left;
}

.footer-form__consent a {
    color: #bfdbfe;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-form__consent a:hover {
    color: #dbeafe;
}

.footer-form button {
    margin-top: 8px;
    padding: 16px;
    min-height: 48px;
}

.footer-form button:disabled {
    background: linear-gradient(180deg, #3f4d74 0%, #2b3553 100%);
    color: rgba(255, 255, 255, 0.8);
}

.footer-form .form-feedback {
    margin: 4px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: left;
    border: 1px solid transparent;
}

.footer-form .form-feedback.is-pending {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.16);
    border-color: rgba(147, 197, 253, 0.45);
}

.footer-form .form-feedback.is-success {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(134, 239, 172, 0.45);
}

.footer-form .form-feedback.is-error {
    color: #fee2e2;
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(252, 165, 165, 0.48);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer__logo {
    width: clamp(52px, 6vw, 70px);
}

.footer__logo .logo {
    width: 100%;
}

.footer__legal {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #cbd5e1;
    max-width: 26rem;
}

.footer__copy {
    color: #94a3b8;
    font-size: 0.9rem;
    text-align: right;
}

.footer__copy-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

/* ==========================================================================
   Cookie Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    left: auto;
    right: 20px;
    bottom: 20px;
    width: min(900px, calc(100vw - 40px));
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(14, 25, 44, 0.14);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 18px 40px rgba(11, 18, 32, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__text {
    margin: 0;
    color: var(--color-text-main);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cookie-banner__link {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-banner__link:hover {
    color: var(--color-primary-hover);
}

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

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero__inner {
        flex-direction: column;
        text-align: center;
    }
    .hero__illustration {
        align-items: center;
        margin-top: 40px;
    }
    .hero-visual {
        max-width: min(520px, 100%);
    }
    .hero__actions {
        justify-content: center;
    }
    .hero__metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
    .hero-metric {
        padding: 12px 8px;
    }
    .hero__title {
        font-size: 3.5rem;
    }
    .benefits__grid,
    .portfolio__grid,
    .collaboration__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pains__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tariffs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .migration__layout {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        left: 20px;
        right: 20px;
        width: auto;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
    .section-padding {
        padding: 44px 0;
    }
    .section-head {
        margin-bottom: 1.5rem;
    }
    .header__nav {
        display: none;
    }
    .header__inner {
        gap: 10px;
        min-height: 68px;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .logo {
        width: clamp(53px, 13.33vw, 72px);
    }
    .header .btn--outline {
        padding: 11px 14px;
        font-size: 0.875rem;
        flex-shrink: 0;
    }
    .hero {
        padding-top: 92px;
        padding-bottom: 28px;
    }
    .hero__title {
        font-size: 2.5rem;
    }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
    .expertise__grid,
    .benefits__grid,
    .portfolio__grid,
    .collaboration__grid,
    .tariffs__grid,
    .migration__grid {
        grid-template-columns: 1fr;
    }
    .tariff--featured {
        transform: none;
    }
    .migration__signs {
        padding: 26px;
    }
    .pain-feature {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }
    .hero__hint {
        font-size: 0.9rem;
    }
    .hero__hint-link {
        white-space: normal;
    }
    .migration__cta {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 24px;
    }
    .migration__cta .btn {
        width: 100%;
    }
    .portfolio__filters-container {
        flex-direction: column;
        padding: 24px;
    }
    .filter-select {
        width: 100%;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: stretch;
    }
    .footer__brand {
        align-items: center;
    }
    .footer__copy-stack {
        align-items: center;
    }
    .footer__copy {
        text-align: center;
    }
    .footer__legal {
        text-align: center;
        max-width: none;
    }
    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cookie-banner__button {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .hero__metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .hero-metric {
        text-align: center;
        padding: 14px 16px;
    }
}

/* ==========================================================================
   Policy page (/promo/cars/policy.html)
   ========================================================================== */
.policy-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.policy-header__inner {
    gap: 16px;
}

.policy-header__back {
    flex-shrink: 0;
}

.policy-main {
    flex: 1 0 auto;
    padding: 112px 0 56px;
}

.policy-content {
    max-width: 42rem;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.policy-content__title {
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.policy-content__meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.policy-content__lead {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.65;
}

.policy-section {
    margin-bottom: 2rem;
}

.policy-section h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
}

.policy-section p {
    margin-bottom: 0.85rem;
    color: var(--color-text-main);
    line-height: 1.65;
}

.policy-section ul {
    margin: 0.5rem 0 1rem 1.15rem;
    padding: 0;
    color: var(--color-text-main);
    line-height: 1.65;
}

.policy-section li {
    margin-bottom: 0.55rem;
}

.policy-section li:last-child {
    margin-bottom: 0;
}

.policy-section a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-section a:hover {
    color: var(--color-primary-hover);
}

.policy-section code {
    font-size: 0.9em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: var(--color-secondary);
}

.policy-footer {
    margin-top: auto;
    padding: 28px 0 36px;
    border-top: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.55);
}

.policy-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.policy-footer__legal {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.policy-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    font-size: 0.9rem;
}

.policy-footer__link {
    color: var(--color-primary);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.policy-footer__link:hover {
    color: var(--color-primary-hover);
}

.policy-footer__current {
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .policy-main {
        padding-top: 100px;
    }

    .policy-header__inner {
        flex-wrap: wrap;
        height: auto;
        min-height: 80px;
        padding: 12px 0;
    }

    .policy-header__back {
        width: 100%;
        text-align: center;
    }
}