/* Агрессивный лендинг ИИ-Директора - Минимальные отступы */

/* Главная секция с убийственным заголовком */
.main-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 50%, #e74c3c 100%);
    color: white;
    text-align: center;
    padding: 2rem 0 1.5rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

.main-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-section h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.main-section .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
    opacity: 0.95;
}

.main-section p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.main-section button {
    background: rgba(44, 62, 80, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    cursor: pointer;
}

.main-section button:hover {
    background: white;
    color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: white;
}

.main-section button:active {
    transform: translateY(0);
}

/* Секция болей */
.pains-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem 0;
}

.pains-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.pains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.pain-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #e74c3c);
}

.pain-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(255, 107, 107, 0.15);
}

.pain-card.critical {
    border-left: 3px solid #e74c3c;
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
    text-align: center;
}

.pain-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    line-height: 1.3;
}

.pain-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.pain-card strong {
    color: #e74c3c;
    font-weight: 700;
}

/* Секция решения - цифровой спецназ */
.solution-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.solution-section .container {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.solution-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-card {
    background: rgba(255,255,255,0.08);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.solution-card:hover::before {
    left: 100%;
}

.solution-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.2);
}

.solution-icon {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    display: block;
    text-align: center;
}

.solution-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    line-height: 1.3;
    text-align: center;
}

.solution-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin: 0;
    text-align: center;
}

.solution-card strong {
    color: #3498db;
    font-weight: 700;
}

/* Социальное доказательство */
.social-proof-section {
    background: linear-gradient(180deg, #ecf0f1 0%, #f8f9fa 100%);
    padding: 2rem 0;
}

.social-proof-section h2 {
    text-align: center;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    line-height: 1.2;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.testimonial {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    position: relative;
    border-left: 4px solid #27ae60;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.testimonial:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 18px;
    font-size: 3rem;
    color: #27ae60;
    font-family: Georgia, serif;
    line-height: 1;
}

.quote {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.author {
    font-weight: 700;
    color: #27ae60;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Технический блок */
.tech-section {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.tech-section .container {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.tech-section h2 {
    text-align: center;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.tech-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tech-info {
    background: rgba(255,255,255,0.08);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.tech-info:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-3px);
}

.tech-info.highlight {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border: none;
    transform: scale(1.01);
    box-shadow: 0 12px 40px rgba(231, 76, 60, 0.3);
}

.tech-info.highlight:hover {
    transform: scale(1.02);
}

.tech-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    line-height: 1.3;
}

.tech-info p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.tech-info strong {
    color: #3498db;
    font-weight: 700;
}

/* CTA секция с FOMO */
.cta-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-align: center;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    font-weight: 500;
}

.fomo-timer {
    background: rgba(255,255,255,0.15);
    padding: 1.8rem;
    border-radius: 16px;
    margin: 2rem 0;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.25);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.timer-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.timer-subtext {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.cta-section button {
    background: rgba(44, 62, 80, 0.95);
    border: 3px solid rgba(255, 255, 255, 0.9);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-section button:hover {
    background: white;
    color: #e74c3c;
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.4);
    border-color: white;
}

.cta-section button:active {
    transform: translateY(-1px);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .pains-grid,
    .solution-grid,
    .testimonials,
    .tech-details {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .main-section {
        padding: 1.5rem 0 1rem;
        min-height: auto;
    }
    
    .main-section h1 {
        font-size: 1.8rem;
    }
    
    .main-section .subtitle {
        font-size: 1.1rem;
    }
    
    .pains-grid,
    .solution-grid,
    .testimonials,
    .tech-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pain-card,
    .solution-card,
    .testimonial,
    .tech-info {
        padding: 1.2rem;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .timer-text {
        font-size: 1.1rem;
    }
    
    .fomo-timer {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-section h1 {
        font-size: 1.6rem;
    }
    
    .main-section button,
    .cta-section button {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
    
    .pain-card h3,
    .solution-card h4 {
        font-size: 1.1rem;
    }
    
    .pain-card,
    .solution-card,
    .testimonial,
    .tech-info {
        padding: 1rem;
    }
    
    .testimonial::before {
        font-size: 2.5rem;
        top: -6px;
        left: 15px;
    }
}

/* Анимации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.005); }
    100% { transform: scale(1); }
}

.fomo-timer {
    animation: pulse 3s infinite;
}

/* Дополнительные эффекты */
.pain-card.critical::after {
    content: '🔥 КРИТИЧНО';
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Улучшенные переходы */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Улучшенная типографика */
body {
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Улучшенные фокусы для доступности */
button:focus,
a:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
} 

/* Адаптивность для CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .fomo-timer {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .timer-text {
        font-size: 1.2rem;
    }
    
    .cta-section button {
        font-size: 1rem;
        padding: 0.9rem 2rem;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 1.5rem 0;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .fomo-timer {
        padding: 1.2rem;
        margin: 1.2rem 0;
    }
    
    .timer-text {
        font-size: 1.1rem;
    }
    
    .cta-section button {
        font-size: 0.95rem;
        padding: 0.8rem 1.8rem;
    }
} 