/* =============================================
   PIXELCRAFT MEDIA — SHARED STYLESHEET
   Dark theme, pixel aesthetic, neon accents
   Multi-page version
   ============================================= */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --text-primary: #e8e8f0;
    --text-secondary: #8888a0;
    --text-muted: #55556a;
    --cyan: #00f0ff;
    --pink: #ff2d75;
    --green: #00ff88;
    --purple: #a855f7;
    --yellow: #ffd500;
    --cyan-glow: rgba(0, 240, 255, 0.15);
    --pink-glow: rgba(255, 45, 117, 0.15);
    --green-glow: rgba(0, 255, 136, 0.15);
    --nav-height: 72px;
    --font-display: 'Syne', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --font-body: 'DM Sans', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::selection { background: var(--cyan); color: var(--bg-primary); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

.page-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

/* =============================================
   PIXEL BACKGROUND & CURSOR
   ============================================= */
#pixelBg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

#cursorGlow {
    position: fixed;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    display: none;
}
@media (hover: hover) { #cursorGlow { display: block; } }

/* =============================================
   NAVIGATION
   ============================================= */
#mainNav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s var(--ease-out-expo);
}

#mainNav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-inner {
    position: relative; z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    transition: transform 0.3s var(--ease-out-expo);
}
.nav-logo:hover { transform: scale(1.05); }

.logo-pixel { width: 10px; height: 10px; display: inline-block; }
.logo-pixel.p1 { background: var(--cyan); }
.logo-pixel.p2 { background: var(--pink); }
.logo-pixel.p3 { background: var(--green); }
.logo-text { margin-left: 6px; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

/* Active page indicator */
.nav-links a.active {
    color: var(--cyan);
}
.nav-links a.active::after {
    width: 100%;
    background: var(--cyan);
}

.nav-links .nav-cta {
    background: var(--cyan);
    color: var(--bg-primary);
    padding: 8px 20px;
    font-weight: 700;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { box-shadow: 0 0 20px var(--cyan-glow); }
.nav-links .nav-cta.active { background: var(--cyan); color: var(--bg-primary); }

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out-expo);
}
.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); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-link {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.3s;
    transform: translateY(20px);
    opacity: 0;
}
.mobile-menu.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s var(--ease-out-expo);
}
.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-link:hover { color: var(--cyan); }
.mobile-link.active { color: var(--cyan); }

/* =============================================
   COMMON ELEMENTS
   ============================================= */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.tag-num { color: var(--cyan); font-weight: 700; }

.section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.7;
}

.accent-cyan { color: var(--cyan); }
.accent-pink { color: var(--pink); }
.accent-green { color: var(--green); }

/* Page Header (reused on inner pages) */
.page-header {
    padding: calc(var(--nav-height) + 60px) 0 60px;
    position: relative;
}

.page-header .section-title {
    font-size: clamp(2.6rem, 5vw, 4.2rem);
}

.page-header-line {
    width: 60px;
    height: 3px;
    margin-top: 24px;
    background: repeating-linear-gradient(
        to right,
        var(--cyan) 0px, var(--cyan) 8px,
        transparent 8px, transparent 12px,
        var(--pink) 12px, var(--pink) 20px,
        transparent 20px, transparent 24px,
        var(--green) 24px, var(--green) 32px
    );
}

