
:root {
    --bg: #05070d;
    --bg-soft: #0a0f1f;
    --card: rgba(255, 255, 255, 0.07);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #f8fafc;
    --muted: #a7b0c4;
    --primary: #7c3aed;
    --secondary: #06b6d4;
    --accent: #f97316;
    --success: #22c55e;
    --radius: 28px;
    --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.28), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.22), transparent 30%),
    radial-gradient(circle at 50% 80%, rgba(249, 115, 22, 0.13), transparent 36%);
    pointer-events: none;
    z-index: -3;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 80%);
    pointer-events: none;
    z-index: -2;
}

a {
    color: inherit;
    text-decoration: none;
}

.noise {
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.35'/%3E%3C/svg%3E");
    opacity: 0.06;
    pointer-events: none;
    z-index: -1;
}

.navbar {
    width: min(1180px, calc(100% - 32px));
    position: fixed;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(5, 7, 13, 0.68);
    backdrop-filter: blur(22px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.55);
}

.nav-links {
    display: flex;
    gap: 24px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.nav-links a {
    transition: 0.25s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nav-cta {
    padding: 11px 18px;
    background: #fff;
    color: #05070d;
    font-size: 0.9rem;
}

.nav-cta:hover,
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 150px 16px 70px;
}

.hero-inner {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    margin-bottom: 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 700;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

h1 {
    font-size: clamp(3.1rem, 7vw, 7.2rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    margin-bottom: 28px;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 5%, #a78bfa 42%, #22d3ee 70%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 650px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.75;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 42px;
}

.btn-primary {
    min-height: 58px;
    padding: 0 26px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 18px 50px rgba(124, 58, 237, 0.35);
}

.btn-secondary {
    min-height: 58px;
    padding: 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    backdrop-filter: blur(16px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 650px;
}

.stat-card {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
}

.stat-card strong {
    display: block;
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.stat-card span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.cinema-stage {
    position: relative;
    height: 620px;
    perspective: 1200px;
}

.orb {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    filter: blur(20px);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
}

.orb.one {
    top: 40px;
    right: 40px;
    background: rgba(124, 58, 237, 0.32);
}

.orb.two {
    bottom: 80px;
    left: 10px;
    background: rgba(6, 182, 212, 0.24);
    animation-delay: -3s;
}

.main-screen {
    position: absolute;
    top: 70px;
    left: 50%;
    width: min(460px, 92vw);
    min-height: 430px;
    transform: translateX(-50%) rotateY(-12deg) rotateX(8deg);
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: screenFloat 7s ease-in-out infinite;
}

.screen-top {
    height: 58px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.screen-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.screen-content {
    padding: 26px;
}

.screen-hero {
    height: 150px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.75), rgba(6, 182, 212, 0.55)),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.8), transparent 16%);
    margin-bottom: 18px;
    position: relative;
    overflow: hidden;
}

.screen-hero::after {
    content: '';
    position: absolute;
    inset: auto -40px -50px auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
}

.line {
    height: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    margin-bottom: 12px;
}

.line.big {
    width: 82%;
}

.line.medium {
    width: 66%;
}

.line.small {
    width: 42%;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
}

.mini-card {
    height: 88px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-card {
    position: absolute;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(10, 15, 31, 0.74);
    backdrop-filter: blur(18px);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-a {
    left: 0;
    top: 110px;
    width: 190px;
    padding: 18px;
}

.floating-card.card-b {
    right: 0;
    bottom: 105px;
    width: 210px;
    padding: 18px;
    animation-delay: -2s;
}

.floating-card small {
    color: var(--muted);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.floating-card strong {
    font-size: 1.8rem;
    letter-spacing: -0.05em;
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 110px 0;
    position: relative;
}

.section-kicker {
    color: #67e8f9;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 900;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -0.07em;
    max-width: 850px;
    margin-bottom: 20px;
}

.section-lead {
    color: var(--muted);
    max-width: 720px;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 44px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    min-height: 280px;
    padding: 26px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.28);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -120px -120px auto auto;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.2);
    transition: 0.35s ease;
}

.service-card:hover::before {
    transform: scale(1.35);
    background: rgba(6, 182, 212, 0.24);
}

.icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.projects {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.project-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 26px;
    align-items: center;
    min-height: 420px;
    padding: 26px;
    border-radius: 36px;
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.project-preview {
    height: 330px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.55), rgba(6, 182, 212, 0.38)),
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%),
    #101827;
    background-size: auto, 24px 24px, auto;
    position: relative;
    overflow: hidden;
}

.project-preview::before,
.project-preview::after {
    content: '';
    position: absolute;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.project-content h3 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    margin-bottom: 18px;
}

.project-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 22px;
    max-width: 580px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #dbeafe;
    font-size: 0.82rem;
    font-weight: 700;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 26px;
    min-height: 220px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    background: rgba(255, 255, 255, 0.055);
}

.step::before {
    counter-increment: step;
    content: '0' counter(step);
    display: block;
    font-size: 0.8rem;
    color: #67e8f9;
    font-weight: 900;
    margin-bottom: 34px;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
}

.step p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.92rem;
}

