@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- VARIABILE ---------- */
:root {
    --primary: #0f172a;
    --secondary: #3b82f6;
    --secondary-dark: #2563eb;
    --secondary-light: #60a5fa;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-header: rgba(255, 255, 255, 0.95);
    --bg-footer: #0f172a;
    
    --text-primary: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    
    --border-color: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.06);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 40px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 60px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 80px rgba(0,0,0,0.15);
    
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1a2a4a 40%, #2563eb 100%);
}

[data-theme="dark"] {
    --bg-primary: #0a0f1e;
    --bg-secondary: #111827;
    --bg-card: #1a2332;
    --bg-header: rgba(10, 15, 30, 0.95);
    --bg-footer: #05080f;
    
    --text-primary: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;
    
    --border-color: #2a3a52;
    --border-light: rgba(255, 255, 255, 0.06);
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-md: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-lg: 0 16px 60px rgba(0,0,0,0.6);
    --shadow-xl: 0 24px 80px rgba(0,0,0,0.7);
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.7;
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
}

/* ---------- TIPOGRAFIE ---------- */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }

/* ---------- BUTOANE ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
    gap: 8px;
    min-height: 54px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s;
}
.btn-primary:hover::before {
    left: 100%;
}
.btn-primary:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(59, 130, 246, 0.4);
}
.btn-primary:active {
    transform: scale(0.96);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: none;
}
.btn-outline:hover {
    background: var(--secondary);
    color: white;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-3px);
}

.btn-lg { padding: 18px 44px; font-size: clamp(0.95rem, 1.1vw, 1.05rem); min-height: 62px; }
.btn-sm { padding: 10px 24px; font-size: 0.85rem; min-height: 44px; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- HEADER ---------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-header);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 clamp(20px, 5vw, 40px);
    transition: var(--transition);
    height: 72px;
    display: flex;
    align-items: center;
}
header.scrolled { box-shadow: var(--shadow); }
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-header {
    height: clamp(32px, 4vh, 40px);
    width: auto;
    animation: logoBounce 3s ease-in-out infinite;
    transform-origin: center;
}
@keyframes logoBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.08) rotate(-4deg); }
    40% { transform: scale(0.96) rotate(2deg); }
    60% { transform: scale(1.04) rotate(-2deg); }
    80% { transform: scale(0.98) rotate(1deg); }
}
.logo:hover .logo-header {
    animation-play-state: paused;
    transform: rotate(-8deg) scale(1.08);
}

.logo h1 { 
    font-size: clamp(1.2rem, 1.8vw, 1.5rem); 
    color: var(--text-primary);
    transition: transform 0.3s ease;
}
.logo:hover h1 { transform: translateX(4px); }
.logo h1 span { 
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
nav ul li a {
    padding: 8px 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
}
nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    border-radius: 50px;
    transition: width 0.3s ease;
}
nav ul li a:hover::after,
nav ul li a.active::after { width: 40%; }
nav ul li a:hover { 
    color: var(--text-primary); 
    background: var(--bg-secondary);
    transform: translateY(-1px);
}
nav ul li a.active { 
    color: var(--secondary); 
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.menu-toggle { 
    display: none; 
    flex-direction: column; 
    gap: 5px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 8px;
    z-index: 1001;
    min-height: 44px;
    min-width: 44px;
}
.menu-toggle span { 
    display: block; 
    width: 28px; 
    height: 3px; 
    background: var(--text-primary); 
    border-radius: 50px; 
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; }
.nav-overlay.active { display: block; }

/* ---------- HERO ---------- */
.hero {
    background: var(--hero-gradient);
    padding: clamp(120px, 15vh, 160px) 0 clamp(60px, 8vh, 100px);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}
.hero::before {
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
}
.hero::after {
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: white;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}
.hero-content h2 span {
    background: linear-gradient(135deg, var(--secondary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-content p {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin-bottom: 2rem;
}

.hero-buttons { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px);
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item .stat-number {
    display: block;
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 900;
    color: white;
}
.stat-item .stat-label {
    color: rgba(255,255,255,0.6);
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    max-width: 70%;
    height: auto;
    animation: bounceLogo 3s ease-in-out infinite;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,0.3));
}
@keyframes bounceLogo {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}
.section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.section-tag:hover {
    transform: scale(1.05);
    background: rgba(59, 130, 246, 0.2);
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header h2 span { color: var(--secondary); }
.section-header p { color: var(--text-muted); font-size: clamp(1rem, 1.1vw, 1.1rem); }

/* ---------- SERVICES SECTION (INDEX) ---------- */
.services {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-secondary);
}
.services h2 { text-align: center; }
.services .subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 3rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(20px, 3vw, 30px);
}