/* Breadcrumb pixel trail */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a { transition: color 0.3s; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep {
    width: 4px; height: 4px;
    background: var(--text-muted);
}
.breadcrumb-current { color: var(--text-secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 16px 28px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background: var(--cyan);
    color: var(--bg-primary);
}
.btn-primary:hover {
    box-shadow: 0 0 30px var(--cyan-glow), 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}
.btn-primary .btn-arrow {
    width: 18px; height: 18px;
    transition: transform 0.3s var(--ease-out-expo);
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { box-shadow: 0 0 30px var(--pink-glow); transform: translateY(-2px); }

/* =============================================
   HERO (index.html)
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-height) + 40px) 0 60px;
    overflow: hidden;
}

.hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
    position: relative;
    z-index: 2;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s forwards;
}

.tag-pixel {
    width: 8px; height: 8px;
    background: var(--cyan);
    animation: pixelBlink 2s infinite;
}
@keyframes pixelBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 8vw, 7.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.title-line { display: block; overflow: hidden; }
.word-wrap { display: inline-block; overflow: hidden; margin-right: 0.2em; }
.word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordReveal 1s var(--ease-out-expo) forwards;
}
.title-line[data-delay="0"] .word { animation-delay: 0.3s; }
.title-line[data-delay="0"] .word-wrap:nth-child(2) .word { animation-delay: 0.4s; }
.title-line[data-delay="1"] .word { animation-delay: 0.5s; }
@keyframes wordReveal { to { transform: translateY(0); } }

.title-dot {
    display: inline-block;
    width: 14px; height: 14px;
    background: var(--pink);
    margin-left: 4px;
    vertical-align: middle;
    opacity: 0;
    animation: dotPop 0.5s var(--ease-out-expo) 0.8s forwards;
}
@keyframes dotPop { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s forwards;
}

.glitch-text {
    position: relative;
    display: inline-block;
    color: var(--cyan);
    font-weight: 600;
}
.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
}
.glitch-text::before { color: var(--pink); animation: glitch1 3s infinite; clip-path: inset(0 0 60% 0); }
.glitch-text::after { color: var(--green); animation: glitch2 3s infinite; clip-path: inset(60% 0 0 0); }
@keyframes glitch1 { 0%, 95%, 100% { transform: translate(0); } 96% { transform: translate(-2px, 1px); } 97% { transform: translate(2px, -1px); } }
@keyframes glitch2 { 0%, 95%, 100% { transform: translate(0); } 96% { transform: translate(2px, -1px); } 97% { transform: translate(-2px, 1px); } }

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.8s forwards;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1s forwards;
}
.stat { display: flex; flex-direction: column; }
.stat-number { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.stat-plus { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--cyan); line-height: 1; }
.stat-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.08); }

.hero-visual {
    position: absolute;
    right: -5%; top: 50%;
    transform: translateY(-50%);
    width: 45%; height: 70%;
    z-index: 1;
    pointer-events: none;
}
#pixelMosaic { width: 100%; height: 100%; position: relative; }

.scroll-indicator {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 1.5s forwards;
}
.scroll-indicator span { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--cyan), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* Hero service cards row on homepage */
.hero-services {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.hero-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mini-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mini-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.mini-card-icon {
    width: 48px; height: 48px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    transition: color 0.4s;
}

.mini-card:nth-child(1):hover .mini-card-icon { color: var(--cyan); }
.mini-card:nth-child(2):hover .mini-card-icon { color: var(--pink); }
.mini-card:nth-child(3):hover .mini-card-icon { color: var(--green); }

.mini-card h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.mini-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.mini-card-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}
.mini-card:nth-child(1):hover .mini-card-link { color: var(--cyan); }
.mini-card:nth-child(2):hover .mini-card-link { color: var(--pink); }
.mini-card:nth-child(3):hover .mini-card-link { color: var(--green); }

.mini-card-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    transition: width 0.4s var(--ease-out-expo);
}
.mini-card:nth-child(1):hover .mini-card-line { width: 100%; background: var(--cyan); }
.mini-card:nth-child(2):hover .mini-card-line { width: 100%; background: var(--pink); }
.mini-card:nth-child(3):hover .mini-card-line { width: 100%; background: var(--green); }

/* CTA Banner (homepage bottom) */
.cta-banner {
    padding: 80px 0 100px;
    position: relative;
    z-index: 2;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--cyan), var(--pink), var(--green));
}

.cta-box h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.cta-box p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 0.95rem;
}

.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* =============================================
   SERVICES PAGE (servicii.html)
   ============================================= */
.services-content {
    padding: 0 0 100px;
    position: relative;
    z-index: 2;
}

