:root {
    /* Colors */
    --color-primary: #FF7715;
    --color-secondary: #3E3F5D;
    --color-bg: #0F1014;
    --color-bg-light: #1A1C23;
    --color-text: #FFFFFF;
    --color-text-dim: #A0A0A0;
    --color-text-secondary: #A0A0A0; /* Alias for dim text */
    --color-accent-yellow: #F6D872;
    --color-accent-peach: #FFB987;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF7715 0%, #FFB987 100%);
    --gradient-dark: linear-gradient(180deg, rgba(15, 16, 20, 0) 0%, #0F1014 100%);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    
    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --backdrop-blur: blur(10px);
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--color-primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    z-index: 10001;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 1rem;
    outline: none;
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(255, 119, 21, 0.25);
}

.nav__link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .container {
        width: 90%;
        padding: 0 2rem;
    }
}

.text-accent {
    color: var(--color-primary);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive line break - hidden on mobile for natural text flow */
.br-desktop {
    display: block;
}

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

.section {
    padding: 70px 0;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI24pIiBvcGFjaXR5PSIwLjA1Ii8+PC9zdmc+');
    pointer-events: none;
    z-index: 9999;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(15, 16, 20, 0.8);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    max-width: 100vw;
    overflow-x: clip;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo__image {
    height: 40px; /* Adjust according to logo aspect ratio */
    width: auto;
}

.nav__list {
    display: none;
}

@media (min-width: 768px) {
    .nav__list {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav__link {
    font-weight: 500;
}

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

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn--primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 119, 21, 0.3);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 119, 21, 0.4);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--color-text);
    color: var(--color-text);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(255, 119, 21, 0.15) 0%, rgba(255, 185, 135, 0.08) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--color-bg) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .hero__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 4rem;
    }
}

.hero__content {
    z-index: 2;
    max-width: 800px;
    width: 100%;
}

@media (min-width: 1024px) {
    .hero__content {
        flex: 1;
        max-width: 600px;
    }
}

.hero__image {
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.hero__image-wrapper {
    position: relative;
    display: inline-block;
}

.hero__photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.hero__photo:hover {
    transform: scale(1.03) rotate(1deg);
}

.hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: 1;
}

/* Mobile image: показываем только на мобильных */
.hero__image--mobile {
    display: block;
    margin: 1.5rem 0;
}

.hero__image--desktop {
    display: none;
}

@media (min-width: 1024px) {
    .hero__image--mobile {
        display: none;
    }

    .hero__image--desktop {
        display: block;
        flex: 0 0 auto;
        max-width: 45%;
    }
}

.hero__bottom {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 119, 21, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
}

.badge--small {
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.badge--purple {
    background: rgba(180, 100, 220, 0.1);
    border-color: #C77DFF;
    color: #C77DFF;
}

.hero__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    word-wrap: break-word;
}

@media (min-width: 600px) {
    .hero__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 3.5rem;
    }
}

.hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-text-dim);
    margin-bottom: 2rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero__actions {
        justify-content: flex-start;
    }
}

/* Clients Marquee Section */
.clients-marquee {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
}

/* Hero Clients Marquee */
.hero-clients {
    width: 100%;
    max-width: 800px;
}

