/* ========================================
   ASIIMOV – DIGITAL AGENCY
   Complete Stylesheet
   ======================================== */

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text: #e8e8ef;
    --text-secondary: #9496a1;
    --text-muted: #5c5e6e;
    --accent: #7c5cfc;
    --accent-light: #9b7dff;
    --accent-dark: #5a3dd6;
    --gradient-1: #7c5cfc;
    --gradient-2: #c84bfa;
    --gradient-3: #f656a0;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 100px;
    --shadow: 0 4px 30px rgba(0,0,0,0.3);
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- LOADER --- */
#loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner { text-align: center; }

.loader-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--gradient-1), var(--gradient-2));
    border-radius: 10px;
    animation: loadProgress 1.8s ease-in-out forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* --- CUSTOM CURSOR --- */
.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    display: none;
}

.cursor {
    width: 8px; height: 8px;
    background: var(--accent);
    transform: translate(-50%, -50%);
    transition: transform 0.1s;
}

.cursor-follower {
    width: 36px; height: 36px;
    border: 1px solid rgba(124, 92, 252, 0.4);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-follower.hover {
    width: 56px; height: 56px;
    border-color: var(--accent);
}

@media (pointer: fine) {
    .cursor, .cursor-follower { display: block; }
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.logo-text { color: var(--text); }
.logo-accent {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
}

.cta-link {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: #fff !important;
    padding: 10px 24px;
}

.cta-link::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 92, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(124, 92, 252, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.orb-1 {
    width: 600px; height: 600px;
    background: var(--gradient-1);
    top: -200px; right: -100px;
    animation: float 8s ease-in-out infinite;
}

.orb-2 {
    width: 400px; height: 400px;
    background: var(--gradient-2);
    bottom: -100px; left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px; height: 300px;
    background: var(--gradient-3);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-container {
    position: relative;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2), var(--gradient-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* --- MARQUEE --- */
.marquee-section {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    background: var(--bg-secondary);
}

.marquee-track {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 30px;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee-dot {
    color: var(--accent) !important;
    font-size: 0.6rem !important;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- SECTION SHARED --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 92, 252, 0.1);
    border: 1px solid rgba(124, 92, 252, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

/* --- SERVICES --- */
.services {
    padding: 120px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition: all var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gradient-1), var(--gradient-2), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(124, 92, 252, 0.3);
    background: rgba(124, 92, 252, 0.05);
}

.service-badge {
    position: absolute;
    top: 16px; right: 16px;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 60px; height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 252, 0.1);
    border-radius: var(--radius);
    margin-bottom: 24px;
    color: var(--accent-light);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-light);
    font-weight: 700;
}

.service-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-price strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: gap var(--transition), color var(--transition);
}

.service-link:hover {
    gap: 11px;
    color: var(--text);
}

/* --- PORTFOLIO --- */
.portfolio {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
}

.portfolio-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: transform 0.5s;
}

.portfolio-image:hover .portfolio-placeholder {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(8, 8, 14, 0.85) 0%,
        rgba(8, 8, 14, 0.92) 50%,
        rgba(8, 8, 14, 0.97) 100%);
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity var(--transition), backdrop-filter var(--transition);
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    display: inline-block;
    padding: 5px 13px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(168, 85, 247, 0.35));
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    color: #c4b5fd;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    width: fit-content;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.01em;
}

.portfolio-overlay p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 14px;
    line-height: 1.55;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.portfolio-link {
    color: #c4b5fd !important;
    font-weight: 700 !important;
}
.portfolio-link:hover {
    color: #fff !important;
}

.portfolio-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: color var(--transition);
}

.portfolio-link:hover { color: #fff; }

/* --- PROCESS --- */
.process {
    padding: 120px 0;
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gradient-1), var(--gradient-2), var(--gradient-3), transparent);
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 30px 0;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-light);
    position: relative;
    z-index: 2;
    transition: all var(--transition);
}

.process-step:hover .step-number {
    border-color: var(--accent);
    background: rgba(124, 92, 252, 0.1);
    box-shadow: 0 0 30px rgba(124, 92, 252, 0.2);
}

