/* ============================================================
   MEJIA SCALING — INDEX PREMIUM ENHANCEMENTS
   UI-UX Pro Max | uipro init --ai antigravity
   ============================================================ */

/* ─── Scroll Progress Bar ─────────────────────────────────── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), #f472b6);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 12px rgba(204, 163, 94, 0.8);
}

/* ─── Custom Cursor ───────────────────────────────────────── */
#cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.2s ease;
    box-shadow: 0 0 10px var(--accent-blue);
}

#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(204, 163, 94, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.2s ease;
}

body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
    width: 52px;
    height: 52px;
    border-color: var(--accent-blue);
    opacity: 0.6;
}

/* ─── Enhanced Background Orbs ───────────────────────────── */
.orb {
    opacity: 0.35;
}

.orb-1 {
    width: 600px;
    height: 600px;
    animation: float-slow 25s infinite alternate ease-in-out;
}

.orb-2 {
    width: 700px;
    height: 700px;
    animation: float-slow 30s infinite alternate-reverse ease-in-out;
    animation-delay: -8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.6) 0%, transparent 70%);
    animation: float-slow 20s infinite alternate ease-in-out;
    animation-delay: -14s;
}

/* Extra orb for depth */
.orb-4 {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(80px);
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: 60%;
    left: 15%;
    animation: float-slow 22s infinite alternate ease-in-out;
    animation-delay: -5s;
}

@keyframes float-slow {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(30px, -40px) scale(1.05); }
    66%  { transform: translate(-20px, 20px) scale(0.97); }
    100% { transform: translate(60px, 30px) scale(1.08); }
}

/* ─── Noise Texture Overlay ──────────────────────────────── */
body::before {
    content: '';
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* ─── Navigation Premium ─────────────────────────────────── */
.glass-nav.modern-nav {
    background: rgba(8, 12, 28, 0.5) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(204, 163, 94, 0.1) !important;
}

.glass-nav.modern-nav.scrolled {
    background: rgba(8, 12, 28, 0.92) !important;
    border-bottom: 1px solid rgba(204, 163, 94, 0.18) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(204, 163, 94, 0.08) !important;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%) !important;
    color: #0A1128 !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(204, 163, 94, 0.35), inset 0 1px 0 rgba(255,255,255,0.2) !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-glow:hover {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 30px rgba(204, 163, 94, 0.55), inset 0 1px 0 rgba(255,255,255,0.2) !important;
}

/* ─── Hero Section Premium ───────────────────────────────── */
.hero-section {
    position: relative;
    overflow: hidden;
}

/* Grid de fondo sutil */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(204, 163, 94, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(204, 163, 94, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
    pointer-events: none;
}

.hero-title, .portfolio-title {
    font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em;
    margin-bottom: 28px !important;
}

.hero-title .gradient-text, .portfolio-title .gradient-text {
    position: relative;
    display: inline-block;
}

.hero-title .gradient-text::after, .portfolio-title .gradient-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
    opacity: 0.5;
    animation: shimmer-line 3s infinite;
}

@keyframes shimmer-line {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50%       { opacity: 0.7; transform: scaleX(1); }
}

.badge {
    background: rgba(204, 163, 94, 0.08) !important;
    border: 1px solid rgba(204, 163, 94, 0.25) !important;
    color: var(--accent-blue) !important;
    backdrop-filter: blur(8px);
    font-size: 0.78rem !important;
    letter-spacing: 2px !important;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    animation: badge-shimmer 3s infinite;
}

@keyframes badge-shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

/* Hero Buttons Upgrade */
.btn-primary {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.9) 100%) !important;
    color: var(--bg-dark) !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 15px 32px !important;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15), inset 0 1px 0 rgba(255,255,255,1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.2px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 35px rgba(255,255,255,0.25), inset 0 1px 0 rgba(255,255,255,1) !important;
}

.btn-primary i {
    transition: transform 0.3s ease !important;
}

.btn-primary:hover i {
    transform: translateX(4px) !important;
}

