/* ============================================
   FIGYELEMFEJLESZTES — Page-Specific Overrides
   Extends v2-landing.css with mint/teal accent theme
   Full visual optimization with micro-interactions
   ============================================ */

/* --- Page Accent Colors --- */
:root {
    --v2-hero-gradient: linear-gradient(160deg, var(--cream) 0%, var(--teal-lightest) 35%, var(--mint-light) 70%, var(--cream) 100%);
    --v2-cta-gradient: linear-gradient(135deg, var(--teal-dark), #1a8f7a);
    --v2-cta-hover: linear-gradient(135deg, #1e8f9a 0%, #1a8f7a 50%, #1a6d75 100%);
    --v2-hero-blob1: var(--mint-light);
    --v2-hero-blob2: var(--teal-lightest);
    --v2-text-gradient: linear-gradient(135deg, var(--teal) 0%, #1a8f7a 60%, var(--teal-dark) 100%);
    --v2-accent-gradient: linear-gradient(90deg, var(--mint) 0%, var(--teal) 100%);
    --v2-icon-gradient: linear-gradient(135deg, var(--mint-light) 0%, var(--teal-lightest) 100%);
    --v2-banner-gradient: linear-gradient(135deg, #8a6914 0%, #b8860b 40%, #d4a017 100%);
    --v2-outcomes-bg: linear-gradient(160deg, var(--mint-light) 0%, var(--teal-lightest) 40%, var(--cream) 100%);
    --v2-support-card-border: rgba(26, 143, 122, 0.08);
    --v2-support-card-hover-shadow: 0 12px 36px rgba(26, 143, 122, 0.12);
    --v2-support-card-hover-shadow-soft: 0 12px 36px rgba(26, 143, 122, 0.1);
    --v2-support-card-heading-color: var(--teal-dark);
    --v2-support-card-accent-color: var(--mint-dark);
    --v2-star-color: var(--mint);
    --v2-bullet-color: var(--teal);
    --v2-deep-dive-bg: linear-gradient(160deg, var(--cream) 0%, var(--mint-light) 60%, var(--teal-lightest) 100%);
    --v2-bridge-bg: linear-gradient(160deg, var(--teal-lightest) 0%, var(--mint-light) 40%, var(--cream) 100%);
    --v2-warning-bg: linear-gradient(135deg, var(--mint-light) 0%, var(--teal-lightest) 100%);
    --v2-warning-color: var(--teal-dark);
    --v2-warning-border: rgba(26, 143, 122, 0.2);
    --v2-lead-bg: linear-gradient(160deg, var(--mint-light) 0%, var(--cream) 40%, var(--teal-lightest) 100%);
    --v2-lead-border: rgba(143, 212, 200, 0.2);
    --v2-pricing-bg: linear-gradient(160deg, #0d4a42 0%, var(--teal-dark) 35%, #1a8f7a 70%, #1a6d75 100%);
    --v2-featured-border: var(--mint);
    --v2-badge-gradient: linear-gradient(135deg, var(--mint) 0%, var(--teal) 100%);
    --v2-badge-color: white;
    --v2-badge-shadow: rgba(26, 143, 122, 0.35);
    --v2-discount-bg: linear-gradient(135deg, var(--mint-light) 0%, rgba(143, 212, 200, 0.5) 100%);
    --v2-discount-color: var(--teal-dark);
    --v2-bonus-border: var(--mint-light);
    --v2-bonus-bar: linear-gradient(90deg, var(--mint) 0%, var(--teal) 100%);
    --v2-bonus-glow: rgba(26, 143, 122, 0.15);
    --v2-bonus-value-bg: linear-gradient(135deg, var(--mint-light) 0%, var(--mint) 100%);
    --v2-zs-border: var(--mint-light);
    --v2-additional-border: var(--mint);
    --v2-sticky-price-color: var(--teal);

    /* Animation color overrides */
    --v2-badge-glow: rgba(26, 143, 122, 0.3);
    --v2-badge-glow-strong: rgba(26, 143, 122, 0.5);
    --v2-cta-accent-glow: rgba(26, 143, 122, 0.35);
}

/* ============================================
   SINGLE PRICING CARD (centered, no grid)
   ============================================ */
.v2-pricing-card {
    max-width: 600px;
    margin: 0 auto;
    z-index: 1;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, var(--mint), var(--teal), #1a8f7a, var(--mint));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    backdrop-filter: blur(20px) saturate(180%);
    animation: fv2-pricing-glow 3s ease-in-out infinite;
}

@keyframes fv2-pricing-glow {
    0%, 100% { box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(26, 143, 122, 0.1); }
    50% { box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2), 0 0 30px 8px rgba(26, 143, 122, 0.15); }
}

/* Badge shine + CTA pulse animations now in v2-landing.css with CSS variable hooks */

/* ============================================
   BENTO GRID — First & last cards span full width
   ============================================ */
@media (min-width: 769px) {
    .v2-bento-grid .problem-card:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .v2-bento-grid .problem-card:last-child {
        grid-column: 1 / -1;
    }
}

/* ============================================
   SINGLE VIDEO — wider card
   ============================================ */
.v2-video-grid {
    max-width: 800px;
}

/* ============================================
   ENHANCED CARD SHADOWS (mint/teal tones)
   ============================================ */

/* Deep dive card */
.v2-deep-dive-card {
    box-shadow: 0 20px 60px rgba(26, 143, 122, 0.1), 0 6px 16px rgba(0, 0, 0, 0.04);
}

/* Bridge card */
.v2-bridge-card {
    box-shadow: 0 16px 48px rgba(123, 204, 200, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
}

/* Lead magnet card */
.v2-lead-card {
    box-shadow: 0 16px 48px rgba(26, 143, 122, 0.1);
}

/* ZseniFeszek note card */
.v2-zsenifeszek-card {
    box-shadow: 0 8px 24px rgba(26, 143, 122, 0.06);
}

/* ============================================
   ENHANCED PROBLEM CARDS — Teal glow on hover
   ============================================ */
.v2-problems .problem-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
}

.v2-problems .problem-card:hover {
    box-shadow: 0 16px 48px rgba(26, 143, 122, 0.15),
                0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Problem card top accent bar on hover */
.v2-problems .problem-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mint) 0%, var(--teal) 50%, var(--mint) 100%);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: var(--v2-card-radius) var(--v2-card-radius) 0 0;
}

.v2-problems .problem-card:hover::after {
    transform: scaleX(1);
}

/* ============================================
   ENHANCED TESTIMONIALS — Teal accent hover
   ============================================ */
.v2-testimonial {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.v2-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26, 143, 122, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ============================================
   ENHANCED BONUS CARDS — Teal glow hover
   ============================================ */
.v2-bonus-card {
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
}

.v2-bonus-card:hover {
    box-shadow: 0 20px 56px rgba(26, 143, 122, 0.16),
                0 6px 16px rgba(0, 0, 0, 0.05);
}

/* ============================================
   ENHANCED TIMELINE — Teal dot accent
   ============================================ */
.v2-timeline-dot {
    background: linear-gradient(135deg, var(--mint) 0%, var(--teal) 100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.3s ease;
}

.v2-timeline-item:hover .v2-timeline-dot {
    transform: scale(1.12);
    box-shadow: 0 4px 16px rgba(26, 143, 122, 0.35);
}

.v2-timeline-item.open .v2-timeline-dot {
    background: linear-gradient(135deg, var(--teal-dark) 0%, #0d4a42 100%);
    box-shadow: 0 4px 16px rgba(26, 95, 106, 0.3);
}

/* ============================================
   ENHANCED METRIC CARDS — Teal hover glow
   ============================================ */
.v2-metric-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.v2-metric-card:hover {
    box-shadow: 0 12px 40px rgba(26, 143, 122, 0.14),
                0 4px 12px rgba(0, 0, 0, 0.04);
}

.v2-metric-icon {
    background: var(--v2-icon-gradient);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-metric-card:hover .v2-metric-icon {
    transform: scale(1.08);
}

/* ============================================
   ENHANCED FAQ — Smooth open/close with teal accent
   ============================================ */
.v2-faq .faq-item {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.v2-faq .faq-item[open] {
    box-shadow: 0 6px 24px rgba(26, 143, 122, 0.08);
    border-color: rgba(143, 212, 200, 0.3);
}

/* ============================================
   ENHANCED COMPARISON TABLE — Hover lift
   ============================================ */
.v2-comp-course {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.v2-comp-course:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(26, 95, 106, 0.12);
}

/* ============================================
   ENHANCED COUNTERARGUMENT CARD — Hover shadow
   ============================================ */
.v2-counter-card {
    transition: box-shadow 0.4s ease;
}

.v2-counter-card:hover {
    box-shadow: 0 16px 48px rgba(26, 143, 122, 0.1),
                0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ============================================
   INSTRUCTOR STATS — Teal gradient numbers
   ============================================ */
.instructor-stats .stat-number {
    background: linear-gradient(135deg, var(--mint) 0%, var(--teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ADDITIONAL COURSES — Teal hover border
   ============================================ */
.v2-additional-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.v2-additional-card:hover {
    border-color: var(--mint);
    box-shadow: 0 12px 36px rgba(26, 143, 122, 0.12);
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 768px) {
    .v2-problems .problem-card::after {
        height: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-pricing-card .btn-primary,
    .v2-pricing-card .v2-pricing-badge {
        animation: none !important;
    }
}

/* ============================================
   TRUST METRICS — Teal accent overrides
   ============================================ */
.v2-metric-icon {
    background: linear-gradient(135deg, rgba(26, 143, 122, 0.15) 0%, rgba(26, 143, 122, 0.08) 100%);
    color: #1a8f7a;
}

/* ============================================
   GUARANTEE CARD — Teal border & icon
   ============================================ */
.v2-guarantee-card {
    border-color: rgba(26, 143, 122, 0.4);
}
.v2-guarantee-icon {
    background: linear-gradient(135deg, rgba(26, 143, 122, 0.2) 0%, rgba(26, 143, 122, 0.1) 100%);
    color: #1a8f7a;
    box-shadow: 0 4px 20px rgba(26, 143, 122, 0.15);
}
.v2-guarantee-highlight {
    background: rgba(26, 143, 122, 0.12);
    color: #1a8f7a;
}

/* ============================================
   HERO — Mobile padding teases metrics
   ============================================ */
@media (max-width: 768px) {
    .v2-hero {
        padding-bottom: calc(var(--space-lg) * 0.8);
    }
}
@media (min-width: 769px) {
    .v2-hero {
        padding-bottom: var(--space-xl);
    }
}

/* ============================================
   INLINE CTAs — lightweight mid-page conversion points
   ============================================ */
.v2-inline-cta {
    text-align: center;
    padding: var(--space-lg) var(--space-md) 0;
    max-width: 600px;
    margin: 0 auto;
}
.v2-inline-cta p {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}
.v2-inline-cta .btn {
    margin-bottom: var(--space-xs);
}
.v2-inline-cta-note {
    display: block;
    font-size: 0.82rem;
    /* WCAG AA: full --text-muted (~5.3:1); opacity:0.7 dropped it to 3.22:1 */
    color: var(--text-muted);
}

/* ============================================
   SPEED / EASE ROW ��� Hormozi value equation denominator
   ============================================ */
.ff-speed-row {
    background: var(--cream, #fef9f5);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(26, 143, 122, 0.12);
    border-bottom: 1px solid rgba(26, 143, 122, 0.12);
}
.ff-speed-items {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}
.ff-speed-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
}
.ff-speed-icon {
    font-size: 1.4rem;
    margin-bottom: 2px;
}
.ff-speed-item strong {
    font-size: 0.95rem;
    color: var(--teal-dark);
}
.ff-speed-item span:not(.ff-speed-icon) {
    font-size: 0.8rem;
    color: var(--text-muted);
}
@media (max-width: 600px) {
    .ff-speed-items {
        gap: var(--space-md);
    }
    .ff-speed-item {
        flex-basis: 40%;
    }
}

/* ============================================
   VALUE STACK �� Hormozi-style itemized value breakdown
   Dark teal bg, glassmorphism card, staggered reveal
   ============================================ */
.ff-value-stack {
    background: var(--v2-pricing-bg);
    color: white;
    padding: var(--v2-section-gap) 0;
}
.ff-value-stack-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--v2-card-radius);
    padding: var(--space-lg);
    max-width: 780px;
    margin: 0 auto;
}
.ff-value-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ff-value-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    transform: none;
}
.ff-value-item:last-child {
    border-bottom: none;
}
/* Stagger animation when parent enters viewport */
.ff-value-stack.v2-revealed .ff-value-item {
    animation: ff-value-item-in 0.45s ease both;
}
.ff-value-stack.v2-revealed .ff-value-item:nth-child(1) { animation-delay: 0.05s; }
.ff-value-stack.v2-revealed .ff-value-item:nth-child(2) { animation-delay: 0.12s; }
.ff-value-stack.v2-revealed .ff-value-item:nth-child(3) { animation-delay: 0.19s; }
.ff-value-stack.v2-revealed .ff-value-item:nth-child(4) { animation-delay: 0.26s; }
.ff-value-stack.v2-revealed .ff-value-item:nth-child(5) { animation-delay: 0.33s; }
.ff-value-stack.v2-revealed .ff-value-item:nth-child(6) { animation-delay: 0.40s; }
@keyframes ff-value-item-in {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}
.ff-value-item-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    min-width: 0;
}
.ff-value-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.2;
}
.ff-value-item-left div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ff-value-item-left strong {
    font-size: 0.95rem;
    color: white;
    font-weight: 700;
}
.ff-value-item-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}
.ff-value-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: line-through;
    white-space: nowrap;
    flex-shrink: 0;
}
.ff-value-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: var(--space-md) 0;
}
.ff-value-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}
.ff-value-total-amount {
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.55);
}
.ff-value-actual-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 6px 0;
    gap: var(--space-sm);
}
.ff-value-actual-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ff-value-actual-label {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}
.ff-value-actual-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}
.ff-value-actual-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--mint);
    white-space: nowrap;
}
.ff-value-savings-row {
    text-align: center;
    padding: 12px;
    background: rgba(143, 212, 200, 0.15);
    border: 1px solid rgba(143, 212, 200, 0.3);
    border-radius: 10px;
    margin: var(--space-sm) 0 var(--space-md);
    font-size: 0.95rem;
    color: var(--mint);
}
.ff-value-savings-row strong {
    font-size: 1.05rem;
}
.ff-value-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text, #2a3f42);
    border-radius: 16px;
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-md);
}
.ff-value-cta .btn-primary {
    background: var(--v2-cta-gradient);
    border-color: transparent;
    animation: v2-pulse-glow 2.8s ease-in-out infinite;
}
.ff-value-cta .btn-primary:hover {
    background: var(--v2-cta-hover);
    transform: translateY(-2px);
}
.ff-value-guarantee-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--teal-dark);
    margin: 0;
}
.ff-value-guarantee-note svg {
    flex-shrink: 0;
    color: var(--teal);
}