.hero-clients__track {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-clients__list {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-right: 2.5rem;
    flex-shrink: 0;
    animation: hero-marquee 20s linear infinite;
}

.hero-clients__logo {
    height: 24px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(1.5);
    transition: opacity 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

.hero-clients__logo--light {
    filter: grayscale(100%) brightness(3);
}

.hero-clients__logo--hochland {
    height: 30px; /* 24px * 1.25 = 30px */
}

.hero-clients__logo--productstar {
    height: 18px; /* меньше стандартного */
}

.hero-clients:hover .hero-clients__logo {
    opacity: 0.7;
}

.hero-clients:hover .hero-clients__list {
    animation-play-state: paused;
}

@keyframes hero-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (min-width: 768px) {
    .hero-clients {
        max-width: 700px;
    }

    .hero-clients__logo {
        height: 28px;
    }

    .hero-clients__logo--hochland {
        height: 35px; /* 28px * 1.25 */
    }

    .hero-clients__logo--productstar {
        height: 20px;
    }
}

/* Hero Visual Animation */
.hero__visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glowing-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: pulse 4s infinite alternate;
}

.glass-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 400px;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.code-snippet {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.code-line {
    display: block;
    margin-bottom: 0.5rem;
}

.c-purple { color: #d2a8ff; }
.c-blue { color: #79c0ff; }
.c-yellow { color: #e3b341; }
.c-orange { color: #ffa657; }
.c-comment { color: #8b949e; }

/* AI Comparison Component */
.ai-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: var(--font-body);
}

.comparison-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.comparison-label {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-dim);
    min-width: 55px;
    text-align: right;
}

.comparison-row--with-ai .comparison-label {
    color: var(--color-primary);
    font-weight: 500;
}

.comparison-blocks {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.comparison-block {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: var(--color-text);
    opacity: 0;
    animation: blockAppear 0.5s ease-out forwards;
    animation-delay: var(--delay, 0s);
    white-space: nowrap;
}

.comparison-block--wide {
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--color-text-dim);
}

.comparison-block--savings {
    background: linear-gradient(135deg, rgba(255, 119, 21, 0.2) 0%, rgba(255, 185, 135, 0.15) 100%);
    border-color: rgba(255, 119, 21, 0.4);
    color: #FFB987;
    font-weight: 500;
    animation: blockAppear 0.5s ease-out forwards, savingsPulse 2s ease-in-out infinite 1s;
}

@keyframes blockAppear {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes savingsPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 119, 21, 0.3);
    }
    50% {
        box-shadow: 0 0 15px 3px rgba(255, 119, 21, 0.25);
    }
}

/* About Section */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.team-card {
    background: var(--color-bg-light);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.team-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.team-card__name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.team-card__role {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.team-card__list {
    margin-left: 1rem;
}

.team-card__list li {
    list-style-type: disc;
    color: var(--color-text-dim);
    margin-bottom: 0.5rem;
}

/* Founders Section */
.founders {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 992px) {
    .founders {
        flex-direction: row;
        padding: 3rem;
        gap: 4rem;
    }
}

.founders__image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.founders__photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    border: none;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(255, 119, 21, 0.4);
    transition: transform 0.4s ease;
}

.founders__photo:hover {
    transform: scale(1.08) rotate(3deg);
}

@media (min-width: 768px) {
    .founders__photo {
        width: 320px;
        height: 320px;
    }
}

.founders__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background: var(--color-primary);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    z-index: 1;
}

.founders__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
}

.founders__intro {
    /* Только текст, без разделителя */
}

.founders__headline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.founders__headline strong {
    color: var(--color-primary);
}

.founders__intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin-bottom: 0.8rem;
}

.founders__intro p:last-child {
    margin-bottom: 0;
}

.founders__intro strong {
    color: var(--color-primary);
}

.founders__people {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .founders__people {
        flex-direction: row;
        gap: 3rem;
    }
}

.founders__person {
    flex: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .founders__person {
        text-align: left;
    }
}

.founders__name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.founders__role {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.founders__desc {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.founders__telegram {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 119, 21, 0.1);
    border: 1px solid rgba(255, 119, 21, 0.3);
    border-radius: 8px;
    color: var(--color-primary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.founders__telegram:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(5px);
}

.founders__arrow {
    transition: transform 0.3s ease;
}

.founders__telegram:hover .founders__arrow {
    transform: translateX(3px);
}

.founders__divider {
    display: none;
}

@media (min-width: 768px) {
    .founders__divider {
        display: block;
        width: 1px;
        background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    }
}

/* Brand Evolution Block */
.brand-evolution {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.brand-evolution::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 119, 21, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.brand-evolution__header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .brand-evolution__header {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
    }
}

.brand-evolution__photo {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.brand-evolution__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.brand-evolution__photo:hover img {
    transform: scale(1.03);
}

.brand-evolution__photo::before {
    content: "";
    position: absolute;
    bottom: -20%;
    left: 10%;
    width: 80%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(255, 119, 21, 0.25) 0%, transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    z-index: -1;
}

.brand-evolution__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.brand-evolution__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .brand-evolution__content {
        text-align: left;
        margin: 0;
        max-width: none;
    }
}

.brand-evolution__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.brand-evolution__title .highlight {
    color: var(--color-primary);
}

.brand-evolution__text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin-bottom: 0.75rem;
}

.brand-evolution__text:last-child {
    margin-bottom: 0;
}

.brand-evolution__text strong {
    color: var(--color-text);
    font-weight: 600;
}

.brand-evolution__subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 1.5rem;
}

.brand-evolution__visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(15, 16, 20, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .brand-evolution__visual {
        flex-direction: row;
        gap: 2rem;
        padding: 2rem 3rem;
    }
}

.brand-evolution__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.brand-evolution__logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
    .brand-evolution__logo img {
        height: 48px;
    }
}

.brand-evolution__logo--old {
    opacity: 0.7;
}

.brand-evolution__logo--old:hover {
    opacity: 1;
    transform: scale(1.05);
}

.brand-evolution__logo--new:hover {
    transform: scale(1.05);
}

.brand-evolution__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-dim);
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.brand-evolution__logo--new .brand-evolution__label {
    background: rgba(255, 119, 21, 0.15);
    color: var(--color-primary);
}