.service-card-full {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.service-card-full:last-child { border-bottom: none; }

.service-card-full.reverse { direction: rtl; }
.service-card-full.reverse > * { direction: ltr; }

.service-visual {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-visual-icon {
    width: 120px; height: 120px;
    color: var(--text-muted);
    opacity: 0.3;
    transition: all 0.5s var(--ease-out-expo);
}

.service-card-full:hover .service-visual-icon {
    opacity: 0.6;
    transform: scale(1.05);
}

.service-visual-pixels {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-number {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.025);
    line-height: 1;
    margin-bottom: -16px;
}

.service-info h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.service-info p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: var(--text-secondary);
}

.feat-pixel {
    width: 6px; height: 6px;
    flex-shrink: 0;
}
.feat-cyan { background: var(--cyan); }
.feat-pink { background: var(--pink); }
.feat-green { background: var(--green); }

/* =============================================
   ABOUT PAGE (despre.html)
   ============================================= */
.about-content {
    padding: 0 0 100px;
    position: relative;
    z-index: 2;
}

.about-intro {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-text:last-child { margin-bottom: 0; }

#pixelArtDisplay {
    width: 320px; height: 320px;
    position: relative;
    margin: 0 auto;
}

.visual-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
    width: 100%;
    justify-content: center;
}
.label-dot { width: 6px; height: 6px; background: var(--green); animation: pixelBlink 2s infinite 0.5s; }

.about-values {
    padding-top: 80px;
}

.about-values-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 40px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out-expo);
}
.value-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.value-icon {
    display: grid;
    grid-template-columns: repeat(2, 12px);
    grid-template-rows: repeat(2, 12px);
    gap: 3px;
    margin-bottom: 20px;
}
.pixel-block { width: 12px; height: 12px; }

.value-card:nth-child(1) .pixel-block:nth-child(1) { background: var(--cyan); }
.value-card:nth-child(1) .pixel-block:nth-child(2) { background: var(--cyan); opacity: 0.5; }
.value-card:nth-child(1) .pixel-block:nth-child(3) { background: var(--cyan); opacity: 0.25; }

.value-card:nth-child(2) .pixel-block:nth-child(1) { background: var(--pink); }
.value-card:nth-child(2) .pixel-block:nth-child(2) { background: var(--pink); opacity: 0.5; }
.value-card:nth-child(2) .pixel-block:nth-child(3) { background: var(--pink); opacity: 0.25; }

.value-card:nth-child(3) .pixel-block:nth-child(1) { background: var(--green); }
.value-card:nth-child(3) .pixel-block:nth-child(2) { background: var(--green); opacity: 0.5; }
.value-card:nth-child(3) .pixel-block:nth-child(3) { background: var(--green); opacity: 0.25; }

.value-card h4 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   PROCESS PAGE (proces.html)
   ============================================= */
.process-content {
    padding: 0 0 100px;
    position: relative;
    z-index: 2;
}

.process-timeline {
    max-width: 760px;
    position: relative;
    padding-top: 20px;
}

.timeline-line {
    position: absolute;
    left: 24px; top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--cyan), var(--pink), var(--green), var(--yellow), transparent);
    opacity: 0.2;
}

.process-step {
    display: flex;
    gap: 40px;
    margin-bottom: 64px;
    position: relative;
}

.step-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.marker-pixel {
    width: 12px; height: 12px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:nth-child(2) .marker-pixel { background: var(--cyan); }
.process-step:nth-child(3) .marker-pixel { background: var(--pink); }
.process-step:nth-child(4) .marker-pixel { background: var(--green); }
.process-step:nth-child(5) .marker-pixel { background: var(--yellow); }

.process-step:hover .marker-pixel { transform: scale(1.5); }

.step-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.step-content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 32px;
    flex: 1;
    transition: all 0.4s var(--ease-out-expo);
}

.process-step:hover .step-content {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.08);
}

.step-content h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* =============================================
   CONTACT PAGE (contact.html)
   ============================================= */