.service-card {
    background: var(--bg-card);
    padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 30px);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.service-card:hover::after { opacity: 0.03; }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary);
}

.service-card .icon { 
    font-size: clamp(2.8rem, 3.5vw, 3.5rem); 
    display: block; 
    margin-bottom: 1rem;
    transition: transform 0.4s ease;
}
.service-card:hover .icon { transform: scale(1.15) rotate(-5deg); }
.service-card h3 { font-size: clamp(1rem, 1.2vw, 1.25rem); margin-bottom: 0.5rem; color: var(--text-primary); }
.service-card p { font-size: clamp(0.85rem, 0.9vw, 0.95rem); color: var(--text-muted); margin-bottom: 0; }
.service-card .price-tag {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 6px 20px;
    background: var(--bg-secondary);
    border-radius: 50px;
    font-weight: 700;
    color: var(--secondary);
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.service-card:hover .price-tag {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: scale(1.05);
}

/* ---------- ABOUT SECTION (INDEX) ---------- */
.about {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-primary);
}
.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
}

.about-image {
    position: relative;
}
.about-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0.08;
    transform: rotate(-3deg);
    transition: transform 0.6s ease;
}
.about-image:hover::before { transform: rotate(0deg); }

.about-logo {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: transform 0.6s ease;
}
.about-logo:hover { transform: scale(1.02); }

.about-content h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.about-content p { font-size: clamp(0.95rem, 1.05vw, 1.05rem); }

.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 1.5rem 0;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--text-secondary);
}
.feature-item .check {
    color: var(--success);
    font-weight: 900;
    font-size: 1.2rem;
}

/* ---------- CONTACT SECTION (INDEX) ---------- */
.contact {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-secondary);
}
.contact h2 { text-align: center; }
.contact .subtitle {
    text-align: center;
    max-width: 600px;
    margin: -1rem auto 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
}

.contact-form {
    background: var(--bg-card);
    padding: clamp(30px, 4vw, 40px);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.contact-form:hover { box-shadow: var(--shadow-md); }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.form-group .required { color: var(--danger); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    font-family: inherit;
    min-height: 48px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.info-card {
    background: var(--bg-card);
    padding: 24px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary), var(--accent));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}
.info-card:hover::before { transform: scaleY(1); }
.info-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}
.info-card .info-icon { font-size: 1.8rem; display: block; margin-bottom: 0.3rem; }
.info-card h4 { font-size: 1rem; margin-bottom: 2px; }
.info-card p { margin-bottom: 0; font-size: 0.95rem; }
.info-card a { color: var(--secondary); text-decoration: none; font-weight: 500; }
.info-card a:hover { color: var(--secondary-dark); }
.info-card .small { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- FOOTER ---------- */
footer {
    background: var(--bg-footer);
    color: var(--text-muted);
    padding: clamp(40px, 6vh, 60px) 0 clamp(20px, 3vh, 30px);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(30px, 4vw, 40px);
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-brand h3 {
    color: white;
    font-size: clamp(1.3rem, 1.8vw, 1.5rem);
    margin-bottom: 0.5rem;
}
.footer-brand h3 span { 
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p { color: var(--text-muted); max-width: 300px; }

.footer-social { display: flex; gap: 12px; margin-top: 1rem; }
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.2rem;
}
.footer-social a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
}
footer h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--secondary);
    border-radius: 50px;
    margin-top: 6px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}
footer ul li a:hover { color: white; padding-left: 4px; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- THEME TOGGLE ---------- */
.theme-toggle {
    position: fixed;
    bottom: clamp(20px, 3vh, 30px);
    right: clamp(20px, 3vw, 30px);
    z-index: 9999;
    width: clamp(48px, 5vw, 56px);
    height: clamp(48px, 5vw, 56px);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-xl);
}
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: clamp(80px, 10vh, 100px);
    right: clamp(20px, 3vw, 30px);
    width: clamp(44px, 4.5vw, 50px);
    height: clamp(44px, 4.5vw, 50px);
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    border: none;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(59, 130, 246, 0.5);
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 50px; }
::-webkit-scrollbar-thumb:hover { background: var(--secondary-dark); }