.brand-evolution__arrow {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.brand-evolution__arrow svg {
    width: 48px;
    height: 24px;
}

@media (min-width: 768px) {
    .brand-evolution__arrow {
        transform: rotate(0deg);
    }
}

.stats-banner {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: center;
    background: linear-gradient(140deg, rgba(255, 119, 21, 0.14) 0%, rgba(26, 28, 35, 0.9) 45%, rgba(255, 185, 135, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 4rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    transform-origin: center;
}

.stats-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 0%, rgba(255, 119, 21, 0.25), transparent 45%),
        radial-gradient(circle at 90% 100%, rgba(255, 185, 135, 0.2), transparent 45%);
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.stats-banner::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    pointer-events: none;
    transition: border-color 0.35s ease;
}

.stat-item {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.1rem 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: rgba(15, 16, 20, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.stat-item::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 119, 21, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.stat-number {
    display: block;
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-primary);
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 24px rgba(255, 119, 21, 0.35);
    transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.stat-label {
    display: block;
    color: var(--color-text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 16rem;
    transition: color 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .stats-banner:hover {
        transform: scale(1.02);
    }

    .stats-banner:hover::before {
        opacity: 0.9;
        transform: scale(1.04);
    }
}

.partners-marquee {
    text-align: center;
    margin-top: 6.5rem;
}

.partners-label {
    margin-bottom: 2rem;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .partners-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.partner-item {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    width: 100%;
    height: 130px;
    position: relative;
    /* Removed backdrop-filter default to make it clean */
}

.partner-logo {
    max-height: 70px; /* Increased from 50px */
    max-width: 100%;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.4s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    backdrop-filter: blur(5px);
}

.partner-item:hover .partner-logo {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Brand Colors on Hover */
.partner-item--vk:hover {
    background: rgba(255, 175, 0, 0.1);
    border-color: rgba(255, 175, 0, 0.3);
    box-shadow: 0 10px 20px rgba(255, 175, 0, 0.1);
}

.partner-item--yandex:hover {
    background: rgba(252, 63, 29, 0.1);
    border-color: rgba(252, 63, 29, 0.3);
    box-shadow: 0 10px 20px rgba(252, 63, 29, 0.1);
}

.partner-item--itmo:hover {
    background: rgba(23, 86, 238, 0.1);
    border-color: rgba(23, 86, 238, 0.3);
    box-shadow: 0 10px 20px rgba(23, 86, 238, 0.1);
}

.partner-item--pc:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.1);
}

.partner-item--wallet:hover {
    background: rgba(138, 43, 226, 0.15);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.15);
}

.partner-item--hochland .partner-logo {
    max-height: 82px; /* ~15% larger than 70px */
}

.partner-item--hochland:hover {
    background: rgba(0, 94, 184, 0.1);
    border-color: rgba(0, 94, 184, 0.3);
    box-shadow: 0 10px 20px rgba(0, 94, 184, 0.1);
}

.partner-item--psb .partner-logo {
    filter: grayscale(100%) brightness(2.5);
}

.partner-item--psb:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
}

.partner-item--psb:hover {
    background: rgba(242, 94, 28, 0.1);
    border-color: rgba(242, 94, 28, 0.3);
    box-shadow: 0 10px 20px rgba(242, 94, 28, 0.1);
}

.partner-item--inex:hover {
    background: rgba(0, 224, 198, 0.1);
    border-color: rgba(0, 224, 198, 0.3);
    box-shadow: 0 10px 20px rgba(0, 224, 198, 0.1);
}

/* Cases Section */
.cases-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.case-card {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Base hover state (default orange if no specific class) */
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Default gradient fallback */
    background: radial-gradient(circle at top right, rgba(255, 119, 21, 0.05), transparent 50%);
    opacity: 1; /* Always visible */
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Specific Colors - Always Applied */

/* Corporate: Purple */
.case-card--corporate {
    border-color: rgba(138, 43, 226, 0.5); /* Semi-transparent border by default */
}
.case-card--corporate:hover {
    border-color: #8A2BE2; /* Full color on hover */
}
.case-card--corporate::before {
    background: radial-gradient(circle at top right, rgba(138, 43, 226, 0.1), transparent 60%);
}
.case-card--corporate .case-list li::before {
    color: #8A2BE2;
}

/* Marketing: Blue / Light Blue */
.case-card--marketing {
    border-color: rgba(0, 191, 255, 0.5);
}
.case-card--marketing:hover {
    border-color: #00BFFF;
}
.case-card--marketing::before {
    background: radial-gradient(circle at top right, rgba(0, 191, 255, 0.1), transparent 60%);
}
.case-card--marketing .case-list li::before {
    color: #00BFFF;
}

/* IT: Green */
.case-card--it {
    border-color: rgba(0, 224, 198, 0.5);
}
.case-card--it:hover {
    border-color: #00E0C6;
}
.case-card--it::before {
    background: radial-gradient(circle at top right, rgba(0, 224, 198, 0.1), transparent 60%);
}
.case-card--it .case-list li::before {
    color: #00E0C6;
}

/* Education: ITMO Blue */
.case-card--education {
    border-color: rgba(23, 86, 238, 0.5);
}
.case-card--education:hover {
    border-color: #1756EE;
}
.case-card--education::before {
    background: radial-gradient(circle at top right, rgba(23, 86, 238, 0.1), transparent 60%);
}
.case-card--education .case-list li::before {
    color: #1756EE;
}

.case-card__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .case-card__content {
        grid-template-columns: 2fr 1.5fr;
        grid-template-areas: 
            "title meta"
            "desc meta"
            "result result";
        align-items: start;
        gap: 2rem;
    }

    .case-tag { grid-area: meta; justify-self: end; margin-bottom: 0 !important; }
    .case-card__title { grid-area: title; margin-bottom: 0; min-height: auto; }
    /* We need to restructure the items if we want a complex grid, 
       but keeping it simple stacked is safer for content variability.
       Let's stick to a clean vertical stack but maybe improved layout for landscape.
       Actually, 'one above other' implies simple stack. Let's keep it simple specific block stack.
    */
    .case-card__content {
        display: flex;
        flex-direction: column;
    }
}

.case-tag {
    display: inline-flex;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--color-text-dim);
    font-family: var(--font-mono);
    width: fit-content;
}

.case-card__title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.case-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-block__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-dim);
    opacity: 0.7;
    font-family: var(--font-mono);
}

.case-block__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
}

.case-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.2rem;
}

@media (min-width: 768px) {
    .case-list {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 2rem;
    }
}

.case-list li {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.5;
    position: relative;
    padding-left: 1.2rem;
}

.case-list li::before {
    content: '•';
    color: var(--color-primary); /* Will be overridden on hover */
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2em;
    line-height: 1.2;
}

