/* Import base styles */
@import url('styles.css');

/* Hero AI */
.hero-ai {
    background: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 100%);
    color: white;
    padding: 160px 0 100px;
    text-align: center;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-ai::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-badge i {
    font-size: 1.2rem;
}

.hero-ai h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
}

.hero-ai .hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn-primary, .btn-secondary {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #1e3a8a;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Overview Section */
.overview-section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.section-intro h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--dark-color);
    font-weight: 700;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Capabilities Section */
.capabilities-section {
    padding: 100px 0;
    background: white;
}

.capability-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.capability-block.reverse {
    direction: rtl;
}

.capability-block.reverse > * {
    direction: ltr;
}

.capability-content {
    display: flex;
    gap: 24px;
}

.capability-icon {
    font-size: 3rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.capability-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--dark-color);
    font-weight: 600;
}

.capability-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0 10px 32px;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-color);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* ПРАВИЛЬНЫЕ СТИЛИ ДЛЯ КАРТИНОК */
.capability-image {
    width: 100%;
    max-width: 600px;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.capability-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: transform 0.3s;
}

.capability-image img:hover {
    transform: scale(1.02);
}

/* Solutions Detail Section */
.solutions-detail-section {
    padding: 100px 0;
    background: var(--light-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-top: -40px;
    margin-bottom: 60px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.solution-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.solution-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.solution-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--dark-color);
}

.solution-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 100px 0;
    background: var(--dark-color);
    color: white;
}

.tech-stack-section .section-title {
    color: white;
}

.tech-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-logos .tech-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.tech-logos .tech-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.tech-logos .tech-item i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--accent-color);
}

.tech-logos .tech-item span {
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    font-weight: 500;
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Чередование фонов */
.capabilities-white {
    background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-ai h1 {
        font-size: 2.5rem;
    }

    .hero-ai .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .capability-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .capability-block.reverse {
        direction: ltr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }
}