@import url("index.html");


/* Stiluri generale și resetare */
:root {
    /* Variabile CSS consolidate */
    --color-dark-bg: #0d0d0d;
    --color-light-text: #eee;
    --color-cyan-neon: #00ffff;
    --color-green-neon: #00ff00;
    --color-yellow-neon: rgba(255, 255, 0, 0.8);
    --color-magenta-neon: #ff00ff;
    --color-red-neon: #ff0000;
    --color-particle: #ffcc00;

    --color-primary: #6c47ff;
    --color-primary-light: #9c6bff;
    --color-secondary-team: #8a2be2;
    --color-secondary-services: #60A5FA;
    --color-accent: #4ecdc4;
    --color-bg-dark: #1a0a2c; /* Acesta va fi overwritten de .intro-effect bg-color */
    --color-bg-dark-light: #2a0050;
    --color-bg-services-start: #6B46C1;
    --color-bg-services-mid: #3B1F7A;
    --color-bg-services-end: #1E0D4A;
    --color-text-light: #ffffff;
    --color-text-subtle: #cccccc;
    --color-text-purple-light: #C4B5FD;
    --color-team-feature-icon: #e0b0ff;

    --font-poppins: 'Poppins', sans-serif;
    --font-segoe: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-inter: 'Inter', sans-serif;
    --font-arial: 'Arial', sans-serif;
    --font-montserrat: 'Montserrat', sans-serif; /* Adăugat aici pentru intro */

    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* --- Importuri Fonturi Consolidate --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Segoe+UI:wght@400;600;700&family=Inter:wght@440;600;700&family=Arial:wght@400;600;700&family=Montserrat:wght@400;700;900&display=swap');

/* Stiluri Generale Body (consolidate) */
body {
    margin: 0;
    font-family: var(--font-poppins); /* Fontul principal pentru site */
    background-color: var(--color-bg-dark); /* Fundalul site-ului principal */
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
    /* Inițial pentru intro */
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    will-change: transform, opacity, filter;
}

/* Clasă adăugată de JavaScript pentru a permite scrolling-ul */
body.scroll-enabled {
    overflow: auto !important;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* --- Intro general --- */
#intro-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    z-index: 9999;
    overflow: hidden;
    transform-origin: center center;
    animation: intro-shake 0.02s infinite, final-distortion 1s ease-in-out forwards 7.5s;
    will-change: transform, opacity, filter;
}

/* Animație finală de distorsiune */
@keyframes final-distortion {
    0% { filter: blur(0) brightness(1) saturate(1); transform: scale(1); opacity: 1; }
    50% { filter: blur(5px) brightness(1.5) saturate(0.5); transform: scale(1.05); opacity: 0.8; }
    100% { filter: blur(10px) brightness(0.5) saturate(0.2); transform: scale(0.9); opacity: 0; }
}

/* Flash alb */
.flash {
    position: absolute;
    inset: 0;
    background-color: white;
    opacity: 0;
    animation: flash-sequence 4s ease-in-out forwards;
}

@keyframes flash-sequence {
    0%, 30% { opacity: 0; }
    10%, 25% { opacity: 0.9; }
    100% { opacity: 0; }
}

/* Efect de cutremur */
@keyframes intro-shake {
    0% { transform: translate(1px, 1px); }
    25% { transform: translate(-1px, 2px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-2px, 1px); }
    100% { transform: translate(1px, -1px); }
}

/* Containerul cercului și liniilor pentru poziționare */
#circle-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

/* Cerc fracturat */
.circle-fractured {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 10px dashed var(--color-cyan-neon);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.9);
    opacity: 0;
    animation: circle-appear 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 2.8s,
               circle-fill 2s ease-out forwards 3s,
               circle-pulse 1s infinite alternate 5s;
    will-change: transform, opacity, box-shadow, filter;
}