/* Formats Section */
.formats-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.format-row {
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.format-row--featured {
    border-color: var(--color-primary);
    background: rgba(255, 119, 21, 0.05);
}

@media (min-width: 768px) {
    .format-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.format-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.format-content p {
    color: var(--color-text-dim);
    margin-bottom: 1rem;
}

.format-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.format-features span {
    font-size: 0.875rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.price-label {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* FAQ Section */
.faq__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem;
}

.faq__subtitle {
    color: var(--color-text-dim);
    font-size: 1.1rem;
}

.faq__list {
    display: grid;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-light);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
}

.faq-item[open] {
    border-color: rgba(255, 119, 21, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.faq-item__question {
    list-style: none;
    cursor: pointer;
    padding: 1.5rem 3.5rem 1.5rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    position: relative;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__question::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item__question:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 12px;
}

.faq-item__answer {
    padding: 0 1.75rem 1.5rem;
    color: var(--color-text-dim);
}

.faq-item__answer p {
    margin-bottom: 0;
}

/* Error Page */
.error {
    padding-top: calc(var(--header-height) + 40px);
}

.error__container {
    display: flex;
    justify-content: center;
}

.error__content {
    background: var(--color-bg-light);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 680px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.error__code {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.error__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.error__text {
    color: var(--color-text-dim);
    font-size: 1.1rem;
}

.error__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.error__links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--color-text-dim);
}

.error__label {
    font-size: 0.95rem;
}

.error__link {
    color: var(--color-text);
    font-weight: 600;
}

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

/* Contact Section */
.contact__container {
    text-align: center;
}

.contact__content p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--color-text-dim);
}

.contact__links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    width: 300px;
    text-align: left;
}

.contact-card:hover {
    background: rgba(62, 63, 93, 0.3);
    border-color: var(--color-primary);
}

.contact-info {
    flex: 1;
}

.contact-info .name {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-info .role {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.icon {
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-bg-light);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__logo {
    font-family: var(--font-mono);
    font-weight: 700;
}

.footer__copyright {
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

/* Animations Keyframes */
@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Spinning Section */
.spinning-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
}

.spinning-section::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 183, 135, 0.9) 0%, rgba(255, 119, 21, 0.6) 30%, rgba(255, 119, 21, 0) 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: 0;
}

.spinning-logo {
    width: 150px;
    height: 150px;
    animation: spin 2s linear infinite;
    filter: invert(1);
    position: relative;
    z-index: 1;
}

/* Responsive Menu */
.mobile-menu-open {
    overflow: hidden;
}

.nav__list.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg);
    padding: 2rem;
    gap: 0.5rem;
    z-index: 999;
}

.nav__list.active li {
    width: 100%;
}

.nav__list.active .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav__list.active .nav__link:hover {
    padding-left: 0.5rem;
}

/* Reset button styles in mobile menu */
.nav__list.active .btn.btn--small {
    background: none;
    box-shadow: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    font-weight: 600;
}

.nav__list.active .btn.btn--small:hover {
    transform: none;
    padding-left: 0.5rem;
}

/* Articles Section */
.articles-section {
    position: relative;
    margin-bottom: 4rem;
    overflow: visible;
}

.section-author-bg {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 800;
    color: rgba(255, 107, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: -1rem;
    user-select: none;
}

.section-author-bg--long {
    font-size: clamp(2.5rem, 8vw, 7rem);
    color: rgba(180, 100, 220, 0.3);
    margin-bottom: -0.3rem;
}

.section-author-bg--teal {
    color: rgba(100, 200, 180, 0.3);
}

@media (min-width: 768px) {
    .section-author-bg--long {
        margin-bottom: -1rem;
    }
}

.articles-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .articles-header {
        flex-direction: row;
        align-items: center;
    }
}

.articles-header__image {
    flex-shrink: 0;
}

.articles-header__image img {
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(255, 119, 21, 0.4);
}

@media (max-width: 767px) {
    .articles-header__image {
        text-align: center;
    }

    .articles-header__image img {
        max-width: 100%;
    }
}

.articles-header__content {
    flex: 1;
}

.articles-header__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    line-height: 1.2;
}

.articles-header__title .habr-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.articles-header__title .habr-link:hover {
    color: #fff;
    text-decoration: underline;
}

.articles-header__text {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.articles-header__text strong {
    color: var(--color-primary);
}

.articles-header__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.header-stat {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.header-stat strong {
    color: var(--color-primary);
    font-weight: 600;
}

.articles-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

/* Articles Grid Wrapper - scroll hint overlay */
.articles-grid-wrapper {
    position: relative;
}

.articles-grid-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-5vw - 1rem); /* Смещаем вместе с grid */
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-bg));
    pointer-events: none;
    z-index: 2;
}

.articles-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-right: calc(-5vw - 1rem);
    padding-right: calc(5vw + 1rem);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.article-card {
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    scroll-snap-align: start;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.article-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

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

.article-card:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: var(--color-text);
    flex-grow: 1;
}

.article-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    color: var(--color-primary);
}

.article-card__link {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-mono);
}

.article-card__icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__icon {
    transform: translateX(5px);
}

/* Article Card Stats (Habr-style) */
.article-card__stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--color-text-secondary);
}

.stat svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    opacity: 0.6;
}

.stat--rating {
    color: #7BA800;
}

.stat--rating svg {
    fill: #7BA800;
    opacity: 0.8;
}

.stat--views {
    margin-left: auto;
}

/* Speaking Section (Sasha) */
.speaking-section {
    position: relative;
    margin-bottom: 4rem;
    overflow: visible;
}

.speaking-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .speaking-header {
        flex-direction: row;
        align-items: center;
    }
}

.speaking-header__image {
    flex-shrink: 0;
}

.speaking-header__image img {
    max-width: 462px;
    height: auto;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(180, 100, 220, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

.speaking-header__image img:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 40px rgba(180, 100, 220, 0.6);
}

@media (max-width: 767px) {
    .speaking-header__image {
        text-align: center;
    }

    .speaking-header__image img {
        max-width: 100%;
    }
}

.speaking-header__content {
    flex: 1;
}

.speaking-header__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--color-text);
    line-height: 1.2;
}

.speaking-header__text {
    color: var(--color-text-dim);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.speaking-header__text strong {
    color: #C77DFF;
}

.speaking-header__list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.speaking-header__list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

.speaking-header__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #C77DFF;
}

.speaking-header__list li strong {
    color: #C77DFF;
}

.speaking-header__tg {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.2rem;
    background: rgba(180, 100, 220, 0.1);
    border: 1px solid rgba(180, 100, 220, 0.3);
    border-radius: 8px;
    color: #C77DFF;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.speaking-header__tg:hover {
    background: #C77DFF;
    color: white;
    transform: translateX(5px);
}

.speaking-header__arrow {
    transition: transform 0.3s ease;
}

.speaking-header__tg:hover .speaking-header__arrow {
    transform: translateX(3px);
}

.speaking-header__tg--orange {
    margin-top: 2.4rem;
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
    color: var(--color-primary);
}

