/* =============================================
   PDR Courses Landing — style.css
   Mobile-first · Montserrat + Inter
   ============================================= */

/* === Reset === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1A1A1A;
    background: #FFFAF5;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #F26522;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #d4551a;
}

/* === Layout === */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Typography === */
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #1A1A1A;
}

.section-subtitle {
    text-align: center;
    color: #6B7280;
    font-size: 1rem;
    margin-bottom: 40px;
}

/* === CTA Buttons === */
.btn-cta {
    display: inline-block;
    background: #16A34A;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 36px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-cta:hover {
    background: #15803D;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
    text-decoration: none;
    color: #fff;
}

.btn-cta:active {
    transform: translateY(0);
}

/* === Fade-in animation === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   1. HERO
   ============================================= */
.hero {
    border-top: 4px solid #F26522;
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFAF5 100%);
    padding: 48px 0 56px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(242, 101, 34, 0.1);
    color: #F26522;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-sub {
    font-size: 1.05rem;
    color: #6B7280;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.hero-stat {
    margin-bottom: 36px;
}

.hero-stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #F26522;
    line-height: 1;
}

.hero-stat-text {
    display: block;
    font-size: 0.95rem;
    color: #6B7280;
    margin-top: 6px;
}

.btn-cta--hero {
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* === Discount timer === */
.discount-timer {
    margin: 28px auto 0;
    background: rgba(242, 101, 34, 0.08);
    border: 1px solid rgba(242, 101, 34, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    display: block;
    max-width: 360px;
}

.discount-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #F26522;
    margin-bottom: 10px;
}

.timer-blocks {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
}

.timer-block {
    text-align: center;
    min-width: 52px;
    background: #fff;
    border-radius: 10px;
    padding: 8px 4px 6px;
}

.timer-num {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1;
}

.timer-text {
    display: block;
    font-size: 0.6rem;
    color: #6B7280;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-sep {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #F26522;
    line-height: 1;
    padding-top: 8px;
}

.hero-note {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #9CA3AF;
}

/* =============================================
   2. ДЛЯ КОГО
   ============================================= */
.section-audience {
    padding: 64px 0;
    background: #FFFAF5;
}

.audience-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.audience-card {
    background: #fff;
    border-left: 4px solid #F26522;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.audience-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.audience-card p {
    font-size: 1rem;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.5;
}

/* =============================================
   3. ЩО ВСЕРЕДИНІ — степпер
   ============================================= */
.section-modules {
    padding: 64px 0;
    background: #FFF7ED;
}

.stepper {
    max-width: 540px;
    margin: 0 auto 32px;
    position: relative;
}

.stepper-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 28px;
    position: relative;
}

.stepper-item:last-child {
    padding-bottom: 0;
}

/* Vertical line */
.stepper-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 36px;
    bottom: 0;
    width: 2px;
    background: #E5E7EB;
}

.stepper-circle {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #F26522;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.stepper-content {
    padding-top: 4px;
}

.stepper-content strong {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.stepper-content span {
    color: #6B7280;
    font-size: 0.9rem;
}

.modules-note {
    background: #fff;
    border-left: 4px solid #F26522;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 500;
    max-width: 540px;
    margin: 0 auto;
}

/* =============================================
   4. ХТО ВЕДЕ
   ============================================= */
.section-instructor {
    padding: 64px 0;
    background: #FFFAF5;
}

.instructor-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.instructor-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #F26522;
    background: #E5E7EB;
    flex-shrink: 0;
}

.instructor-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 6px;
}

.instructor-langs {
    font-size: 0.95rem;
    color: #6B7280;
}

/* =============================================
   5. ЦІНИ
   ============================================= */
.section-pricing {
    padding: 64px 0;
    background: #FFF7ED;
}

.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.price-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.price-card--featured {
    border: 2px solid #F26522;
    box-shadow: 0 8px 30px rgba(242, 101, 34, 0.12);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 24px;
    background: #F26522;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.price-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-amount {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #1A1A1A;
    margin-bottom: 20px;
}

.price-old {
    text-decoration: line-through;
    color: #9CA3AF;
    font-size: 1.4rem;
    font-weight: 600;
    margin-right: 6px;
}

.price-features {
    list-style: none;
    margin-bottom: 20px;
}

.price-features li {
    padding: 7px 0;
    font-size: 0.95rem;
    color: #374151;
}

.price-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 4px 0 16px;
}

.price-per {
    font-size: 0.88rem;
    color: #6B7280;
    margin-bottom: 20px;
}