.cinematic-cta {
    margin: 90px auto 40px;
    width: min(1180px, calc(100% - 32px));
    min-height: 520px;
    display: grid;
    place-items: center;
    text-align: center;
    border-radius: 44px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: radial-gradient(circle at 25% 25%, rgba(124, 58, 237, 0.35), transparent 30%),
    radial-gradient(circle at 78% 38%, rgba(6, 182, 212, 0.25), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    padding: 40px 20px;
}

.cinematic-cta::before {
    content: '';
    position: absolute;
    width: 160%;
    height: 160%;
    background: conic-gradient(from 90deg, transparent, rgba(255, 255, 255, 0.12), transparent 30%);
    animation: spin 12s linear infinite;
    opacity: 0.55;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
}

.cta-content h2 {
    font-size: clamp(2.6rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.08em;
    margin-bottom: 28px;
}

.cta-content p {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0 auto 32px;
    max-width: 680px;
}

footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.92rem;
}
.parallax {
    will-change: transform;
}

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

@keyframes screenFloat {
    0%, 100% {
        transform: translateX(-50%) rotateY(-12deg) rotateX(8deg) translateY(0);
    }
    50% {
        transform: translateX(-50%) rotateY(-7deg) rotateX(6deg) translateY(-16px);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 980px) {
    .nav-links {
        display: none;
    }

    .hero-inner,
    .project-card {
        grid-template-columns: 1fr;
    }

    .cinema-stage {
        height: 560px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .navbar {
        width: calc(100% - 20px);
    }

    .brand span {
        font-size: 0.95rem;
    }

    .nav-cta {
        padding: 10px 14px;
        font-size: 0.82rem;
    }

    .hero {
        padding-top: 130px;
    }

    h1 {
        font-size: clamp(3rem, 18vw, 5.2rem);
    }

    .hero-stats,
    .services-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    .cinema-stage {
        height: 520px;
    }

    .floating-card.card-a,
    .floating-card.card-b {
        display: none;
    }

    .main-screen {
        width: 100%;
        transform: translateX(-50%) rotateY(0) rotateX(0);
    }

    footer {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: grid;
    place-items: center;

    background:
        radial-gradient(circle at 50% 40%, rgba(124,58,237,0.28), transparent 34%),
        #05070d;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    width: min(560px, calc(100% - 40px));
    text-align: center;
}

.loader-kicker {
    display: inline-block;
    margin-bottom: 18px;

    color: #67e8f9;

    text-transform: uppercase;
    letter-spacing: 0.22em;

    font-size: 0.78rem;
    font-weight: 900;
}

.loader h2 {
    font-size: clamp(2.2rem, 6vw, 5rem);

    line-height: 0.92;
    letter-spacing: -0.08em;

    margin-bottom: 28px;
}

.loader-bar {
    height: 7px;

    border-radius: 999px;
    overflow: hidden;

    background: rgba(255,255,255,0.1);
}

.loader-bar span {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #7c3aed,
            #06b6d4,
            #f97316
        );

    transform-origin: left;

    animation: loaderFill 1.4s ease forwards;
}

@keyframes loaderFill {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;

    height: 3px;
    width: 0%;

    z-index: 9998;

    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f97316);
    box-shadow: 0 0 22px rgba(6,182,212,0.75);
}
.cursor,
.cursor-dot {
    position: fixed;

    top: 0;
    left: 0;

    pointer-events: none;

    z-index: 9999;

    border-radius: 50%;
}

.cursor {
    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,0.4);

    transform: translate(-50%, -50%);

    transition:
        width 0.25s ease,
        height 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;

    mix-blend-mode: difference;
}

.cursor-dot {
    width: 7px;
    height: 7px;

    background: white;

    transform: translate(-50%, -50%);
}

.cursor.active {
    width: 72px;
    height: 72px;

    border-color: rgba(103,232,249,0.7);

    background: rgba(103,232,249,0.08);
}
.hero::before {
    content: "PEDRO STUDIO WEB";

    position: absolute;
    left: 50%;
    bottom: 1%;

    transform: translateX(-50%);

    font-size: clamp(4rem, 16vw, 15rem);
    font-weight: 900;
    letter-spacing: -0.1em;

    color: rgba(255,255,255,0.035);

    white-space: nowrap;
    pointer-events: none;

    z-index: -1;

    animation: heroGhost 12s ease-in-out infinite;
}
.marquee-section {
    width: 100%;

    overflow: hidden;

    padding: 28px 0;

    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);

    background: rgba(255,255,255,0.03);
}

.marquee-track {
    display: flex;
    gap: 36px;

    width: max-content;

    animation: marquee 24s linear infinite;
}

.marquee-track span {
    font-size: clamp(1.6rem, 4vw, 3.2rem);

    line-height: 1;
    font-weight: 900;

    letter-spacing: -0.06em;

    color: rgba(255,255,255,0.8);

    white-space: nowrap;
}

.marquee-track span:nth-child(even) {
    color: transparent;

    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}
.service-card,
.project-card,
.stat-card,
.step {
    transform-style: preserve-3d;
    will-change: transform;
}

.service-card:hover,
.project-card:hover,
.stat-card:hover,
.step:hover {
    box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}
.spotlight {
    position: fixed;
    inset: 0;

    pointer-events: none;
    z-index: 1;

    background: radial-gradient(
        600px circle at var(--x, 50%) var(--y, 50%),
        rgba(124,58,237,0.16),
        transparent 42%
    );
}
.section {
    isolation: isolate;
}

.section::before {
    content: "";

    position: absolute;
    top: 80px;
    right: -140px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(124,58,237,0.16);
    filter: blur(70px);

    z-index: -1;
}