.speaking-header__tg--orange:hover {
    background: var(--color-primary);
    color: white;
}

.speaking-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
}

.speaking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Allow shadow to bleed out of container in this section */
.speaking-section .container {
    overflow: visible;
}

/* Certificates Stack - Horizontal scroll with vanishing */
.certificates-stack-wrapper {
    z-index: 2; /* Above .speaking-header to show shadow */
    position: relative;
}

.certificates-stack-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-5vw - 1rem);
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-bg));
    pointer-events: none;
    z-index: 2;
}

.certificates-scroll {
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-right: calc(-5vw - 1rem);
    padding-left: 3rem;
    scroll-padding-left: 3rem;
    scrollbar-width: none;
}

.certificates-scroll::-webkit-scrollbar {
    display: none;
}

.certificates-stack {
    display: flex;
    gap: 1.5rem;
    padding: 3rem 0;
    padding-right: calc(5vw + 1rem);
    overflow: visible;
}

.certificate-item {
    flex: 0 0 auto;
    height: 180px;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    scroll-snap-align: start;
}

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

.certificate-item img {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(180, 100, 220, 0.4);
}

@media (min-width: 768px) {
    .certificates-stack {
        gap: 2rem;
        padding: 4rem 2rem 4rem 0;
    }

    .certificate-item {
        height: 220px;
    }
}

@media (min-width: 1200px) {
    .certificate-item {
        height: 280px;
    }
}

/* Anya Section Styles */
.anya-section {
    position: relative;
    margin-bottom: 4rem;
    overflow: visible;
}

.anya-header {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .anya-header {
        flex-direction: row;
        align-items: center;
    }
}

.anya-header__image {
    flex-shrink: 0;
}

.anya-header__image img {
    max-width: 320px;
    height: auto;
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 32px rgba(100, 200, 180, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anya-header__image img:hover {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 40px rgba(100, 200, 180, 0.6);
}

@media (max-width: 767px) {
    .anya-header__image {
        text-align: center;
    }

    .anya-header__image img {
        max-width: 100%;
    }
}

.anya-header__content {
    flex: 1;
}

.anya-header__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--color-text);
    line-height: 1.2;
}

.anya-header__list {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.anya-header__list li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

.anya-header__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #64C8B4;
}

.anya-header__list li strong {
    color: #64C8B4;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox__content {
    position: relative;
    z-index: 10000;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox__content {
    transform: scale(1);
}

.lightbox__image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox__caption {
    display: none;
}

.lightbox__close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

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

    .container {
        padding: 0 1rem;
        max-width: 100vw;
        overflow-x: clip;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 4rem);
        padding-bottom: 4rem;
    }

    .hero-clients {
        margin-top: 6rem;
    }

    .hero__title {
        font-size: 2rem; /* Was 2.5rem */
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .lightbox__content {
        max-width: 98vw;
        max-height: 95vh;
        padding: 0;
        gap: 0;
    }

    .lightbox__image {
        max-width: 98vw;
        max-height: 92vh;
        border-radius: 4px;
    }

    .lightbox__close {
        position: fixed;
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
        z-index: 10001;
    }

    /* Phase 3: Visual Polish */

    /* Reveal card colors by default on mobile since there is no hover */
    .case-card--corporate { border-color: rgba(138, 43, 226, 0.8); }
    .case-card--marketing { border-color: rgba(0, 191, 255, 0.8); }
    .case-card--it { border-color: rgba(0, 224, 198, 0.8); }
    .case-card--education { border-color: rgba(23, 86, 238, 0.8); }

    .case-card {
        padding: 1.5rem; /* Compact padding */
    }

    /* Center stats on mobile */
    .founders__info, .founders__person {
        text-align: center;
    }

    .founders__telegram {
        justify-content: center;
    }

}

/* Partner Tooltip */
.partner-item {
    position: relative; /* Ensure tooltip is positioned relative to the item */
}

/* Specific z-index fix for Wallet item to ensure tooltip isn't clipped by siblings if they have overflow hidden or lower z-index stacking contexts */
.partner-item--wallet {
    z-index: 10;
}

.partner-tooltip {
    position: absolute;
    bottom: 110%; /* Show above the logo */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 450px; /* Wide tooltip */
    background: rgba(15, 16, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none; /* Prevent interaction when hidden */
    z-index: 100;
    text-align: left;
}

/* Arrow */
.partner-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgba(15, 16, 20, 0.95) transparent transparent transparent;
}

.partner-item:hover .partner-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto; /* Enable interaction (links) when visible */
}

.partner-tooltip__content {
    position: relative;
}

.partner-tooltip__quote-icon {
    position: absolute;
    top: -15px;
    left: -10px;
    font-size: 4rem;
    color: var(--color-primary);
    opacity: 0.15;
    font-family: serif;
    line-height: 1;
    pointer-events: none;
}

.partner-tooltip__text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-dim);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.partner-tooltip__text strong {
    color: var(--color-text);
    font-weight: 600;
}

.partner-tooltip__footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.partner-tooltip__info {
    display: flex;
    flex-direction: column;
}

.partner-tooltip__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.partner-tooltip__role {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-bottom: 0.5rem;
}

.partner-tooltip__contact {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.partner-tooltip__contact:hover {
    color: var(--color-accent-peach);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partner-tooltip {
        width: 300px;
        padding: 1.5rem;
        left: 50%;
        bottom: 120%; /* Move up a bit more on mobile */
    }
}

/* ═══════════════════════════════════════════════════
   ChatGPT Guide Block - Expertise Proof
   ═══════════════════════════════════════════════════ */
.chatgpt-guide-promo {
    margin: 3rem 0;
    background: var(--glass-bg);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.chatgpt-guide-promo__info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chatgpt-guide-promo__title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    margin: 0;
}

.chatgpt-guide-promo__description {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    margin: 0;
}

/* Ссылка в стиле TG-каналов */
.chatgpt-guide-promo__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.7rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-text-dim);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
}

