/* =========================================
   1. DEFINIRE VARIABILE CULORI (Light & Dark)
   ========================================= */
:root {
    --bg-body: #f4f7f9;
    --bg-header: #ffffff;
    --text-main: #1a3a5a;
    --text-p: #4b5563; /* Gri închis mai rafinat */
    --card-bg: #ffffff;
    --hero-bg: radial-gradient(circle at center, #1e3a8a 0%, #1a3a5a 100%);
    --accent: #3498db;
    --border: rgba(0,0,0,0.05);
}

.dark-theme {
    --bg-body: #0f172a;
    --bg-header: #1e293b;
    --text-main: #f1f5f9;
    --text-p: #cbd5e1;
    --card-bg: #1e293b;
    --hero-bg: radial-gradient(circle at center, #1e293b 0%, #080c14 100%);
    --border: rgba(255,255,255,0.1);
}

/* =========================================
   2. RESET ȘI BAZĂ
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    transition: background 0.4s ease, color 0.4s ease; 
}

body { 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    background: var(--bg-body); 
    color: var(--text-p); 
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   3. HEADER & NAVIGARE
   ========================================= */
header { 
    background: var(--bg-header); 
    height: 100px; 
    display: flex; 
    align-items: center; 
    justify-content: space-around; 
    border-bottom: 1px solid var(--border);
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-box {
    border: 2px solid var(--text-main);
    padding: 8px 25px;
    text-align: center;
    border-radius: 4px;
}
.logo-box b { display: block; font-size: 20px; color: var(--text-main); letter-spacing: 1px; }
.logo-box span { font-size: 10px; color: var(--accent); letter-spacing: 4px; font-weight: bold; }

.main-nav { display: flex; gap: 25px; }
.main-nav a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 600; 
    font-size: 14px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-nav a:hover { color: var(--accent); }

@media (max-width: 768px) {
    header { height: auto; flex-direction: column; padding: 20px; }
    .main-nav { margin-top: 20px; gap: 15px; flex-wrap: wrap; justify-content: center; }
}

/* =========================================
   4. HERO ANIMATED (Animația cu Creiere)
   ========================================= */
.hero-animated {
    padding: 80px 20px;
    background: var(--hero-bg);
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-visual-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.brain-emoji {
    font-size: 80px;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
    z-index: 2;
    display: inline-block;
}

.brain-emoji.left { 
    transform: scaleX(-1); 
    animation: floatBrainLeft 3s ease-in-out infinite; 
}
.brain-emoji.right { 
    animation: floatBrainRight 3s ease-in-out infinite; 
}

@keyframes floatBrainLeft {
    0%, 100% { transform: translateY(0) scaleX(-1) scale(1); }
    50% { transform: translateY(-15px) scaleX(-1) scale(1.03); }
}
@keyframes floatBrainRight {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.03); }
}

.logo-circle-wrapper {
    width: 140px;
    height: 140px;
    background: #1e3a8a;
    border: 3px solid #38bdf8;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
    position: relative;
    margin: 0 30px;
}

.inner-icon { font-size: 45px; }

.wave-container { width: 140px; overflow: hidden; }
.pulse-wave { width: 100%; stroke: #38bdf8; stroke-width: 4; fill: none; filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.5)); }
.mirror { transform: scaleX(-1); }

.path-animation {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: continuousFlow 3s linear infinite;
}

@keyframes continuousFlow {
    to { stroke-dashoffset: 0; }
}

/* =========================================
   5. SECȚIUNI TEXT (Rafinament & Centrare)
   ========================================= */
.info-section {
    text-align: center; 
    max-width: 1000px;
    margin: 0 auto 100px auto; 
    padding: 0 20px;
}

.info-section h2 {
    font-size: 28px; /* Mai elegant */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 10px;
}

.content-text {
    font-size: 17px; /* Dimensiune profesională */
    line-height: 1.8;
    color: var(--text-p);
    text-align: left; 
    max-width: 780px; /* Lățime optimă pentru lizibilitate */
    margin: 0 auto;
    white-space: pre-line; /* Respectă Enter-urile din Admin */
}

/* =========================================
   6. GRID CARDS & COMPONENTE
   ========================================= */
.container { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card { 
    background: var(--card-bg); 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 8px 25px rgba(0,0,0,0.04); 
    text-align: center;
    border: 1px solid var(--border);
}

.btn { 
    display: inline-block; 
    background: var(--accent); 
    color: white; 
    padding: 14px 35px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    font-size: 16px;
}

/* Adaptare Mobil */
@media (max-width: 900px) {
    .hero-visual-container { flex-direction: column; gap: 20px; }
    .wave-container { display: none; }
    .logo-circle-wrapper { margin: 10px 0; }
    .brain-emoji { font-size: 60px; }
    .info-section h2 { font-size: 24px; }
    .info-section { margin-bottom: 60px; }
}
/* Stil pentru iconițele din dreptul titlurilor */
.section-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 10px rgba(52, 152, 219, 0.3));
    animation: simpleFloat 4s ease-in-out infinite;
}

@keyframes simpleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Ajustare pe mobil pentru iconițe */
@media (max-width: 768px) {
    .section-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }
}
/* WHATSAPP FLOAT STYLE */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Ajustare pe mobil să nu stea peste butoane importante */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon { width: 28px; height: 28px; }
}
/* Container special pentru Sesiune & Pași */
.session-box {
    background: #ffffff;
    border-left: 6px solid var(--accent); /* Dunga verticală din imagine */
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
}

.dark-theme .session-box {
    background: var(--card-bg);
    border-left-color: var(--accent);
}

.session-box h3 {
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 30px;
}

.step-item {
    margin-bottom: 25px;
}

.step-item strong {
    display: block;
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.step-item span {
    display: block;
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.5;
}

.footer-note {
    font-style: italic;
    font-size: 15px;
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
    opacity: 0.7;
}