.section:nth-of-type(even)::before {
    left: -140px;
    right: auto;

    background: rgba(6,182,212,0.14);
}
.section-title {
    position: relative;
}

.section-title::after {
    content: "";

    display: block;

    width: 90px;
    height: 5px;

    margin-top: 24px;

    border-radius: 999px;

    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f97316);
    box-shadow: 0 0 25px rgba(6,182,212,0.5);
}
.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(circle at 20% 20%, rgba(124,58,237,0.18), transparent 22%),
        radial-gradient(circle at 80% 30%, rgba(6,182,212,0.14), transparent 24%),
        radial-gradient(circle at 50% 80%, rgba(249,115,22,0.10), transparent 26%);

    animation: cinematicBreath 8s ease-in-out infinite;

    pointer-events: none;

    z-index: -2;
}

@keyframes cinematicBreath {

    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }

}
.navbar.scrolled {
    background: rgba(5, 7, 13, 0.92);

    border-color: rgba(255,255,255,0.18);

    box-shadow:
        0 20px 70px rgba(0,0,0,0.45);

    backdrop-filter: blur(28px);
}
.reveal-text {
    position: relative;

    overflow: hidden;
}

.reveal-text span {
    display: block;

    transform: translateY(120%);

    opacity: 0;

    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 1s ease;
}

.reveal-text.visible span {
    transform: translateY(0);
    opacity: 1;
}
.btn-primary,
.nav-cta {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.nav-cta::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );

    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.btn-primary:hover::before,
.nav-cta:hover::before {
    left: 140%;
}
.tech-grid {
    position: fixed;
    inset: 0;

    z-index: -5;

    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);

    background-size: 80px 80px;

    mask-image:
        radial-gradient(circle at center, black 35%, transparent 90%);

    animation: gridMove 18s linear infinite;

    opacity: 0.7;

    pointer-events: none;
}

@keyframes gridMove {

    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(80px);
    }

}
.energy-lines {
    position: fixed;
    inset: 0;
    z-index: -4;
    pointer-events: none;
    overflow: hidden;
}

.energy-lines span {
    position: absolute;
    top: -20%;
    width: 1px;
    height: 140%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(103,232,249,0.45),
        transparent
    );
    filter: blur(0.4px);
    opacity: 0.45;
    animation: energyLine 8s linear infinite;
}

.energy-lines span:nth-child(1) {
    left: 18%;
}

.energy-lines span:nth-child(2) {
    left: 52%;
    animation-delay: -3s;
}

.energy-lines span:nth-child(3) {
    left: 83%;
    animation-delay: -5s;
}

@keyframes energyLine {
    from {
        transform: translateY(-20%) rotate(12deg);
    }

    to {
        transform: translateY(20%) rotate(12deg);
    }
}
.particles {
    position: fixed;
    inset: 0;

    z-index: -3;

    overflow: hidden;

    pointer-events: none;
}

.particles span {
    position: absolute;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: rgba(255,255,255,0.8);

    box-shadow:
        0 0 12px rgba(103,232,249,0.9),
        0 0 30px rgba(103,232,249,0.4);

    animation: particleFloat linear infinite;
}

.particles span:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: -2s;
}

.particles span:nth-child(2) {
    left: 22%;
    animation-duration: 18s;
    animation-delay: -6s;
}

.particles span:nth-child(3) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: -3s;
}

.particles span:nth-child(4) {
    left: 48%;
    animation-duration: 20s;
    animation-delay: -9s;
}

.particles span:nth-child(5) {
    left: 63%;
    animation-duration: 16s;
    animation-delay: -4s;
}

.particles span:nth-child(6) {
    left: 76%;
    animation-duration: 13s;
    animation-delay: -7s;
}

.particles span:nth-child(7) {
    left: 88%;
    animation-duration: 19s;
    animation-delay: -5s;
}

.particles span:nth-child(8) {
    left: 95%;
    animation-duration: 15s;
    animation-delay: -8s;
}

@keyframes particleFloat {

    from {
        transform:
            translateY(110vh)
            scale(0.7);

        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    to {
        transform:
            translateY(-10vh)
            scale(1.4);

        opacity: 0;
    }

}
.aurora {
    position: absolute;
    inset: 0;

    z-index: -2;

    overflow: hidden;

    filter: blur(70px);

    pointer-events: none;
}

.aurora::before,
.aurora::after {
    content: "";

    position: absolute;

    width: 55vw;
    height: 55vw;

    border-radius: 50%;

    opacity: 0.22;

    mix-blend-mode: screen;
}

.aurora::before {
    top: -10%;
    left: -10%;

    background:
        radial-gradient(circle,
            rgba(124,58,237,0.9),
            transparent 65%);

    animation: auroraMoveOne 16s ease-in-out infinite;
}

.aurora::after {
    bottom: -20%;
    right: -10%;

    background:
        radial-gradient(circle,
            rgba(6,182,212,0.9),
            transparent 65%);

    animation: auroraMoveTwo 18s ease-in-out infinite;
}

@keyframes auroraMoveOne {

    0%, 100% {
        transform:
            translate(0,0)
            scale(1);
    }

    50% {
        transform:
            translate(120px, 80px)
            scale(1.2);
    }

}

@keyframes auroraMoveTwo {

    0%, 100% {
        transform:
            translate(0,0)
            scale(1);
    }

    50% {
        transform:
            translate(-100px, -60px)
            scale(1.15);
    }

}
.service-card,
.project-card,
.step,
.stat-card {
    position: relative;
}

.service-card::after,
.project-card::after,
.step::after,
.stat-card::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;
    padding: 1px;

    background: linear-gradient(
        135deg,
        transparent,
        rgba(103,232,249,0.55),
        rgba(124,58,237,0.45),
        transparent
    );

    opacity: 0;

    pointer-events: none;

    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    mask-composite: exclude;

    transition: opacity 0.35s ease;
}