.chatgpt-guide-promo__link:hover {
    background: rgba(255, 119, 21, 0.1);
    border-color: rgba(255, 119, 21, 0.3);
    color: var(--color-peach);
}

.chatgpt-guide-promo__link .link-icon {
    opacity: 0.6;
    transition: all 0.2s ease;
}

.chatgpt-guide-promo__link:hover .link-icon {
    opacity: 1;
}

.chatgpt-guide-promo__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chatgpt-guide-promo__glow {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(255, 119, 21, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.chatgpt-guide-promo__image {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.chatgpt-guide-promo__visual:hover .chatgpt-guide-promo__image {
    transform: scale(1.08) rotate(3deg);
}

/* Бегущая строка отзывов - TV style ticker */
.guide-testimonials-ticker {
    grid-column: 1 / -1;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
    display: flex;
    gap: 2rem;
    animation: ticker-scroll 84s linear infinite;
    width: max-content;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.ticker-author {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-primary);
    white-space: nowrap;
    font-weight: 600;
}

.ticker-text {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .chatgpt-guide-promo {
        grid-template-columns: 1fr 1.2fr;
        padding: 2rem;
        align-items: center;
    }

    .chatgpt-guide-promo__title {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .chatgpt-guide-promo {
        padding: 2.5rem;
        gap: 2rem;
    }

    .chatgpt-guide-promo__title {
        font-size: 1.75rem;
    }
}

/* Info Icon */
.partner-item__info-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    color: var(--color-text-dim);
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 20; /* Above logo */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-item__info-icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.5;
}

.partner-item:hover .partner-item__info-icon {
    opacity: 1;
}

.partner-item__info-icon:hover {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Mobile: always visible */
@media (max-width: 768px) {
    .partner-item__info-icon {
        opacity: 0.7;
    }
}


/* Info Overlay */
.info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.info-overlay__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(8px);
}

.info-overlay__content-wrapper {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 600px;
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-overlay.active .info-overlay__content-wrapper {
    transform: scale(1) translateY(0);
}

.info-overlay__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--color-text-dim);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

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

/* Content Styles adjustments for inside overlay */
.info-overlay__content .partner-tooltip__content {
    /* Reset some tooltip specific styles if needed */
}

.info-overlay__content .partner-tooltip__text {
    font-size: 1.1rem; /* Larger text for overlay */
    color: var(--color-text);
}

.info-overlay__content .partner-tooltip__quote-icon {
    font-size: 5rem;
    top: -25px;
    left: -15px;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS SECTION - Отзывы клиентов
   ═══════════════════════════════════════════════════ */

.testimonials {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-light) 50%, var(--color-bg) 100%);
}

/* Testimonials Grid Wrapper - scroll hint overlay */
.testimonials-grid-wrapper {
    position: relative;
}

.testimonials-grid-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: calc(-5vw - 1rem);
    width: 50px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--color-bg-light));
    pointer-events: none;
    z-index: 2;
}

.testimonials-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    margin-right: calc(-5vw - 1rem);
    padding-right: calc(5vw + 1rem);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

/* Testimonial Card */
.testimonial-card {
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    position: relative;
    flex: 0 0 320px;
    min-width: 320px;
    max-width: 320px;
    scroll-snap-align: start;
}

@media (max-width: 400px) {
    .hero__title {
        font-size: 1.75rem; /* Further reduced for very small screens */
    }

    .testimonial-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Featured Card - spans 2 columns on desktop */
.testimonial-card--featured {
    border-color: var(--color-primary);
    background: linear-gradient(135deg, rgba(255, 119, 21, 0.05) 0%, var(--color-bg-light) 100%);
}

.testimonial-card--featured:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 40px rgba(255, 119, 21, 0.15);
}

/* Large Card - wider in horizontal scroll */
.testimonial-card--large {
    flex: 0 0 480px;
    min-width: 480px;
    max-width: 480px;
}

@media (max-width: 540px) {
    .testimonial-card--large {
        flex: 0 0 340px;
        min-width: 340px;
        max-width: 340px;
    }
}

/* Card Header */
.testimonial-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.testimonial-card__company {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.testimonial-card__logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
}

/* Logo image inside testimonial card */
.testimonial-card__logo-img {
    height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-card__logo-img {
    opacity: 1;
}

/* Hochland logo needs larger size for visibility */
.testimonial-card--hochland .testimonial-card__logo-img {
    height: 46px;
}

/* Brand-colored hover effects for testimonial cards */
.testimonial-card--hochland:hover {
    border-color: rgba(0, 94, 184, 0.5);
    box-shadow: 0 10px 30px rgba(0, 94, 184, 0.15);
}

.testimonial-card--koshelek:hover {
    border-color: rgba(138, 43, 226, 0.5);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.15);
}

.testimonial-card--psb:hover {
    border-color: rgba(242, 94, 28, 0.5);
    box-shadow: 0 10px 30px rgba(242, 94, 28, 0.15);
}

.testimonial-card--inex:hover {
    border-color: rgba(0, 224, 198, 0.5);
    box-shadow: 0 10px 30px rgba(0, 224, 198, 0.15);
}

.testimonial-card__subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-dim);
}

.testimonial-card__badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 119, 21, 0.15);
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Quote */
.testimonial-card__quote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-dim);
    margin: 0;
    flex-grow: 1;
}

.testimonial-card__quote strong {
    color: var(--color-text);
}

/* Footer */
.testimonial-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card__author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.testimonial-card__name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.testimonial-card__contact {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.testimonial-card__contact:hover {
    color: var(--color-accent-peach);
}

/* Context */
.testimonial-card__context {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-dim);
    opacity: 0.7;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-top: auto;
}