.btn-secondary {
    border-radius: 10px !important;
    padding: 15px 32px !important;
    border: 1px solid rgba(204, 163, 94, 0.2) !important;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(204,163,94,0.06), rgba(232,195,125,0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(204, 163, 94, 0.45) !important;
    transform: translateY(-3px) !important;
}

.btn-secondary:hover::before {
    opacity: 1;
}

/* Hero Mockup Card Premium */
.mockup-card {
    border-radius: 20px !important;
    border: 1px solid rgba(204, 163, 94, 0.15) !important;
    background: rgba(12, 18, 40, 0.7) !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 25px 60px rgba(0,0,0,0.45),
        0 0 80px rgba(204,163,94,0.08) !important;
    padding: 28px !important;
}

.mockup-card:hover {
    box-shadow:
        0 0 0 1px rgba(204,163,94,0.1),
        0 30px 80px rgba(0,0,0,0.5),
        0 0 120px rgba(204,163,94,0.12) !important;
}

.glow-bar {
    background: linear-gradient(to top, var(--accent-blue), var(--accent-purple)) !important;
    box-shadow: 0 0 25px rgba(204, 163, 94, 0.6), 0 0 50px rgba(204, 163, 94, 0.2) !important;
    animation: bar-pulse 2s infinite alternate;
}

@keyframes bar-pulse {
    0%   { box-shadow: 0 0 15px rgba(204,163,94,0.4); }
    100% { box-shadow: 0 0 35px rgba(204,163,94,0.8), 0 0 60px rgba(204,163,94,0.3); }
}

/* Animate the chart bars */
.mockup-chart .bar {
    animation: bar-grow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.mockup-chart .bar:nth-child(1) { animation-delay: 0.1s; }
.mockup-chart .bar:nth-child(2) { animation-delay: 0.2s; }
.mockup-chart .bar:nth-child(3) { animation-delay: 0.3s; }
.mockup-chart .bar:nth-child(4) { animation-delay: 0.4s; }
.mockup-chart .bar:nth-child(5) { animation-delay: 0.5s; }

@keyframes bar-grow {
    0%   { transform: scaleY(0); transform-origin: bottom; }
    100% { transform: scaleY(1); transform-origin: bottom; }
}

/* ─── Stats Strip (Hero) ─────────────────────────────────── */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-stat-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.hero-stat-value span {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ─── Trust Section — Infinite Marquee ───────────────────── */
.trust-section {
    padding: 70px 0 !important;
    background: rgba(255,255,255,0.018) !important;
    border-top: 1px solid rgba(204,163,94,0.08);
    border-bottom: 1px solid rgba(204,163,94,0.08);
    overflow: hidden !important;
    position: relative !important;
}

.trust-section::before,
.trust-section::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.trust-section::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.trust-section::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark), transparent);
}

.trust-section p {
    font-size: 0.72rem !important;
    letter-spacing: 4px !important;
    color: rgba(255,255,255,0.4) !important;
    margin-bottom: 40px !important;
    text-align: center;
}

/* Marquee Track */
.trust-flex {
    display: flex !important;
    gap: 0 !important;
    animation: marquee-scroll 20s linear infinite;
    width: max-content;
    flex-wrap: nowrap !important;
}

.trust-flex:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo {
    flex-shrink: 0;
    margin: 0 50px !important;
    opacity: 0.5 !important;
    filter: grayscale(0.8) brightness(1.4) !important;
    transition: all 0.4s ease !important;
}

.client-logo:hover {
    opacity: 1 !important;
    filter: grayscale(0) brightness(1) !important;
    transform: translateY(-5px) scale(1.05) !important;
}

.client-logo img {
    height: 90px !important;
}

/* ─── Services Cards Premium ─────────────────────────────── */
.services-section {
    position: relative;
    padding: 120px 0 !important;
}

/* Section number accent */
.section-header {
    position: relative;
}

.section-number {
    font-family: 'Outfit', sans-serif;
    font-size: 7rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
    user-select: none;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem) !important;
    letter-spacing: -0.02em;
}

.glass-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    background: rgba(255,255,255,0.025) !important;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

.service-card {
    padding: 44px 36px !important;
    cursor: default;
    border-radius: 20px !important;
}

.service-card:hover {
    transform: translateY(-12px) !important;
    border-color: rgba(204, 163, 94, 0.25) !important;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.3),
        0 0 0 1px rgba(204,163,94,0.1),
        inset 0 1px 0 rgba(255,255,255,0.07) !important;
}

.service-card.featured {
    background: linear-gradient(145deg,
        rgba(204,163,94,0.07) 0%,
        rgba(232,195,125,0.03) 100%) !important;
    border-color: rgba(204, 163, 94, 0.2) !important;
    box-shadow: 0 0 40px rgba(204,163,94,0.08) !important;
}

