/* Основные переменные */
:root {
    --primary-color: #2C3E50;
    --secondary-color: #E74C3C;
    --accent-color: #3498DB;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --success-color: #2ecc71;
    --warning-color: #f1c40f;
    --gradient-start: #2C3E50;
    --gradient-end: #3498DB;
}

/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Статистика */
.stats-section {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    padding: 60px 0;
}

.stats-item {
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s;
}

.stats-item:hover {
    transform: translateY(-10px);
}

.stats-item i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.stats-item .counter {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Методология */
.methodology-card {
    perspective: 1000px;
    height: 300px;
}

.methodology-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.methodology-card:hover .methodology-card-inner {
    transform: rotateY(180deg);
}

.methodology-card-front,
.methodology-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 30px;
}

.methodology-card-front {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.methodology-card-back {
    background: var(--accent-color);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

/* Программы коучинга */
.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.program-header {
    padding: 30px;
    text-align: center;
    color: white;
}

.program-header.starter {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
}

.program-header.business {
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.program-header.premium {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.price {
    margin-top: 15px;
}

.price .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price .amount {
    font-size: 3rem;
    font-weight: bold;
}

.price .period {
    font-size: 1rem;
    opacity: 0.8;
}

.program-body {
    padding: 30px;
}

.program-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.program-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.program-features i {
    color: var(--success-color);
    margin-right: 10px;
}

.program-card.featured {
    transform: scale(1.05);
    position: relative;
}

.program-card.featured::before {
    content: "Популярный";
    position: absolute;
    top: 0;
    right: 30px;
    background: var(--warning-color);
    color: var(--dark-gray);
    padding: 5px 15px;
    border-radius: 0 0 10px 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Навигация */
.navbar {
    background-color: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: rgba(44, 62, 80, 1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white !important;
}

.nav-link {
    color: white !important;
    margin: 0 10px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Герой секция */
.hero-section {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../img/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(52, 152, 219, 0.2) 0%, transparent 70%);
}

/* Кнопки */
.btn {
    border-radius: 30px;
    padding: 12px 30px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--secondary-color);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Формы */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 2px solid #eee;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-item {
        margin-bottom: 30px;
    }

    .methodology-card {
        height: 250px;
    }

    .program-card.featured {
        transform: scale(1);
        margin: 30px 0;
    }

    .navbar {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .price .amount {
        font-size: 2.5rem;
    }

    .methodology-card {
        height: 200px;
    }

    .stats-item .counter {
        font-size: 2rem;
    }
}

/* Дополнительные эффекты */
.shadow-hover {
    transition: box-shadow 0.3s;
}

.shadow-hover:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Утилиты */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-overlay {
    position: relative;
}

.bg-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

/* Социальные иконки */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons i {
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-icons i:hover {
    transform: translateY(-3px);
    color: var(--secondary-color);
}

/* Секция "Путь к успеху" */
.roadmap-section {
    position: relative;
    background: linear-gradient(135deg, #f6f8fa 0%, #f1f4f6 100%);
}

.roadmap {
    position: relative;
    padding: 20px 0;
}

.roadmap::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    left: 50%;
    transform: translateX(-50%);
    top: 0;
}

.roadmap-item {
    width: 50%;
    padding: 20px 40px;
    position: relative;
    transform: translateY(50px);
    opacity: 1;
    transition: all 0.6s ease;
}

.roadmap-item.active {
    transform: translateY(0);
    opacity: 1;
}

.roadmap-item:nth-child(odd) {
    left: 0;
    padding-right: 60px;
}

.roadmap-item:nth-child(even) {
    left: 50%;
    padding-left: 60px;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.roadmap-item:nth-child(odd)::before {
    right: -10px;
}

.roadmap-item:nth-child(even)::before {
    left: -10px;
}

.roadmap-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.roadmap-content:hover {
    transform: translateY(-5px);
}

.roadmap-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.roadmap-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.roadmap-details {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.roadmap-details li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.roadmap-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Секция "Экспертиза" */
.expertise-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.expertise-card {
    perspective: 1000px;
    height: 400px;
}

.expertise-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.expertise-card:hover .expertise-card-inner {
    transform: rotateY(180deg);
}

.expertise-card-front,
.expertise-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.expertise-card-front {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.expertise-card-back {
    background: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.expertise-icon i {
    font-size: 2.5rem;
    color: white;
}

.expertise-card-front h3 {
    text-align: center;
    color: var(--primary-color);
    margin: 15px 0;
}

.expertise-card-back h4 {
    margin-bottom: 20px;
    text-align: center;
}

.expertise-card-back ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.expertise-card-back ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.expertise-card-back ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Медиа запросы для адаптивности */
@media (max-width: 768px) {
    .roadmap::before {
        left: 20px;
    }

    .roadmap-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 20px !important;
        left: 0 !important;
    }

    .roadmap-item::before {
        left: 10px !important;
    }

    .expertise-card {
        height: 350px;
    }
}

/* Анимации для секций */
@keyframes fadeInLeft {
    from {
        opacity: 1;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 1;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.roadmap-item:nth-child(odd).active {
    animation: fadeInLeft 0.6s ease-out;
}

.roadmap-item:nth-child(even).active {
    animation: fadeInRight 0.6s ease-out;
}

/* Стили для страницы благодарности */
.thankyou-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.thankyou-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.check-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 30px;
    animation: scaleIn 0.5s ease-out;
}

.next-steps {
    margin: 40px 0;
}

.next-step-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 15px 0;
    transition: transform 0.3s;
}

.next-step-card:hover {
    transform: translateY(-5px);
}

.next-step-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.redirect-info {
    background: #e9ecef;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
}

.resource-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.resource-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .thankyou-section {
        padding: 100px 20px 40px;
    }

    .thankyou-content {
        padding: 30px;
    }

    .actions .btn {
        display: block;
        margin: 10px auto;
        width: 100%;
    }
}

/* Стили футера */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Логотип и описание */
.footer-brand img {
    max-width: 150px;
    height: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 15px;
}

/* Социальные сети */
.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Ссылки в футере */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Контактная информация */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--secondary-color);
}

/* Нижняя часть футера */
.footer-bottom {
    margin-top: 30px;
}

.footer-bottom hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-legal li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal li a:hover {
    color: var(--secondary-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-legal {
        justify-content: center;
        margin-top: 15px;
    }

    .footer-bottom p {
        text-align: center;
    }
}

#cookie-disclaimer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

#cookie-disclaimer.active {
    transform: translateY(0);
}

#cookie-disclaimer p {
    margin: 0;
    flex-grow: 1;
}

#cookie-disclaimer button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#cookie-disclaimer button:hover {
    background-color: #0056b3;
}

#cookie-disclaimer a {
    color: #00bfff;
    text-decoration: underline;
}