@keyframes circle-appear {
    0% { opacity: 0; transform: scale(0.5) rotateX(180deg) rotateY(180deg); filter: blur(10px); }
    100% { opacity: 1; transform: scale(1) rotateX(0deg) rotateY(0deg); filter: blur(0); }
}

@keyframes circle-fill {
    0% { box-shadow: 0 0 0 0 var(--color-cyan-neon); }
    100% { box-shadow: 0 0 0 120px rgba(0, 255, 255, 0.3); }
}

@keyframes circle-pulse {
    0% { transform: scale(1) rotate(0deg); box-shadow: 0 0 30px rgba(0, 255, 255, 0.9); }
    100% { transform: scale(1.08) rotate(10deg); box-shadow: 0 0 60px rgba(0, 255, 255, 1.2); }
}

/* Linii orizontale comune */
.line-horizontal {
    position: absolute;
    height: 4px;
    width: 0;
    opacity: 0;
    z-index: 999;
    animation: line-expand-secondary 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 4.2s;
    will-change: width, opacity, transform;
}

/* Linia principală - stiluri specifice */
.line-horizontal.main-line {
    top: 50%;
    left: 0;
    height: 8px;
    background: linear-gradient(to right, transparent, var(--color-green-neon), transparent);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    z-index: 1000;
    animation: line-expand 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 3.8s;
}

@keyframes line-expand {
    0% { width: 0; transform: scaleX(0); }
    100% { width: 100vw; transform: scaleX(1); opacity: 1; }
}

/* Linii orizontale secundare - stiluri specifice */
.line-horizontal.secondary-line {
    background: linear-gradient(to right, transparent, var(--color-yellow-neon), transparent);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.6);
}

.line-horizontal.secondary-line.top {
    top: calc(50% - 50px);
}

.line-horizontal.secondary-line.bottom {
    top: calc(50% + 50px);
}

@keyframes line-expand-secondary {
    0% { width: 0; opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1.1); }
    100% { width: 100vw; opacity: 1; transform: scaleX(1); }
}

/* Literele D_V_D */
.letter-sequence {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: letters-show 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards 4.5s,
               letters-glow 2s infinite alternate 5.2s;
    will-change: transform, opacity, text-shadow, filter;
}

.letter-sequence span {
    font-size: 5rem;
    font-weight: 900;
    color: var(--color-magenta-neon);
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.8), 0 0 30px rgba(255, 0, 255, 0.6);
    animation: letter-glitch-bounce 0.6s infinite alternate ease-in-out;
}

/* Delays individuale pentru fiecare literă */
.letter-sequence span:nth-child(1) { animation-delay: 5.4s; }
.letter-sequence span:nth-child(2) { animation-delay: 5.5s; }
.letter-sequence span:nth-child(3) { animation-delay: 5.6s; }
.letter-sequence span:nth-child(4) { animation-delay: 5.7s; }
.letter-sequence span:nth-child(5) { animation-delay: 5.8s; }

@keyframes letters-show {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); filter: blur(20px); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: blur(0); }
}

@keyframes letters-glow {
    0% { text-shadow: 0 0 15px rgba(255, 0, 255, 0.8), 0 0 30px rgba(255, 0, 255, 0.6); }
    100% { text-shadow: 0 0 30px rgba(255, 0, 255, 1), 0 0 60px rgba(255, 0, 255, 0.9); }
}

@keyframes letter-glitch-bounce {
    0% { transform: translateY(0) skewX(0deg); filter: brightness(1); }
    50% { transform: translateY(-15px) skewX(5deg); filter: brightness(1.5); }
    100% { transform: translateY(0) skewX(-5deg); filter: brightness(1); }
}

/* Linii de margine */
.border-line {
    position: absolute;
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, transparent, var(--color-red-neon), transparent);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    opacity: 0;
    animation: border-animate 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 4.5s;
    will-change: transform, opacity;
}

.border-line.top { top: 0; }
.border-line.bottom { bottom: 0; }

