/* ========== APPLE DARK THEME ========== */

:root {
    --font-family-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    --color-bg: #000000;
    --color-bg-secondary: #1d1d1d;
    --color-text: #f5f5f7;
    --color-text-secondary: #a1a1a6;
    --color-primary: #0a84ff;
    --color-primary-hover: #0071e3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 { font-size: 56px; line-height: 1.1; }
h2 { font-size: 42px; }
h3 { font-size: 28px; }

p {
    color: var(--color-text-secondary);
    font-size: 16px;
    margin-bottom: 16px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--color-bg-secondary);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.btn-primary, .btn-secondary, .btn-large {
    font-family: var(--font-family-base);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
    text-decoration: none;
}

.btn-primary, .btn-large {
    background: var(--color-primary);
    color: white;
    padding: 12px 24px;
}

.btn-primary:hover, .btn-large:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(10, 132, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(255, 107, 53, 0.5);
    cursor: pointer;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:active {
    transform: translateY(0);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1);
}

.logo:hover img {
    filter: brightness(1.2);
}

.logo span {
    font-weight: 600;
    font-size: 18px;
}


.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    padding: 12px 24px;
}

.btn-secondary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    cursor: pointer;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary:active {
    transform: translateY(0);
}



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

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

.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.hero h1 {
    margin-bottom: 16px;
}

.subtitle {
    font-size: 20px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

section {
    padding: 32px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 32px;
}

.problem-grid, .features, .stats-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.problem-card, .feature-item, .stat, .faq-item {
    background: var(--color-bg-secondary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #2d2d2d;
    transition: all 0.3s ease;
}

.problem-card:hover, .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: var(--color-primary);
}

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

.problem-card h3, .feature-item h3 {
    margin-bottom: 8px;
}

.problem-card p, .feature-item p, .faq-item p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.stats {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5e5ce6 100%);
    color: white;
}

.stats h2 {
    color: white;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat p {
    color: rgba(255, 255, 255, 0.9);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.testimonial {
    background: var(--color-bg-secondary);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.testimonial p {
    margin-bottom: 16px;
}

.author {
    font-weight: 600;
    color: var(--color-primary);
}

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

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    border-radius: 999px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--color-text-secondary);
}



.cta-final {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5e5ce6 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta-final h2, .cta-final p {
    color: white;
}

.footer {
    background: var(--color-bg-secondary);
    color: var(--color-text-secondary);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid #2d2d2d;
}

.footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-large { width: 100%; max-width: 300px; }
    .problem-grid, .features, .stats-grid, .faq-grid { grid-template-columns: 1fr; }
}
/* Стили для слайдера в секции solution */
.solution {
    padding: 80px 0;
    background: #f8f9fa; /* Лёгкий фон для контраста */
}

.features-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    display: flex;
    flex: 0 0 100%;
    gap: 20px;
    padding: 20px;
    min-height: 200px; /* Минимальная высота для слайдов */
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 10px;
}

.feature-item h3 {
    margin: 10px 0;
    color: #0A84FF; /* Синий из вашего бренда */
    font-size: 1.2rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 132, 255, 0.8); /* Синий с прозрачностью */
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: #0A84FF;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Доты-индикаторы */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #0A84FF;
}

.dot:hover {
    background: #FF6B35; /* Оранжевый hover */
}

/* Responsive: Количество фич на слайде */
@media (max-width: 1024px) {
    .slide {
        flex-direction: column; /* Вертикально на планшете */
        gap: 15px;
    }
    .feature-item {
        flex: none;
    }
}

@media (max-width: 768px) {
    .slide {
        padding: 15px;
    }
    .feature-item {
        padding: 15px;
    }
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* Автопрокрутка и hover-пауза (JS управляет) */
.features-slider:hover .slides-container {
    animation-play-state: paused; /* Пауза анимации на hover, если используете CSS-анимацию, но здесь JS */
}