/* ═══════════════════════════════════════════════════
   Workshop Testimonials Ticker
   ═══════════════════════════════════════════════════ */

.workshop-testimonials {
    margin-top: 2rem;
}

.workshop-testimonials__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dim);
    text-align: center;
    margin-bottom: 1.5rem;
}

.workshop-testimonials-ticker {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.ticker-track--slow {
    animation: ticker-scroll 84s linear infinite;
}

.ticker-item--workshop {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.ticker-item--workshop .ticker-author {
    color: #00E0C6; /* Tiffany color for workshop participants */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.25rem;
    }

    .testimonial-card__quote {
        font-size: 0.9rem;
    }

    .testimonial-card__logo {
        font-size: 1rem;
    }
}

/* Partner tooltips z-index fix for Hochland, PSB and RoboUniver */
.partner-item--hochland,
.partner-item--psb,
.partner-item--robouniver {
    z-index: 10;
}

/* Purple Testimonial Card (Product Star) */
.testimonial-card--purple {
    border-color: rgba(199, 125, 255, 0.3);
}

.testimonial-card--purple:hover {
    border-color: #C77DFF;
    box-shadow: 0 10px 40px rgba(199, 125, 255, 0.15);
}

.testimonial-card__badge--purple {
    background: rgba(199, 125, 255, 0.15);
    border-color: #C77DFF;
    color: #C77DFF;
}

/* Green Badge (Success Story) */
.testimonial-card__badge--green {
    background: rgba(0, 224, 198, 0.15);
    border-color: #00E0C6;
    color: #00E0C6;
}

/* Gold Badge (Official Recognition) */
.testimonial-card__badge--gold {
    background: rgba(255, 193, 7, 0.15);
    border-color: #FFC107;
    color: #FFC107;
}

/* Gradient Card */
.testimonial-card--gradient {
    background: linear-gradient(135deg, rgba(0, 224, 198, 0.05) 0%, var(--color-bg-light) 100%);
    border-color: rgba(0, 224, 198, 0.3);
}

.testimonial-card--gradient:hover {
    border-color: #00E0C6;
    box-shadow: 0 10px 40px rgba(0, 224, 198, 0.15);
}

/* Two-line Ticker */
.workshop-testimonials-ticker {
    margin-bottom: 0.75rem;
}

.workshop-testimonials-ticker:last-child {
    margin-bottom: 0;
}

/* Reverse animation for second row */
@keyframes ticker-scroll-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.ticker-track--reverse {
    animation: ticker-scroll-reverse 84s linear infinite;
}

/* ═══════════════════════════════════════════════════
   FOR WHO SECTION - Для кого наши воркшопы
   ═══════════════════════════════════════════════════ */

.for-who {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(26, 28, 35, 0.5) 50%, var(--color-bg) 100%);
}

.for-who-inner {
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.for-who-inner .section__title {
    margin-bottom: 1rem;
}

.for-who__subhead {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .for-who__subhead {
        margin-bottom: 2rem;
    }
}

.for-who__subtitle {
    text-align: center;
    color: var(--color-text-dim);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
}

/* ═══ Request Types Grid ═══ */
.request-types {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Request Card - Base */
.request-card {
    background: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.request-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.request-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

/* Number */
.request-card__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.15;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 70px;
    transition: all 0.3s ease;
}

.request-card:hover .request-card__number {
    opacity: 0.3;
}

/* Content */
.request-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

/* Title */
.request-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

/* Block (Ситуация / Что делаем) */
.request-card__block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.request-card__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    opacity: 0.7;
}

.request-card__text {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin: 0;
}

/* Result */
.request-card__result {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(46, 204, 113, 0.08);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 12px;
    margin-top: 0.5rem;
}

.request-card__result svg {
    width: 20px;
    height: 20px;
    stroke: #2ecc71;
    flex-shrink: 0;
    margin-top: 2px;
}

.request-card__result span {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

/* Example */
.request-card__example {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 119, 21, 0.06);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 12px 12px 0;
    margin-top: 0.5rem;
}

.request-card__example-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.request-card__example p {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    margin: 0;
}

.request-card__example strong {
    color: var(--color-text);
}

/* ═══ Request Card Color Variations ═══ */

/* Lecture - Blue */
.request-card--lecture {
    border-color: rgba(0, 191, 255, 0.15);
}

.request-card--lecture::before {
    background: radial-gradient(ellipse at top left, rgba(0, 191, 255, 0.08), transparent 50%);
}

.request-card--lecture:hover {
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.1);
}

.request-card--lecture .request-card__number {
    color: #00BFFF;
}

.request-card--lecture .request-card__label {
    color: #00BFFF;
}

/* Workshop - Orange (Primary) */
.request-card--workshop {
    border-color: rgba(255, 119, 21, 0.15);
}

.request-card--workshop::before {
    background: radial-gradient(ellipse at top left, rgba(255, 119, 21, 0.08), transparent 50%);
}

.request-card--workshop:hover {
    border-color: rgba(255, 119, 21, 0.4);
    box-shadow: 0 20px 50px rgba(255, 119, 21, 0.1);
}

.request-card--workshop .request-card__number {
    color: var(--color-primary);
}

.request-card--workshop .request-card__label {
    color: var(--color-primary);
}

/* Transform - Purple */
.request-card--transform {
    border-color: rgba(199, 125, 255, 0.15);
}

.request-card--transform::before {
    background: radial-gradient(ellipse at top left, rgba(199, 125, 255, 0.08), transparent 50%);
}

.request-card--transform:hover {
    border-color: rgba(199, 125, 255, 0.4);
    box-shadow: 0 20px 50px rgba(199, 125, 255, 0.1);
}

.request-card--transform .request-card__number {
    color: #C77DFF;
}

.request-card--transform .request-card__label {
    color: #C77DFF;
}