.contact-content {
    padding: 0 0 100px;
    position: relative;
    z-index: 2;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 500px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--bg-card);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.contact-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
}
.contact-btn.whatsapp::before { background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), transparent); }
.contact-btn.email::before { background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), transparent); }
.contact-btn:hover::before { opacity: 1; }
.contact-btn:hover { border-color: rgba(255, 255, 255, 0.12); transform: translateX(8px); }

.contact-btn-icon {
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-btn.whatsapp .contact-btn-icon { color: #25D366; }
.contact-btn.email .contact-btn-icon { color: var(--cyan); }
.contact-btn-icon svg { width: 30px; height: 30px; }

.contact-btn-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    position: relative;
    z-index: 1;
}
.cbt-label { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.cbt-action { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); letter-spacing: 0.02em; }

.contact-btn-pixel {
    position: absolute;
    right: 28px; top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    opacity: 0;
    transition: all 0.3s var(--ease-out-expo);
}
.contact-btn.whatsapp:hover .contact-btn-pixel { opacity: 1; background: #25D366; }
.contact-btn.email:hover .contact-btn-pixel { opacity: 1; background: var(--cyan); }

/* Contact Side */
.contact-side { padding-top: 0; }

#contactPixelArt { width: 220px; height: 220px; margin-bottom: 40px; position: relative; }

.contact-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.info-block { display: flex; flex-direction: column; gap: 4px; }
.ib-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.ib-value { font-size: 0.95rem; color: var(--text-secondary); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: 48px 0 32px;
    position: relative;
    z-index: 2;
    margin-top: auto;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 6px; }
.footer-logo-text { font-family: var(--font-mono); font-weight: 700; font-size: 0.88rem; margin-left: 6px; letter-spacing: 0.03em; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--text-muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { width: 100%; text-align: center; }
.footer-copy span { font-size: 0.78rem; color: var(--text-muted); }
.footer-pixel-line {
    height: 3px;
    background: repeating-linear-gradient(to right,
        var(--cyan) 0px, var(--cyan) 8px, transparent 8px, transparent 12px,
        var(--pink) 12px, var(--pink) 20px, transparent 20px, transparent 24px,
        var(--green) 24px, var(--green) 32px, transparent 32px, transparent 36px);
    opacity: 0.3;
    margin-top: 24px;
}

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
.floating-wa {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 999;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.floating-wa svg { width: 28px; height: 28px; color: #fff; }
.floating-wa:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4); }
.floating-wa-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: waPulse 2s infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease-out-expo);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-services-grid { grid-template-columns: 1fr 1fr; }
    .hero-services-grid .mini-card:nth-child(3) { grid-column: span 2; max-width: 500px; margin: 0 auto; }
    .hero-visual { opacity: 0.3; }
    .service-card-full { grid-template-columns: 1fr; gap: 30px; }
    .service-card-full.reverse { direction: ltr; }
    .about-intro { gap: 50px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .cta-box { flex-direction: column; text-align: center; padding: 48px 36px; }
    .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
    :root { --nav-height: 64px; }
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero { padding: calc(var(--nav-height) + 20px) 0 80px; }
    .hero-title { font-size: clamp(2.6rem, 10vw, 4rem); }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .stat-divider { display: none; }
    .hero-visual { display: none; }
    .hero-services-grid { grid-template-columns: 1fr; }
    .hero-services-grid .mini-card:nth-child(3) { grid-column: auto; max-width: none; }
    .about-intro { grid-template-columns: 1fr; gap: 40px; }
    #pixelArtDisplay { width: 240px; height: 240px; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .service-features { grid-template-columns: 1fr; }
    .process-step { gap: 24px; }
    .scroll-indicator { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
    .page-header { padding: calc(var(--nav-height) + 40px) 0 40px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn { justify-content: center; width: 100%; }
    .contact-btn { padding: 20px; }
    .floating-wa { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .floating-wa svg { width: 24px; height: 24px; }
    .cta-box { padding: 36px 24px; }
    .cta-actions { flex-direction: column; width: 100%; }
}
