/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

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

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    line-height: 1.6;
    color: #240a0a;
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #ff004d, #ff3366);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 0, 77, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: #ff004d;
    border: 2px solid #ff004d;
}

.btn-secondary:hover {
    background: #ff004d;
    color: white;
}

.btn.large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(36, 10, 10, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

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

.logo img {
    height: 32px;
    width: auto;
}

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

.nav a {
    text-decoration: none;
    color: #240a0a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ff004d;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.highlight {
    color: #ff004d;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff004d, transparent);
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: 'JetBrains Mono', 'Poppins', monospace;
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff004d;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
}

.phone-frame {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.phone-content {
    position: absolute;
    top: 12%;
    left: 15%;
    width: 71%;
    height: 75%;
    background: #f8f9fa;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot-preview {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bot-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Изначально скрываем все сообщения чата до загрузки JavaScript */
.message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: fadeInUp 0.5s ease;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.6s ease;
}

/* Дополнительное скрытие для каталога ботов */
.bots-grid .bot-messages .message {
    opacity: 0 !important;
    transform: translateY(20px) !important;
}

.message.incoming {
    justify-content: flex-start;
}

.message.outgoing {
    justify-content: flex-end;
}

.message .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ff004d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.message .text {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 70%;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.message.outgoing .text {
    background: #ff004d;
    color: white;
}

/* Floating Animation */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: 24px;
    opacity: 0.1;
    animation: floating 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
.floating-icon:nth-child(4) { top: 40%; right: 30%; animation-delay: 1s; }

@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: white;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #240a0a;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.comparison-item {
    padding: 30px;
    border-radius: 15px;
    position: relative;
}

.comparison-item.bad {
    background: linear-gradient(135deg, #fff5f5, #ffeaea);
    border: 1px solid #ffebeb;
}

.comparison-item.good {
    background: linear-gradient(135deg, #f0fff4, #e6fffa);
    border: 1px solid #c6f6d5;
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comparison-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.negative {
    background: #ff004d;
    color: white;
}

.badge.positive {
    background: #10b981;
    color: white;
}

.comparison-item ul {
    list-style: none;
}

.comparison-item li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.comparison-item.bad li::before {
    content: '❌';
    position: absolute;
    left: 0;
}

.comparison-item.good li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.vs-note {
    text-align: center;
    background: #ff004d;
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-top: 30px;
}

.vs-note p {
    font-size: 1.1rem;
    margin: 0;
}

/* Catalog Section */
.catalog {
    padding: 80px 0;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #240a0a;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.bot-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.bot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 0, 77, 0.2);
}

.bot-image {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

/* Phone Container like in autoinstall */
.bot-phone-container {
    position: relative;
    display: inline-block;
    max-width: 200px;
    margin: 0 auto;
}

.bot-phone-frame {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.bot-phone-screen {
    position: absolute;
    top: 12%;
    left: 15%;
    width: 71%;
    height: 75%;
    z-index: 1;
    display: flex;
    align-items: stretch;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    justify-content: center;
}

.bot-phone-screen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

/* Legacy support for old structure */
.bot-phone {
    width: 120px;
    height: 240px;
    margin: 0 auto;
    position: relative;
}

.bot-screen {
    position: absolute;
    top: 12%;
    left: 15%;
    width: 71%;
    height: 75%;
    border-radius: 15px;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: transparent;
}

.bot-screen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.bot-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #240a0a;
    letter-spacing: -0.005em;
}

.bot-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.catalog-footer {
    text-align: center;
}

.catalog-footer p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* CTA Card Styles */
.cta-card {
    background: linear-gradient(135deg, #ff004d, #ff3366);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.cta-content {
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.cta-card .bot-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-card .bot-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-card .btn-primary {
    background: white;
    color: #ff004d;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-card .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Magic Timer Section */
.magic-timer {
    padding: 60px 0 0px;
    background: linear-gradient(135deg, #240a0a, #3d1a1a);
    color: white;
    text-align: center;
    transition: padding 0.6s ease;
}

.magic-timer.timer-running {
    padding: 60px 0 0px;
}

.magic-timer.timer-completed {
    padding: 60px 0 80px;
}

.magic-timer h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.6s ease-in-out;
    min-height: 3rem;
    letter-spacing: -0.01em;
}

.magic-timer h2.changing {
    opacity: 0;
    transform: translateY(-10px);
}

.magic-timer > .container > p {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.timer-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.timer-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.timer-text span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: #ff004d;
    letter-spacing: -0.02em;
}

.timer-text small {
    display: block;
    font-size: 1rem;
    opacity: 0.8;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    background: rgba(255, 0, 77, 0.2);
    transform: scale(1.05);
}

.step-icon {
    font-size: 1.5rem;
}

.timer-result {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    margin-bottom: 30px;
}

.timer-result.show {
    opacity: 1;
    transform: translateY(0);
}

.result-text {
    background: rgba(255, 0, 77, 0.2);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #ff004d;
}

.result-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.auto-start-info {
    margin-top: 30px;
    transition: all 0.3s ease;
}

.auto-start-info p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin: 0;
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #240a0a;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    background: #fafafa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #240a0a;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}

/* How it works */
.how-it-works {
    padding: 80px 0;
    background: #fafafa;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #240a0a;
}

.steps {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.step-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 25px;
    right: -30px;
    font-size: 2rem;
    color: #ff004d;
    font-weight: bold;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #ff004d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #240a0a;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #ff004d, #ff3366);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta .btn-primary {
    background: white;
    color: #ff004d;
}

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

/* Modal for Bot Screenshots */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 1200px;
    width: 90vw;
    max-height: 95vh;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: zoomIn 0.3s ease;
}

.modal-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #ff004d, #ff3366);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 40px);
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s ease;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-image-section {
    padding: 30px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-section {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.modal-screenshot {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.modal-description {
    margin-top: 20px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.modal-action {
    margin-top: 25px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
.footer {
    padding: 40px 0;
    background: #240a0a;
    color: white;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

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

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

.footer-nav {
    display: none;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #ff004d;
}

.footer p {
    opacity: 0.8;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Общие настройки */
    .container {
        padding: 0 15px;
    }
    
    /* Header */
    .header-content {
        padding: 12px 0;
    }
    
    .logo img {
        height: 28px;
    }
    
    .nav {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 25px;
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        gap: 15px;
        justify-content: center;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .btn.large {
        padding: 16px 24px;
        font-size: 17px;
    }
    
    /* Phone Mockup */
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .phone-content {
        padding: 10px;
        display: flex;
        align-items: center;
    }
    
    .bot-preview {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .bot-messages {
        gap: 10px;
        width: 100%;
    }
    
    .message .text {
        font-size: 11px;
        padding: 8px 12px;
        max-width: 80%;
        line-height: 1.3;
    }
    
    .message .avatar {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    /* Sections */
    .why-choose,
    .catalog,
    .advantages,
    .how-it-works,
    .cta {
        padding: 60px 0;
    }
    
    .magic-timer {
        padding: 50px 0 0px;
    }
    
    .magic-timer.timer-completed {
        padding: 50px 0 60px;
    }
    
    /* Typography */
    .why-choose h2,
    .catalog .section-header h2,
    .advantages h2,
    .how-it-works h2,
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .magic-timer h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    /* Grids */
    .comparison {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .bots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Cards */
    .comparison-item,
    .bot-card,
    .advantage-card {
        padding: 25px 20px;
    }
    
    .comparison-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comparison-header h3 {
        font-size: 1.2rem;
        white-space: nowrap;
    }
    
    .badge {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .bot-phone-container {
        max-width: 150px;
    }
    
    /* Timer */
    .timer-demo {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 20px;
    }
    
    .timer-circle {
        width: 160px;
        height: 160px;
    }
    
    .timer-text span {
        font-size: 2.5rem;
    }
    
    .process-steps {
        gap: 15px;
    }
    
    .step {
        padding: 12px 20px;
    }
    
    /* Steps */
    .steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .step-item:not(:last-child)::after {
        content: '↓';
        top: auto;
        bottom: -40px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    /* Footer Mobile */
    .footer-nav {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Дополнительные стили для маленьких экранов */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    .phone-content {
        padding: 8px;
    }
    
    .bot-messages {
        gap: 8px;
    }
    
    .message .text {
        font-size: 10px;
        padding: 6px 10px;
        max-width: 75%;
        line-height: 1.2;
    }
    
    .message .avatar {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
    
    .timer-circle {
        width: 140px;
        height: 140px;
    }
    
    .timer-text span {
        font-size: 2rem;
    }
    
    .magic-timer h2,
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    /* Modal styles for mobile */
    .modal-content {
        max-width: 95vw;
        max-height: 85vh;
        margin: 15px;
        width: calc(100vw - 30px);
    }
    
    .modal-header {
        padding: 12px 15px;
        flex-shrink: 0;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 0;
        flex-direction: column;
        overflow-y: auto;
        max-height: calc(85vh - 60px);
    }
    
    .modal-image-section {
        padding: 15px;
        background: #f8f9fa;
        flex-shrink: 0;
    }
    
    .modal-content-section {
        padding: 15px;
        flex-shrink: 0;
    }
    
    .modal-screenshot {
        max-height: 40vh;
        max-width: 100%;
    }
    
    .modal-description {
        text-align: center;
        margin-bottom: 15px;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .modal-action .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Еще более компактные стили для маленьких экранов */
@media (max-width: 480px) {
    .modal-content {
        max-height: 80vh;
        margin: 10px;
        width: calc(100vw - 20px);
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-header h3 {
        font-size: 0.95rem;
    }
    
    .modal-body {
        max-height: calc(80vh - 50px);
    }
    
    .modal-image-section {
        padding: 12px;
    }
    
    .modal-content-section {
        padding: 12px;
    }
    
    .modal-screenshot {
        max-height: 35vh;
    }
    
    .modal-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .modal-action .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Стили для больших экранов (десктопы) */
@media (min-width: 1024px) {
    .modal-content {
        width: 900px;
        max-width: 90vw;
        max-height: 700px;
    }
    
    .modal-body {
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: stretch;
        text-align: left;
        overflow: hidden;
    }
    
    .modal-image-section {
        flex: 1;
        padding: 30px 20px 30px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f8f9fa;
    }
    
    .modal-content-section {
        flex: 1;
        padding: 30px 30px 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        overflow-y: auto;
    }
    
    .modal-screenshot {
        max-height: 500px;
        max-width: 100%;
        object-fit: contain;
    }
    
    .modal-description {
        font-size: 1rem;
        margin-bottom: 30px;
        text-align: left;
    }
    
    .modal-action {
        margin-top: auto;
    }
}

/* Cost Comparison Section */
.cost-comparison {
    padding: 80px 0;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
}

.cost-comparison .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.cost-comparison h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #240a0a;
    margin-bottom: 16px;
}

.cost-comparison .section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.comparison-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.timeline-side {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-side.freelancer {
    border-left: 4px solid #ff6b6b;
}

.timeline-side.botmix {
    border-left: 4px solid #4ecdc4;
}

.timeline-header {
    margin-bottom: 32px;
}

.timeline-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #240a0a;
    margin-bottom: 16px;
}

.timeline-total {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.total-time, .total-cost {
    font-size: 1rem;
    color: #666;
}

.total-time span, .total-cost span {
    font-weight: 700;
    color: #240a0a;
}

.timeline-side.freelancer .total-time span {
    color: #ff6b6b;
}

.timeline-side.botmix .total-time span {
    color: #4ecdc4;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-step {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-step:hover {
    background: #f0f0f0;
    transform: translateX(4px);
}

.timeline-step.instant {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
}

.timeline-step.instant:hover {
    background: linear-gradient(135deg, #d8f5d8, #e8f8e8);
}

.step-duration {
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    min-width: 80px;
    text-align: center;
    padding: 8px 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.timeline-step.instant .step-duration {
    color: #4ecdc4;
    border-color: #4ecdc4;
    background: #f0fffe;
}

.step-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #240a0a;
    margin-bottom: 8px;
}

.step-info p {
    color: #666;
    line-height: 1.5;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vs-text {
    background: linear-gradient(135deg, #ff004d, #ff3366);
    color: white;
    padding: 16px 24px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 0, 77, 0.3);
    z-index: 2;
}



.botmix-benefits {
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #f0fffe, #e8f5f5);
    border-radius: 12px;
    border: 1px solid #4ecdc4;
}

.botmix-benefits h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #240a0a;
    margin-bottom: 16px;
}

.botmix-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.botmix-benefits li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
}

.comparison-conclusion {
    display: flex;
    justify-content: center;
}

.conclusion-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    border: 2px solid #4ecdc4;
}

.conclusion-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #240a0a;
    margin-bottom: 24px;
}

.conclusion-stats {
    margin-bottom: 24px;
}

.stat-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #4ecdc4;
}

.conclusion-card p {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Mobile Responsive for Cost Comparison */
@media (max-width: 768px) {
    .cost-comparison {
        padding: 60px 0;
    }
    
    .cost-comparison h2 {
        font-size: 2rem;
    }
    
    .comparison-timeline {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .vs-divider {
        margin: 20px 0;
    }
    
    
    
    .timeline-side {
        padding: 24px;
    }
    
    .timeline-step {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-duration {
        min-width: auto;
        text-align: left;
        align-self: flex-start;
    }
    
    .stat-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .conclusion-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .cost-comparison .section-header p {
        font-size: 1rem;
    }
    
    .timeline-header h3 {
        font-size: 1.3rem;
    }
    
    .timeline-total {
        font-size: 0.9rem;
    }
    
    .step-info h4 {
        font-size: 1rem;
    }
    
    .step-info p {
        font-size: 0.9rem;
    }
    
    .conclusion-card h3 {
        font-size: 1.5rem;
    }
}