/* ═══ Mobile Responsive ═══ */
@media (max-width: 768px) {
    .for-who__subtitle {
        font-size: 1rem;
        margin: -1rem auto 2rem;
        padding: 0 1rem;
    }

    .request-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .request-card__number {
        font-size: 2.5rem;
        width: auto;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        opacity: 0.2;
    }

    .request-card__title {
        font-size: 1.25rem;
        padding-right: 60px;
    }

    .request-card__result,
    .request-card__example {
        padding: 0.85rem 1rem;
    }

    /* Show colors on mobile */
    .request-card::before {
        opacity: 1;
    }

    .request-card--lecture { border-color: rgba(0, 191, 255, 0.3); }
    .request-card--workshop { border-color: rgba(255, 119, 21, 0.3); }
    .request-card--transform { border-color: rgba(199, 125, 255, 0.3); }
}

/* ННН Request Journey (For Who) - V2 Comparison ННН */
.request-journey {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.request-journey__step {
    --step-accent: var(--color-primary);
    --step-accent-soft: rgba(255, 119, 21, 0.14);
    --step-accent-border: rgba(255, 119, 21, 0.35);
    position: relative;
    padding-left: 64px;
}

.request-journey__step--lecture {
    --step-accent: #00BFFF;
    --step-accent-soft: rgba(0, 191, 255, 0.14);
    --step-accent-border: rgba(0, 191, 255, 0.35);
}

.request-journey__step--workshop {
    --step-accent: var(--color-primary);
    --step-accent-soft: rgba(255, 119, 21, 0.14);
    --step-accent-border: rgba(255, 119, 21, 0.35);
}

.request-journey__step--transform {
    --step-accent: #C77DFF;
    --step-accent-soft: rgba(199, 125, 255, 0.14);
    --step-accent-border: rgba(199, 125, 255, 0.35);
}

.request-journey__step::before {
    content: attr(data-step);
    position: absolute;
    left: 0;
    top: 1.35rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--step-accent);
    background: rgba(15, 16, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 6px var(--step-accent-soft);
}

.request-journey__step::after {
    content: '';
    position: absolute;
    left: 19px;
    top: calc(1.35rem + 46px);
    bottom: -1.25rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--step-accent), transparent);
    opacity: 0.35;
}

.request-journey__step:last-child::after {
    display: none;
}

.journey-card {
    background: rgba(26, 28, 35, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.35s ease, box-shadow 0.35s ease;
}

.journey-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at 10% 10%, var(--step-accent-soft), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.journey-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--step-accent), transparent);
    opacity: 0.75;
    pointer-events: none;
}

.request-journey__step:hover .journey-card {
    transform: translateY(-3px);
    border-color: var(--step-accent-border);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.request-journey__step:hover .journey-card::before {
    opacity: 1;
}

.journey-card__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.journey-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--step-accent);
    flex-shrink: 0;
}

.journey-card__icon svg {
    width: 22px;
    height: 22px;
}

.journey-card__heading {
    flex: 1;
}

.journey-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.journey-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-dim);
}

.journey-chip--accent {
    background: var(--step-accent-soft);
    border-color: var(--step-accent-border);
    color: var(--step-accent);
}

.journey-card__title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
    line-height: 1.25;
}

.journey-card__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.journey-panel {
    padding: 1rem 1.15rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
}

.journey-panel__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    opacity: 0.75;
}

.journey-panel__text {
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.7;
    margin: 0.45rem 0 0;
}

.journey-panel__list {
    list-style: none;
    margin: 0.6rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
}

.journey-panel__list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.95rem;
    color: var(--color-text-dim);
    line-height: 1.6;
}

.journey-panel__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--step-accent);
    opacity: 0.85;
    transform: translateY(-50%);
}

.journey-highlight {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.03);
}

.journey-highlight svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.journey-highlight__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    opacity: 0.8;
    margin: 0 0 0.25rem;
}

.journey-highlight__text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

.journey-highlight__text strong {
    color: var(--color-text);
}

.journey-highlight--result {
    background: rgba(46, 204, 113, 0.08);
    border-color: rgba(46, 204, 113, 0.22);
}

.journey-highlight--result svg {
    stroke: #2ecc71;
}

.journey-highlight--example {
    background: var(--step-accent-soft);
    border-color: var(--step-accent-border);
}

.journey-highlight--example svg {
    stroke: var(--step-accent);
}

.journey-highlight--example .journey-highlight__label {
    color: var(--step-accent);
    opacity: 1;
}

@media (min-width: 900px) {
    .journey-card__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .request-journey__step {
        padding-left: 56px;
    }

    .request-journey__step::before {
        top: 1.1rem;
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
        box-shadow: 0 0 0 5px var(--step-accent-soft);
    }

    .request-journey__step::after {
        left: 16px;
        top: calc(1.1rem + 40px);
        bottom: -1rem;
    }

    .journey-card {
        padding: 1.4rem;
    }

    .journey-card__title {
        font-size: 1.25rem;
    }

    .journey-card__icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

.partner-item--productstar:hover {
    background: rgba(199, 125, 255, 0.1);
    border-color: rgba(199, 125, 255, 0.3);
    box-shadow: 0 10px 20px rgba(199, 125, 255, 0.1);
}

.partner-item--robouniver:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: rgba(46, 204, 113, 0.3);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.1);
}

.partner-item--phoenix:hover {
    background: rgba(255, 119, 21, 0.1);
    border-color: rgba(255, 119, 21, 0.3);
    box-shadow: 0 10px 20px rgba(255, 119, 21, 0.1);
}

.partner-item--uralsib .partner-logo {
    filter: grayscale(100%) brightness(6);
}

.partner-item--uralsib:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
}

.partner-item--uralsib:hover {
    background: rgba(59, 23, 92, 0.15);
    border-color: rgba(59, 23, 92, 0.4);
    box-shadow: 0 10px 20px rgba(59, 23, 92, 0.15);
}