.btn-cta--card {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 1rem;
}

/* =============================================
   6. ВІДГУКИ
   ============================================= */
.section-reviews {
    padding: 64px 0;
    background: #FFFAF5;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
}

.review-quote {
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: 'Montserrat', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #F26522;
    opacity: 0.2;
    line-height: 1;
    pointer-events: none;
}

.review-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #374151;
    font-style: italic;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F26522;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1A1A1A;
}

/* =============================================
   7. FAQ
   ============================================= */
.section-faq {
    padding: 64px 0;
    background: #FFF7ED;
}

.faq-list {
    max-width: 640px;
    margin: 32px auto 0;
}

.faq-item {
    border-bottom: 1px solid #E5E7EB;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    padding: 20px 0;
    list-style: none;
    color: #1A1A1A;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #F26522;
    border-radius: 2px;
    transition: transform 0.3s;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    top: 11px;
    left: 5px;
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    top: 5px;
    left: 11px;
}

.faq-item[open] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-item p {
    padding: 0 0 20px;
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   8. ФОРМА
   ============================================= */
.section-form {
    padding: 64px 0;
    background: #1A1A1A;
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 36px;
}

.form-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.form-error {
    display: none;
    color: #fff;
    background: #DC2626;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-error.visible {
    display: block;
}

.form-group {
    margin-bottom: 16px;
}

/* Radio cards */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-card {
    display: block;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-card-inner {
    display: block;
    padding: 14px 18px;
    border: 2px solid #374151;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}

.radio-card input[type="radio"]:checked + .radio-card-inner {
    border-color: #F26522;
    background: rgba(242, 101, 34, 0.12);
    color: #fff;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #374151;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #F26522;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.15);
}

.btn-cta--submit {
    width: 100%;
    text-align: center;
    padding: 18px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
    margin-top: 8px;
}

.form-consent {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 14px;
}

/* =============================================
   9. FOOTER
   ============================================= */
.footer {
    background: #1A1A1A;
    text-align: center;
    padding: 24px 0 28px;
    border-top: 1px solid #2D2D2D;
    margin-bottom: 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.footer p:last-child {
    margin-bottom: 0;
}

.footer a {
    color: #F26522;
    font-weight: 500;
}

.footer a:hover {
    color: #ff7a3a;
}

/* =============================================
   Fixed mobile CTA
   ============================================= */
.mobile-cta {
    display: none;
}

/* =============================================
   Thank you page
   ============================================= */
.thankyou {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFAF5 100%);
}

.thankyou-content {
    max-width: 480px;
}

.thankyou-icon {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 20px;
}

.thankyou-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #1A1A1A;
}

.thankyou-content > p {
    font-size: 1.05rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 32px;
}

.thankyou-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.thankyou-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.thankyou-detail span {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.thankyou-detail p {
    font-size: 1rem;
    color: #1A1A1A;
    margin: 0;
}

.btn-cta--back {
    display: inline-block;
    background: transparent;
    color: #F26522;
    border: 2px solid #F26522;
    border-radius: 12px;
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-cta--back:hover {
    background: #F26522;
    color: #fff;
    text-decoration: none;
}

/* =============================================
   MOBILE (<768px)
   ============================================= */
@media (max-width: 767px) {
    .footer {
        padding-bottom: 88px;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        padding: 12px 20px;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .mobile-cta.hidden {
        transform: translateY(100%);
    }

    .btn-cta--mobile {
        display: block;
        width: 100%;
        text-align: center;
        padding: 14px 24px;
    }
}

/* =============================================
   DESKTOP (>=768px)
   ============================================= */
@media (min-width: 768px) {
    .hero {
        padding: 80px 0 72px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-sub {
        font-size: 1.15rem;
    }

    .hero-stat-number {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-audience,
    .section-modules,
    .section-instructor,
    .section-pricing,
    .section-reviews,
    .section-faq {
        padding: 96px 0;
    }

    .section-form {
        padding: 80px 0;
    }

    .form-title {
        font-size: 2rem;
    }

    .audience-cards {
        flex-direction: row;
    }

    .audience-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .instructor-block {
        flex-direction: row;
        text-align: left;
        gap: 40px;
        max-width: 540px;
        margin: 0 auto;
    }

    .pricing-cards {
        flex-direction: row;
        align-items: flex-start;
    }

    .price-card {
        flex: 1;
    }

    .price-card--featured {
        transform: scale(1.03);
    }

    .radio-group {
        flex-direction: row;
    }

    .radio-card {
        flex: 1;
    }
}