/* ---------- SELECTION ---------- */
::selection { background: var(--secondary); color: white; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ---------- NOTIFICATIONS ---------- */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    padding: 16px 24px;
    background: var(--success);
    color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    font-weight: 500;
    animation: slideInRight 0.4s ease;
    cursor: pointer;
}
.notification-error { background: var(--danger); }
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

/* ============================================
   PAGINA SERVICII
   ============================================ */

.page-hero {
    background: var(--hero-gradient);
    padding: clamp(120px, 15vh, 180px) 0 clamp(60px, 8vh, 120px);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}
.page-hero::before {
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
}
.page-hero::after {
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}
.page-hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-content .hero-badge {
    display: inline-block;
    padding: 6px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    color: rgba(255,255,255,0.8);
    font-size: clamp(0.8rem, 0.9vw, 0.85rem);
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-hero-content h1 {
    color: white;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
}
.page-hero-content h1 span {
    background: linear-gradient(135deg, var(--secondary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero-content p {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- SERVICES LIST ---------- */
.services-list {
    padding: clamp(40px, 6vh, 60px) 0 clamp(60px, 8vh, 80px);
    background: var(--bg-primary);
}
.services-list-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(30px, 4vw, 50px);
}
.services-list-intro h2 {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.services-list-intro p {
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    color: var(--text-muted);
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: clamp(20px, 3vw, 30px);
    padding: clamp(24px, 3vw, 32px) clamp(20px, 3vw, 36px);
    margin-bottom: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.6s ease;
    transform-origin: left;
}
.service-item:hover::after { transform: scaleX(1); }
.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.service-item-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.service-item-icon {
    font-size: clamp(2rem, 2.5vw, 2.6rem);
    width: clamp(60px, 6vw, 70px);
    height: clamp(60px, 6vw, 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}
.service-item:hover .service-item-icon {
    background: rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
}
.service-item-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0.5;
}

.service-item-right { flex: 1; }
.service-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 6px;
}
.service-item-header h3 {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    margin-bottom: 0;
    color: var(--text-primary);
}
.service-item-price {
    display: inline-block;
    padding: 4px 16px;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    white-space: nowrap;
}
.service-item-right p {
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
    color: var(--text-muted);
    margin-bottom: 12px;
    max-width: 700px;
}
.service-item-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-bottom: 16px;
}
.service-item-features li {
    font-size: clamp(0.85rem, 0.9vw, 0.9rem);
    color: var(--text-secondary);
    position: relative;
    padding-left: 22px;
}
.service-item-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

/* ---------- PRICING SECTION ---------- */
.pricing-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-secondary);
}
.pricing-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.4s ease;
}
.pricing-table-wrapper:hover { box-shadow: var(--shadow-xl); }
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    overflow: hidden;
    min-width: 600px;
}
.pricing-table thead {
    background: var(--secondary);
    color: white;
}
.pricing-table thead th {
    padding: clamp(12px, 1.5vw, 16px) clamp(16px, 2vw, 24px);
    text-align: left;
    font-weight: 600;
    font-size: clamp(0.85rem, 0.95vw, 0.95rem);
}
.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease;
    position: relative;
}
.pricing-table tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}
.pricing-table tbody tr:hover::before { transform: scaleY(1); }
.pricing-table tbody tr:last-child { border-bottom: none; }
.pricing-table tbody tr:hover { background: var(--bg-secondary); }
.pricing-table tbody td {
    padding: clamp(10px, 1.2vw, 14px) clamp(16px, 2vw, 24px);
    color: var(--text-secondary);
}
.pricing-table .price-col {
    font-weight: 700;
    color: var(--secondary);
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--hero-gradient);
    text-align: center;
}
.cta-content h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.5rem;
}
.cta-content h2 span {
    background: linear-gradient(135deg, var(--secondary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 1.1vw, 1.1rem);
    margin-bottom: 2rem;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cta-buttons .btn:hover {
    transform: translateY(-4px) scale(1.02);
}
.cta-buttons .btn-outline-light { border-color: rgba(255, 255, 255, 0.3); }
.cta-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* ============================================
   PAGINA ABOUT
   ============================================ */

.about-page {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-primary);
}
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 60px);
    align-items: center;
}
.about-page-image {
    position: relative;
}
.about-page-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    opacity: 0.08;
    transform: rotate(-3deg);
    transition: transform 0.6s ease;
}
.about-page-image:hover::before { transform: rotate(0deg); }
.about-page-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
    transition: transform 0.6s ease;
}
.about-page-image:hover img { transform: scale(1.02); }