.step-content {
    flex: 1;
    padding-top: 16px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-icon {
    flex-shrink: 0;
    width: 70px; height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.3;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    flex: 0 0 100%;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.testimonial-stars {
    font-size: 1.3rem;
    color: #fbbf24;
    margin-bottom: 24px;
    letter-spacing: 4px;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.test-btn {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.test-btn:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.test-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px; height: 8px;
    background: var(--border);
    border-radius: 50%;
    transition: all var(--transition);
    cursor: pointer;
}

.dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb-cta-1 {
    width: 400px; height: 400px;
    background: var(--gradient-1);
    top: -200px; right: -100px;
    filter: blur(100px);
    opacity: 0.2;
}

.orb-cta-2 {
    width: 300px; height: 300px;
    background: var(--gradient-3);
    bottom: -150px; left: -50px;
    filter: blur(100px);
    opacity: 0.2;
}

.cta-box h2 {
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-box p {
    position: relative;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-box .btn { position: relative; }

/* --- CONTACT --- */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 0;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-info .section-desc {
    margin: 0 0 40px 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 92, 252, 0.1);
    border-radius: var(--radius);
    color: var(--accent-light);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item a, .contact-item span {
    font-size: 0.95rem;
    color: var(--text);
}

.contact-item a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* --- FORM --- */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: all var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239496a1' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Form success state */
.form-success {
    text-align: center;
    padding: 60px 20px;
}

.form-success .success-icon {
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 222, 128, 0.1);
    border-radius: 50%;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-secondary);
}

/* --- FOOTER --- */
.footer {
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-links-group a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- ANIMATIONS --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 8px;
        transition: right var(--transition);
        border-left: 1px solid var(--border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .process-timeline::before {
        left: 30px;
    }

    .step-number {
        width: 60px; height: 60px;
        font-size: 1.2rem;
    }

    .step-icon {
        display: none;
    }

    .cta-box {
        padding: 50px 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .testimonial-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}
.service-vat {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

/* ==== Honeypot (invizibil) ==== */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==== Form status messages ==== */
.form-status {
    margin-top: 12px;
    padding: 0;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.form-status:empty {
    display: none;
}
.form-status.loading {
    padding: 10px 14px;
    background: rgba(0, 102, 255, 0.08);
    color: #0066ff;
    border: 1px solid rgba(0, 102, 255, 0.2);
}
.form-status.error {
    padding: 10px 14px;
    background: rgba(255, 60, 60, 0.08);
    color: #d63333;
    border: 1px solid rgba(255, 60, 60, 0.2);
}
.form-status.success {
    padding: 10px 14px;
    background: rgba(0, 180, 100, 0.08);
    color: #00a05a;
    border: 1px solid rgba(0, 180, 100, 0.2);
}

/* ===========================================
   LEGAL PAGES (Privacy, T&C, Cookies, GDPR)
   =========================================== */
.legal-page {
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.legal-hero {
    position: relative;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.12), transparent 50%);
    z-index: -1;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    margin: 16px 0 12px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

.legal-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 24px 120px;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}

.legal-content article + article {
    margin-top: 40px;
}

.legal-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 40px 0 16px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--text);
}

.legal-content p,
.legal-content li {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-content a {
    color: #6366f1;
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    transition: border-color 0.2s;
}

.legal-content a:hover {
    border-bottom-color: #6366f1;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.legal-content thead {
    background: rgba(99, 102, 241, 0.08);
}

.legal-content th,
.legal-content td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
}

.legal-content th {
    color: var(--text);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.legal-content td {
    color: var(--text-muted);
}

.legal-content tr:last-child td {
    border-bottom: none;
}

.legal-content .callout {
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-left: 3px solid #6366f1;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 24px 0;
}

.legal-content .callout p:last-child {
    margin-bottom: 0;
}

.legal-toc {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.legal-toc h2 {
    font-size: 1rem !important;
    margin: 0 0 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted) !important;
    font-weight: 600;
}

.legal-toc ol {
    margin: 0;
    padding-left: 22px;
}

.legal-toc li {
    margin-bottom: 4px;
}

.legal-toc a {
    border-bottom: none;
}

.legal-toc a:hover {
    color: #a78bfa;
}

@media (max-width: 720px) {
    .legal-hero {
        padding: 50px 0 40px;
    }
    .legal-content {
        padding: 40px 20px 80px;
        font-size: 0.95rem;
    }
    .legal-content h2 {
        font-size: 1.25rem;
    }
}

/* ===========================================
   PORTFOLIO CTA + DEDICATED PAGE
   =========================================== */
.portfolio-cta {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

/* Hero pagina dedicată portofoliu */
.portfolio-hero {
    position: relative;
    padding: 160px 0 80px;
    text-align: center;
    overflow: hidden;
}
.portfolio-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.portfolio-hero .container {
    position: relative;
    z-index: 1;
}
.portfolio-hero .hero-badge {
    margin: 0 auto 24px;
}
.portfolio-hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
    color: #fff;
}
.portfolio-hero-subtitle {
    max-width: 640px;
    margin: 0 auto;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
}

/* Portfolio full page section (fără padding-top mare ca pe home) */
.portfolio.portfolio-full {
    padding-top: 40px;
}

.portfolio-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}
.portfolio-empty a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167, 139, 250, 0.3);
}
.portfolio-empty a:hover {
    border-bottom-color: #a78bfa;
}

@media (max-width: 720px) {
    .portfolio-hero {
        padding: 130px 0 60px;
    }
    .portfolio-cta {
        margin-top: 40px;
    }
}

/* ===========================================
   PORTFOLIO SCREENSHOTS (WordPress mshots)
   =========================================== */
.portfolio-image {
    position: relative;
    overflow: hidden;
}
.portfolio-screenshot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    opacity: 0;
    animation: screenshot-fade-in 0.5s ease forwards;
    animation-delay: 0.3s;
}
@keyframes screenshot-fade-in {
    to { opacity: 1; }
}
.portfolio-item .portfolio-overlay {
    z-index: 2;
}

/* ===========================================
   CLIENTS GRID (înlocuiește testimoniale fake)
   =========================================== */
.clients-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 48px;
}
.client-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.client-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.client-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    letter-spacing: 0.02em;
}
.client-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.client-info strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}
.client-info span {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}
.clients-note {
    margin-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}