/* Value Stack — Mobile */
@media (max-width: 600px) {
    .ff-value-stack-card {
        padding: var(--space-md) var(--space-sm);
    }
    .ff-value-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }
    .ff-value-item-left {
        flex: 1;
        min-width: 0;
    }
    .ff-value-item-price {
        flex-shrink: 0;
        font-size: 0.85rem;
    }
    .ff-value-actual-row {
        flex-direction: column;
        text-align: center;
    }
    .ff-value-total-row {
        flex-direction: row;
        gap: 8px;
    }
    .ff-value-actual-amount {
        font-size: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ff-value-stack.v2-revealed .ff-value-item {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   SELF-CHECK — "Ez ismerős?" section
   ============================================ */
.ff-selfcheck {
    padding: var(--space-lg) 0;
    background: var(--cream);
}

.ff-selfcheck .v2-section-title {
    margin-bottom: var(--space-md);
}

.ff-selfcheck-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    max-width: 720px;
    margin: 0 auto;
}

.ff-selfcheck-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: var(--space-sm) var(--space-md);
    background: white;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--teal);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ff-selfcheck-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.ff-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mint-light), var(--teal-lightest));
    color: var(--teal-dark);
    font-weight: 700;
    font-size: 14px;
    margin-top: 2px;
}

.ff-selfcheck-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-dark);
}

.ff-selfcheck-hook {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Last item spans full width when odd count */
.ff-selfcheck-grid .ff-selfcheck-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 360px;
    justify-self: center;
}

@media (max-width: 768px) {
    .ff-selfcheck-grid {
        grid-template-columns: 1fr;
    }

    .ff-selfcheck-grid .ff-selfcheck-item:last-child:nth-child(odd) {
        max-width: none;
    }

    .ff-selfcheck-item {
        padding: var(--space-sm);
    }
}

/* ============================================
   TRANSFORMATION BRIDGE
   ============================================ */
.ff-transformation {
    padding: var(--space-lg) 0;
    text-align: center;
}

.ff-transformation .v2-section-title {
    max-width: 640px;
    margin: 0 auto var(--space-md);
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

.ff-transformation-quote {
    max-width: 640px;
    margin: 0 auto var(--space-md);
}

.ff-transformation-quote .v2-testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
}

.ff-transformation-social {
    font-size: 1rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin: 0;
}

@media (max-width: 768px) {
    .ff-transformation {
        padding: var(--space-md) 0;
    }
}

/* Sticky CTA re-enabled 2026-04-29 — CRO test 14 concluded; visible after 200px scroll */
