/* --- VARIABILE & RESET --- */
:root {
    --bg-color: #0f0c29;
    --bg-gradient: linear-gradient(to right, #24243e, #302b63, #0f0c29);
    --text-main: #ffffff;
    --text-muted: #b3b3cc;
    
    /* Culori Accent */
    --primary: #00c6ff; /* Albastru neon */
    --secondary: #0072ff;
    --accent-pink: #ff00cc;
    --accent-purple: #333399;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- FUNDAL ANIMAT --- */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 20s infinite alternate;
}

.shape-1 { width: 400px; height: 400px; background: var(--accent-purple); top: -50px; left: -50px; }
.shape-2 { width: 300px; height: 300px; background: var(--accent-pink); bottom: 10%; right: -50px; animation-duration: 25s; }
.shape-3 { width: 200px; height: 200px; background: var(--primary); top: 40%; left: 30%; animation-duration: 30s; }

@keyframes floatShape {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* --- UTILITARE --- */
#app-container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.text-gradient {
    background: -webkit-linear-gradient(45deg, var(--primary), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
}

/* --- HEADER --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.logo h1 { font-size: 1.8rem; font-weight: 900; letter-spacing: -1px; }
.desktop-links { list-style: none; display: none; }
.menu-toggle { background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    gap: 3rem;
}

.badge-new {
    background: rgba(0, 198, 255, 0.15); color: var(--primary); padding: 0.4rem 1rem;
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; display: inline-block;
    margin-bottom: 1rem; border: 1px solid rgba(0, 198, 255, 0.3);
}

.seo-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; font-weight: 900; }
.slogan { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* --- FORMULAR MODERN --- */
.chat-form-modern-local {
    width: 100%; max-width: 480px; padding: 2.5rem;
    position: relative; transition: transform 0.3s ease;
}

.chat-form-modern-local:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.3); }

.form-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.form-header h2 { font-size: 1.5rem; margin: 0; }
.icon-wrapper {
    background: var(--primary); width: 40px; height: 40px; display: flex;
    align-items: center; justify-content: center; border-radius: 50%; font-size: 1.2rem;
}

.input-group { margin-bottom: 1.5rem; text-align: left; }
.input-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.input-group input, .input-group select {
    width: 100%; padding: 1rem; border-radius: 10px; border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3); color: white; font-size: 1rem; transition: all 0.3s;
}

.input-group input:focus, .input-group select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

.btn-submit-form {
    width: 100%; padding: 1.2rem; background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: white; border: none; border-radius: 50px; font-size: 1.1rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s; box-shadow: 0 5px 20px rgba(0, 198, 255, 0.4);
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit-form:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 198, 255, 0.6); }

.form-footer-security { margin-top: 1.5rem; font-size: 0.8rem; color: #666688; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* --- ORAȘE (SEO) --- */
.cities-section { text-align: center; padding: 3rem 0; }
.section-subtitle { color: var(--text-muted); margin-bottom: 2rem; }
.cities-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }

.city-tag {
    background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border);
    padding: 10px 20px; border-radius: 30px; color: var(--text-main); text-decoration: none;
    font-weight: 600; transition: all 0.3s ease;
}
.city-tag:hover { background: var(--primary); color: #0f0c29; transform: translateY(-3px); }

.city-tag.secondary { font-size: 0.9rem; opacity: 0.8; }
.city-tag.secondary:hover { opacity: 1; }

/* --- TEXT SEO --- */
.seo-content-section { padding: 2rem; margin: 3rem auto; max-width: 900px; }
.seo-text-content h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }
.seo-text-content p { margin-bottom: 1rem; color: #d1d1e0; }
.keywords-footer { margin-top: 2rem; font-size: 0.85rem; color: #666688 !important; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; }

/* --- PREVIZUALIZARE --- */
.chat-mockup-container { background: #1e1e2f; border-radius: 15px; max-width: 600px; margin: 0 auto; border: 1px solid rgba(255,255,255,0.1); }
.mockup-header { background: #2d2d44; padding: 1rem; display: flex; gap: 0.5rem; align-items: center; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.mockup-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; min-height: 200px; }

.bubble { padding: 0.8rem 1.2rem; border-radius: 18px; font-size: 0.95rem; max-width: 90%; }
.msg.incoming .bubble { background: #383850; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.outgoing { align-self: flex-end; }
.msg.outgoing .bubble { background: var(--secondary); border-bottom-right-radius: 4px; }

.typing-indicator { padding: 10px; background: #383850; width: fit-content; border-radius: 20px; display: flex; gap: 5px; opacity: 0.7; }
.typing-indicator span { width: 6px; height: 6px; background: #aaa; border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; } .typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

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

/* --- FAQ & FOOTER --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
details { padding: 1rem; cursor: pointer; transition: all 0.3s; }
details[open] { background: rgba(255,255,255,0.1); }
summary { font-weight: 600; margin-bottom: 0.5rem; outline: none; }

footer { text-align: center; padding: 3rem 0; margin-top: 3rem; border-top: 1px solid var(--glass-border); color: var(--text-muted); }
.footer-links { margin-top: 1rem; display: flex; justify-content: center; gap: 1.5rem; }
.footer-links a { color: inherit; text-decoration: none; }

/* --- ANIMAȚII & RESPONSIVE --- */
.hidden-element { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.show-element { opacity: 1; transform: translateY(0); }

@media (min-width: 768px) {
    .menu-toggle { display: none; }
    .desktop-links { display: flex; gap: 2rem; }
    .desktop-links a { color: var(--text-main); text-decoration: none; transition: 0.3s; }
    .desktop-links a:hover { color: var(--primary); }
    .hero-section { padding: 6rem 0; }
    .seo-title { font-size: 3.5rem; }
}
/* --- STILURI PENTRU PAGINA TERMENI --- */

.terms-section {
    padding: 4rem 0;
    display: flex;
    justify-content: center;
}

.terms-content {
    width: 100%;
    max-width: 800px; /* Mai lat pentru citit */
    padding: 3rem;
    color: #e0e0e0;
}

.btn-back {
    color: var(--text-main);
    text-decoration: none;
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
}

.btn-back:hover {
    background: var(--primary);
    color: #000;
}

.last-update {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--glass-border), transparent);
    margin: 2rem 0;
}

.legal-text h3 {
    color: var(--primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-left: 4px solid var(--secondary);
    padding-left: 10px;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    text-align: justify; /* Arată mai profi pentru documente legale */
}

.legal-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: none; /* Scoatem punctele default */
}

.legal-text ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

/* Puncte customizate pentru listă */
.legal-text ul li::before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Responsivitate pentru pagina de termeni */
@media (max-width: 768px) {
    .terms-content {
        padding: 1.5rem;
    }
    .legal-text h3 {
        font-size: 1.2rem;
    }
}