/* Reset и базовые стили */
* {
    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;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #ff0000;
    color: white;
}

.btn-primary:hover {
    background-color: #e60000;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: white;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background-color: #333;
    color: white;
}

/* Хедер */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ff0000;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Основной контент */
.main-content {
    margin-top: 0;
}

/* Секции */
.section {
    padding: 100px 0;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.02"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.02"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    line-height: 1.6;
    margin-bottom: 50px;
    color: #e0e0e0;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.section-dark {
    background-color: #1a1a1a;
    color: white;
}

.section-light {
    background-color: #f8f9fa;
}

.section-white {
    background-color: white;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-dark .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 22px;
    text-align: center;
    margin-bottom: 80px;
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
}

.section-dark .section-subtitle {
    color: #ccc;
}

/* Карточки */
.card {
    background-color: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.card-dark {
    background-color: #2a2a2a;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    transition: transform 0.4s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 30px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
}

.card-dark .card-title {
    color: white;
}

.card-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.card-dark .card-text {
    color: #ccc;
}

.card-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #e60000;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Теги */
.tag {
    display: inline-block;
    padding: 6px 12px;
    background-color: #ff0000;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tag-career {
    background-color: #ff0000;
}

.tag-strategies {
    background-color: #ff0000;
}

.tag-friendly {
    background-color: #ff0000;
}

/* Статистика */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-top: 80px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255,255,255,0.08);
}

.section-dark .stat-item {
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.section-dark .stat-item:hover {
    background-color: rgba(255,255,255,0.08);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff0000 0%, #e60000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 24px rgba(255,0,0,0.3);
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-text {
    font-size: 18px;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

.section-dark .stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-dark .stat-text {
    color: #ccc;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #ff0000;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Контактная информация */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

/* Футер */
.footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-description {
    color: #ccc;
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-bottom-content {
    text-align: center;
}

.footer-bottom p {
    color: #ccc;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 25px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 40px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 60px;
    }
    
    .card-grid-3,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-text {
        font-size: 16px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-content {
        padding-right: 0;
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-description {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 70vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 30px 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-text {
        font-size: 14px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-text {
        font-size: 14px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Утилиты */
.text-center {
    text-align: center;
}

/* CTA секция */
.cta-content {
    flex: 1;
    padding-right: 40px;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.1;
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

.cta-action {
    flex-shrink: 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo .logo-img {
    width: 50px;
    height: 50px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

/* Дополнительные стили для улучшения внешнего вида */
.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.course-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.course-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
    font-size: 16px;
    color: #666;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff0000;
    font-weight: bold;
    font-size: 18px;
}

.course-features li:last-child {
    border-bottom: none;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out;
}

/* Улучшенные тени */
.card {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Градиенты для кнопок */
.btn-primary {
    background: linear-gradient(135deg, #ff0000 0%, #e60000 100%);
    box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e60000 0%, #cc0000 100%);
    box-shadow: 0 6px 20px rgba(255,0,0,0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #666 0%, #888 100%);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #555 0%, #777 100%);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    color: white;
    padding: 25px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid #ff0000;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.cookie-description {
    font-size: 16px;
    line-height: 1.5;
    color: #e0e0e0;
    margin-bottom: 0;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #ff0000 0%, #e60000 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #e60000 0%, #cc0000 100%);
    box-shadow: 0 6px 20px rgba(255,0,0,0.4);
    transform: translateY(-2px);
}

.cookie-btn-decline {
    background: transparent;
    color: #e0e0e0;
    border: 2px solid #e0e0e0;
}

.cookie-btn-decline:hover {
    background: #e0e0e0;
    color: #1a1a1a;
}

.cookie-btn-settings {
    background: transparent;
    color: #ff0000;
    border: 2px solid #ff0000;
}

.cookie-btn-settings:hover {
    background: #ff0000;
    color: white;
}

.cookie-settings {
    display: none;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.cookie-settings.show {
    display: block;
}

.cookie-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.cookie-setting-label {
    flex: 1;
}

.cookie-setting-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
}

.cookie-setting-description {
    font-size: 14px;
    color: #ccc;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 24px;
    background-color: #666;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-toggle.active {
    background-color: #ff0000;
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle.active .cookie-toggle-slider {
    transform: translateX(26px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .cookie-setting-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}
