/* ============================================
   SULIRAJT — Page-Specific Overrides
   Extends v2-landing.css with orange/warm accent theme
   ============================================ */

/* --- Page Accent Colors (Orange = Energy, Confidence, Readiness) --- */
:root {
    --v2-hero-gradient: linear-gradient(135deg, var(--peach-light) 0%, var(--cream) 50%, var(--mint-light) 100%);
    --v2-cta-gradient: linear-gradient(135deg, var(--teal-dark), #1a6b75);
    --v2-cta-hover: linear-gradient(135deg, #1a7f8a 0%, #1a6b75 50%, var(--teal-dark) 100%);
    --v2-hero-blob1: var(--peach-light);
    --v2-hero-blob2: var(--mint-light);
    --v2-text-gradient: linear-gradient(135deg, var(--teal) 0%, var(--orange) 100%);
    --v2-accent-gradient: linear-gradient(90deg, var(--orange) 0%, var(--teal) 100%);
    --v2-icon-gradient: linear-gradient(135deg, var(--peach-light) 0%, var(--mint-light) 100%);
    --v2-banner-gradient: linear-gradient(135deg, var(--teal-dark) 0%, #1a4f5a 100%);
    --v2-star-color: var(--orange);
    --v2-bullet-color: var(--orange-dark);
    --v2-deep-dive-bg: linear-gradient(135deg, var(--peach-light) 0%, var(--cream) 100%);
    --v2-bridge-bg: linear-gradient(135deg, var(--peach-light) 0%, var(--cream) 50%, var(--mint-light) 100%);
    --v2-warning-bg: linear-gradient(135deg, var(--peach-light) 0%, var(--mint-light) 100%);
    /* FIX: Darker warning text for WCAG AA contrast on peach-light bg (was orange-dark ~2.8:1, now ~7:1) */
    --v2-warning-color: #7a3a15;
    --v2-warning-border: transparent;
    --v2-lead-bg: linear-gradient(135deg, var(--orange) 0%, var(--peach-light) 100%);
    --v2-lead-border: rgba(255, 255, 255, 0.55);
    --v2-pricing-bg: linear-gradient(160deg, #14454d 0%, var(--teal-dark) 35%, #1a6b75 70%, #1a5f5a 100%);
    --v2-featured-border: var(--orange);
    --v2-badge-gradient: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    --v2-badge-color: white;
    --v2-badge-shadow: rgba(232, 148, 90, 0.35);
    --v2-discount-bg: var(--peach-light);
    /* FIX: Darker discount text for WCAG AA contrast on peach-light bg */
    --v2-discount-color: #7a3a15;
    --v2-bonus-border: var(--peach-light);
    --v2-bonus-bar: linear-gradient(90deg, var(--orange) 0%, var(--teal) 100%);
    --v2-bonus-glow: rgba(232, 148, 90, 0.15);
    --v2-bonus-value-bg: linear-gradient(135deg, var(--peach-light) 0%, var(--orange) 100%);
    --v2-zs-border: var(--peach-light);
    --v2-additional-border: var(--orange);
    --v2-sticky-price-color: var(--teal);

    /* Module circle overrides (orange theme) */
    --v2-module-number-bg: var(--teal);
    --v2-module-highlight-bg: linear-gradient(135deg, var(--peach-light) 0%, white 100%);
    --v2-module-highlight-border: var(--orange);
    --v2-module-highlight-number-bg: var(--orange-dark);

    /* Pricing glow overrides (orange theme) */
    --v2-pricing-border-gradient: linear-gradient(135deg, var(--orange), var(--teal), var(--orange-dark), var(--orange));
    --v2-pricing-glow-soft: rgba(232, 148, 90, 0.1);
    --v2-pricing-glow-strong: rgba(232, 148, 90, 0.2);
}

/* --- Pull-Quote: Orange gradient override --- */
/* FIX: White text for contrast on orange→teal gradient (teal-dark on orange = ~3.2:1, FAILS AA) */
.v2-pull-quote {
    background: linear-gradient(135deg, var(--orange) 0%, var(--teal) 100%);
    border-top-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.v2-pull-quote p {
    color: white;
}

.v2-pull-quote span {
    color: rgba(255, 255, 255, 0.85);
}

/* --- Featured Testimonial: Orange border --- */
.v2-featured-testimonial {
    border-left-color: var(--orange);
}

/* --- Testimonials: Orange left border --- */
.v2-testimonials-grid .testimonial {
    border-left-color: var(--orange);
}

/* --- Comparison Table: Orange accent for "course" column --- */
.v2-comp-col-course {
    background: var(--peach-light);
    border-color: var(--orange);
}

/* Module styles now handled by v2-landing.css .v2-modules with CSS variable hooks */

/* --- Guarantee Section: Peach background + orange-themed border --- */
.v2-guarantee {
    background: var(--peach-light);
}

.v2-guarantee .v2-guarantee-card {
    border-color: var(--peach);
}

.v2-guarantee .v2-guarantee-icon {
    background: linear-gradient(135deg, var(--peach-light) 0%, white 100%);
    box-shadow: 0 4px 20px rgba(232, 148, 90, 0.15);
}

/* --- Final CTA: Orange-to-teal gradient --- */
/* FIX: White text for contrast on colored gradient (teal-dark/text on orange gradient = poor contrast) */
.v2-final-cta {
    background: linear-gradient(135deg, var(--orange) 0%, var(--teal) 100%);
}

.v2-final-cta .v2-final-cta-content h2 {
    color: white;
}

.v2-final-cta .v2-final-cta-content p {
    color: rgba(255, 255, 255, 0.92);
}

/* FIX: Outline button needs visible border on dark gradient */
.v2-final-cta .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.v2-final-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* --- Related Cards: Orange hover accent --- */
.v2-additional-card:hover {
    border-color: var(--orange);
}

.v2-additional-link {
    color: var(--orange-dark);
}

/* Pricing glow now handled by v2-landing.css v2-pricing-pulse with CSS variable hooks */

/* --- Two-Tier Pricing Grid (wider PRO card) --- */
.v2-pricing-grid {
    grid-template-columns: 1.4fr 1fr;
    max-width: 1060px;
}

/* --- Pricing description text --- */
.sr-pricing-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* --- Pricing value calculation --- */
.sr-pricing-calc {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0.75rem 0;
    line-height: 1.5;
}

/* --- FAQ: Orange accent for toggle --- */
.v2-faq .faq-item summary::after {
    background: var(--peach-light);
    color: var(--orange-dark);
}

.v2-faq .faq-item[open] summary::after {
    background: var(--orange-dark);
    color: white;
}

.v2-faq .faq-item[open] summary {
    background: var(--peach-light);
    border-bottom-color: var(--orange);
}

.v2-faq .faq-item summary:hover {
    background: var(--peach-light);
}

/* --- Wave Dividers: Color overrides --- */
.v2-wave-hero {
    background: var(--v2-hero-gradient);
}

.v2-wave-guarantee {
    color: var(--peach-light);
}

/* --- Kételyek Checklist (extended pain points as list) --- */
.sr-kételyek-list {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
}

.sr-kételyek-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text);
    padding: 0.4rem 0;
}

.sr-kételyek-list li::before {
    content: '\2022';
    color: var(--orange-dark);
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

/* --- Video Section: proper v2-video styling --- */
.sr-video-section {
    padding: var(--v2-section-gap) 0;
    background: white;
}

.sr-video-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.sr-video-wrapper h2 {
    text-align: center;
    color: var(--teal-dark);
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
}

/* --- Instructor Gallery --- */
.sr-instructor-gallery {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.sr-instructor-gallery img {
    border-radius: 16px;
    max-width: 320px;
    width: 100%;
    height: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sr-instructor-gallery img:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

/* --- Bonus card images (v2-bonus-image exists in v2-landing.css) --- */
.v2-bonus-card .v2-bonus-image img {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-bonus-card:hover .v2-bonus-image img {
    transform: scale(1.04);
}

/* --- ZseniFészek link --- */
.sr-zsenifeszek-link {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.sr-zsenifeszek-link a {
    color: var(--teal);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sr-zsenifeszek-link a:hover {
    color: var(--orange-dark);
}

/* --- Final CTA dual-button row --- */
.sr-final-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* --- Deep-dive sub-heading --- */
.sr-deep-dive-sub {
    margin-top: 1.2rem;
    font-size: 1.25rem;
    color: var(--teal-dark);
    font-weight: 700;
    line-height: 1.35;
}

/* --- Deep-dive inline image --- */
.sr-deep-dive-image {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.4s ease;
}

.sr-deep-dive-image:hover {
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.14);
}

.sr-deep-dive-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sr-deep-dive-image:hover img {
    transform: scale(1.02);
}

/* --- Problem cards: warm hover accent --- */
.v2-problems .problem-card:hover {
    border-color: var(--peach);
    box-shadow: 0 12px 36px rgba(232, 148, 90, 0.12);
}

/* --- Section image: subtle entrance refinement --- */
.section-image-full {
    border-radius: 16px;
    overflow: hidden;
    margin-top: var(--space-lg);
}

.section-image-full img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-image-full:hover img {
    transform: scale(1.015);
}

/* --- Instructor gallery: staggered entrance --- */
.sr-instructor-gallery img:nth-child(1) {
    animation: sr-fadeSlideUp 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sr-instructor-gallery img:nth-child(2) {
    animation: sr-fadeSlideUp 0.7s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sr-fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Testimonials grid: balanced layout for 5 items --- */
.v2-testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* --- Responsive: Two-tier pricing stacking --- */
@media (max-width: 900px) {
    .v2-pricing-grid {
        grid-template-columns: 1fr;
    }

    .v2-pricing-featured {
        transform: none;
        order: -1;
        animation: none;
    }
}

/* --- Responsive: Tablet --- */
@media (max-width: 768px) {
    .sr-kételyek-list {
        grid-template-columns: 1fr;
    }

    .sr-instructor-gallery {
        gap: 1rem;
    }

    .sr-instructor-gallery img {
        max-width: 280px;
    }

    .sr-final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* FIX: Guarantee icon too large on mobile (96px = 25% of 380px viewport) */
    .v2-guarantee .v2-guarantee-icon {
        width: 72px;
        height: 72px;
    }

    .v2-guarantee .v2-guarantee-icon svg {
        width: 42px;
        height: 42px;
    }
}

/* --- Responsive: Small mobile --- */
@media (max-width: 480px) {
    .sr-instructor-gallery img {
        max-width: 100%;
    }

    /* FIX: Final CTA buttons need smaller padding on narrow screens */
    .sr-final-cta-buttons .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* --- Accessibility: Reduced motion --- */
/* FIX: Pricing pulse animation was missing from prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .v2-pricing-featured {
        animation: none !important;
    }

    .sr-instructor-gallery img {
        animation: none !important;
    }

    .sr-deep-dive-image img,
    .section-image-full img,
    .v2-bonus-card .v2-bonus-image img {
        transition: none;
    }
}