.service-card.featured:hover {
    border-color: rgba(204, 163, 94, 0.4) !important;
    box-shadow:
        0 25px 60px rgba(204,163,94,0.15),
        0 0 0 1px rgba(204,163,94,0.2),
        inset 0 1px 0 rgba(204,163,94,0.12) !important;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(204,163,94,0.12), rgba(232,195,125,0.06)) !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: var(--accent-purple) !important;
    color: var(--accent-purple) !important;
    border: 1px solid rgba(204,163,94,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px !important;
    font-size: 1.6rem !important;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(204,163,94,0.2), rgba(232,195,125,0.1)) !important;
    border-color: rgba(204,163,94,0.3);
    box-shadow: 0 0 25px rgba(204,163,94,0.2);
    transform: scale(1.1) rotate(-3deg);
    -webkit-text-fill-color: var(--accent-blue) !important;
    color: var(--accent-blue) !important;
}

.service-card h3 {
    font-size: 1.35rem !important;
    letter-spacing: -0.01em;
    margin-bottom: 12px !important;
}

.service-card p {
    line-height: 1.7;
}

.service-link {
    font-size: 0.9rem !important;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px !important;
    padding: 8px 0;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

/* ─── Casos Section Premium ──────────────────────────────── */
.casos-section {
    padding: 120px 0 !important;
}

.caso-card {
    border-radius: 24px !important;
    border: 1px solid rgba(204,163,94,0.12) !important;
    background: linear-gradient(145deg,
        rgba(12,18,40,0.8) 0%,
        rgba(8,12,28,0.95) 100%) !important;
    box-shadow: 0 0 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.04) !important;
    transition: box-shadow 0.4s ease, border-color 0.4s ease !important;
    overflow: hidden;
    position: relative;
}

.caso-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(204,163,94,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.caso-card:hover {
    border-color: rgba(204,163,94,0.25) !important;
    box-shadow: 0 0 80px rgba(0,0,0,0.4), 0 0 40px rgba(204,163,94,0.08), inset 0 1px 0 rgba(204,163,94,0.06) !important;
}

.caso-img-wrapper {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.caso-img-wrapper:hover {
    transform: scale(1.02) !important;
}

/* ─── Portfolio Section Premium ──────────────────────────── */
.portfolio-item {
    border-radius: 20px !important;
    border: 1px solid rgba(204,163,94,0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.portfolio-item:hover {
    border-color: rgba(204,163,94,0.3) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(204,163,94,0.15) !important;
    transform: translateY(-8px) !important;
}

.img-badge {
    border-radius: 10px !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.3px;
    backdrop-filter: blur(12px) !important;
}

.img-badge.highlight {
    background: rgba(204,163,94,0.25) !important;
    box-shadow: 0 0 15px rgba(204,163,94,0.3);
}

/* ─── ViralCore Section Premium ──────────────────────────── */
.viralcore-section {
    border-top: 1px solid rgba(204,163,94,0.1) !important;
    background: linear-gradient(160deg,
        rgba(10,17,40,0.0) 0%,
        rgba(204,163,94,0.04) 50%,
        rgba(10,17,40,0.0) 100%) !important;
    overflow: hidden;
    position: relative;
}

.viralcore-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204,163,94,0.4), transparent);
}

.feature-list li {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    margin-bottom: 10px !important;
}

.feature-list li:hover {
    background: rgba(204,163,94,0.04);
    border-color: rgba(204,163,94,0.12);
}

.icon-box {
    background: linear-gradient(135deg, rgba(204,163,94,0.12), rgba(204,163,94,0.06)) !important;
    border: 1px solid rgba(204,163,94,0.15);
    border-radius: 12px !important;
    transition: all 0.3s ease;
}

.feature-list li:hover .icon-box {
    background: linear-gradient(135deg, rgba(204,163,94,0.22), rgba(204,163,94,0.1)) !important;
    box-shadow: 0 0 15px rgba(204,163,94,0.15);
}

/* Dashboard Mockup Premium */
.mockup-dashboard {
    background: rgba(6, 10, 24, 0.92) !important;
    border: 1px solid rgba(204,163,94,0.15) !important;
    border-radius: 20px !important;
    box-shadow:
        0 30px 70px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255,255,255,0.03),
        0 0 60px rgba(204,163,94,0.07) !important;
    height: 420px !important;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.mockup-dashboard:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 40px 90px rgba(0,0,0,0.6),
        0 0 0 1px rgba(204,163,94,0.1),
        0 0 80px rgba(204,163,94,0.12) !important;
}

.dash-dot {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
    box-shadow: 0 0 12px rgba(204,163,94,0.5);
    animation: dot-pulse 3s infinite alternate;
}

@keyframes dot-pulse {
    0%   { box-shadow: 0 0 8px rgba(204,163,94,0.4); }
    100% { box-shadow: 0 0 20px rgba(204,163,94,0.8); }
}

.dash-menu-item.active {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple)) !important;
    box-shadow: 0 0 12px rgba(204,163,94,0.5) !important;
}