@keyframes border-animate {
    0% { opacity: 0; transform: scaleX(0); }
    100% { opacity: 1; transform: scaleX(1); }
}

/* Suprapuneri */
.grid-overlay,
.noise-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

/* Grilă subtilă */
.grid-overlay {
    background-image:
        linear-gradient(to right, rgba(0, 255, 255, 0.08) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(0, 255, 255, 0.08) 2px, transparent 2px);
    background-size: 70px 70px;
    animation: grid-fade-in 2s ease-out forwards 1.5s;
}

@keyframes grid-fade-in {
    0% { opacity: 0; }
    100% { opacity: 0.15; }
}

/* Suprapunere cu zgomot/granulație */
.noise-overlay {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JpZy8xOTk5L3hsaW5rIiB5PSIwcHgiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxpbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC43IiBudW1PY3RhdmVzPSIzIiBzZWVkPmZjZTUxZWY1NzI2ZTQ1YzU4ZDlmYmMzODkyN2QzMjIyIiAvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wMyIgLz48L3N2Zz4=');
    background-size: cover;
    animation: noise-fade-in 2s ease-out forwards 0.5s;
}

@keyframes noise-fade-in {
    0% { opacity: 0; }
    100% { opacity: 0.05; }
}

/* Particule */
.particle {
    position: absolute;
    background-color: var(--color-particle);
    border-radius: 50%;
    opacity: 0;
}

/* Fade-out final al intro-ului */
#intro-effect.fade-out {
    animation: fade-out 1s ease forwards;
    pointer-events: none;
    visibility: hidden;
}

@keyframes fade-out {
    0% { opacity: 1; transform: scale(1); filter: blur(0); }
    100% { opacity: 0; transform: scale(0.9); filter: blur(5px); }
}

/* --- Stiluri Container Principal Site (main-content-wrapper) --- */
#main-content-wrapper {
    /* Aceste stiluri vor face ca întregul site să apară treptat după intro */
    opacity: 0;
    animation: main-content-fade-in 1s ease forwards 0.8s; /* Apare după intro */
    will-change: opacity, transform;
}

@keyframes main-content-fade-in {
    0% { opacity: 0; transform: translateY(50px); filter: blur(10px); }
    100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* --- Particule și Animații de Fundal pentru Site-ul Principal --- */
.background-animation-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.flying-element {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
}

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.particle-static {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float-static 10s ease-in-out infinite;
    z-index: 1;
}

.particle-static-1 { width: 6px; height: 6px; top: 15%; left: 8%; animation-delay: 0s; opacity: 0.7; }
.particle-static-2 { width: 8px; height: 8px; top: 55%; left: 85%; animation-delay: 2s; opacity: 0.8; }
.particle-static-3 { width: 4px; height: 4px; top: 35%; left: 92%; animation-delay: 4s; opacity: 0.6; }
.particle-static-4 { width: 10px; height: 10px; top: 75%; left: 15%; animation-delay: 1s; opacity: 0.9; }
.particle-static-5 { width: 7px; height: 7px; top: 25%; left: 65%; animation-delay: 3s; opacity: 0.75; }

@keyframes float-static {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-15px) rotate(90deg); opacity: 0.85; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
    75% { transform: translateY(-15px) rotate(270deg); opacity: 0.85; }
}

/* --- Stiluri Header Principal --- */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: relative;
    z-index: 10;
    font-family: var(--font-poppins);
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.nav-main {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 15;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--color-text-light);
    margin: 5px 0;
    transition: 0.4s;
}

.header-btn {
    margin-left: 1.5rem;
}