.about-page-content h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}
.about-page-content p {
    font-size: clamp(0.95rem, 1.05vw, 1.05rem);
    margin-bottom: 1.5rem;
}
.about-page-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(15px, 2vw, 20px);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.about-page-stat { text-align: center; }
.about-page-stat .stat-number {
    display: block;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--secondary);
}
.about-page-stat .stat-label {
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    color: var(--text-muted);
}

/* ---------- VALUES ---------- */
.values-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-secondary);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(20px, 3vw, 30px);
}
.value-card {
    background: var(--bg-card);
    padding: clamp(28px, 3vw, 35px) clamp(20px, 2.5vw, 25px);
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}
.value-card:hover::before { transform: scaleX(1); }
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.value-card .value-icon { font-size: clamp(2.5rem, 3.5vw, 3rem); display: block; margin-bottom: 0.8rem; }
.value-card h3 { font-size: clamp(1rem, 1.2vw, 1.1rem); margin-bottom: 0.5rem; }
.value-card p { font-size: clamp(0.85rem, 0.9vw, 0.95rem); margin-bottom: 0; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-primary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 30px);
}
.testimonial-card {
    background: var(--bg-card);
    padding: clamp(24px, 3vw, 30px);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    position: relative;
}
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-card:hover::before { opacity: 0.15; }
.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}
.testimonial-stars {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}
.testimonial-card p {
    font-style: italic;
    font-size: clamp(0.95rem, 1vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}
.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================
   PAGINA CONTACT
   ============================================ */

.contact-page-section {
    padding: clamp(60px, 8vh, 80px) 0;
    background: var(--bg-primary);
}
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 60px);
}
.contact-page-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-page-info .info-card { padding: clamp(20px, 2.5vw, 24px) clamp(20px, 2.5vw, 28px); }
.contact-page-info .info-card .info-icon { font-size: clamp(1.6rem, 2vw, 2rem); }
.contact-page-info .info-card h4 { font-size: clamp(1rem, 1.1vw, 1.1rem); }
.contact-page-info .info-card p { font-size: clamp(0.9rem, 1vw, 1rem); }

.contact-page-social { margin-top: 0.5rem; }
.contact-page-social h4 { margin-bottom: 0.8rem; }
.contact-page-social .social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-page-social .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}
.contact-page-social .social-links a:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-4px);
    border-color: var(--secondary);
}

