/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Шапка */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0052ff;
}

.header-info {
    font-weight: bold;
}

/* Главный экран */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
    list-style: none;
}

.hero-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.hero-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.counter {
    margin: 30px 0;
}

.timer {
    font-size: 2rem;
    font-weight: bold;
    margin: 10px 0;
}

.timer span {
    display: inline-block;
    padding: 5px 10px;
    background: rgba(255,255,255,0.2);
    border-radius: 5px;
    margin: 0 5px;
}

.cta-button {
    background: #FF9800;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: bold;
}

.cta-button:hover {
    background: #F57C00;
}

.hero-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Секции */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* Спикер */
.speaker-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.speaker-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.speaker-details {
    max-width: 500px;
}

.speaker-bio {
    margin-top: 10px;
}

/* Для кого */
.benefits {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 20px;
}

.benefit-item h4 {
    margin-bottom: 10px;
    color: #0052ff;
}

/* Программа вебинара */
.program-items {
    max-width: 800px;
    margin: 0 auto;
}

.program-item {
    background: #f9f9f9;
    padding: 25px;
    margin: 20px 0;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.program-item h4 {
    color: #0052ff;
    margin-bottom: 10px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-button:hover {
    color: black;
}

/* Форма */
form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-note {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #666;
}

.form-note a {
    color: #0052ff;
}

/* Футер */
.footer {
    background: #f4f4f4;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

.footer a {
    color: #0052ff;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .timer {
        font-size: 1.5rem;
    }
    .speaker-info {
        flex-direction: column;
        text-align: center;
    }
    .benefits {
        flex-direction: column;
    }
}