/* Pricing page - header matches FAQ; green theme via CSS vars */

/* Hero Section (FAQ-style) */
.pricing-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--text-light);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.pricing-hero .container {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.pricing-hero .hero-content {
    position: relative;
    z-index: 1;
}

.pricing-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.pricing-hero .hero-title i {
    font-size: 3rem;
    opacity: 0.9;
}

.pricing-hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Fade-in animation for hero */
.pricing-hero .fade-in-up {
    animation: pricingFadeInUp 0.8s ease-out;
}

@keyframes pricingFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-intro-text {
    font-size: 1.1rem;
    color: #555;
}

/* Hint note: below cards, off-center (start-aligned) */
.pricing-hint-note {
    font-size: 0.95rem;
    color: #666;
    text-align: start;
    margin-bottom: 0;
}

.pricing-hint-note i {
    color: var(--primary-green);
}

/* dietech logo + brand name (replaces eDiet/دايتك) */
.pricing-brand-logo {
    height: 1.75em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.pricing-brand-logo-inline {
    height: 1.35em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

.pricing-card-tagline {
    font-size: 0.95rem;
    color: #555;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
}

/* Plan cards */
.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e0e0e0;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.pricing-card-popular {
    border-color: var(--primary-green);
    border-width: 3px;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.3);
    background: #f1f8f1;
    transform: scale(1.03);
}

.pricing-card-popular:hover {
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.35);
    transform: scale(1.03) translateY(-5px);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-card-body {
    padding: 30px 24px;
    text-align: center;
}

.pricing-card-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card-price {
    margin-bottom: 0.25rem;
}

.pricing-price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4caf50;
}

.pricing-price-period {
    font-size: 1.25rem;
    font-weight: 600;
    color: #666;
}

.pricing-card-comparison {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.pricing-card-per-month {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

.pricing-card-save {
    color: #2e7d32;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.pricing-card-popularity {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.pricing-card-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pricing-cta {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-cta:hover {
    transform: translateY(-2px);
}

.pricing-cta-email {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    border: none;
    color: white;
}

.pricing-cta-email:hover {
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.pricing-cta-whatsapp {
    background: #25D366;
    border: none;
    color: white;
}

.pricing-cta-whatsapp:hover {
    color: white;
    background: #20bd5a;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Primary CTA on popular (yearly) card */
.pricing-cta-primary {
    font-size: 1.05rem;
    padding: 12px 24px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
}

/* Features section */
.pricing-section-title {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
}

.pricing-features-intro {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features-list li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #444;
    border-bottom: 1px solid #eee;
}

.pricing-features-list li:last-child {
    border-bottom: none;
}

.pricing-features-future {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
}

.pricing-features-future-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.pricing-features-future-text {
    font-size: 1rem;
    color: #444;
    margin: 0;
    line-height: 1.6;
}

/* Contact blocks (multi-year, education) */
.pricing-contact-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

.pricing-contact-text {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.pricing-contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* FAQ accordion */
.pricing-faq .accordion-button {
    font-weight: 600;
    color: #333;
}

.pricing-faq .accordion-button:not(.collapsed) {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
}

.pricing-faq .accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.pricing-faq .accordion-body {
    color: #555;
}

/* Footer CTA */
.pricing-footer-cta-box {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    max-width: 480px;
    margin: 0 auto;
}

.pricing-footer-cta-text {
    font-size: 1.15rem;
    color: #555;
}
