/* =================================
   STILURI GENERALE & RESET
   ================================= */
body {
    /* Am păstrat font-ul mai modern, 'Inter'. Dacă doriți celălalt, înlocuiți linia. */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Am eliminat `body, html { height: 100%; margin: 0; }` deoarece poate cauza probleme 
   pe alte pagini. Se va aplica local unde este necesar. */

.section-title { 
    margin-bottom: 50px; 
    font-weight: 700;
}

/* =================================
   HEADER / NAVBAR
   ================================= */
.navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: #1A237E;
    letter-spacing: 0.5px;
}

/* =================================
   SECTIUNI PAGINA PRINCIPALĂ
   ================================= */

/* --- Hero --- */
.hero {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.highlight-seo {
    color: #ffc107;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-weight: 300;
    line-height: 1.6;
}

.hero-cta-button {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* =================================
   PRICING SECTION - VERSIUNEA FINALA OPTIMIZATA
   ================================= */

.pricing-section {
    background-color: #f8f9fa;
    padding: 5rem 0;
    position: relative;
}

/* Cards styling - desktop și mobile unified */
.pricing-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto; /* Centrare automată */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2.5rem 2rem;
}

.pricing-card .price {
    font-weight: 800;
}

.pricing-card .price .price-period {
    font-size: 1.5rem;
    font-weight: 400;
    color: #6c757d;
    margin-left: 2px;
}

.pricing-card .price .original-price {
    color: #adb5bd;
    font-size: 1.5rem;
    font-weight: 400;
    margin-right: 10px;
    text-decoration: line-through;
}

.pricing-card ul {
    text-align: left;
    margin: 30px auto;
    width: fit-content;
    padding-left: 0;
    list-style: none;
}

.pricing-card ul li {
    margin-bottom: 15px;
    color: #6c757d;
    position: relative;
    padding-left: 25px;
}

.pricing-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.pricing-card .btn {
    margin-top: auto;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    width: 100%;
    align-self: stretch;
}

.popular-card {
    border: 3px solid #1A237E;
    position: relative;
    z-index: 2;
}

/* Mobile Responsive - FINAL VERSION */
@media (max-width: 992px) {
    .pricing-section {
        padding: 4rem 0;
    }
    
    .pricing-section .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .pricing-section .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2rem !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .pricing-section .col-lg-4 {
        width: 100% !important;
        max-width: 400px !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        flex: none !important;
    }
    
    .pricing-card {
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .pricing-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .popular-card {
        transform: scale(1.02);
        box-shadow: 0 12px 35px rgba(26, 35, 126, 0.15);
    }
}

@media (max-width: 576px) {
    .pricing-section {
        padding: 3rem 0;
    }
    
    .pricing-section .container {
        padding: 0 0.75rem;
    }
    
    .pricing-card {
        max-width: none !important;
    }
    
    .pricing-card .card-body {
        padding: 1.75rem 1.25rem;
    }
    
    .pricing-section .row {
        gap: 1.5rem !important;
    }
    
    .popular-card {
        transform: none;
    }
}

/* Gutter override */
.pricing-cards-container {
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
}

@media (min-width: 992px) {
    .pricing-cards-container {
        --bs-gutter-x: 1.5rem !important;
    }
    
    .pricing-cards-container .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
}

/* =================================
   MODERN "MOST POPULAR" BADGE - PREMIUM DESIGN
   ================================= */

.popular-card {
    border: 3px solid #1A237E;
    position: relative;
    z-index: 2;
    overflow: visible; /* Important pentru badge-ul care iese din card */
}

.popular-card .badge {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    
    /* Design modern și atractiv */
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%) !important;
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    
    /* Forma și spațierea */
    padding: 8px 20px !important;
    border-radius: 25px !important;
    border: none !important;
    
    /* Efecte vizuale */
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    
    /* Animație subtilă */
    animation: pulse-glow 2s ease-in-out infinite alternate !important;
}

/* Badge hover effect */
.popular-card:hover .badge {
    transform: translateX(-50%) scale(1.05) !important;
    box-shadow: 
        0 6px 20px rgba(255, 107, 53, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* Animație puls pentru badge */
@keyframes pulse-glow {
    0% {
        box-shadow: 
            0 4px 15px rgba(255, 107, 53, 0.4),
            0 2px 8px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 
            0 4px 20px rgba(255, 107, 53, 0.6),
            0 2px 8px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Badge cu efect de "trending" - alternativă și mai modernă */
.popular-card .badge::before {
    content: "🔥 " !important;
    font-size: 0.8rem !important;
}

/* Pe mobile, badge-ul să rămână elegant */
@media (max-width: 768px) {
    .popular-card .badge {
        font-size: 0.8rem !important;
        padding: 6px 16px !important;
        top: -10px !important;
    }
    
    .popular-card .badge::before {
        font-size: 0.7rem !important;
    }
}

/* Alternativă - Badge cu design premium "crown" */
.popular-card .badge.crown-style {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%) !important;
    color: #1A237E !important;
    position: relative !important;
}

.popular-card .badge.crown-style::before {
    content: "👑 " !important;
    font-size: 0.9rem !important;
}

/* Alternativă - Badge cu design "Best Value" */
.popular-card .badge.best-value {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
}

.popular-card .badge.best-value::before {
    content: "⭐ " !important;
    font-size: 0.8rem !important;
}



/* --- Problema --- */
.problem-card {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #dc3545;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.problem-card h5 {
    color: #212529;
    font-size: 1.3rem;
}

.problem-card .text-secondary {
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Solutie --- */
.solution-section {
    background-color: #ffffff;
}

.solution-section h2 {
    font-weight: 800;
    color: #1A237E;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.benefit-icon {
    font-size: 1.5rem;
    color: #28a745;
    margin-right: 15px;
    margin-top: 5px;
}

.benefit-text strong {
    color: #212529;
    font-size: 1.1rem;
}

.benefit-text p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

/* --- FAQ --- */
.faq-section {
    background-color: #f8f9fa;
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
}

.accordion-button:not(.collapsed) {
    color: #1A237E;
    background-color: #e9ecef;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 35, 126, 0.25);
}

.accordion-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #495057;
}

/* =================================
   STILURI PAGINI SECUNDARE (LEGAL, ABOUT)
   ================================= */

/* --- Paginile Legale (generale) --- */
.legal-header {
    background-color: #212529;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.legal-header h1 {
    font-weight: 700;
}

.legal-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legal-content h3 {
    color: #1A237E;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.legal-content p, .legal-content li {
    color: #495057;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content .table {
    margin-top: 20px;
}

/* --- Pagina Despre Noi (About Us) --- */
.about-hero { 
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
  color: white; 
  padding: 4rem 0;
}

.feature-icon { 
  width: 60px; 
  height: 60px; 
  background: #f8f9fa; 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0 auto 1rem; 
  font-size: 1.5rem;
  border: 1px solid #e9ecef;
}

.stats-card { 
  background: #f8f9fa; 
  border-radius: 10px; 
  padding: 2rem; 
  text-align: center; 
  height: 100%; 
  border: 1px solid #e9ecef;
}

.stats-number { 
  font-size: 2.5rem; 
  font-weight: bold; 
  color: #667eea; 
  display: block;
}

.impact-box {
  background: rgba(220, 53, 69, 0.05);
  border: 1px solid rgba(220, 53, 69, 0.15);
  border-radius: 10px;
  padding: 2rem;
}

.solution-box {
  background: rgba(13, 110, 253, 0.05);
  border: 1px solid rgba(13, 110, 253, 0.15);
  border-radius: 10px;
  padding: 2rem;
}

/* =================================
   PAGINA DE CONTACT (SPLIT-SCREEN)
   ================================= */
.contact-section {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 150px); /* Ajustează 150px cu înălțimea header/footer */
}

.contact-split-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap; /* Pentru mobil */
}

.contact-info-pane {
    flex: 1;
    background: linear-gradient(135deg, #1A237E 0%, #3F51B5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    min-width: 450px;
}

.contact-info-content {
    max-width: 400px;
}

.contact-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-main-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.contact-detail-item:hover { transform: translateX(5px); color: #C5CAE9; }
.contact-detail-item i { font-size: 1.2rem; width: 30px; margin-right: 1rem; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form-pane {
    flex: 1.2;
    background-color: #f4f7f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    min-width: 450px;
}

.contact-form {
    width: 100%;
    max-width: 550px;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: .625rem;
}
.form-floating > label { color: #6c757d; }

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #dce4e9;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #3F51B5;
    box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.1);
}

.contact-form .btn-submit {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 1rem;
    background: linear-gradient(135deg, #3F51B5 0%, #1A237E 100%);
    color: white; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
}
.contact-form .btn-submit:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(63, 81, 181, 0.2); }
.contact-form .btn-submit i { transition: transform 0.3s ease; }
.contact-form .btn-submit:hover i { transform: translateX(5px); }

@media (max-width: 992px) {
    .contact-split-container { flex-direction: column; }
    .contact-info-pane, .contact-form-pane { padding: 3rem; min-width: 100%; }
}

/* =================================
   FOOTER
   ================================= */
.footer-modern {
    background-color: #212529;
    color: #adb5bd;
    padding: 60px 0 30px;
}

.footer-modern h5, .footer-modern h6 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-brand {
    font-weight: 900 !important;
    font-size: 1.8rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}
.footer-links li a:hover { color: #ffffff; }

/* --- Footer Newsletter & ANPC --- */
.newsletter-anpc-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.newsletter-form {
    flex: 1;
    min-width: 250px;
}

.newsletter-subtitle {
    font-size: 0.9rem;
    color: #adb5bd;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    background-color: #495057;
    border: 1px solid #6c757d;
    color: white;
    border-radius: 50px 0 0 50px;
    padding: 0.75rem 1.25rem;
}
.newsletter-form .form-control::placeholder { color: #adb5bd; }
.newsletter-form .form-control:focus {
    background-color: #495057;
    border-color: #3F51B5;
    box-shadow: 0 0 0 3px rgba(63, 81, 181, 0.2);
    color: white;
}

.newsletter-form .btn-submit {
    background: #3F51B5;
    border-color: #3F51B5;
    border-radius: 0 50px 50px 0;
    color: white;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.newsletter-form .btn-submit:hover { background-color: #303f9f; }

.anpc-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* Pentru cazul în care nu au loc */
}

.anpc-container img {
    height: 35px; /* Puțin mai mici pentru a se integra mai bine */
    width: auto;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}
.anpc-container img:hover {
    opacity: 0.8;
}

@media (max-width: 991px) {
    .newsletter-anpc-container { justify-content: space-between; }
}
@media (max-width: 576px) {
    .newsletter-anpc-container { flex-direction: column; align-items: stretch; }
    .anpc-container { justify-content: center; margin-top: 1rem; }
}

.footer-copyright {
    border-top: 1px solid #495057;
    padding-top: 30px;
    margin-top: 40px;
}
.copyright-text em { color: #ffffff; }

/* =================================
   COOKIE BANNER
   ================================= */
.cookie-banner {
    background-color: #212529;
    color: #adb5bd;
    border-top: 1px solid #495057;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1050;
    font-size: 0.9rem;
}
.cookie-banner a { color: #8c9eff; text-decoration: underline; }
.cookie-banner .btn-primary { background: #3F51B5; border: none; }
.cookie-banner .btn-secondary { background: #6c757d; border: none; }

input[type="tel"] { 
    width: 100%; padding: 14px 16px; box-sizing: border-box; 
    border: 2px solid #e9ecef; border-radius: 10px; 
    font-size: 0.95rem; transition: all 0.3s ease;
}
input[type="tel"]:focus {
    border-color: #1A237E; outline: none; 
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}


/* =================================
   HEADER AUTHENTICATION SECTION - MODERN
   ================================= */
.navbar-auth-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Stiluri uniforme pentru toate butoanele din header */
.btn-header-unified {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;  /* Toate butoanele cu același border-radius */
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

/* Butonul Pricing - acum consistent */
.btn-pricing-header {
    background: #0d6efd;
    color: white;
}

.btn-pricing-header:hover {
    background: #0b5ed7;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Status pentru utilizatorii autentificați - elegant și simplu */
.navbar-user-status {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.navbar-user-status:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.navbar-user-status .user-avatar {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Pentru utilizatorii neautentificați - doar Login elegant */
.navbar-login-elegant {
    background: linear-gradient(135deg, #6f42c1, #8b5cf6);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.2);
}

.navbar-login-elegant:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
    text-decoration: none;
}

/* Dropdown pentru limbă - consistent cu restul */
.language-dropdown .btn {
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

/* Responsive pentru mobile */
@media (max-width: 768px) {
    .navbar-auth-section {
        gap: 0.5rem;
    }
    
    .btn-header-unified,
    .navbar-user-status,
    .navbar-login-elegant {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .btn-text-mobile-hide {
        display: none;
    }
}

/* Stil pentru butonul de limbă activ din dropdown */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    font-weight: bold;
    color: #0d6efd;
    background-color: #e7f1ff;
}
/* ===== AUTHENTICATION PAGES STYLES ===== */

/* Body pentru paginile de autentificare */
body.auth-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

/* Card principal pentru auth pages */
.auth-card {
    max-width: 400px;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 40px;
}

/* Titlu principal */
.auth-title {
    text-align: center;
    color: #1A237E;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Subtitlu */
.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Form groups */
.auth-form-group {
    margin-bottom: 20px;
}

/* Form controls pentru auth */
.auth-form-control {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-form-control:focus {
    border-color: #1A237E;
    outline: none;
}

/* Buttons pentru auth */
.auth-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1A237E, #3F51B5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
}

/* Alerts pentru auth */
.auth-alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.auth-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

/* Back links */
.auth-back-link {
    text-align: center;
    margin-top: 20px;
}

.auth-back-link a {
    color: #1A237E;
    text-decoration: none;
    font-weight: 500;
}

.auth-back-link a:hover {
    text-decoration: underline;
    color: #3F51B5;
}

/* Container pentru multiple back links */
.auth-back-links {
    margin-top: 20px;
}

.auth-back-links .auth-back-link {
    margin-top: 10px;
}

/* Brand section pentru auth */
.auth-brand-section {
    text-align: center;
    margin-bottom: 30px;
}

.auth-brand-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1A237E 0%, #3F51B5 100%);
    border-radius: 50%;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(26, 35, 126, 0.3);
}

/* ================================================================ */
/* === STILURI FINALE, CORECTATE ȘI IZOLATE (v3.7)              === */
/* ================================================================ */

/* --- Stiluri Generale (aplicate pe tot site-ul) --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    /* AM ȘTERS 'display: flex' ȘI PROPRIETĂȚILE DE CENTRARE DE AICI! */
    margin: 0;
}

/* --- Clasă specială DOAR pentru paginile de autentificare --- */
.auth-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
}

/* Containerul alb din centru (comun pentru login/register) */
.auth-wrapper .container {
    max-width: 480px;
    width: 100%;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* --- Stiluri specifice DOAR pentru formularul de înregistrare --- */

.auth-wrapper .brand-title {
    text-align: center; color: #1A237E; margin-bottom: 0.5rem; font-size: 2.2rem; font-weight: 800; letter-spacing: 1px;
}
.auth-wrapper .subtitle {
    text-align: center; color: #6c757d; margin-bottom: 2rem; font-size: 0.95rem; line-height: 1.4;
}
.auth-wrapper .input-group {
    margin-bottom: 1.25rem; position: relative;
}
.auth-wrapper .input-group.has-error input {
    border-color: #c0392b !important; background-color: #fff6f5;
}
.auth-wrapper .error-message, .auth-wrapper #email-feedback.error {
    color: #c0392b; font-size: 0.85rem; margin-top: 5px; font-weight: 500;
}
.auth-wrapper #email-feedback.success {
    color: #28a745; margin-top: 5px;
}
.auth-wrapper label {
    display: block; margin-bottom: 0.6rem; font-weight: 600; color: #495057; font-size: 0.9rem;
}
.auth-wrapper input[type="text"], .auth-wrapper input[type="email"], .auth-wrapper input[type="password"], .auth-wrapper input[type="tel"] {
    width: 100%; padding: 14px 16px; box-sizing: border-box; border: 2px solid #e9ecef; border-radius: 10px; font-size: 0.95rem; transition: all 0.3s ease;
}
.auth-wrapper input:focus {
    border-color: #1A237E; outline: none; box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
}
.auth-wrapper .terms-group {
    display: flex; align-items: flex-start; margin-bottom: 1.5rem; gap: 0.8rem; padding: 1rem; background-color: #f8f9fa; border-radius: 8px; border: 1px solid #e9ecef;
}
.auth-wrapper .terms-group input[type="checkbox"] {
    margin-top: 0.3rem; transform: scale(1.3); flex-shrink: 0;
}
.auth-wrapper .terms-text {
    font-size: 0.85rem; line-height: 1.6; color: #495057;
}
.auth-wrapper .terms-text a {
    color: #1A237E; text-decoration: none; font-weight: 600;
}
.auth-wrapper button {
    width: 100%; padding: 16px; background: linear-gradient(135deg, #1A237E 0%, #3F51B5 100%); color: white; border: none; border-radius: 10px; cursor: pointer; font-size: 1rem; font-weight: 700; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px;
}
.auth-wrapper button:hover {
    transform: translateY(-2px); box-shadow: 0 10px 25px rgba(26, 35, 126, 0.3);
}
.auth-wrapper .error-container {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); color: white; padding: 1.2rem; margin-bottom: 1.5rem; border-radius: 10px; font-size: 0.9rem;
}
.auth-wrapper .login-link, .auth-wrapper .back-to-home {
    text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: #6c757d;
}
.auth-wrapper .login-link a, .auth-wrapper .back-to-home a {
    color: #1A237E; text-decoration: none; font-weight: 600;
}
.auth-wrapper .back-to-home {
    padding-top: 1rem; border-top: 1px solid #e9ecef;
}

/* Containerul special pentru validarea e-mailului */
.email-validation-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.email-validation-wrapper input[type="email"] {
    flex: 1 1 auto;
    min-width: 0;
}

/* Butoanele din acest container SPECIFIC */
#send-code-btn, #change-email-btn {
    width: auto !important;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

#send-code-btn { background: #6c757d; color: white; }
#send-code-btn:hover { background: #495057; transform: translateY(-1px); }
#send-code-btn:disabled { background: #adb5bd; cursor: not-allowed; transform: none; }

#change-email-btn { display: none; background: none; color: #1A237E; text-decoration: underline; padding: 0; }

/* =================================
   SCROLL OFFSET & NAVIGATION FIX - VERSIUNEA FINALĂ
   ================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

#pricing, #problems, #solution, #faq {
    scroll-margin-top: 90px;
}

/* Offset special pentru pricing */
#pricing {
    scroll-margin-top: 75px !important;
}

#solution {
    scroll-margin-top: 85px !important;
}

/* Mobile scroll adjustments */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px;
    }
    
    #pricing {
        scroll-margin-top: 65px !important;
    }
    
    #solution {
        scroll-margin-top: 75px !important;
    }
    
    #problems, #faq {
        scroll-margin-top: 75px;
    }
}

/* =================================
   MOBILE HERO TEXT FIX
   ================================= */

@media (max-width: 768px) {
    .hero {
        padding: 70px 20px 120px 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-top: -20px;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

/* =================================
   THREATS COUNT HIGHLIGHTING - CLEAN VERSION (NO BOXES)
   ================================= */

.threats-count-highlight {
    font-size: 1.1em !important;
    font-weight: 900 !important;
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
}

/* Hero section - aur simplu cu umbră foarte mică */
.hero .threats-count-highlight,
.text-white-50 .threats-count-highlight {
    color: #FFD700 !important;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.3) !important;
}

/* Pricing cards - albastru cu umbră minimă */
.pricing-card .threats-count-highlight {
    color: #0066CC !important;
    text-shadow: 0 0 2px rgba(0, 102, 204, 0.3) !important;
}