.service-card:hover::after,
.project-card:hover::after,
.step:hover::after,
.stat-card:hover::after {
    opacity: 1;
}
.hero-scanlines {
    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    overflow: hidden;

    opacity: 0.12;

    mix-blend-mode: soft-light;
}

.hero-scanlines::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.08) 0px,
            rgba(255,255,255,0.08) 1px,
            transparent 2px,
            transparent 6px
        );

    animation: scanMove 12s linear infinite;
}

@keyframes scanMove {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(120px);
    }

}
.brand {
    position: relative;
}

.brand::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 140%;
    height: 180%;

    transform:
        translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(103,232,249,0.22),
            transparent 70%
        );

    filter: blur(18px);

    z-index: -1;

    animation: brandPulse 4s ease-in-out infinite;
}

.brand-mark {
    position: relative;
    overflow: hidden;
}

.brand-mark::before {
    content: "";

    position: absolute;
    inset: -40%;

    background:
        conic-gradient(
            from 0deg,
            transparent,
            rgba(255,255,255,0.5),
            transparent 30%
        );

    animation: logoSpin 5s linear infinite;
}

@keyframes logoSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes brandPulse {

    0%, 100% {
        opacity: 0.7;
        transform:
            translate(-50%, -50%)
            scale(1);
    }

    50% {
        opacity: 1;
        transform:
            translate(-50%, -50%)
            scale(1.12);
    }

}
.brand-logo {
    width: 58px;

    filter:
        drop-shadow(0 0 12px rgba(103,232,249,0.45))
        drop-shadow(0 0 30px rgba(124,58,237,0.25));

    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.brand-logo:hover {
    transform:
        scale(1.08)
        rotate(-2deg);

    filter:
        drop-shadow(0 0 20px rgba(103,232,249,0.7))
        drop-shadow(0 0 40px rgba(124,58,237,0.45));
}
.brand {
    gap: 14px;
}

.brand span {
    font-size: 1.05rem;
    letter-spacing: -0.03em;
    background: linear-gradient(90deg, #ffffff, #67e8f9, #a3e635);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar {
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

.navbar:hover {
    transform: translateX(-50%) translateY(-2px);
}
.digital-rain {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -1;

    opacity: 0.14;
}

.digital-rain::before {
    content:
        "010101010101010101010101010101010101010101010101010101010101";

    position: absolute;

    top: -120%;

    left: 8%;

    writing-mode: vertical-rl;

    font-size: 12px;
    line-height: 1.1;

    letter-spacing: 3px;

    color: rgba(103,232,249,0.55);

    text-shadow:
        0 0 12px rgba(103,232,249,0.45);

    animation: digitalRain 16s linear infinite;
}

.digital-rain::after {
    content:
        "101010101010101010101010101010101010101010101010101010101010";

    position: absolute;

    top: -140%;

    right: 12%;

    writing-mode: vertical-rl;

    font-size: 12px;
    line-height: 1.1;

    letter-spacing: 3px;

    color: rgba(163,230,53,0.45);

    text-shadow:
        0 0 10px rgba(163,230,53,0.35);

    animation: digitalRain 19s linear infinite;
}

@keyframes digitalRain {

    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(220%);
    }

}
.system-badge {
    position: absolute;
    right: 7%;
    top: 18%;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 16px;
    border-radius: 999px;

    background: rgba(5, 7, 13, 0.55);
    border: 1px solid rgba(103,232,249,0.22);
    backdrop-filter: blur(18px);

    color: rgba(255,255,255,0.82);
    font-size: 0.82rem;
    font-weight: 800;

    box-shadow: 0 0 35px rgba(6,182,212,0.18);

    animation: badgeFloat 5s ease-in-out infinite;
}

.system-badge span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #22c55e;
    box-shadow:
        0 0 0 7px rgba(34,197,94,0.12),
        0 0 18px rgba(34,197,94,0.8);
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}
.hud-panel {
    position: absolute;

    left: 6%;
    bottom: 10%;

    width: 260px;

    padding: 18px;

    border-radius: 24px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(255,255,255,0.12);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.08);

    overflow: hidden;

    animation: hudFloat 7s ease-in-out infinite;
}

.hud-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(103,232,249,0.08),
            transparent
        );

    transform: translateX(-100%);
    animation: hudScan 5s linear infinite;
}

.hud-top {
    display: flex;
    gap: 8px;

    margin-bottom: 16px;
}

.hud-top span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: rgba(255,255,255,0.5);
}

.hud-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hud-line {
    height: 10px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgba(103,232,249,0.8),
            rgba(124,58,237,0.5)
        );
}

.hud-line.medium {
    width: 70%;
}

.hud-line.small {
    width: 45%;
}

.hud-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    margin-top: 10px;
}

