/* ОСНОВНЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d6ae3;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --light-color: #f8fafc;
    --dark-color: #0f172a;
    --gray-color: #64748b;
    --border-radius: 12px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #334155;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

/* ШАПКА С ЛОГОТИПОМ (как в ВК) */
.header {
    margin-bottom: 40px;
}

.header-container {
    width: 100%;
}

.logo-section {
    position: relative;
    width: 100%;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.group-cover {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.logo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.7) 50%, transparent 100%);
    padding: 30px 40px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.group-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

.group-info h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.group-info p {
    color: #cbd5e1;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.subscribers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.subscribers i {
    color: var(--accent-color);
}

/* ГЛАВНЫЙ ЗАГОЛОВОК */
.hero-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.hero-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-content h2 i {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 800px;
}

.stats-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.badge-label {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.badge-period {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* СЕКЦИИ */
.section-header {
    margin-bottom: 30px;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h3 i {
    color: var(--secondary-color);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 800px;
}

/* ТАБЛИЦА ПРАЙСА */
.pricing-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.pricing-table-container {
    overflow-x: auto;
    margin: 30px 0;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.pricing-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d3748 100%);
    color: white;
}

.pricing-table th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
}

.pricing-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: var(--transition);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background-color: #f8fafc;
}

.pricing-table td {
    padding: 20px 15px;
    text-align: center;
    font-size: 1.05rem;
}

.column-1 { width: 20%; }
.column-2 { width: 20%; }
.column-3 { width: 20%; }
.column-4 { width: 20%; }
.column-5 { width: 20%; }

.package-name {
    text-align: left !important;
    padding-left: 25px !important;
}

.package-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-badge.basic {
    background-color: #dbeafe;
    color: #1e40af;
}

.package-badge.popular {
    background-color: #fef3c7;
    color: #92400e;
}

.package-badge.vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.price-total {
    font-size: 1.4rem !important;
    color: var(--primary-color);
}

.savings-badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.vip-savings {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
}

.highlighted {
    background-color: rgba(45, 106, 227, 0.05) !important;
    border-left: 4px solid var(--secondary-color);
}

.pricing-note {
    background-color: #f0f9ff;
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.pricing-note i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ДОПОЛНИТЕЛЬНЫЕ УСЛУГИ */
.addons-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.addon-card {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
}

.addon-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    border-color: var(--secondary-color);
}

.addon-card.special-offer {
    border: 2px solid var(--accent-color);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.special-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.addon-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.addon-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.addon-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.addon-price .period {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: normal;
}

.addon-description {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.addon-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.9rem;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e1;
}

.addon-note i {
    color: var(--secondary-color);
}

/* УСЛОВИЯ */
.conditions-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.condition-card {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    border-left: 4px solid var(--secondary-color);
}

.condition-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.condition-card h4 i {
    color: var(--success-color);
}

.condition-card ul {
    list-style: none;
}

.condition-card li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.condition-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* КОНТАКТЫ */
.contacts-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0 40px;
}

.contact-card {
    background: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--box-shadow);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 10px;
    word-break: break-all;
}

.contact-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.payment-methods {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
}

.payment-methods h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.payment-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-method i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.payment-method span {
    font-weight: 600;
    color: var(--primary-color);
}

.payment-method small {
    color: var(--gray-color);
    font-size: 0.85rem;
}

/* ФУТЕР */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 10px
    /* SEO оптимизации */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Географические бейджи */
.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.city-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Анимации для появления */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

section.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Оптимизация для мобильных */
@media (max-width: 768px) {
    .pricing-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .pricing-table {
        min-width: 800px;
        font-size: 14px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
}

/* SEO текстовые блоки */
.footer-seo {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    line-height: 1.6;
    color: #aaa;
}

/* Оптимизация изображений */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

.group-cover,
.group-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Улучшение читаемости */
.hero-subtitle,
.section-subtitle,
.addon-description,
.condition-card li {
    line-height: 1.6;
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #4a90e2;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Локализация */
[itemscope] {
    border: none;
}

/* Скорость загрузки */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}