/*
 * style.css - Основные стили для лендинга Контент Хата
 * Темная тема с градиентами и современным дизайном
 */

/* CSS Variables */
:root {
    --bg-primary: hsl(10, 10%, 4%);
    --text-primary: hsl(0, 0%, 98%);
    --color-primary: hsl(217, 91%, 60%);
    --color-secondary: hsl(262, 65%, 65%);
    --ai-dark: #0a0a0a;
    --ai-gray: #1a1a1a;
    --ai-blue: #3b82f6;
    --ai-purple: #8b5cf6;
    --ai-green: #10b981;
    --card-bg: hsl(10, 10%, 6%);
    --border-color: hsl(10, 10%, 15%);
    --text-muted: hsl(0, 0%, 65%);
    --color-danger: hsl(0, 84.2%, 60.2%);
    --gradient-primary: linear-gradient(to right, var(--ai-blue), var(--ai-purple));
    --gradient-card: linear-gradient(135deg, var(--card-bg) 0%, rgba(59, 130, 246, 0.05) 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 800;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 2.25rem;
    }
    h3 {
        font-size: 1.875rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-height: 60px;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    min-height: 66px;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--ai-blue);
    font-weight: 700;
}

.highlight-secondary {
    color: var(--ai-purple);
    font-weight: 700;
}

/* Sections */
section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 6rem 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--ai-dark) 0%, var(--ai-gray) 50%, var(--ai-dark) 100%);
    padding: 2rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 768px) {
    .hero-content {
        text-align: left;
    }
}

.hero-title {
    margin-bottom: 2.5rem;
    line-height: 1.3;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
    border: 3px solid transparent;
    background: var(--gradient-primary);
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.hero-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(59, 130, 246, 0.4);
}

/* Timer */
.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.timer-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    min-width: 100px;
    text-align: center;
}

.timer-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ai-blue);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timer-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: lowercase;
}

.timer-separator {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Bonus Badge */
.bonus-badge {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    font-size: 1.125rem;
}

.bonus-spots {
    display: block;
    margin-top: 0.5rem;
    color: var(--ai-green);
    font-weight: 600;
}

/* Main Offer */
.main-offer {
    background: var(--ai-gray);
    text-align: center;
}

.benefits-text {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    font-size: 1.25rem;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.step-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ai-blue);
    line-height: 1;
    min-width: 70px;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Audience Grid */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .audience-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.audience-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.audience-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.audience-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.audience-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
}

.testimonial-name {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.testimonial-result {
    font-size: 1.125rem;
    color: var(--ai-green);
}

/* Path Timeline */
.path-timeline {
    max-width: 900px;
    margin: 3rem auto;
}

.path-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.path-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.path-icon {
    font-size: 2.5rem;
    min-width: 60px;
}

.path-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.path-content p {
    color: var(--text-muted);
    font-size: 1rem;
}

.important-note {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--color-danger);
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Results Comparison */
.results-comparison {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

@media (min-width: 768px) {
    .results-comparison {
        grid-template-columns: repeat(2, 1fr);
    }
}

.results-before,
.results-after {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.results-before h3 {
    color: var(--color-danger);
    margin-bottom: 1.5rem;
}

.results-after h3 {
    color: var(--ai-green);
    margin-bottom: 1.5rem;
}

.results-before ul,
.results-after ul {
    list-style: none;
}

.results-before ul li,
.results-after ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
}

.results-before ul li:last-child,
.results-after ul li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.reason-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.125rem;
}

/* Format Grid */
.format-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .format-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .format-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.format-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.format-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
}

.format-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.format-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.format-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Program Accordion */
.program-accordion {
    max-width: 900px;
    margin: 3rem auto;
}

.program-item {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.program-item.bonus-item {
    border: 2px solid var(--ai-green);
}

.program-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.program-header:hover {
    background: rgba(59, 130, 246, 0.05);
}

.program-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.toggle-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--ai-blue);
    transition: transform 0.3s ease;
}

.program-item.active .toggle-icon {
    transform: rotate(45deg);
}

.program-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.program-item.active .program-content {
    max-height: 1000px;
    padding: 0 2rem 2rem 2rem;
}

.program-content ol {
    padding-left: 1.5rem;
}

.program-content li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    background: var(--ai-gray);
}

.pricing-card {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--gradient-card);
    border: 2px solid var(--ai-blue);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
}

.pricing-amount {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0 2rem 0;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.125rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Form */
.form-section {
    background: var(--ai-gray);
}

.lead-form {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--ai-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.lead-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--ai-dark);
    padding: 3rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--ai-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-info {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.footer-info p {
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.footer-copy {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--ai-blue);
    color: white;
}

::-moz-selection {
    background: var(--ai-blue);
    color: white;
}
