/* ======================================================
   PRICING SECTION - NOU DE LA ZERO ABSOLUT
   3 carduri PERFECT IDENTICE, FĂRĂ HOVER
====================================================== */

/* Section */
.ovp-home-pricing-new {
    padding: 80px 0;
    background: var(--ovp-bg);
    overflow: visible; /* Permite badge-ului să iasă */
}

/* Previne scroll orizontal */
body.ovp-home-page,
body.ovp-public-page {
    overflow-x: hidden !important;
}

/* Header Card */
.ovp-pricing-header-card {
    background: var(--ovp-card);
    border: 1px solid var(--ovp-line);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.ovp-pricing-header-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--ovp-text);
}

.ovp-pricing-header-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--ovp-muted);
    margin: 0;
}

/* Grid pentru 3 carduri */
.ovp-pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-auto-rows: 1fr; - ELIMINAT pentru a permite înălțimi diferite */
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px; /* Spațiu pentru badge deasupra */
    align-items: end; /* Aliniază cardurile JOS (bottom) */
}

/* Card */
.ovp-pricing-card {
    background: var(--ovp-card);
    border: 1px solid var(--ovp-line);
    border-radius: 16px;
    padding: 32px 28px; /* Redus de la 40px 32px */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* Hover Effect - Ridică cardul în sus (FĂRĂ scale) */
.ovp-pricing-card:hover {
    transform: translateY(-5px); /* Ridică 5px în sus */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

/* Card featured - border roșu + UȘOR MAI ÎNALT SUS */
.ovp-pricing-card-featured {
    border: 2px solid var(--ovp-accent);
    padding: 28px 28px 32px 28px; /* Compact: 28px sus, 32px jos */
    transform: none;
}

/* Hover pe featured - Shadow roșu */
.ovp-pricing-card-featured:hover {
    transform: translateY(-5px); /* Se ridică la hover, ca celelalte */
    box-shadow: 0 20px 60px rgba(205, 2, 2, 0.3);
}

/* Badge "Cel mai popular" DEASUPRA (position absolute) */
.ovp-pricing-popular-badge {
    position: absolute;
    top: -14px; /* Scoate badge-ul în afara cardului */
    left: 50%;
    transform: translateX(-50%);
    background: var(--ovp-accent);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

/* Badge Economisire (ÎNĂUNTRU, NU deasupra) */
.ovp-pricing-savings-badge {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #ff9800;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ovp-pricing-savings-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Titlu */
.ovp-pricing-card-title {
    font-size: 22px; /* Redus de la 24px */
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
    color: var(--ovp-text);
}

/* Preț */
.ovp-pricing-card-price {
    text-align: center;
    margin-bottom: 2px; /* Redus */
}

.ovp-pricing-amount {
    font-size: 42px; /* Redus de la 48px */
    font-weight: 700;
    color: var(--ovp-accent);
    line-height: 1;
}

.ovp-pricing-currency {
    font-size: 15px; /* Redus */
    color: var(--ovp-muted);
    margin-left: 4px;
}

/* Period */
.ovp-pricing-period {
    text-align: center;
    color: var(--ovp-muted);
    font-size: 13px; /* Redus */
    margin: 0 0 16px 0; /* Redus */
}

/* Features List */
.ovp-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 auto 0; /* Push button down */
    flex: 1;
}

.ovp-pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0; /* Redus de la 12px */
    font-size: 14px;
    color: var(--ovp-text);
    border-bottom: 1px solid var(--ovp-line);
}

.ovp-pricing-features li:last-child {
    border-bottom: none;
}

.ovp-pricing-features .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--ovp-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Button */
.ovp-pricing-btn {
    display: block;
    text-align: center;
    padding: 12px 20px; /* Redus de la 14px 24px */
    background: transparent;
    border: 1px solid var(--ovp-line);
    border-radius: 10px;
    color: var(--ovp-text);
    font-size: 14px; /* Redus de la 15px */
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px; /* Redus de la 24px */
}

.ovp-pricing-btn-featured {
    background: var(--ovp-accent);
    border-color: var(--ovp-accent);
    color: #fff;
}

/* Light Mode */
body.ovp-light-mode .ovp-pricing-header-card,
body.ovp-light-mode .ovp-pricing-card {
    background: #ffffff;
}

body.ovp-light-mode .ovp-pricing-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

body.ovp-light-mode .ovp-pricing-card-featured:hover {
    box-shadow: 0 20px 60px rgba(205, 2, 2, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .ovp-pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ovp-pricing-card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .ovp-pricing-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .ovp-pricing-card-featured {
        grid-column: auto;
    }
    
    .ovp-pricing-header-title {
        font-size: 32px;
    }
    
    .ovp-pricing-header-subtitle {
        font-size: 16px;
    }
}

/* ============================================
   FIX PENTRU CONTAINER - Pagina Acasă
   Același styling ca pagina de Contact
   ADĂUGAT: 2 Februarie 2026
   ============================================ */

/* Container Principal - Max Width + Centrare */
.ovp-public-container {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    width: 100% !important;
}

/* Hero Section */
.ovp-home-hero {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.ovp-home-hero .ovp-public-container {
    max-width: 1400px !important;
}

/* Stats Cards - Spațiere mai bună */
.ovp-home-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

.ovp-home-stat-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Features Section */
.ovp-home-features .ovp-public-container {
    max-width: 1400px !important;
}

.ovp-home-grid {
    display: grid !important;
    gap: 30px !important;
    margin-top: 40px !important;
}

.ovp-grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Feature Cards - Ca la Contact */
.ovp-home-feature-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.ovp-home-feature-card:hover {
    transform: translateY(-5px) !important;
    border-color: #CD0202 !important;
    box-shadow: 0 10px 30px rgba(205, 2, 2, 0.2) !important;
}

/* Testimonials Section */
.ovp-home-testimonials .ovp-public-container {
    max-width: 1400px !important;
}

.ovp-home-testimonial-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 40px !important;
}

/* Newsletter Section */
.ovp-home-newsletter .ovp-public-container {
    max-width: 1400px !important;
}

.ovp-newsletter-unified-card {
    background: rgba(205, 2, 2, 0.1) !important;
    border: 2px solid #CD0202 !important;
    border-radius: 20px !important;
    padding: 60px !important;
    text-align: center !important;
}

/* Pricing Section - Override pentru max-width */
.ovp-home-pricing-new .ovp-public-container {
    max-width: 1400px !important;
}

/* CTA Section */
.ovp-home-cta .ovp-public-container {
    max-width: 1400px !important;
}

.ovp-home-cta-card {
    background: linear-gradient(135deg, #CD0202, #8B0000) !important;
    border-radius: 20px !important;
    padding: 60px !important;
    text-align: center !important;
}

/* Section Headers în Card */
.ovp-section-header-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

/* Pricing Header Card - Override */
.ovp-pricing-header-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

/* ============================================
   RESPONSIVE - Container Fixes
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .ovp-public-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    .ovp-home-stats,
    .ovp-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ovp-public-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .ovp-home-stats,
    .ovp-grid-3 {
        grid-template-columns: 1fr !important;
    }
    
    .ovp-home-hero {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .ovp-newsletter-unified-card,
    .ovp-home-cta-card {
        padding: 40px 20px !important;
    }
    
    .ovp-section-header-card,
    .ovp-pricing-header-card {
        padding: 30px 20px !important;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ovp-public-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}