.hud-grid div {
    height: 58px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.08),
            rgba(255,255,255,0.03)
        );

    border: 1px solid rgba(255,255,255,0.08);
}

@keyframes hudFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }

}

@keyframes hudScan {

    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(220%);
    }

}
@keyframes heroGhost {

    0%, 100% {
        transform:
            translateX(-50%)
            translateY(0px);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-18px);
    }

}
.section,
.cinematic-cta {
    position: relative;
}

.section::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 0;

    width: min(900px, 90%);
    height: 1px;

    transform: translateX(-50%);

    background: linear-gradient(
        90deg,
        transparent,
        rgba(103,232,249,0.45),
        rgba(124,58,237,0.35),
        transparent
    );

    box-shadow:
        0 0 28px rgba(103,232,249,0.25);

    opacity: 0.65;
}
.cursor.project-hover::after {
    content: "Ver proyecto";

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    font-size: 0.68rem;
    font-weight: 900;
    white-space: nowrap;

    color: #ffffff;
}
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: 0.35;
}

.glitch {
    position: relative;

    animation: softGlitch 6s infinite;
}

@keyframes softGlitch {

    0%, 100% {
        text-shadow:
            0 0 0 rgba(103,232,249,0),
            0 0 0 rgba(163,230,53,0);
    }

    20% {
        text-shadow:
            2px 0 rgba(103,232,249,0.35),
            -2px 0 rgba(163,230,53,0.2);
    }

    21% {
        text-shadow:
            0 0 0 rgba(103,232,249,0),
            0 0 0 rgba(163,230,53,0);
    }

    52% {
        text-shadow:
            -2px 0 rgba(103,232,249,0.3),
            2px 0 rgba(163,230,53,0.25);
    }

    53% {
        text-shadow:
            0 0 0 rgba(103,232,249,0),
            0 0 0 rgba(163,230,53,0);
    }

}
@keyframes glitchOne {

    0% {
        clip-path: inset(0 0 85% 0);
    }

    20% {
        clip-path: inset(20% 0 45% 0);
    }

    40% {
        clip-path: inset(65% 0 5% 0);
    }

    60% {
        clip-path: inset(10% 0 70% 0);
    }

    80% {
        clip-path: inset(50% 0 20% 0);
    }

    100% {
        clip-path: inset(0 0 90% 0);
    }

}

@keyframes glitchTwo {

    0% {
        clip-path: inset(90% 0 0 0);
    }

    20% {
        clip-path: inset(40% 0 30% 0);
    }

    40% {
        clip-path: inset(5% 0 75% 0);
    }

    60% {
        clip-path: inset(70% 0 10% 0);
    }

    80% {
        clip-path: inset(25% 0 45% 0);
    }

    100% {
        clip-path: inset(95% 0 0 0);
    }

}
.cursor-trail {
    position: fixed;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(103,232,249,0.16),
            transparent 70%
        );

    pointer-events: none;

    z-index: 9990;

    transform:
        translate(-50%, -50%);

    filter: blur(20px);

    mix-blend-mode: screen;

    transition:
        transform 0.08s linear;
}
.hero-mouse-glow {
    position: absolute;
    inset: 0;

    pointer-events: none;
    z-index: -1;

    background: radial-gradient(
        500px circle at var(--mx, 50%) var(--my, 50%),
        rgba(103,232,249,0.18),
        transparent 45%
    );

    opacity: 0.75;
    mix-blend-mode: screen;
}
.hero-frame {
    position: absolute;
    inset: 40px;

    pointer-events: none;
    z-index: -1;
}

.frame-line {
    position: absolute;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(103,232,249,0.6),
        transparent
    );

    box-shadow:
        0 0 18px rgba(103,232,249,0.25);

    opacity: 0.7;
}

.frame-line.top,
.frame-line.bottom {
    height: 1px;
    width: 100%;
}

.frame-line.left,
.frame-line.right {
    width: 1px;
    height: 100%;
}

.frame-line.top {
    top: 0;
    left: 0;

    animation: frameGlowX 5s linear infinite;
}

.frame-line.bottom {
    bottom: 0;
    left: 0;

    animation: frameGlowX 7s linear infinite reverse;
}

.frame-line.left {
    left: 0;
    top: 0;

    animation: frameGlowY 6s linear infinite;
}

.frame-line.right {
    right: 0;
    top: 0;

    animation: frameGlowY 8s linear infinite reverse;
}

@keyframes frameGlowX {

    0% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.25;
    }

}

@keyframes frameGlowY {

    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.9;
    }

    100% {
        opacity: 0.2;
    }

}
.service-card,
.project-card,
.step,
.stat-card {
    overflow: hidden;
}

.service-card::before,
.project-card::before,
.step::before,
.stat-card::before {
    content: "";

    position: absolute;
    inset: -120%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(103,232,249,0.12),
            transparent
        );

    transform: rotate(12deg);

    opacity: 0;

    transition:
        opacity 0.4s ease;
}

.service-card:hover::before,
.project-card:hover::before,
.step:hover::before,
.stat-card:hover::before {
    opacity: 1;

    animation: cardScanner 1.8s linear infinite;
}

@keyframes cardScanner {

    from {
        transform:
            translateX(-40%)
            rotate(12deg);
    }

    to {
        transform:
            translateX(40%)
            rotate(12deg);
    }

}
.section-title,
.cta-content h2,
.hero h1 {
    text-shadow:
        0 0 24px rgba(103,232,249,0.08),
        0 0 60px rgba(124,58,237,0.08);
}

