/* ============================================
   ZSENIBAGOLY - Képzéseink (All Courses) Page
   Categorized course catalog with tier groups
   ============================================ */

/* --- Products Hero --- */
.products-hero {
    background: linear-gradient(135deg, var(--teal-lightest) 0%, var(--cream) 50%, var(--mint-light) 100%);
    padding: var(--space-2xl) 0 0;
    text-align: center;
    position: relative;
}

.products-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: var(--space-xl);
}

.products-hero .section-tag {
    display: inline-block;
    background: var(--teal);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.text-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--teal-dark);
    margin-bottom: var(--space-md);
}

.products-hero > .container > .products-hero-content > p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--teal-dark);
    font-weight: 600;
}

/* --- Products Section & Grid --- */
.products-section {
    padding: var(--space-2xl) 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    border: 1px solid var(--cream-dark);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.product-card--highlight {
    border: 2px solid var(--peach);
    box-shadow: 0 4px 24px rgba(232, 154, 95, 0.18);
}

.zf-exclusive-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, var(--peach), var(--peach-dark));
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-xl);
    margin-bottom: 0.25rem;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    background: var(--cream);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-content {
    padding: var(--space-lg);
}

.product-card-content h3 {
    font-size: 1.2rem;
    color: var(--teal-dark);
    margin-bottom: var(--space-sm);
}

.product-card-content > p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.product-card-price {
    margin-bottom: var(--space-md);
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-dark);
}

.price-from {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.product-card .btn {
    width: 100%;
    justify-content: center;
}

/* --- ZseniFészek Highlight Card --- */
.zf-highlight {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    border: 2px solid var(--teal);
    background: linear-gradient(135deg, var(--teal-lightest) 0%, #fff 60%);
    box-shadow: 0 8px 32px rgba(26, 95, 106, 0.12);
    margin-bottom: var(--space-xl);
}
.zf-highlight:hover {
    border-color: var(--teal-dark);
    box-shadow: 0 12px 40px rgba(26, 95, 106, 0.2);
    transform: translateY(-4px);
}
.zf-highlight .product-card-image {
    aspect-ratio: auto;
    height: 100%;
    min-height: 240px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.zf-highlight .product-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl);
}
.zf-highlight .product-card-content h3 {
    font-size: 1.4rem;
    color: var(--teal-dark);
}
.zf-highlight .zf-badge {
    display: inline-block;
    background: var(--teal-dark);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: var(--space-sm);
    width: fit-content;
}
.zf-highlight .zf-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: var(--space-md);
}
.zf-highlight .zf-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.88rem;
    color: var(--text-muted);
}
.zf-highlight .zf-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* --- Bagolypatika grid (was single-card, now multiple) --- */
.products-grid-lila {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* --- Free Resource Callout --- */
.free-callout {
    background: linear-gradient(135deg, var(--mint-light) 0%, var(--teal-lightest) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-2xl);
}

.free-callout h2 {
    color: var(--teal-dark);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.free-callout p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.free-callout .btn {
    display: inline-flex;
}

/* --- Trust Section --- */
.products-trust-section {
    max-width: 900px;
    margin: var(--space-2xl) auto 0;
    text-align: center;
    background: var(--cream);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.products-trust-section h2 {
    color: var(--teal-dark);
    margin-bottom: var(--space-md);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.trust-item {
    text-align: center;
}

.trust-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
}

.trust-icon-teal {
    background: var(--teal-lightest);
}

.trust-icon-mint {
    background: var(--mint-light);
}

.trust-icon-peach {
    background: var(--peach-light);
}

.trust-item h4 {
    color: var(--teal-dark);
    margin-bottom: var(--space-xs);
    font-size: 1rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Guarantee Visual Section --- */
.guarantee-visual-section {
    background: white;
    padding: var(--space-2xl) 0;
}

.guarantee-layout {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.guarantee-visual {
    text-align: center;
}

.guarantee-badge-circle {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--teal-lightest) 0%, var(--mint-light) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid var(--teal-light);
    box-shadow: var(--shadow-strong);
}

.guarantee-number {
    font-size: 4rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--teal-dark);
    line-height: 1;
}

.guarantee-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--teal-dark);
}

.guarantee-sublabel {
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 600;
    margin-top: 0.5rem;
}

.guarantee-content h2 {
    color: var(--teal-dark);
    margin-bottom: var(--space-md);
    font-size: 1.75rem;
}

.guarantee-content > p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.guarantee-checks {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.guarantee-check {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--teal-dark);
    font-weight: 600;
}

/* --- Subscription Promo Section --- */
.subscription-promo-section {
    background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
    padding: var(--space-2xl) 0;
    position: relative;
}

.subscription-promo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.promo-badge {
    display: inline-block;
    background: #a06030;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.subscription-promo-content h2 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.subscription-promo-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-lg);
}

.subscription-features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.sub-feature {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: white;
    font-size: 0.95rem;
}

.btn-promo {
    background: white;
    color: var(--teal-dark);
    border-color: white;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.btn-promo:hover {
    background: var(--cream);
    border-color: var(--cream);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .products-grid,
    .products-grid-lila {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guarantee-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .guarantee-badge-circle {
        width: 200px;
        height: 200px;
    }

    .guarantee-number {
        font-size: 3rem;
    }

    .guarantee-checks {
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }

    .zf-highlight {
        grid-template-columns: 1fr;
    }
    .zf-highlight .product-card-image {
        height: 200px;
        min-height: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
}

@media (max-width: 480px) {
    .products-grid,
    .products-grid-lila {
        grid-template-columns: 1fr;
    }

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

    .subscription-features-list {
        flex-direction: column;
        align-items: center;
    }

    .guarantee-checks {
        flex-direction: column;
        align-items: center;
    }
}