/* --- Butoane Generale --- */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    font-family: var(--font-poppins);
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-text-light);
    box-shadow: 0 5px 15px rgba(108, 71, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 71, 255, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* --- Secțiunea Hero (Prima Secțiune) --- */
.hero-section {
    text-align: center;
    padding: 4rem 5% 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    font-family: var(--font-poppins);
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.main-title .highlight {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--color-text-subtle);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* --- Secțiunea Ilustrație --- */
.illustration-section {
    text-align: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 2;
}

.main-illustration {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: var(--shadow-medium);
}

/* --- Secțiunea Caracteristici --- */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-top: -80px;
    position: relative;
    z-index: 3;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-family: var(--font-poppins);
}

.feature-item {
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(0, 0, 0, 0.4);
}

.feature-item .icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.8rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* --- Secțiunea Echipa și Soluții --- */
.section-team-solutions {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    font-family: var(--font-segoe);
    background: var(--color-bg-dark);
    min-height: 100vh;
}

.container-team-solutions {
    max-width: 1200px;
    width: 100%;
    background: linear-gradient(135deg, #4a0082 0%, var(--color-bg-dark-light) 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-heavy);
}

.hero-section-team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 600px;
    padding: 60px;
    gap: 60px;
}

.hero-image-team {
    display: flex;
    justify-content: center;
    align-items: center;
}

.person-image-team {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float-team 3s ease-in-out infinite;
}

.person-avatar-team {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background-image: url("https://i.postimg.cc/gjFYQj4K/3d-purple-illustration-icon-working-laptop-side-ui-ux-social-media-ads-design-549761-1183.jpg");
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@keyframes float-team {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.content-team {
    color: var(--color-text-light);
}

.main-title-team {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.features-team {
    margin-bottom: 40px;
}

.feature-team-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-team-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon-team {
    color: var(--color-team-feature-icon);
    font-size: 1.5rem;
    margin-top: 2px;
    min-width: 24px;
}

.feature-content-team h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.feature-content-team p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.btn-cta-team {
    background: linear-gradient(135deg, var(--color-secondary-team) 0%, #a020f0 100%);
    color: var(--color-text-light);
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
    position: relative;
    overflow: hidden;
    font-family: var(--font-segoe);
}

.btn-cta-team:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(138, 43, 226, 0.4);
}

.btn-cta-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-cta-team:hover::before {
    left: 100%;
}

.background-decoration-team {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

/* --- Secțiunea Servicii --- */
.section-services {
    font-family: var(--font-inter);
    background: linear-gradient(135deg, var(--color-bg-services-start) 0%, var(--color-bg-services-mid) 50%, var(--color-bg-services-end) 100%);
    min-height: 100vh;
    color: var(--color-text-light);
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-services {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section-services {
    margin-bottom: 60px;
    padding-top: 20px;
}

.badge-services {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.main-title-services {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--color-text-light), #E0E7FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle-services {
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: var(--color-text-purple-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    width: 100%;
}

.service-card {
    background: var(--color-card-bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    pointer-events: none;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-medium);
}

.card-inner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    flex-grow: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--color-secondary-services), #3B82F6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon .icon-svg {
    width: 40px;
    height: 40px;
    color: var(--color-text-light);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-description {
    color: var(--color-text-purple-light);
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.service-illustration {
    width: 200px;
    height: 120px;
    margin: 20px auto 30px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.btn-learn-more {
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--color-secondary-services);
    color: var(--color-secondary-services);
    margin-top: auto;
    font-family: var(--font-inter);
}

.btn-learn-more:hover {
    background: var(--color-secondary-services);
    color: var(--color-text-light);
    transform: scale(1.05);
}

.main-footer {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    padding-bottom: 20px;
}

.btn-cta {
    background: linear-gradient(45deg, var(--color-secondary-services), #3B82F6);
    border: none;
    color: var(--color-text-light);
    padding: 15px 30px;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: var(--font-inter);
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(96, 165, 250, 0.4);
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-secondary-services);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-family: var(--font-inter);
}

.phone-number svg {
    fill: none;
    stroke: var(--color-secondary-services);
    min-width: 24px;
    min-height: 24px;
}

/* --- Secțiunea De Ce Să Ne Alegeți Pe Noi --- */
.section-why-choose-us {
    font-family: var(--font-arial);
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--color-text-light);
    overflow-x: hidden;
    position: auto;
    padding-bottom: 80px;
}

.container-why-choose-us {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: 100vh;
    position: auto;
    z-index: 10;
}

.header-text-why-choose-us {
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.main-title-why-choose-us {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
}

.description-why-choose-us {
    font-size: 18px;
    line-height: 1.6;
    color: #b8b8b8;
    margin-bottom: 60px;
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
}

.stats-container-why-choose-us {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 80px;
}

.years-stat {
    opacity: 0;
    transform: translateX(-50px);
}

.years-number {
    font-size: 120px;
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-accent), #44a08d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.years-text {
    color: #888;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.features-list-why-choose-us {
    list-style: none;
}

.feature-item-why-choose-us {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(30px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-accent), #44a08d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.feature-text {
    font-size: 16px;
    color: #e0e0e0;
}

.btn-cta-why-choose-us {
    border: 2px solid var(--color-accent);
    background: transparent;
    color: var(--color-accent);
    padding: 20px 60px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    font-family: var(--font-arial);
}

.btn-cta-why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-accent), #44a08d);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-cta-why-choose-us:hover::before {
    left: 0;
}

.btn-cta-why-choose-us:hover {
    color: var(--color-text-light);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.3);
}

.image-container-why-choose-us {
    margin-top: 80px;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
}

.team-image-why-choose-us {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
    transition: transform 0.6s ease;
}

.team-image-why-choose-us:hover {
    transform: scale(1.02);
}

.floating-elements-choose-us {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 5;
}

.floating-dot {
    position: absolute;
    background: radial-gradient(circle, var(--color-accent), transparent);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-choose-us 6s ease-in-out infinite;
}

.floating-dot-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-dot-2 {
    width: 15px;
    height: 15px;
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.floating-dot-3 {
    width: 25px;
    height: 25px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.parallax-bg-choose-us {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 40%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(68, 160, 141, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 60% 20%, rgba(22, 33, 62, 0.3) 0%, transparent 50%);
    z-index: 1;
    animation: breathe-choose-us 8s ease-in-out infinite;
}

/* Keyframes de animație generice pentru scroll-reveal */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    to { opacity: 1; transform: translateX(0); }
}

/* Keyframes specifice pentru secțiunea "Why Choose Us" */
@keyframes float-choose-us {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-20px) translateX(10px); }
    50% { transform: translateY(-10px) translateX(-5px); }
    75% { transform: translateY(-25px) translateX(15px); }
}

@keyframes breathe-choose-us {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* --- Media Queries pentru Responsivitate --- */

/* TELEFOANE */
@media (max-width: 480px) {
    .header-main { padding: 1rem 5%; }
    .logo-main { font-size: 1.5rem; }
    .header-btn { display: none; }
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-bg-dark);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        padding: 1rem 0;
        align-items: center;
    }
    .nav-main.open .nav-links {
        display: flex;
    }
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links .nav-link {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .nav-links .nav-link:last-child {
        border-bottom: none;
    }

    .hero-section { padding: 2rem 5% 1rem; }
    .main-title { font-size: 2rem; }
    .subtitle { font-size: 0.9rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }

    .features-section {
        grid-template-columns: 1fr;
        padding: 2rem 5%;
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .hero-section-team {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
        text-align: center;
        min-height: auto;
    }
    .person-image-team {
        width: 200px;
        height: 200px;
        animation: none;
    }
    .person-avatar-team {
        width: 180px;
        height: 180px;
    }
    .main-title-team { font-size: 1.8rem; margin-bottom: 25px; }
    .feature-team-item { flex-direction: column; text-align: center; align-items: center; padding: 15px; }
    .feature-icon-team { margin-bottom: 10px; }
    .btn-cta-team { width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; padding: 15px 30px;}

    .section-services { padding: 30px 15px; }
    .main-title-services { font-size: 1.8rem; margin-bottom: 15px; }
    .subtitle-services { font-size: 0.9rem; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 20px 15px; }
    .service-title { font-size: 1.4rem; }
    .main-footer { flex-direction: column; gap: 20px; margin-top: 40px; }
    .btn-cta { width: 100%; max-width: 280px; }
    .phone-number { font-size: 1rem; }

    .container-why-choose-us { padding: 40px 15px; }
    .header-text-why-choose-us { font-size: 12px; margin-bottom: 15px; }
    .main-title-why-choose-us { font-size: 2rem; margin-bottom: 20px; }
    .description-why-choose-us { font-size: 15px; margin-bottom: 30px; }
    .stats-container-why-choose-us {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }
    .years-number { font-size: 60px; }
    .years-text { font-size: 12px; }
    .features-list-why-choose-us { padding: 0; }
    .feature-item-why-choose-us { flex-direction: column; text-align: center; }
    .feature-icon { margin-bottom: 5px; }
    .btn-cta-why-choose-us { width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; padding: 15px 30px; font-size: 14px;}
    .image-container-why-choose-us { margin-top: 40px; }
    .team-image-why-choose-us { height: 300px; border-radius: 10px; }
}

/* TABLETE */
@media (min-width: 481px) and (max-width: 1024px) {
    .header-main { padding: 1.2rem 4%; }
    .logo-main { font-size: 1.7rem; }
    .header-btn { margin-left: 1rem; }
    .nav-links { gap: 1rem; }

    .hero-section { padding: 3rem 5% 1.5rem; }
    .main-title { font-size: 3rem; }
    .subtitle { font-size: 1.05rem; }
    .hero-buttons { gap: 1rem; }

    .features-section {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 3rem 5%;
        margin-top: -50px;
    }

    .hero-section-team {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 40px;
        text-align: center;
        min-height: auto;
    }
    .person-image-team { width: 280px; height: 280px; animation: float-team 3s ease-in-out infinite; }
    .person-avatar-team { width: 250px; height: 250px; }
    .main-title-team { font-size: 2.5rem; }
    .btn-cta-team { width: auto; max-width: none; }


    .section-services { padding: 40px 20px; }
    .main-title-services { font-size: 2.5rem; }
    .subtitle-services { font-size: 1.05rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .service-card { padding: 25px 20px; }
    .main-footer { gap: 30px; margin-top: 50px; }

    .container-why-choose-us { padding: 60px 20px; }
    .main-title-why-choose-us { font-size: clamp(3rem, 4vw, 3.5rem); }
    .description-why-choose-us { font-size: 17px; margin-bottom: 50px; }
    .stats-container-why-choose-us {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px;
        margin-bottom: 60px;
    }
    .years-number { font-size: 100px; }
    .team-image-why-choose-us { height: 500px; }
    .btn-cta-why-choose-us { width: auto; max-width: none; }
}

/* DESKTOP (Obișnuite) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .header-main { padding: 1.5rem 5%; }
    .hero-section { padding: 5rem 5% 3rem; }
    .main-title { font-size: 3.8rem; }
    .features-section { margin-top: -100px; }
    .hero-section-team { padding: 60px; gap: 60px; }
    .section-services { padding: 60px 20px; }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .main-title-services { font-size: 3.2rem; }
    .container-why-choose-us { padding: 100px 20px; }
    .main-title-why-choose-us { font-size: 4rem; }
}

/* ECRANE MARI */
@media (min-width: 1441px) {
    .header-main { padding: 2rem 8%; }
    .hero-section { padding: 6rem 8% 4rem; max-width: 1100px; }
    .main-title { font-size: 4.5rem; }
    .subtitle { font-size: 1.2rem; }
    .features-section { max-width: 1400px; margin-top: -120px; padding: 5rem 8%; }

    .section-team-solutions { padding: 80px 0; }
    .container-team-solutions { max-width: 1400px; }
    .hero-section-team {
        grid-template-columns: 0.8fr 1.2fr;
        padding: 80px;
        min-height: 700px;
    }
    .person-image-team { width: 400px; height: 400px; }
    .person-avatar-team { width: 370px; height: 370px; }
    .main-title-team { font-size: 3.5rem; }
    .btn-cta-team { padding: 20px 45px; font-size: 1.2rem; }

    .section-services { padding: 80px 20px; }
    .container-services { max-width: 1200px; }
    .main-title-services { font-size: 3.5rem; }
    .subtitle-services { max-width: 700px; }
    .services-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; }
    .service-card { padding: 40px 30px; }
    .service-title { font-size: 1.8rem; }
    .main-footer { margin-top: 80px; gap: 50px; }
    .btn-cta { padding: 18px 35px; font-size: 1rem; }
    .phone-number { font-size: 1.3rem; }

    .container-why-choose-us { max-width: 1400px; padding: 100px 40px; }
    .main-title-why-choose-us { font-size: 5rem; }
    .description-why-choose-us { font-size: 20px; max-width: 900px; }
    .stats-container-why-choose-us { gap: 100px; }
    .years-number { font-size: 150px; }
    .feature-text { font-size: 18px; }
    .btn-cta-why-choose-us { padding: 25px 70px; font-size: 18px; }
    .team-image-why-choose-us { height: 700px; }
}

/* Stiluri pentru meniul mobil, activat cu JS */
.nav-main.open .menu-toggle .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.nav-main.open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
}
.nav-main.open .menu-toggle .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Asigură că `.nav-links` este vizibil doar când `nav-main` are clasa `open` */
@media (max-width: 480px) { /* Doar pe mobil */
    .nav-main:not(.open) .nav-links {
        display: none;
    }
}

/* --- ANIMAȚII PARTICULE DINAMICE ADIȚIONALE --- */
@keyframes mouseParticle {
    0% {
        transform: scale(0.2) translateY(0px) rotate(0deg);
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        transform: scale(1) translateY(-50px) rotate(90deg);
        opacity: 0.8;
        filter: brightness(1.5);
    }
    100% {
        transform: scale(0.5) translateY(-100px) rotate(180deg);
        opacity: 0;
        filter: brightness(1);
    }
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* --- Animație pentru particulele care cad --- */
@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg); /* Cad în jos pe toată înălțimea viewport-ului */
        opacity: 0; /* Devin transparente la final */
    }
}

/* --- Animație pentru particulele care apar la mișcarea mouse-ului --- */
@keyframes mouseParticle {
    0% {
        transform: scale(0.2) translateY(0px) rotate(0deg);
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        transform: scale(1) translateY(-50px) rotate(90deg);
        opacity: 0.8;
        filter: brightness(1.5);
    }
    100% {
        transform: scale(0.5) translateY(-100px) rotate(180deg);
        opacity: 0;
        filter: brightness(1);
    }
}

/* Asigură-te că aceste stiluri sunt deja în CSS, altfel adaugă-le: */
/* Particulele care cad */
.falling-particle {
    position: fixed; /* Rămân în viewport indiferent de scroll */
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6); /* Culoarea albă transparentă */
    border-radius: 50%;
    pointer-events: none; /* Nu blochează interacțiunile cu elementele de sub ele */
    z-index: 998; /* Sub cele de mouse, dar deasupra conținutului */
}

/* Particulele care urmează mouse-ul */
.mouse-particle {
    position: fixed; /* Rămân în viewport indiferent de scroll */
    pointer-events: none; /* Nu blochează interacțiunile cu elementele de sub ele */
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #00c7ff, #fff); /* Gradient albastru-alb */
    border-radius: 50%;
    z-index: 1000; /* Deasupra tuturor, inclusiv a particulelor care cad */
}
