* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Navigation */
.navbar {
    background-color: #1e3a8a;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    background: #1e3a8a;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-translation {
    font-size: 18px;
    margin: 15px 0 20px 0;
    color: #fff;
    font-weight: 600;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
}

.hero-subtitle {
    font-size: 24px;
    margin: 10px 0;
    color: #e0e0e0;
}

/* Traders Section */
.traders-section {
    padding: 50px 0 30px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #1e3a8a;
    font-weight: 600;
}

.section-subtitle {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-weight: 500;
}

.traders-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.traders-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.traders-image:hover {
    transform: scale(1.02);
}

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

.feature-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

.feature-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Main Features */
.main-features {
    padding: 30px 0 40px 0;
    background-color: #fff;
}

.feature-box {
    background-color: #f8f9fa;
    padding: 25px;
    margin: 15px 0;
    border-left: 5px solid #1e3a8a;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-box h3 {
    font-size: 20px;
    color: #1e3a8a;
    line-height: 1.6;
}

/* Learn Section */
.learn-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.learn-image-wrapper {
    text-align: center;
    margin: 20px 0 25px 0;
}

.learn-image {
    max-width: 100%;
    width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.learn-image:hover {
    transform: scale(1.02);
}

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

.learn-item {
    background-color: #fff;
    padding: 18px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learn-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(30, 58, 138, 0.1);
}

.learn-item h4 {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Instructors Section */
.instructors-section {
    padding: 30px 0 20px 0;
    background-color: #fff;
}

.instructors-intro {
    text-align: center;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.instructors-description {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-top: 10px;
    padding: 0 20px;
}

.instructor-block {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.instructor-image-container {
    flex: 0 0 250px;
    text-align: center;
}

.instructor-image {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.instructor-image:hover {
    transform: scale(1.03);
}

.instructor-name {
    font-size: 20px;
    color: #1e3a8a;
    font-weight: 600;
    margin-top: 8px;
}

.instructor-bio {
    flex: 1;
}

.instructor-bio p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

/* Reverse layout for Dan Gibby */
.instructor-block.reverse {
    flex-direction: row-reverse;
}

/* Testimonial */
.testimonial {
    padding: 20px 0 30px 0;
    background-color: #f8f9fa;
}

.testimonial-box {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-author {
    font-size: 18px;
    font-weight: bold;
    color: #1e3a8a;
    margin-top: 15px;
    text-align: right;
}

/* Questions Section */
.questions-section {
    padding: 30px 0;
    background-color: #fff;
}

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

.question-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #1e3a8a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(30, 58, 138, 0.1);
}

.question-item h4 {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Modules Section */
.modules-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.module-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

.module-item h3 {
    font-size: 20px;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 8px;
}

.module-item ul {
    list-style: none;
    padding-left: 0;
}

.module-item ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.module-item ul li:hover {
    color: #1e3a8a;
}

.module-item ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: bold;
    font-size: 18px;
}

/* Purchase Section */
.purchase-section {
    padding: 60px 0;
    background: #1e3a8a;
    color: #fff;
    text-align: center;
}

.purchase-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.purchase-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.purchase-description {
    max-width: 800px;
    margin: 25px auto;
    padding: 25px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.purchase-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
}

/* Цена и кнопка "Оформить заказ" - ТЁМНО-СИНИЙ ЦВЕТ */
.payment-wrapper {
    margin-top: 40px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-container {
    margin-bottom: 20px;
}

.price-text {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ТЁМНО-СИНЯЯ КНОПКА "Оформить заказ" */
.buy-button {
    display: inline-block;
    padding: 16px 60px; /* Увеличили горизонтальный padding для более длинного текста */
    background: linear-gradient(135deg, #0d4b9e 0%, #0a3d8a 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 22px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
}

.buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: linear-gradient(135deg, #0a3d8a 0%, #08306b 100%);
}

.contacts {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contacts-text {
    font-size: 16px;
    color: #fff;
}

.contacts-link {
    color: #fff;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.contacts-link:hover {
    opacity: 0.8;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer a {
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 0.8;
}

.footer p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 22px;
    }

    .traders-image {
        width: 100%;
        max-width: 100%;
    }

    .learn-image {
        width: 100%;
        max-width: 100%;
    }

    /* Instructors Section Responsive */
    .instructors-section {
        padding: 25px 0 15px 0;
    }
    
    .instructor-block {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .instructor-block.reverse {
        flex-direction: column;
    }
    
    .instructor-image-container {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .instructor-image {
        max-width: 200px;
    }
    
    .instructor-bio p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .instructors-description {
        font-size: 16px;
        padding: 0 10px;
        margin-top: 8px;
    }
    
    .instructors-intro {
        margin-bottom: 20px;
    }
    
    /* Testimonial Responsive */
    .testimonial {
        padding: 20px 0 30px 0;
    }
    
    .testimonial-box {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .testimonial-author {
        font-size: 16px;
        text-align: center;
    }
    
    .features-grid,
    .learn-list,
    .questions-list {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .purchase-title {
        font-size: 28px;
    }

    /* Цена и кнопка "Оформить заказ" для мобильных */
    .price-text {
        font-size: 28px;
    }
    
    .buy-button {
        padding: 14px 45px; /* Уменьшили немного для мобильных, но оставили больше чем было */
        font-size: 20px;
    }
    
    /* Navigation Logo Responsive */
    .logo-img {
        height: 40px;
    }
    
    /* Traders Section Responsive */
    .traders-section {
        padding: 30px 0 20px 0;
    }
    
    .main-features {
        padding: 20px 0 30px 0;
    }
    
    .learn-section {
        padding: 25px 0;
    }
    
    .questions-section {
        padding: 25px 0;
    }
    
    .modules-section {
        padding: 30px 0;
    }
    
    .purchase-section {
        padding: 40px 0;
    }
    
    .footer {
        padding: 20px 0;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .instructor-image {
        max-width: 180px;
    }
    
    .instructor-name {
        font-size: 18px;
    }
    
    .testimonial-text {
        font-size: 13px;
    }
    
    .purchase-description {
        padding: 15px;
    }
    
    .purchase-description p {
        font-size: 16px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    /* Цена и кнопка "Оформить заказ" для очень маленьких экранов */
    .price-text {
        font-size: 24px;
    }
    
    .buy-button {
        padding: 12px 35px;
        font-size: 18px;
        white-space: normal; /* Позволяем тексту переноситься на очень маленьких экранах */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}