/* ---------- MAP ---------- */
.map-section {
    padding: clamp(40px, 5vh, 60px) 0 clamp(60px, 8vh, 80px);
    background: var(--bg-secondary);
}
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: box-shadow 0.4s ease;
}
.map-container:hover { box-shadow: var(--shadow-xl); }
.map-container iframe {
    width: 100%;
    height: clamp(300px, 40vh, 450px);
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-items: center; }
    .hero-stats .stat-item { text-align: center; }
    .hero-image-wrapper { order: -1; }
    .hero-logo { max-width: 50%; }
    
    .about .container { grid-template-columns: 1fr; text-align: center; }
    .features { justify-items: center; }
    .feature-item { justify-content: center; }
    
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-page-grid { grid-template-columns: 1fr; text-align: center; }
    .contact-page-grid { grid-template-columns: 1fr; }
    .page-hero { padding: clamp(100px, 12vh, 140px) 0 clamp(50px, 6vh, 70px); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        padding: 80px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        z-index: 1000;
    }
    nav.open { right: 0; }
    nav ul { flex-direction: column; gap: 4px; }
    nav ul li a { 
        padding: 12px 16px; 
        font-size: clamp(0.95rem, 2vw, 1rem); 
        width: 100%; 
        text-align: center;
    }
    nav ul li a::after { display: none; }

    .hero { 
        padding: clamp(100px, 12vh, 130px) 0 clamp(40px, 5vh, 60px);
        min-height: auto;
    }
    .hero-content h2 { font-size: clamp(2rem, 6vw, 2.5rem); }
    .hero-stats { grid-template-columns: 1fr; gap: 15px; }
    .hero-logo { max-width: 70%; }

    .service-grid { 
        grid-template-columns: 1fr; 
        max-width: 450px; 
        margin: 0 auto; 
    }

    .features { grid-template-columns: 1fr; }
    
    .footer-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .footer-brand p { margin: 0 auto; }
    .footer-social { justify-content: center; }
    footer h4::after { margin: 6px auto 0; }

    .service-item { 
        grid-template-columns: 1fr; 
        gap: 16px; 
        padding: clamp(20px, 3vw, 24px) clamp(16px, 2.5vw, 20px);
        text-align: center; 
    }
    .service-item-left { 
        flex-direction: row; 
        justify-content: center; 
        gap: 16px; 
    }
    .service-item-number { font-size: 0.9rem; opacity: 0.3; }
    .service-item-header { flex-direction: column; text-align: center; }
    .service-item-right p { margin-left: auto; margin-right: auto; }
    .service-item-features { justify-content: center; }
    .service-item-features li { padding-left: 0; }
    .service-item-features li::before { display: none; }

    .values-grid { 
        grid-template-columns: 1fr; 
        max-width: 400px; 
        margin: 0 auto; 
    }
    .testimonials-grid { 
        grid-template-columns: 1fr; 
        max-width: 450px; 
        margin: 0 auto; 
    }
    .about-page-stats { grid-template-columns: 1fr; gap: 15px; }
    
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 350px; justify-content: center; }

    .pricing-table-wrapper {
        margin: 0 -20px;
        border-radius: 0;
    }
    .pricing-table { min-width: 500px; }
    .pricing-table thead th,
    .pricing-table tbody td { 
        padding: clamp(8px, 1.2vw, 10px) clamp(10px, 1.5vw, 14px); 
        font-size: clamp(0.75rem, 1vw, 0.85rem);
    }

    .contact-page-info .info-card { 
        flex-direction: column; 
        text-align: center; 
    }
    .contact-page-social .social-links { justify-content: center; }

    .page-hero { 
        padding: clamp(90px, 10vh, 130px) 0 clamp(40px, 5vh, 60px); 
    }
}

@media (max-width: 480px) {
    .hero-content h2 { font-size: clamp(1.8rem, 5vw, 2rem); }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .hero-logo { max-width: 85%; }
    
    .contact-form { padding: clamp(20px, 4vw, 25px); }
    .info-card { flex-direction: column; align-items: center; text-align: center; }
    
    .logo h1 { font-size: clamp(1rem, 3vw, 1.2rem); }
    .logo-header { height: clamp(28px, 4vw, 32px); }
    
    .service-item { padding: clamp(16px, 3vw, 20px); }
    .service-item-icon { 
        width: clamp(48px, 10vw, 56px); 
        height: clamp(48px, 10vw, 56px); 
        font-size: clamp(1.6rem, 4vw, 2rem); 
    }
    .service-item-price { 
        font-size: 0.75rem; 
        padding: 3px 12px; 
    }
    .service-item-features { 
        flex-direction: column; 
        align-items: center; 
        gap: 4px; 
    }
    .service-item-right .btn-sm { 
        width: 100%; 
        justify-content: center; 
    }
    
    .pricing-table { min-width: 400px; }
    .pricing-table thead th,
    .pricing-table tbody td { 
        padding: 6px 8px; 
        font-size: 0.7rem; 
    }
    
    .btn-lg { 
        padding: 14px 28px; 
        font-size: clamp(0.85rem, 2vw, 0.95rem);
        min-height: 52px;
    }
    .btn-sm { min-height: 40px; }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-header, .hero-logo {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-logo,
    .hero::before,
    .hero::after,
    .logo-header {
        animation: none !important;
    }
    .animate {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* ---------- UTILITY ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.small { font-size: 0.85rem; color: var(--text-muted); }