.section-title span,
.cta-content h2 span {
    background: linear-gradient(
        120deg,
        #ffffff,
        #dbeafe,
        #67e8f9,
        #ffffff
    );

    background-size: 220% auto;

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;

    animation: titleShine 7s ease-in-out infinite;
}

@keyframes titleShine {
    0%, 100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}
.energy-orbs {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -2;
}

.energy-orbs span {
    position: absolute;

    border-radius: 50%;

    filter: blur(18px);

    opacity: 0.22;

    mix-blend-mode: screen;

    animation: orbFloat infinite ease-in-out;
}

.energy-orbs span:nth-child(1) {
    width: 180px;
    height: 180px;

    background: #7c3aed;

    top: 12%;
    left: 8%;

    animation-duration: 12s;
}

.energy-orbs span:nth-child(2) {
    width: 220px;
    height: 220px;

    background: #06b6d4;

    bottom: 12%;
    right: 10%;

    animation-duration: 15s;
}

.energy-orbs span:nth-child(3) {
    width: 140px;
    height: 140px;

    background: #a3e635;

    top: 40%;
    right: 24%;

    animation-duration: 11s;
}

.energy-orbs span:nth-child(4) {
    width: 160px;
    height: 160px;

    background: #f97316;

    bottom: 24%;
    left: 20%;

    animation-duration: 14s;
}

@keyframes orbFloat {

    0%, 100% {
        transform:
            translateY(0)
            translateX(0)
            scale(1);
    }

    50% {
        transform:
            translateY(-30px)
            translateX(20px)
            scale(1.15);
    }

}
.btn-primary,
.btn-secondary,
.nav-cta {
    transition:
        transform 0.18s ease,
        box-shadow 0.25s ease;
}
.glass-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            rgba(255,255,255,0.08) 0%,
            transparent 18%,
            transparent 52%,
            rgba(255,255,255,0.04) 72%,
            transparent 100%
        );

    mix-blend-mode: soft-light;

    opacity: 0.7;
}
.ambient-text {
    position: fixed;

    top: 50%;
    right: -140px;

    transform:
        translateY(-50%)
        rotate(-90deg);

    font-size: clamp(5rem, 14vw, 12rem);

    font-weight: 900;

    letter-spacing: 0.18em;

    color: rgba(255,255,255,0.025);

    pointer-events: none;

    z-index: -6;

    user-select: none;

    text-transform: uppercase;
}
.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 38px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    z-index: 5;

    opacity: 0.75;

    animation: indicatorFloat 3s ease-in-out infinite;
}

.mouse {
    width: 28px;
    height: 48px;

    border-radius: 999px;

    border: 1px solid rgba(255,255,255,0.35);

    display: flex;
    justify-content: center;

    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 10px;

    border-radius: 999px;

    background: rgba(255,255,255,0.8);

    animation: wheelMove 1.6s ease-in-out infinite;
}

.scroll-indicator small {
    color: rgba(255,255,255,0.6);

    font-size: 0.72rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

@keyframes wheelMove {

    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(12px);
        opacity: 0;
    }

}

@keyframes indicatorFloat {

    0%, 100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-8px);
    }

}
.navbar::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 78%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(103,232,249,0.8),
            rgba(124,58,237,0.55),
            transparent
        );

    box-shadow:
        0 0 18px rgba(103,232,249,0.35);

    opacity: 0.85;
}
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0%;
    height: 2px;

    border-radius: 999px;

    background: linear-gradient(90deg, #67e8f9, #a3e635);

    box-shadow: 0 0 14px rgba(103,232,249,0.55);

    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}
.section,
.cinematic-cta {
    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        filter 0.6s ease;
}

.section:hover,
.cinematic-cta:hover {
    filter:
        drop-shadow(0 0 28px rgba(103,232,249,0.08));
}
.light-beams {
    position: absolute;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -3;
}

.light-beams span {
    position: absolute;

    width: 40vw;
    height: 120vh;

    background:
        linear-gradient(
            to bottom,
            rgba(103,232,249,0.12),
            transparent
        );

    filter: blur(80px);

    opacity: 0.22;

    transform:
        rotate(18deg);

    animation: beamMove 16s ease-in-out infinite;
}

.light-beams span:nth-child(1) {
    left: -10%;
    top: -20%;
}

.light-beams span:nth-child(2) {
    right: -10%;
    bottom: -20%;

    animation-delay: -8s;
}

@keyframes beamMove {

    0%, 100% {
        transform:
            rotate(18deg)
            translateY(0px);
    }

    50% {
        transform:
            rotate(18deg)
            translateY(-40px);
    }

}
.service-card,
.project-card,
.step,
.stat-card {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.service-card:hover,
.project-card:hover,
.step:hover,
.stat-card:hover {
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.12),
            rgba(255,255,255,0.045)
        );
}
.services-grid .service-card:nth-child(1),
.projects .project-card:nth-child(1),
.timeline .step:nth-child(1) {
    transition-delay: 0.05s;
}

.services-grid .service-card:nth-child(2),
.projects .project-card:nth-child(2),
.timeline .step:nth-child(2) {
    transition-delay: 0.15s;
}

.services-grid .service-card:nth-child(3),
.projects .project-card:nth-child(3),
.timeline .step:nth-child(3) {
    transition-delay: 0.25s;
}

