/* Новый градиент: точно от правой обрези блока видео */
.hero.hero--ref .media-player::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 240px;
    height: 100%;
    border-top-left-radius: 36px;
    border-bottom-left-radius: 36px;
    background: linear-gradient(90deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.03) 40%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    color: #1d1d1f;
    background-color: #ffffff;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -0.022em;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

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

h1 {
    font-size: 56px;
    margin-bottom: 27px;
    font-weight: 600;
    color: #1d1d1f;
}

h2 {
    font-size: 48px;
    margin-bottom: 27px;
    font-weight: 600;
    color: #1d1d1f;
}

h3 {
    font-size: 28px;
    margin-bottom: 14px;
    font-weight: 600;
    line-height: 1.14286;
    letter-spacing: 0.007em;
    color: #1d1d1f;
}

p {
    margin-bottom: 21px;
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    letter-spacing: 0.011em;
    color: #1d1d1f;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 28px;
    font-family: inherit;
    letter-spacing: -0.022em;
    gap: 8px;
}

.btn-primary {
    background: #28a745;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    background: #218838;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-outline {
    background: #ffffff;
    color: #495057;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Header */
.header {
    padding: 10px 0 0;
    background: transparent;
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Пилюля-бар как в референсе */
.header .nav {
    background: #ffffff;
    border-radius: 24px;
    padding: 16px 28px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

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

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo-text {
    font-size: 21px;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.022em;
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s ease;
    letter-spacing: -0.022em;
}

.nav-link:hover {
    color: #007aff;
}



/* Emoji Icons */
.emoji-icon {
    font-size: 64px;
    margin-bottom: 32px;
    display: block;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 130px 0 90px;
    background: #f8f9fa;
    text-align: center;
    position: relative;
}
/* контейнер позиционируем, чтобы положить градиент справа */
.hero .container { position: relative; }

/* HERO — стиль по референсу */
.hero--ref {
    background: #f8f9fa;
}

.hero.hero--ref .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr !important;
    gap: 80px !important;
    align-items: center !important;
    width: 100%;
}

.hero.hero--ref .hero-left { text-align: left; max-width: 720px !important; }
.hero-right { position: relative; }

.hero.hero--ref .hero-title--ref {
    font-size: 68px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.01em !important;
    margin: 8px 0 20px !important;
}

.hero-accent { color: #3b82f6; }
.hero-note { font-size: 16px; color: #6c7a89; margin-top: 20px; }
.hero-quote {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-left: 3px solid #e5e7eb;
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
}
.hero-quote-play {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #cfd5df;
    background: #f3f4f6;
    color: #1f2937;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}
.hero-quote-play:hover {
    background: #e5e7eb;
}
.hero-quote-text {
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
}
.hero-quote audio {
    display: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-top-text {
    background: rgba(108, 117, 125, 0.1);
    padding: 16px 32px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
}

.hero.hero--ref .hero-description {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #495057 !important;
    margin-bottom: 24px !important;
    max-width: 560px !important;
    font-weight: 400 !important;
}

.hero-title {
    font-size: 36px;
    margin: 32px 0 40px;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
    letter-spacing: -0.02em;
    max-width: 800px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Кнопки HERO слева в одну строку для нового варианта */
.hero--ref .hero-actions {
    justify-content: flex-start;
    flex-wrap: nowrap;
}
/* Крупные кнопки только в HERO */
.hero--ref .hero-actions .btn { padding: 14px 26px !important; font-size: 17px !important; }
.hero--ref .hero-actions { margin-top: 10px; }

/* Кнопки HERO (желтые как у референса) */
.btn-yd {
    border-radius: 14px;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 17px;
}

.btn-yd--primary { background: #ffd400; color: #111; }
.btn-yd--primary:hover { background: #ffcc00; transform: translateY(-2px); }

.btn-yd--outline { background: #ffffff; border: 2px solid #e6eefc; color: #1a56db; }
.btn-yd--outline:hover { background: #f5f8ff; }

.hero-video {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0 auto 32px;
}

/* Стек медиа (вместо картинок справа — видео) */
.hero.hero--ref .media-stack { position: relative; width: 100%; max-width: 760px !important; margin: 0 auto; margin-left: 80px; overflow: visible; z-index: 0; }

/* Аккуратный правый каскад от видео (тонкий градиент) */
.hero-right::after {
    content: '';
    display: none;
}

/* Градиент привязан вплотную к блоку с видео */
.hero.hero--ref .media-stack::after {
    content: '';
    position: absolute;
    top: 0;
    left: calc(100% - 300px);
    width: 240px;
    height: 100%;
    border-top-left-radius: 36px;
    border-bottom-left-radius: 36px;
    background: linear-gradient(90deg, rgba(40,167,69,0.28) 0%, rgba(40,167,69,0.16) 40%, rgba(40,167,69,0.02) 100%);
    pointer-events: none;
    z-index: -1;
}

@media (max-width: 1200px) {
    
}
@media (max-width: 1024px) {
    
}
@media (max-width: 834px) {
    
}

/* Правый каскадный градиент от видео к краю */
/* удалён правый градиент */

/* На планшете смягчаем/уменьшаем */
@media (max-width: 1024px) {
    
}

/* На мобильных скрываем градиент */
@media (max-width: 834px) {
    
}
.hero.hero--ref .media-layer { position: absolute; left: 6%; right: 6%; height: 90px; border-radius: 28px; }
.hero.hero--ref .media-layer.layer-1 { bottom: -26px; background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35)); box-shadow: 0 14px 40px rgba(0,0,0,0.08); }
.hero.hero--ref .media-layer.layer-2 { bottom: -52px; background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0.3)); box-shadow: 0 18px 48px rgba(0,0,0,0.08); }
.hero.hero--ref .media-layer.layer-3 { bottom: -78px; background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25)); box-shadow: 0 22px 60px rgba(0,0,0,0.08); }
.media-player { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 28px 70px rgba(0,0,0,0.25); background: #000; }
.hero.hero--ref .media-player { aspect-ratio: 9 / 16; max-width: 320px !important; width: 100%; }
.media-player video { display: block; width: 100%; height: 100%; object-fit: cover; }

.hero-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

.hero-video video:hover {
    filter: none !important;
    transform: none !important;
    backdrop-filter: none !important;
}

/* Video controls styling */
.hero-video video {
    background: transparent !important;
    object-fit: cover;
}

.hero-video video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.hero-video video::-webkit-media-controls {
    border-radius: 0 0 18px 18px;
}

.hero-video video::-webkit-media-controls-play-button,
.hero-video video::-webkit-media-controls-mute-button,
.hero-video video::-webkit-media-controls-fullscreen-button {
    filter: brightness(1.5);
}

/* Reviews (Отзывы) */
/* (reverted) удалены стили карусели отзывов */

@media (max-width: 1200px){ .reviews-grid{ grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 720px){ .reviews-grid{ grid-template-columns: 1fr;} }

/* Sections */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-child(even) {
    background: #f5f5f7;
}

.section-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1d1d1f;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    color: #1d1d1f;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.005em;
}

/* Process Steps - Modern Design */
.process-steps-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid #e5e5e7;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transition: height 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #d1d1d6;
}

.step-card:hover::before {
    height: 100%;
}

.step-number-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.step-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-card-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Old Process Steps - Keep for compatibility */
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.step-item {
    flex: 1;
    text-align: center;
    max-width: 180px;
    margin: 0 8px;
}

.step-icon {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #007aff 0%, #0056d6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.2);
}

.step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #34c759;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.step-emoji {
    font-size: 22px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.step-description {
    font-size: 14px;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}

.step-arrow {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #007aff;
    margin: 0 12px;
    margin-top: 30px;
    font-weight: 600;
}

/* Why Content */
.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
    align-items: flex-start;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-point strong {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
    letter-spacing: 0.005em;
    display: block;
    margin-bottom: 4px;
}

.benefit-desc {
    font-size: 14px;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Why It Works Section Styles - Modern */
.why-it-works {
    background: #f8f9fa;
}

.benefits-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid #e5e5e7;
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #d1d1d6;
}

.benefit-icon-modern {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.benefit-title-modern {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.3;
}

.benefit-description-modern {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Lead Example Showcase */
.lead-example-wrapper {
    margin-top: 64px;
    text-align: center;
}

.lead-example-title {
    font-size: 22px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 32px;
}

.telegram-showcase-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e5e7;
    max-width: 600px;
    margin: 0 auto;
}

.showcase-header-modern {
    background: linear-gradient(135deg, #0088cc, #0066aa);
    padding: 16px 20px;
}

.showcase-badge-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.badge-icon-modern {
    font-size: 18px;
}

.badge-text-modern {
    font-weight: 600;
    font-size: 15px;
}

.badge-count-modern {
    font-size: 13px;
    opacity: 0.9;
    margin-left: auto;
}

.showcase-messages-modern {
    padding: 24px 20px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-item-modern {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border-left: 3px solid #e5e5e7;
    transition: all 0.2s ease;
    text-align: left;
}

.message-item-modern:hover {
    transform: translateX(4px);
    border-left-color: #0088cc;
}

.message-item-modern.featured-modern {
    border-left-color: #ff6b35;
    background: linear-gradient(135deg, #fff9f6, #ffffff);
    position: relative;
}

.message-author-modern {
    font-weight: 600;
    font-size: 14px;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.message-text-modern {
    font-size: 15px;
    color: #495057;
    line-height: 1.5;
}

.message-highlight-modern {
    display: inline-block;
    background: #ff6b35;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 8px;
}

.showcase-footer-modern {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e5e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-label-modern {
    font-size: 13px;
    color: #0088cc;
    font-weight: 500;
}

.footer-time-modern {
    font-size: 13px;
    color: #86868b;
}

/* Old Why It Works Styles */
.why-it-works-old {
    background: #fbfbfd;
}

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

.why-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.why-content {
    align-items: stretch;
}

.why-left {
    max-width: 520px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    flex: 1;
}

.benefit-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.benefit-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0fdf4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
    line-height: 1.3;
}

.benefit-description {
    font-size: 14px;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

.why-right {
    max-width: 480px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.telegram-showcase {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-header {
    background: linear-gradient(135deg, #0088cc, #0066aa);
    padding: 16px 20px;
}

.showcase-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.badge-icon {
    font-size: 18px;
}

.badge-text {
    font-weight: 600;
    font-size: 15px;
}

.badge-count {
    font-size: 13px;
    opacity: 0.8;
    margin-left: auto;
}

.showcase-messages {
    padding: 20px;
    background: #f8f9fa;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.message-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 3px solid #e5e5e7;
    transition: all 0.2s ease;
}

.message-item:last-child {
    margin-bottom: 0;
}

.message-item.featured {
    border-left-color: #ff6b35;
    background: linear-gradient(135deg, #fff9f6, #ffffff);
    position: relative;
}

.message-author {
    font-weight: 600;
    font-size: 14px;
    color: #1d1d1f;
    margin-bottom: 6px;
}

.message-text {
    font-size: 14px;
    color: #515154;
    line-height: 1.4;
}

.message-highlight {
    position: absolute;
    top: -8px;
    right: 16px;
    background: #ff6b35;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.showcase-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-label {
    font-size: 13px;
    color: #0088cc;
    font-weight: 500;
}

.footer-time {
    font-size: 13px;
    color: #86868b;
}

/* Personal Selling Section */
.selling-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
    align-items: flex-start;
}

.selling-left {
    text-align: left;
}

.selling-intro {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.005em;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.selling-description {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #86868b;
    margin-bottom: 24px;
}

.selling-left .benefits-list {
    margin: 20px 0;
}

.selling-left .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.selling-left .benefit-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.selling-left .benefit-text {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: #1d1d1f;
}

.selling-conclusion {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: #86868b;
    margin-bottom: 0;
}

/* Chat Illustration */
.chat-illustration {
    background: #f5f5f7;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background: #ffffff;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    font-size: 32px;
}

.chat-name {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.3;
}

.chat-status {
    font-size: 14px;
    color: #86868b;
}

.chat-messages {
    padding: 20px;
    min-height: 300px;
}

.chat-message {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-message.client .message-bubble {
    background: #e5e5ea;
    color: #1d1d1f;
    margin-left: 0;
    margin-right: 40px;
}

.chat-message.manager .message-bubble {
    background: #007aff;
    color: white;
    margin-left: 40px;
    margin-right: 0;
    align-self: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
    max-width: 80%;
}

.message-time {
    font-size: 12px;
    color: #86868b;
    align-self: flex-end;
    margin-right: 8px;
}

.chat-message.client .message-time {
    align-self: flex-start;
    margin-left: 8px;
    margin-right: 0;
}

.chat-note {
    padding: 12px 20px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
    font-size: 14px;
    color: #34c759;
    font-weight: 500;
}



/* Demo Section */
.demo {
    background: #f5f5f7;
}

.demo-content {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.demo-center {
    max-width: 600px;
    text-align: center;
}

.demo-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
}

.demo-topics {
    margin-bottom: 24px;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: #1d1d1f;
}

.topic-item:last-child {
    border-bottom: none;
}

.topic-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.demo-btn {
    margin-bottom: 12px;
}

.demo-note {
    font-size: 14px;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}





/* Testimonials Section */
.testimonials-section {
    background: #f8f9fa;
    overflow: hidden;
}

.testimonials-wrapper {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    animation: scrollTestimonials 60s linear infinite;
    width: calc(380px * 14 + 24px * 13); /* Ширина для всех карточек */
}

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

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-380px * 10 - 24px * 9)); /* Сдвиг на 10 карточек */
    }
}

.testimonial-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    min-width: 356px;
    max-width: 356px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 50%;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text p {
    font-size: 14px;
    color: #1d1d1f;
    line-height: 1.5;
    margin: 0 0 8px 0;
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
}

/* Videos Section */
.videos-section {
    background: #fbfbfd;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.video-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.video-player {
    position: relative;
    width: 100%;
    background: #000000;
}

.video-player video {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 24px;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.video-description {
    font-size: 14px;
    color: #86868b;
    line-height: 1.5;
    margin: 0;
}

/* Replacement Section - Modern Comparison */
.replacement {
    background: #ffffff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e5e5e7;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.comparison-before,
.comparison-after {
    flex: 1;
    text-align: center;
}

.comparison-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.before-label {
    background: #ffe5e5;
    color: #dc3545;
}

.after-label {
    background: #e8f5e9;
    color: #28a745;
}

.comparison-title {
    font-size: 17px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.comparison-desc {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
}

.comparison-arrow {
    font-size: 24px;
    color: #667eea;
    font-weight: 600;
    flex-shrink: 0;
}

/* Old Replacement Styles */
.replacement-old {
    background: #f5f5f7;
}

.replacement-table {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    margin-top: 32px;
    align-items: flex-start;
}

.table-column {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.table-column.was {
    border-left: 3px solid #ff3b30;
}

.table-column.became {
    border-left: 3px solid #34c759;
}

.column-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

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

.replacement-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f5f5f7;
    border-radius: 10px;
}

.item-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.item-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.item-text span {
    font-size: 13px;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
}

.table-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
}

.arrow-icon {
    font-size: 36px;
    color: #007aff;
    font-weight: 600;
    margin-bottom: 6px;
}

.arrow-text {
    font-size: 14px;
    font-weight: 600;
    color: #007aff;
    letter-spacing: -0.01em;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #fff8e7 0%, #f5f5f7 100%);
}

.final-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.final-left {
    text-align: left;
}

.final-title {
    font-size: 32px;
    font-weight: 600;
    color: #1d1d1f;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.final-subtitle {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 0.005em;
    color: #86868b;
    margin-bottom: 28px;
}

.final-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.final-note {
    font-size: 14px;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
}

/* Value Stack */
.value-stack {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.stack-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 20px;
    text-align: center;
}

.stack-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.stack-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #1d1d1f;
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.stack-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.stack-total {
    border-top: 1px solid #f5f5f7;
    padding-top: 16px;
    text-align: center;
}

.total-text {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 8px;
}

.total-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.old-price {
    font-size: 16px;
    color: #86868b;
    text-decoration: line-through;
}

.new-price {
    font-size: 24px;
    font-weight: 600;
    color: #007aff;
    line-height: 1.2;
    letter-spacing: 0.005em;
}

.savings-text {
    font-size: 12px;
    color: #86868b;
    margin-top: 8px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 834px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title, .section-title {
        font-size: 26px;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }
    
    .emoji-icon {
        font-size: 48px;
        margin-bottom: 24px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 28px;
        margin: 24px 0 32px;
    }
    .hero-title--ref { font-size: 32px; }

    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-video {
        max-width: 90%;
        margin-bottom: 24px;
    }
    
    /* HERO ref adjustments */
    .hero-title--ref { font-size: 28px; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .hero-left { text-align: center; }
    .hero-right { margin-top: 0; }
    .media-player { max-width: 90%; margin: 0 auto 24px; }
    .hero.hero--ref .media-player { max-width: 250px !important; }
    .hero.hero--ref .media-stack { margin-left: 0; }
    
    /* Скрываем каскадные элементы на мобильных */
    .hero.hero--ref .media-player::after,
    .hero.hero--ref .media-stack::after {
        display: none;
    }
    
    .hero-actions, .final-actions {
        flex-direction: column;
        align-items: center;
    }
    /* На планшете и ниже допускаем перенос */
    .hero--ref .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .process-steps-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .benefits-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .benefit-card-modern {
        padding: 28px 24px;
    }

    .lead-example-wrapper {
        margin-top: 48px;
    }

    .lead-example-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .telegram-showcase-modern {
        max-width: 100%;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }

    .why-content, .selling-content, .final-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-left {
        max-width: 100%;
        order: 2;
    }
    
    .why-right {
        max-width: 100%;
        margin-left: 0;
        order: 1;
    }
    
    .benefits-grid {
        gap: 16px;
    }
    
    .benefit-card {
        padding: 20px;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .comparison-card {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }

    .replacement-table {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .table-arrow {
        margin: 16px 0;
    }

    .arrow-icon {
        transform: rotate(90deg);
    }
    

    
    .nav-links {
        gap: 32px;
    }
    
    .logo-img {
        height: 38px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Адаптивные стили для отзывов */
    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 20px;
    }
    
    .testimonials-track {
        animation-duration: 50s;
        width: calc(304px * 14 + 24px * 13);
    }
    
    @keyframes scrollTestimonials {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-304px * 10 - 24px * 9));
        }
    }


}

@media (max-width: 430px) {
    .container {
        padding: 0 16px;
    }
    
    .hero {
        padding: 90px 0 70px;
    }
    
    .hero-title, .section-title {
        font-size: 22px;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }
    
    section {
        padding: 40px 0;
    }
    
    .btn {
        padding: 11px 22px;
        font-size: 17px;
        width: 100%;
        max-width: 300px;
    }

    .hero {
        padding: 70px 0 60px;
    }

    .hero-title {
        font-size: 24px;
        margin: 20px 0 28px;
    }
    .hero-title--ref { font-size: 24px; }

    .hero-description {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-top-text {
        font-size: 14px;
        padding: 12px 24px;
        margin-bottom: 20px;
    }

    .hero-video {
        max-width: 95%;
        margin-bottom: 20px;
    }
    .media-player { max-width: 95%; margin-bottom: 20px; }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hero-grid { grid-template-columns: 1fr; }

    .process-steps-modern {
        gap: 16px;
        margin-top: 24px;
    }

    .step-card {
        padding: 20px 16px;
    }

    .step-card-title {
        font-size: 17px;
    }

    .step-card-description {
        font-size: 14px;
    }

    .benefits-grid-modern {
        gap: 16px;
        margin-top: 24px;
    }

    .benefit-card-modern {
        padding: 24px 20px;
    }

    .benefit-icon-modern {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .benefit-title-modern {
        font-size: 18px;
    }

    .benefit-description-modern {
        font-size: 14px;
    }

    .lead-example-wrapper {
        margin-top: 40px;
    }

    .lead-example-title {
        font-size: 18px;
        padding: 0 16px;
    }

    .showcase-badge-modern {
        flex-wrap: wrap;
    }

    .badge-count-modern {
        width: 100%;
        margin-left: 30px;
        margin-top: 4px;
    }

    .process-steps {
        gap: 24px;
    }

    .step-item {
        max-width: 100%;
        margin: 0;
    }

    .step-arrow {
        margin: 8px 0;
    }

    .comparison-grid {
        gap: 16px;
        margin-top: 24px;
    }

    .comparison-card {
        padding: 20px 16px;
        gap: 16px;
    }

    .comparison-title {
        font-size: 16px;
    }

    .comparison-desc {
        font-size: 13px;
    }

    .comparison-arrow {
        font-size: 18px;
    }

    .replacement-item {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }



    .table-column {
        padding: 20px 16px;
    }

    .chat-messages {
        min-height: 200px;
    }



    .final-title {
        font-size: 32px;
    }

    .hero-video {
        max-width: 80%;
    }
    
    .nav-links {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    /* Скрываем все ссылки кроме последней (Войти) на мобильных */
    .nav-link:not(:last-child) {
        display: none;
    }
    
    .logo-text {
        font-size: 19px;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .video-item {
        margin-bottom: 20px;
    }
    
    .video-info {
        padding: 20px;
    }
    
    /* Адаптивные стили для отзывов на мобильных */
    .testimonial-card {
        min-width: 260px;
        max-width: 260px;
        padding: 16px;
        gap: 12px;
    }
    
    .testimonial-avatar {
        font-size: 24px;
        width: 40px;
        height: 40px;
    }
    
    .testimonial-text p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .testimonial-author {
        font-size: 12px;
    }
    
    .testimonials-track {
        animation-duration: 45s;
        width: calc(284px * 14 + 20px * 13);
        gap: 20px;
    }
    
    @keyframes scrollTestimonials {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-284px * 10 - 20px * 9));
        }
    }
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 32px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #86868b;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.close:hover {
    color: #1d1d1f;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    text-align: center;
}

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

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d1d6;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background-color: #ffffff;
    font-family: inherit;
    resize: vertical;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #86868b;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.order-form .btn,
.demo-form .btn {
    width: 100%;
    margin-top: 12px;
    font-size: 17px;
    padding: 14px 24px;
}

@media (max-width: 430px) {
    .modal-content {
        margin: 20% auto;
        padding: 24px;
        width: 95%;
    }
    
    .modal-content h3 {
        font-size: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    .form-group select {
        padding-right: 36px;
        background-size: 14px;
    }
}

/* Стили для чекбоксов */
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px !important;
    color: #1d1d1f !important;
    line-height: 1.4;
    margin-bottom: 0 !important;
    padding: 8px 0;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d1d6;
    border-radius: 4px;
    background-color: #ffffff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-label:hover .checkmark {
    border-color: #007aff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #007aff;
    border-color: #007aff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label a {
    color: #007aff;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Футер */
.footer {
    background: #1a1d29;
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

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

.footer-column .footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    color: #a8a8b0;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.2s ease;
    letter-spacing: -0.01em;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #2a2d39;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-company {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.footer-details {
    font-size: 14px;
    color: #a8a8b0;
    margin: 0;
    letter-spacing: -0.01em;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: #2a2d39;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8a8b0;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #007aff;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Адаптивность футера */
@media (max-width: 834px) {
    .footer {
        padding: 50px 0 25px;
    }
    
    .footer-columns {
        margin-bottom: 30px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .footer-bottom-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-info {
        text-align: left;
    }
    
    .footer-bottom-right {
        align-self: stretch;
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-columns {
        margin-bottom: 20px;
    }
    
    .footer-column .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-title {
        font-size: 15px;
        margin-bottom: 16px;
    }
    

    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-company {
        font-size: 15px;
    }
    
    .footer-details {
        font-size: 13px;
        word-break: break-word;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .social-link svg {
                 width: 18px;
         height: 18px;
     }
 }

/* Стили для документальных страниц */
.document-page {
    background: #ffffff !important;
    padding: 100px 0 60px;
    min-height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

body.document-body {
    background: #ffffff !important;
    overflow-x: hidden;
    opacity: 1 !important;
    transition: none !important;
}

.document-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff !important;
    position: relative;
    z-index: 2;
    text-align: left;
}

.document-content * {
    text-align: left;
}

.document-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: left;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.document-intro {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #007aff;
    border-radius: 4px;
}

.document-intro p {
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.6;
    margin: 0;
    text-align: left;
}

.document-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e7;
}

.document-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #007aff;
    display: inline-block;
}

.subsection {
    margin-bottom: 15px;
}

.subsection h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    display: inline;
}

.subsection p {
    font-size: 14px;
    color: #1d1d1f;
    line-height: 1.6;
    margin: 8px 0;
    text-align: left;
}

.subsection ul {
    margin: 10px 0;
    padding-left: 20px;
}

.subsection li {
    font-size: 14px;
    color: #1d1d1f;
    line-height: 1.6;
    margin-bottom: 5px;
}

.definitions p {
    background: #f8f9fa;
    padding: 15px;
    margin: 10px 0;
    border-left: 3px solid #007aff;
    border-radius: 4px;
}

.definitions strong {
    color: #007aff;
    font-weight: 600;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e5e5e7;
    margin-top: 20px;
}

.contact-info p {
    font-size: 14px;
    color: #1d1d1f;
    margin: 5px 0;
    text-align: left;
}

.contact-info strong {
    color: #007aff;
    font-weight: 600;
}

@media (max-width: 768px) {
    /* Скрываем каскадные элементы на мобильных */
    .hero.hero--ref .media-player::after,
    .hero.hero--ref .media-stack::after {
        display: none !important;
    }
    
    /* Предотвращаем горизонтальный скролл */
    body {
        overflow-x: hidden;
    }
    
    .hero.hero--ref .hero-right,
    .hero.hero--ref .media-stack {
        overflow: hidden;
    }
    
    .document-page {
        padding: 80px 0 40px;
    }
    
    .document-content {
        padding: 0 15px;
    }
    
    .document-title {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .subsection h4 {
        font-size: 13px;
    }
    
    .subsection p,
    .subsection li {
        font-size: 13px;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1d29;
    color: #ffffff;
    padding: 20px 0;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #a8a8b0;
}

.cookie-text a {
    color: #007aff;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
    min-width: auto;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        max-width: 120px;
    }
}

/* Partners Page Specific Styles */
.partners-earnings {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.earnings-item {
    text-align: center;
    padding: 25px 15px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
    border: 1px solid #e0e8ff;
    transition: all 0.3s ease;
}

.earnings-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.1);
}

.earnings-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.earnings-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
}

.earnings-desc {
    font-size: 0.8rem;
    color: #444;
    line-height: 1.5;
    margin: 0;
}

.partner-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.partner-form-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.partner-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.benefit-emoji {
    font-size: 24px;
}

/* Адаптивные стили для партнёрской страницы */
@media (max-width: 1200px) {
    .partners-earnings {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .partners-earnings {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .earnings-number {
        font-size: 2rem;
    }
    
    .earnings-label {
        font-size: 1rem;
    }
    
    .earnings-desc {
        font-size: 0.9rem;
    }
    
    .earnings-item {
        padding: 30px 20px;
    }
    
    .partner-form {
        padding: 30px 20px;
    }
    
    .partner-form-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 430px) {
    .earnings-item {
        padding: 25px 15px;
    }
    
    .earnings-number {
        font-size: 1.8rem;
    }
    
    .earnings-label {
        font-size: 0.9rem;
    }
    
    .earnings-desc {
        font-size: 0.85rem;
    }
    
    .partner-form {
        padding: 25px 15px;
    }
    
    .partner-form-subtitle {
        font-size: 1rem;
    }
}

/* Careers Section Styles */
.careers-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.careers-left {
    max-width: 480px;
}

.careers-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    line-height: 1.3;
}

.career-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.career-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.career-benefit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.career-benefit .benefit-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.career-benefit span:last-child {
    font-size: 16px;
    color: #1d1d1f;
    font-weight: 500;
}

.careers-right {
    display: flex;
    justify-content: center;
}

.team-showcase {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 400px;
    width: 100%;
}

.team-header {
    text-align: center;
    margin-bottom: 32px;
}

.team-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.team-header p {
    font-size: 14px;
    color: #86868b;
    margin: 0;
}

.team-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 500;
}

/* Page Hero Styles */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.page-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 20px;
    color: #6c757d;
    margin-bottom: 24px;
    line-height: 1.5;
}

.vacancy-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.badge {
    background: #28a745;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Company About Styles */
.company-about {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-description {
    font-size: 18px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 20px;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 24px 16px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-card .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.company-values {
    margin-top: 60px;
}

.values-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #1d1d1f;
}

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

.value-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.value-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.value-content p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Vacancies Section Styles */
.vacancies-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.vacancy-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.vacancy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.vacancy-header {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.vacancy-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.vacancy-info {
    flex: 1;
}

.vacancy-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.vacancy-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.vacancy-type,
.vacancy-format {
    background: #e9f7ef;
    color: #28a745;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.vacancy-description {
    font-size: 16px;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.vacancy-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.requirement-tag {
    background: #f8f9fa;
    color: #6c757d;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

/* Job Description Styles */
.job-description {
    padding: 60px 0;
}

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

.job-main {
    text-align: left;
}

.job-section {
    margin-bottom: 40px;
}

.job-intro {
    font-size: 18px;
    color: #495057;
    margin-bottom: 24px;
    line-height: 1.6;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.detail-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.job-text {
    font-size: 16px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 24px;
}

.requirements-list h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 16px;
}

.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #495057;
    line-height: 1.5;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 600;
}

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

.benefit-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.benefit-item .benefit-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.benefit-item strong {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    display: block;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Application Form Styles */
.application-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
}

.application-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 24px;
    text-align: center;
}

.job-form .form-group {
    margin-bottom: 20px;
}

.job-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 8px;
}

.job-form input,
.job-form textarea,
.job-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    color: #495057;
    background: #ffffff;
    transition: all 0.2s ease;
}

.job-form input:focus,
.job-form textarea:focus,
.job-form select:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.job-form textarea {
    resize: vertical;
    min-height: 80px;
}

.success-message {
    text-align: center;
    padding: 32px;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.success-message h4 {
    font-size: 20px;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 12px;
}

.success-message p {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Join Us Section */
.join-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    text-align: center;
}

.join-content .section-title {
    color: #ffffff;
    margin-bottom: 16px;
}

.join-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.join-content .btn-primary {
    background: #ffffff;
    color: #28a745;
    font-weight: 600;
}

.join-content .btn-primary:hover {
    background: #f8f9fa;
    color: #218838;
}

/* Responsive Styles for Careers */
@media (max-width: 1024px) {
    .careers-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .careers-right {
        justify-content: flex-start;
    }
    
    .team-showcase {
        max-width: none;
    }
    
    .job-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .application-form {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .vacancies-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .vacancy-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .company-stats {
        grid-template-columns: 1fr;
    }
    
    .vacancy-card {
        padding: 24px;
    }
    
    .application-form {
        padding: 24px;
    }
}

/* Стили для кейсов */
.cases-section {
    padding: 60px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-align: left;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.case-header {
    margin-bottom: 20px;
}

.case-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.case-title {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.3;
}

.case-subtitle {
    font-size: 15px;
    color: #86868b;
    margin-bottom: 0;
}

.case-stats {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.case-stat {
    flex: 1;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #28a745;
    display: block;
}

.stat-description {
    font-size: 13px;
    color: #86868b;
    margin-top: 2px;
}

.case-results {
    margin: 20px 0;
}

.result-item {
    font-size: 14px;
    color: #1d1d1f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.case-card .btn {
    width: 100%;
    margin-top: 20px;
}

/* Страница кейса */
.case-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #86868b;
}

.case-breadcrumb a {
    color: #007aff;
    text-decoration: none;
}

.case-breadcrumb a:hover {
    text-decoration: underline;
}

.case-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
}

.case-stats-section {
    background: #f5f5f7;
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-item.highlight {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
    color: inherit;
}

.stat-label {
    font-size: 14px;
    color: inherit;
    opacity: 0.8;
}

.case-problem,
.case-solution,
.case-results {
    padding: 60px 0;
}

.case-content {
    max-width: 1000px;
    margin: 0 auto;
}

.problem-description,
.solution-description {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.problem-icon,
.solution-icon {
    font-size: 64px;
    flex-shrink: 0;
}

.problem-text,
.solution-text {
    flex: 1;
}

.problem-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.problem-stat {
    text-align: center;
    padding: 20px;
    background: #ffebee;
    border-radius: 12px;
    flex: 1;
}

.stat-value.bad {
    color: #dc3545;
}

.stat-value.good {
    color: #28a745;
}

.solution-steps {
    margin: 30px 0;
}

.solution-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    background: #007aff;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 5px;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.step-content p {
    color: #86868b;
    margin-bottom: 15px;
}

.example-queries {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.query-example {
    font-style: italic;
    color: #495057;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    border-left: 3px solid #007aff;
}

.query-example:last-child {
    margin-bottom: 0;
}

.results-comparison {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.result-column {
    flex: 1;
    text-align: center;
}

.result-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.result-column.before h3 {
    color: #dc3545;
}

.result-column.after h3 {
    color: #28a745;
}

.result-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
}

.result-item.bad {
    background: #ffebee;
    border: 1px solid #ffcdd2;
}

.result-item.good {
    background: #e8f5e8;
    border: 1px solid #c8e6c9;
}

.result-metric {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.result-item.bad .result-metric {
    color: #dc3545;
}

.result-item.good .result-metric {
    color: #28a745;
}

.result-label {
    font-size: 13px;
    color: #86868b;
}

.result-arrow {
    font-size: 32px;
    color: #007aff;
    flex-shrink: 0;
}

.key-benefits {
    margin-top: 50px;
}

.key-benefits h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 30px;
    text-align: center;
}

.case-examples {
    background: #f5f5f7;
    padding: 60px 0;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
}

.example-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.example-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
}

.example-icon {
    font-size: 24px;
}

.example-meta {
    flex: 1;
}

.example-source {
    font-size: 14px;
    font-weight: 600;
    color: #1d1d1f;
    display: block;
}

.example-time {
    font-size: 12px;
    color: #86868b;
}

.example-message {
    font-style: italic;
    color: #495057;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #007aff;
    margin-bottom: 15px;
}

.example-result {
    display: flex;
    gap: 10px;
    align-items: center;
}

.result-badge {
    background: #28a745;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.result-text {
    font-size: 14px;
    font-weight: 600;
    color: #28a745;
}

.client-review {
    padding: 60px 0;
    background: #f8f9fa;
}

.review-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.review-avatar {
    font-size: 64px;
    margin-bottom: 30px;
}

.review-text {
    font-size: 18px;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0;
    border: none;
    background: none;
}

.review-author {
    font-size: 16px;
    color: #1d1d1f;
}

.how-to-start {
    padding: 60px 0;
}

.start-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 40px 0;
}

.start-step {
    text-align: center;
}

.start-step .step-number {
    background: #007aff;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 20px;
}

.start-step h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.start-step p {
    color: #86868b;
}

.start-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px;
}

.start-guarantee {
    font-size: 14px;
    color: #86868b;
    font-style: italic;
}

.related-cases {
    background: #f5f5f7;
    padding: 60px 0;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.related-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-4px);
}

.related-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.related-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.related-card p {
    color: #86868b;
    margin-bottom: 20px;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content .section-title {
    color: #ffffff;
}

.cta-content .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px;
}

.cta-actions .btn-primary {
    background: #ffffff;
    color: #667eea;
}

.cta-actions .btn-primary:hover {
    background: #f8f9fa;
}

.cta-actions .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
    background: transparent;
}

.cta-actions .btn-outline:hover {
    background: #ffffff;
    color: #667eea;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Адаптивность для кейсов */
@media (max-width: 834px) {
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .problem-description,
    .solution-description {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .problem-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .results-comparison {
        flex-direction: column;
        gap: 30px;
    }
    
    .result-arrow {
        transform: rotate(90deg);
    }
    
    .start-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .start-actions .btn,
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 430px) {
    .case-card {
        padding: 20px;
    }
    
    .case-icon-large {
        font-size: 48px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .example-card {
        padding: 20px;
    }
    
    .solution-step {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .start-steps {
        gap: 30px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Стили для реальных лидов */
.real-leads-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.leads-header {
    text-align: center;
    margin-bottom: 40px;
}

.leads-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.lead-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #007aff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lead-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.lead-author {
    font-size: 13px;
    font-weight: 600;
    color: #007aff;
    margin-bottom: 8px;
}

.lead-message {
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.4;
    font-style: italic;
}

.leads-result {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

.result-text {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.leads-result .btn-primary {
    background: #ffffff;
    color: #28a745;
    border: none;
}

.leads-result .btn-primary:hover {
    background: #f8f9fa;
    color: #218838;
}

.leads-result .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
    background: transparent;
}

.leads-result .btn-outline:hover {
    background: #ffffff;
    color: #28a745;
}

.example-author {
    font-weight: 600;
    color: #007aff;
    margin-bottom: 8px;
    font-size: 14px;
}

.result-badge.live {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #ffffff;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.leadburn-footer {
    margin-top: 50px;
}

.footer-card {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.footer-card h3 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 24px;
}

.footer-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.footer-actions .btn-primary {
    background: #ffffff;
    color: #28a745;
    border: none;
}

.footer-actions .btn-primary:hover {
    background: #f8f9fa;
    color: #218838;
}

.footer-actions .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
    background: transparent;
}

.footer-actions .btn-outline:hover {
    background: #ffffff;
    color: #28a745;
}

/* Стили для секции кейсов на главной */
.home-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.home-case-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.home-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.home-case-card .case-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.home-case-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.case-result {
    font-size: 20px;
    font-weight: 700;
    color: #007aff;
    margin-bottom: 8px;
}

.case-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.case-link {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.case-link:hover {
    color: #0051d3;
}

.cases-cta {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.cases-cta-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Адаптивность для кейсов на главной */
@media (max-width: 834px) {
    .home-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
    
    .home-case-card {
        padding: 20px;
    }
}

@media (max-width: 430px) {
    .home-cases-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .home-case-card {
        padding: 18px;
    }
    
    .case-result {
        font-size: 18px;
    }
}

/* Адаптивность для реальных лидов */
@media (max-width: 834px) {
    .leads-showcase {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .leads-result {
        padding: 25px 20px;
    }
    
    .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .result-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 430px) {
    .real-leads-section {
        padding: 40px 0;
    }
    
    .lead-item {
        padding: 16px;
    }
    
    .leads-result {
        padding: 20px 15px;
    }
    
    .result-text {
        font-size: 15px;
    }
}
