/* ===== ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ГЕРОЙ СЕКЦИЯ ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.floating-card .card-icon {
    font-size: 2rem;
}

.floating-card .card-text {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1.5s;
}

.card-3 {
    top: 30%;
    right: 25%;
    animation-delay: 3s;
}

.card-4 {
    bottom: 20%;
    left: 20%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== ДАШБОРД ПРЕВЬЮ ===== */
.dashboard-preview {
    position: relative;
    perspective: 1000px;
}

.dashboard-screen {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotateY(-15deg) rotateX(5deg);
    animation: dashboard-float 4s ease-in-out infinite;
}

@keyframes dashboard-float {
    0%, 100% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(0px);
    }
    50% {
        transform: rotateY(-15deg) rotateX(5deg) translateY(-10px);
    }
}

.dashboard-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.header-dots {
    display: flex;
    gap: 8px;
}

.header-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
}

.header-dots span:nth-child(1) { background: #ff6b6b; }
.header-dots span:nth-child(2) { background: #ffd700; }
.header-dots span:nth-child(3) { background: #4ecdc4; }

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
}

.chart-bar {
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    min-width: 20px;
    animation: chart-grow 2s ease-out;
}

@keyframes chart-grow {
    from { height: 0; }
    to { height: var(--height); }
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.metric-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
}

/* ===== СЕКЦИИ ===== */
.features-section,
.how-it-works-section,
.pricing-section,
.contact-section {
    padding: 100px 0;
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: inherit;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.features-section .section-header p,
.how-it-works-section .section-header p,
.pricing-section .section-header p {
    color: #666;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* ===== СТАТИСТИКА ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== КАК ЭТО РАБОТАЕТ ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* ===== ТАРИФЫ ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.price {
    margin-bottom: 30px;
}

.currency {
    font-size: 1.2rem;
    color: #666;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

.period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

/* ===== КОНТАКТЫ ===== */
.contact-section {
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    color: #666;
    line-height: 1.4;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .dashboard-screen {
        transform: none;
        animation: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .steps-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* ===== АНИМАЦИИ ПРИ СКРОЛЛЕ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.step-item,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== СЧЕТЧИКИ ===== */
.stat-number {
    transition: all 0.3s ease;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭФФЕКТЫ ===== */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== HERO SECTION (ОБНОВЛЁННЫЙ) ===== */
.hero-section.custom-hero-bg {
    background: #fafaff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 60px 0;
}
.hero-bg-circles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}
.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
}
.bg-circle-1 {
    width: 320px; height: 320px;
    background: #a084e8;
    top: -80px; left: -120px;
}
.bg-circle-2 {
    width: 400px; height: 400px;
    background: #7f53ff;
    bottom: -120px; right: -100px;
}
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    gap: 40px;
}
.hero-left {
    flex: 1 1 55%;
    min-width: 320px;
}
.hero-right {
    flex: 1 1 45%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 280px;
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
    margin-bottom: 24px;
}
.hero-gradient {
    background: linear-gradient(90deg, #6c63ff 0%, #7f53ff 60%, #a084e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
}
.hero-subtitle {
    color: #6b6b6b;
    font-size: 1.2rem;
    margin-bottom: 32px;
    max-width: 520px;
}
.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
}
.btn-gradient {
    background: linear-gradient(90deg, #6c63ff 0%, #a084e8 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 24px rgba(124, 99, 255, 0.10);
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}
.btn-gradient:hover {
    box-shadow: 0 8px 32px rgba(124, 99, 255, 0.18);
    transform: translateY(-2px) scale(1.03);
}
.btn-outline-gradient {
    background: #fff;
    color: #7f53ff;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.2s, transform 0.2s;
}
.btn-outline-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(90deg, #6c63ff 0%, #a084e8 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}
.btn-outline-gradient:hover {
    background: #f3f0ff;
    transform: translateY(-2px) scale(1.03);
}
.hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-right: 2px;
}
.badge-a { background: #6c63ff; }
.badge-b { background: #a084e8; }
.badge-c { background: #4ecdc4; }
.badge-text {
    color: #3a3a3a;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 8px;
}
.hero-analytics-placeholder {
    width: 340px;
    height: 320px;
    background: #f3f0ff;
    border-radius: 32px;
    box-shadow: 0 8px 32px rgba(124, 99, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    animation: hero-analytics-float 3.5s ease-in-out infinite;
}
@keyframes hero-analytics-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-22px); }
}

/* ===== АДАПТИВНОСТЬ HERO ===== */
@media (max-width: 1024px) {
    .hero-flex { flex-direction: column; gap: 32px; }
    .hero-right { justify-content: center; }
    .hero-analytics-placeholder { margin: 0 auto; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 2rem; }
    .hero-analytics-placeholder { width: 90vw; max-width: 320px; height: 180px; }
    .hero-section { padding: 40px 0 24px 0; }
} 