.clients-note a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167, 139, 250, 0.3);
    transition: border-color 0.2s;
}
.clients-note a:hover {
    border-bottom-color: #a78bfa;
}

@media (max-width: 600px) {
    .clients-section {
        padding: 70px 0;
    }
    .clients-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   404 PAGE
   =========================================== */
.error-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}
.error-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.error-container {
    text-align: center;
    position: relative;
    z-index: 1;
}
.error-code {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(6rem, 18vw, 12rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    margin-bottom: 24px;
    text-shadow: 0 10px 60px rgba(99, 102, 241, 0.2);
}
.error-digit {
    color: #fff;
    display: inline-block;
}
.error-digit.gradient-text {
    animation: error-pulse 3s ease-in-out infinite;
}
@keyframes error-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.error-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}
.error-desc {
    max-width: 480px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.02rem;
    line-height: 1.6;
}
.error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.error-helpful {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    margin-top: 12px;
}
.error-helpful p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    margin-bottom: 14px;
}
.error-helpful ul {
    display: flex;
    justify-content: center;
    gap: 24px;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
.error-helpful a {
    color: #a78bfa;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.error-helpful a:hover {
    border-bottom-color: #a78bfa;
}

/* ===========================================
   FAQ SECTION
   =========================================== */
.faq-section {
    padding: 100px 0;
}
.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}
.faq-item {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.25s, background 0.25s;
}
.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.25);
}
.faq-item[open] {
    background: rgba(99, 102, 241, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}
.faq-question {
    cursor: pointer;
    padding: 20px 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 16px;
    transition: background 0.25s, transform 0.25s;
}
.faq-icon::before {
    content: '+';
    color: #a78bfa;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}
.faq-item[open] .faq-icon {
    background: rgba(99, 102, 241, 0.2);
    transform: rotate(45deg);
}
.faq-answer {
    padding: 0 24px 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.65;
}
.faq-answer p {
    margin: 0;
}
.faq-answer a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167, 139, 250, 0.3);
}

/* ===========================================
   PRICING CALCULATOR
   =========================================== */
.calculator-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.calculator {
    max-width: 880px;
    margin: 48px auto 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 36px;
    position: relative;
    overflow: hidden;
}
.calculator::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 60%);
    pointer-events: none;
}
.calc-step {
    position: relative;
    margin-bottom: 32px;
}
.calc-step:last-of-type {
    margin-bottom: 0;
}
.calc-step-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 6px;
}
.calc-step-hint {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.calc-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}
.calc-option {
    cursor: pointer;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: left;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.calc-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(167, 139, 250, 0.3);
}
.calc-option.selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(167, 139, 250, 0.5);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}
.calc-option strong {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.calc-option span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
}

.calc-slider-wrap {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px 20px;
}
.calc-slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.calc-slider-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.calc-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.5);
    transition: transform 0.15s;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    cursor: pointer;
}

