/* 
    PROJECT: cursuriai.digital 
    VERSION: 2.0 (Ultra-Responsive & Professional)
    AUTHORS: Alex & Dreamteam
*/

/* 1. VARIABILE ȘI RESET GLOBAL */
:root {
    --primary-blue: #0056b3;
    --accent-orange: #ff8c00;
    --danger-red: #d9534f;
    --pure-white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-bg: #111111;
    --dark-text: #212529;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--pure-white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* 2. PROTECȚIE CONȚINUT (ANTI-COPY/SELECT) */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
textarea {
    user-select: text !important;
    -webkit-user-select: text !important;
}

::selection {
    background: transparent;
    color: inherit;
}

/* 3. HEADER ȘI NAVIGARE PREMIUM */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
    transition: var(--transition);
}

.logo .part-1 {
    color: var(--primary-blue);
}

.logo .part-2 {
    color: var(--accent-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(0, 86, 179, 0.3);
}

.nav-cta {
    background: var(--accent-orange);
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.nav-cta:hover {
    background: var(--primary-blue);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 86, 179, 0.5);
}

/* 4. HERO SECTION */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-ai-bg-mare.webp') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 60px 5%;
    width: 100%;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    opacity: 0.9;
}

/* 5. MARQUEE REVIEWS (SOCIAL PROOF) */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: #fdfdfd;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.marquee-content {
    display: flex;
    gap: 40px;
    animation: scroll 60s linear infinite;
    width: max-content;
}

.review-item {
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.stars {
    color: #ffcc00;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 6. BENEFICII ȘI GRID CURSURI */
.benefits-section,
.courses-section {
    padding: 80px 5%;
    width: 100%;
}

.benefits-grid,
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-card,
.course-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.benefit-card:hover,
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-blue);
}

.course-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.img-placeholder {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
}

.img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    min-height: 3.5rem;
}

.course-content ul {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.course-content li {
    font-size: 0.95rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.course-content li::before {
    content: "→";
    color: var(--accent-orange);
    margin-right: 12px;
    font-weight: bold;
}

/* 7. PREȚURI ȘI BUTOANE GLOW */
.price-box {
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.discount-badge {
    color: var(--danger-red);
    font-weight: 800;
    border: 1px solid;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.new-price {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark-bg);
}

.btn-order {
    background: var(--danger-red);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-order:hover {
    background: #ff4d4d;
    box-shadow: 0 0 20px rgba(217, 83, 79, 0.7);
    transform: translateY(-2px);
}

.btn-details {
    text-align: center;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

/* 8. BANZI DE MIJLOC ȘI FINAL */
.middle-band,
.final-cta-band {
    padding: 100px 5%;
    text-align: center;
    width: 100%;
    grid-column: 1 / -1;
}

.middle-band {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #00356b 100%);
    color: white;
    margin: 60px 0;
}

.final-cta-band {
    background: var(--dark-bg);
    color: white;
    border-top: 4px solid var(--accent-orange);
}

.btn-band,
.btn-final {
    background: var(--accent-orange);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: inline-block;
    margin-top: 30px;
    transition: var(--transition);
}

/* 9. MODAL (POP-UP) - FIX MOBIL */
.modal {
    display: none;
    /* JS schimbă în flex */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 480px;
    padding: 35px;
    border-radius: 24px;
    position: relative;
    box-sizing: border-box;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

.order-form input {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}

.upsell-container {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 12px;
    border: 1px dashed var(--primary-blue);
    margin-bottom: 20px;
}

.checkbox-item,
.upsell-container label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 12px;
    text-align: left;
    font-size: 0.9rem;
}

input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0;
    margin-top: 2px !important;
}

/* 10. FOOTER COMPLET */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 80px 5% 20px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section h4 {
    color: var(--accent-orange);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-section a:hover {
    color: white;
}

.compliance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.compliance-logos img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.85rem;
}

/* 11. MEDIA QUERIES (OPTIMIZARE MOBIL) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1101;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        z-index: 1100;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
        color: var(--dark-bg) !important;
        font-weight: 800;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 25px 20px;
        width: 95%;
    }

    .footer-grid {
        text-align: center;
    }

    .compliance-logos {
        justify-content: center;
    }
}

/* FIX PENTRU CARDURI PE MOBIL */
@media (max-width: 480px) {
    .courses-grid {
        grid-template-columns: 1fr;
        padding: 20px 5%;
    }
}
/* Actualizare în css/style.css */

.compliance-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.footer-logo-original {
    filter: none !important;
    opacity: 1 !important;
    max-width: 80px; /* Dimensiune redusă pentru un aspect mai discret */
    height: auto;
    display: block;
    transition: var(--transition);
}

.footer-logo-original:hover {
    transform: scale(1.05);
}

@media (max-width: 500px) {
    .compliance-vertical {
        align-items: center;
    }
}
/* Banner Cookie Modern */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 550px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    z-index: 100000; /* Peste modal și tot restul */
    display: none; /* Controlat prin JS */
    border: 1px solid #eee;
    text-align: center;
}

.cookie-content p {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 15px;
}

.cookie-content a { color: var(--primary-blue); font-weight: 600; }

.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-cookie-accept {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-deny {
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-accept:hover { background: var(--accent-orange); transform: scale(1.05); }

@media (max-width: 768px) {
    .cookie-banner { width: 95%; padding: 15px; bottom: 10px; }
    .cookie-actions { flex-direction: column; }
}
.social-links-article {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 30px;
    margin: 50px auto 0 auto !important;
    border-top: 1px solid #eee;
    padding-top: 30px;
    clear: both;
}

.social-icon {
    font-size: 2rem;
    color: #555;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon.fb:hover { color: #1877F2; filter: drop-shadow(0 0 10px rgba(24, 119, 242, 0.5)); }
.social-icon.tt:hover { color: #000000; filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.4)); }
.social-icon.ig:hover { color: #E4405F; filter: drop-shadow(0 0 10px rgba(228, 64, 95, 0.5)); }