.services-grid .service-card:nth-child(4),
.projects .project-card:nth-child(4),
.timeline .step:nth-child(4) {
    transition-delay: 0.35s;
}

.timeline .step:nth-child(5) {
    transition-delay: 0.45s;
}
body.scrolling .aurora::before {
    filter: blur(70px) brightness(1.15);
}

body.scrolling .aurora::after {
    filter: blur(70px) brightness(1.25);
}

.aurora::before,
.aurora::after {
    transition:
        filter 0.6s ease;
}
.hero::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    z-index: -1;

    background:
        radial-gradient(
            circle at center,
            transparent 42%,
            rgba(5,7,13,0.38) 100%
        );
}
.project-card {
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease;
}

.project-card:hover {
    transform: translateY(-8px);
}
.project-card {
    will-change: transform;
    transform-style: preserve-3d;
}
.service-card,
.project-card,
.stat-card,
.step {
    transition:
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}
.service-card,
.project-card,
.stat-card,
.step {
    background:
        radial-gradient(
            500px circle at var(--card-x, 50%) var(--card-y, 50%),
            rgba(103,232,249,0.10),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            rgba(255,255,255,0.085),
            rgba(255,255,255,0.035)
        );
}
.tag {
    position: relative;
    overflow: hidden;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.tag::before {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(103,232,249,0.22),
        transparent
    );

    transform: translateX(-120%);
    transition: transform 0.55s ease;
}

.tag:hover {
    transform: translateY(-3px);

    background: rgba(103,232,249,0.12);
    border-color: rgba(103,232,249,0.35);

    box-shadow:
        0 0 22px rgba(103,232,249,0.18);
}

.tag:hover::before {
    transform: translateX(120%);
}
.film-grain {
    position: fixed;
    inset: 0;

    pointer-events: none;

    z-index: 9999;

    opacity: 0.045;

    background-image:
        url("https://grainy-gradients.vercel.app/noise.svg");

    mix-blend-mode: soft-light;
}
.project-preview {
    position: relative;

    overflow: hidden;

    transition:
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease;
}

.project-card:hover .project-preview {
    transform: scale(1.06);

    filter:
        brightness(1.08)
        contrast(1.05);
}

.project-preview::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.14),
            transparent
        );

    transform:
        translateX(-140%) skewX(-20deg);

    transition:
        transform 1s ease;
}

.project-card:hover .project-preview::after {
    transform:
        translateX(140%) skewX(-20deg);
}
.click-glow {
    position: fixed;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 99999;

    background:
        radial-gradient(
            circle,
            rgba(103,232,249,0.8),
            transparent 70%
        );

    transform:
        translate(-50%, -50%) scale(0);

    opacity: 0;

    filter: blur(1px);
}

.click-glow.active {
    animation: clickPulse 0.7s ease-out;
}

@keyframes clickPulse {

    0% {
        transform:
            translate(-50%, -50%)
            scale(0);

        opacity: 1;
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(16);

        opacity: 0;
    }

}
.project-card {
    position: relative;
}

.project-status {
    position: absolute;
    top: 24px;
    left: 24px;

    z-index: 5;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 12px;
    border-radius: 999px;

    background: rgba(5,7,13,0.62);
    border: 1px solid rgba(34,197,94,0.25);
    backdrop-filter: blur(14px);

    color: rgba(255,255,255,0.82);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.project-status span {
    width: 8px;
    height: 8px;
    border-radius: 50%;

    background: #22c55e;
    box-shadow:
        0 0 0 6px rgba(34,197,94,0.10),
        0 0 16px rgba(34,197,94,0.75);
}
.navbar {
    overflow: hidden;
}

.navbar::after {
    content: "";

    position: absolute;

    top: -120%;
    left: -40%;

    width: 40%;
    height: 320%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.10),
            transparent
        );

    transform:
        rotate(18deg);

    animation: navbarReflection 9s linear infinite;
}

@keyframes navbarReflection {

    0% {
        transform:
            translateX(-180%)
            rotate(18deg);
    }

    100% {
        transform:
            translateX(420%)
            rotate(18deg);
    }

}
.hero-inner::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 700px;
    height: 700px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(103,232,249,0.08),
            rgba(124,58,237,0.05),
            transparent 72%
        );

    filter: blur(40px);

    z-index: -2;

    animation: heroHalo 8s ease-in-out infinite;
}

@keyframes heroHalo {

    0%, 100% {
        transform:
            translate(-50%, -50%)
            scale(1);

        opacity: 0.7;
    }

    50% {
        transform:
            translate(-50%, -50%)
            scale(1.08);

        opacity: 1;
    }

}
.hud-corners {
    position: absolute;
    inset: 0;

    pointer-events: none;

    z-index: -1;
}

.corner {
    position: absolute;

    width: 90px;
    height: 90px;

    border-color: rgba(103,232,249,0.45);

    opacity: 0.55;
}

.corner.top-left {
    top: 40px;
    left: 40px;

    border-top: 1px solid;
    border-left: 1px solid;
}

.corner.top-right {
    top: 40px;
    right: 40px;

    border-top: 1px solid;
    border-right: 1px solid;
}

.corner.bottom-left {
    bottom: 40px;
    left: 40px;

    border-bottom: 1px solid;
    border-left: 1px solid;
}