.calc-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}
.calc-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.calc-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(167, 139, 250, 0.25);
}
.calc-feature input {
    display: none;
}
.calc-feature .calc-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.calc-feature .calc-check::after {
    content: '✓';
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s;
}
.calc-feature input:checked + .calc-check {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: transparent;
}
.calc-feature input:checked + .calc-check::after {
    opacity: 1;
    transform: scale(1);
}
.calc-feature span:last-child {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.calc-result {
    margin-top: 36px;
    padding: 28px 30px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.calc-result-label {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}
.calc-result-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    background: linear-gradient(135deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.calc-result-vat {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    margin-bottom: 18px;
}
.calc-result a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.calc-result a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.35);
}

@media (max-width: 600px) {
    .calculator {
        padding: 24px 20px;
    }
    .calc-options, .calc-features {
        grid-template-columns: 1fr;
    }
}

/* ===========================================
   STICKY MOBILE CTA (call + WhatsApp)
   =========================================== */
.mobile-cta {
    display: none;
}
@media (max-width: 768px) {
    .mobile-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9990;
        display: flex;
        background: rgba(10, 11, 20, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px;
        gap: 8px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
    .mobile-cta a {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 10px;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.92rem;
        transition: transform 0.15s;
    }
    .mobile-cta a:active {
        transform: scale(0.97);
    }
    .mobile-cta-call {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .mobile-cta-wa {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: #fff;
    }
    /* Adaugă padding-bottom la body ca să nu fie acoperit conținutul */
    body {
        padding-bottom: 64px;
    }
    /* Banner cookie să nu fie sub mobile CTA */
    .cookie-banner {
        bottom: 80px;
    }
}

/* ===========================================
   COOKIE CONSENT (banner + modal)
   =========================================== */

/* ---- Banner ---- */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9998;
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(15, 17, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 22px 26px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.08);
    opacity: 0;
    transform: translateY(24px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.cookie-banner-content {
    flex: 1 1 320px;
    min-width: 0;
}
.cookie-banner-content h3 {
    margin: 0 0 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.cookie-banner-content p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}
.cookie-banner-content a {
    color: #a78bfa;
    text-decoration: none;
    border-bottom: 1px solid rgba(167, 139, 250, 0.3);
}
.cookie-banner-content a:hover {
    border-bottom-color: #a78bfa;
}
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ---- Buttons (banner + modal) ---- */
.cookie-btn {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.cookie-btn-primary {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.cookie-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}
.cookie-btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}
.cookie-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ---- Modal ---- */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.cookie-modal.visible {
    opacity: 1;
    pointer-events: auto;
}
.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 6, 12, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.cookie-modal-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(18, 20, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.96);
    transition: transform 0.3s ease;
}
.cookie-modal.visible .cookie-modal-card {
    transform: scale(1);
}
.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cookie-modal-header h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.cookie-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cookie-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.cookie-modal-body {
    padding: 20px 26px;
    overflow-y: auto;
    flex: 1;
}
.cookie-modal-intro {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0 0 22px;
}
.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.cookie-category:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cookie-category-info {
    flex: 1;
    min-width: 0;
}
.cookie-category-info h4 {
    margin: 0 0 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cookie-category-info p {
    margin: 0;
    font-size: 0.83rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
}
.cookie-tag-required {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(99, 102, 241, 0.15);
    color: #a78bfa;
    font-weight: 600;
}
.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 26px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
    flex-wrap: wrap;
}

/* ---- Switch toggle ---- */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
    cursor: pointer;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-switch-slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    transition: background 0.25s, border-color 0.25s;
}
.cookie-switch-slider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
    transition: left 0.25s, background 0.25s;
}
.cookie-switch input:checked + .cookie-switch-slider {
    background: linear-gradient(135deg, #6366f1, #a855f7);
    border-color: transparent;
}
.cookie-switch input:checked + .cookie-switch-slider::before {
    left: 22px;
}
.cookie-switch input:disabled + .cookie-switch-slider {
    background: rgba(99, 102, 241, 0.25);
    cursor: not-allowed;
    opacity: 0.75;
}
.cookie-switch input:disabled + .cookie-switch-slider::before {
    left: 22px;
    background: rgba(255, 255, 255, 0.85);
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
    .cookie-banner {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 18px;
        border-radius: 14px;
    }
    .cookie-banner-inner {
        gap: 16px;
    }
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column-reverse;
    }
    .cookie-banner-actions .cookie-btn {
        width: 100%;
    }
    .cookie-modal-card {
        max-height: 92vh;
    }
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .cookie-modal-footer {
        flex-direction: column-reverse;
    }
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}