/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #1a365d;
    --secondary: #2d3748;
    --accent: #4299e1;
    --accent-light: #90cdf4;
    --text: #2d3748;
    --text-light: #718096;
    --bg: #f7fafc;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
}

body {
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background: var(--gradient);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--accent-light);
}

.logo-text {
    background: linear-gradient(to right, #90cdf4, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Главный баннер */
.hero {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e2e8f0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: transparent;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Секции */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Карточки */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.review-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
    border: 2px solid var(--primary);
    cursor: pointer;
}

.review-btn:hover {
    background-color: transparent;
    color: var(--primary);
}

/* Статистика */
.stats {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    color: var(--accent-light);
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Бонусы */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.team-member h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.team-member p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.bonus-desc {
    color: var(--accent) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.bonus-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    width: 100%;
    text-decoration: none;
    text-align: center;
}

.bonus-button:hover {
    background-color: var(--primary);
}

/* Таблица */
.table-container {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--card-bg);
}

thead {
    background-color: var(--primary);
    color: white;
}

th, td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

tbody tr:hover {
    background-color: #f7fafc;
}

.price-up {
    color: #10b981;
    font-weight: 600;
}

.rating-badge {
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Предупреждение */
.warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    margin: 40px auto;
    max-width: 800px;
}

.warning-content {
    padding: 30px;
    text-align: center;
}

.warning-content i {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.warning-content h3 {
    color: #d63031;
    margin-bottom: 15px;
}

.warning-content p {
    color: #636e72;
    margin-bottom: 20px;
}

.warning-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.warning-link:hover {
    color: var(--primary);
}

/* Подписка */
.subscribe {
    background-color: var(--card-bg);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.subscribe h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.subscribe p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}

.subscribe-form input:focus {
    border-color: var(--accent);
}

.subscribe-form button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
}

.subscribe-form button:hover {
    background-color: var(--primary);
}

.form-notice {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-notice a {
    color: var(--accent);
    text-decoration: none;
}

.form-notice a:hover {
    text-decoration: underline;
}

/* Футер */
footer {
    background-color: var(--primary);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0aec0;
    font-size: 0.9rem;
}

.copyright a {
    color: #90cdf4;
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Страница "О нас" */
.about-content {
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.about-content h3 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.8rem;
}

.about-content h3:first-child {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.about-content li {
    margin-bottom: 8px;
}

/* Страница "Правила" */
.rules-content {
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.rules-content h3 {
    color: var(--primary);
    margin: 25px 0 15px;
    font-size: 1.6rem;
}

.rules-content h3:first-child {
    margin-top: 0;
}

.rules-content p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.rules-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.rules-content li {
    margin-bottom: 10px;
}

.rules-date {
    text-align: right;
    font-style: italic;
    color: var(--text-light);
    margin-top: 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .subscribe {
        padding: 40px 20px;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
        border-radius: 50px;
        margin-bottom: 10px;
    }
    
    .about-content, .rules-content {
        padding: 30px 20px;
    }
}