.corner.bottom-right {
    bottom: 40px;
    right: 40px;

    border-bottom: 1px solid;
    border-right: 1px solid;
}
.hero-coordinates {
    position: absolute;
    left: 42px;
    bottom: 42px;

    display: flex;
    gap: 18px;
    flex-wrap: wrap;

    z-index: 4;

    color: rgba(255,255,255,0.45);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;

    text-transform: uppercase;
    pointer-events: none;
}

.hero-coordinates span {
    padding: 6px 0;
}
@media (max-width: 768px) {
    .cursor,
    .cursor-dot,
    .cursor-trail,
    .spotlight,
    .film-grain,
    .hero-coordinates,
    .hud-panel,
    .system-badge {
        display: none;
    }

    .particles span {
        opacity: 0.45;
    }

    .energy-lines,
    .digital-rain,
    .hero-scanlines {
        opacity: 0.06;
    }

    .hero-frame {
        inset: 18px;
    }

    .hero::before {
        bottom: 5%;
        opacity: 0.65;
    }

    .project-card,
    .service-card,
    .stat-card,
    .step {
        transform: none !important;
    }
}
.project-preview {
    height: 260px;

    border-radius: 26px;

    overflow: hidden;

    position: relative;
}

.project-preview img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.6s ease;
}

.project-card:hover .project-preview img {
    transform: scale(1.08);

    filter:
        brightness(1.08)
        contrast(1.05);
}
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 24px;

    color: #67e8f9;

    text-decoration: none;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        gap 0.3s ease,
        color 0.3s ease;
}

.project-link::after {
    content: "→";

    transition:
        transform 0.3s ease;
}

.project-link:hover {
    gap: 16px;

    color: white;

    transform: translateX(4px);
}

.project-link:hover::after {
    transform: translateX(6px);
}
.project-content {
    position: relative;
    z-index: 5;
}

.project-link {
    position: relative;
    z-index: 20;
}

.project-preview {
    position: relative;
    z-index: 1;
}
.project-preview::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            180deg,
            rgba(5,7,13,0.05),
            rgba(5,7,13,0.35)
        ),
        radial-gradient(
            circle at 70% 20%,
            rgba(103,232,249,0.18),
            transparent 35%
        );

    pointer-events: none;
}
.project-card:hover .project-preview::before {
    background:
        linear-gradient(
            180deg,
            rgba(5,7,13,0.02),
            rgba(5,7,13,0.22)
        ),
        radial-gradient(
            circle at 70% 20%,
            rgba(103,232,249,0.07),
            transparent 42%
        )
}
.project-preview {
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 20px 60px rgba(0,0,0,0.45),
        0 0 80px rgba(103,232,249,0.06);

    isolation: isolate;
}

.project-preview img {
    filter:
        saturate(1.05)
        contrast(1.02);
}

.project-card:hover .project-preview {
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.10),
        0 28px 80px rgba(0,0,0,0.55),
        0 0 120px rgba(103,232,249,0.10);
}
.project-card::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    padding: 1px;

    background:
        linear-gradient(
            140deg,
            rgba(103,232,249,0.35),
            rgba(124,58,237,0.15),
            rgba(163,230,53,0.22)
        );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    opacity: 0.45;

    transition:
        opacity 0.4s ease;

    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}
.floating-whatsapp {
    position: fixed;

    right: 28px;
    bottom: 28px;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #22c55e,
            #16a34a
        );

    color: white;

    z-index: 9999;

    box-shadow:
        0 20px 60px rgba(34,197,94,0.35),
        0 0 40px rgba(34,197,94,0.25);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform:
        translateY(-6px)
        scale(1.05);

    box-shadow:
        0 25px 70px rgba(34,197,94,0.45),
        0 0 60px rgba(34,197,94,0.35);
}

.floating-whatsapp svg {
    width: 30px;
    height: 30px;

    position: relative;
    z-index: 2;
}

.wa-pulse {
    position: absolute;

    inset: 0;

    border-radius: 50%;

    background:
        rgba(34,197,94,0.35);

    animation: waPulse 2.4s infinite;
}

@keyframes waPulse {

    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.9);
        opacity: 0;
    }

}
.footer {
    position: relative;

    width: min(1200px, 92%);

   margin:
   60px auto 40px;

    padding-top: 40px;
}

.footer-line {
    width: 100%;
    height: 1px;

    margin-bottom: 42px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(103,232,249,0.45),
            rgba(124,58,237,0.25),
            transparent
        );

    box-shadow:
        0 0 24px rgba(103,232,249,0.18);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;

    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 72px;

    filter:
        drop-shadow(0 0 16px rgba(103,232,249,0.25));
}

.footer-brand h3 {
    margin-bottom: 6px;

    font-size: 1.2rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.55);

    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 26px;

    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.58);

    text-decoration: none;

    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.footer-links a:hover {
    color: #67e8f9;

    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    gap: 20px;

    flex-wrap: wrap;

    margin-top: 48px;
    padding-top: 26px;

    border-top:
        1px solid rgba(255,255,255,0.06);

    color:
        rgba(255,255,255,0.38);

    font-size: 0.82rem;
}
.project-card,
.service-card,
.stat-card,
.step,
.footer {
    opacity: 0;

    filter: blur(10px);

    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card.visible,
.service-card.visible,
.stat-card.visible,
.step.visible,
.footer.visible {
    opacity: 1;

    filter: blur(0px);
}