.dash-chart {
    background: linear-gradient(to top, rgba(204,163,94,0.3), rgba(204,163,94,0.05)) !important;
    border-bottom: 2px solid var(--accent-blue) !important;
    position: relative;
    overflow: hidden;
}

.dash-chart::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    animation: chart-shimmer 3s infinite;
}

@keyframes chart-shimmer {
    0%   { left: -100%; }
    100% { left: 200%; }
}

.dash-line {
    background: rgba(255,255,255,0.06) !important;
    border-radius: 4px !important;
    position: relative;
    overflow: hidden;
}

.dash-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(204,163,94,0.15), transparent);
    animation: line-shimmer 2.5s infinite;
    animation-delay: var(--delay, 0s);
}

.dash-line:nth-child(1) { --delay: 0s; }
.dash-line:nth-child(2) { --delay: 0.5s; }

@keyframes line-shimmer {
    0%   { transform: translateX(-200%); }
    100% { transform: translateX(200%); }
}

/* ─── CTA Section Premium ────────────────────────────────── */
.cta-section {
    padding: 120px 0 !important;
    position: relative;
}

.cta-card {
    padding: 80px 60px !important;
    background: linear-gradient(145deg,
        rgba(20,28,56,0.85) 0%,
        rgba(10,17,40,0.97) 100%) !important;
    border: 1px solid rgba(204,163,94,0.12) !important;
    border-radius: 28px !important;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 40px 80px rgba(0,0,0,0.4) !important;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204,163,94,0.6), transparent);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(204,163,94,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
    letter-spacing: -0.02em;
    margin-bottom: 16px !important;
}

.glow-effect {
    animation: cta-glow-pulse 3s infinite alternate !important;
}

@keyframes cta-glow-pulse {
    0%   { box-shadow: 0 4px 20px rgba(255,255,255,0.1); }
    100% { box-shadow: 0 8px 40px rgba(255,255,255,0.25), 0 0 60px rgba(255,255,255,0.08); }
}

/* ─── Footer Premium ─────────────────────────────────────── */
.glass-footer.modern-footer {
    background: rgba(5, 8, 20, 0.98) !important;
    border-top: 1px solid rgba(204,163,94,0.1) !important;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.5) !important;
    margin-bottom: 24px !important;
}

.footer-links li {
    margin-bottom: 14px !important;
}

.footer-links a {
    font-size: 0.95rem;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-bottom {
    padding-top: 24px !important;
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.25) !important;
    border-top: 1px solid rgba(255,255,255,0.04) !important;
}

/* ─── Fade-in Enhancements ───────────────────────────────── */
.fade-in {
    opacity: 0 !important;
    transform: translateY(40px) !important;
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fade-in.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stagger children of service cards */
.service-cards .service-card:nth-child(1) { transition-delay: 0.0s; }
.service-cards .service-card:nth-child(2) { transition-delay: 0.1s; }
.service-cards .service-card:nth-child(3) { transition-delay: 0.2s; }

/* ─── Gradient Text Glow ─────────────────────────────────── */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 50%, #f472b6 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite alternate;
}

@keyframes gradient-shift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ─── Selection Styling ──────────────────────────────────── */
::selection {
    background: rgba(204, 163, 94, 0.25);
    color: #fff;
}

/* ─── Scrollbar Premium ──────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    #cursor-dot,
    #cursor-ring {
        display: none;
    }

    .trust-section::before,
    .trust-section::after {
        width: 30px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }

    .cta-card {
        padding: 40px 20px !important;
    }

    .section-number {
        font-size: 3.5rem;
    }
    
    /* Footer Fixes */

    .footer-links h4,
    .footer-contact h4 {
        margin-bottom: 16px !important;
    }
    
    /* Hero Fixes */
    .hero-section {
        padding-top: 140px !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-image-container {
        align-items: center;
        width: 100%;
        margin-top: 20px;
    }

    .mockup-card {
        padding: 20px !important;
        margin-top: 0;
        height: auto !important;
        transform: none !important;
    }

    /* Caso & Services Fixes */
    .caso-card {
        padding: 30px 20px !important;
    }
    
    .caso-gallery {
        flex-direction: column !important;
    }
    
    .caso-img-wrapper {
        height: 250px !important;
        transform: none !important;
    }

    .service-card {
        padding: 35px 25px !important;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px 10px;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
    }
    
    .mockup-chart {
        height: 100px !important;
    }
    
    .client-logo img {
        height: 60px !important;
    }
    
    .client-logo {
        margin: 0 30px !important;
    }
}
