/* ── Fuentes locales ── */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/inter-v20-latin-regular.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/inter-v20-latin-700.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;
  src:url('../fonts/inter-v20-latin-800.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:900;font-display:swap;
  src:url('../fonts/inter-v20-latin-900.woff2') format('woff2');}

@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/jetbrains-mono-v24-latin-regular.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/jetbrains-mono-v24-latin-500.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;
  src:url('../fonts/jetbrains-mono-v24-latin-700.woff2') format('woff2');}

/* ArkiaOS Workshop — estilos (fallback si Tailwind CDN no carga) */
/* ── FALLBACK si Tailwind no carga ── */
*, *::before, *::after { box-sizing: border-box; }
.text-white   { color: #ffffff !important; }
.text-gray-300{ color: #d1d5db !important; }
.text-gray-400{ color: #9ca3af !important; }
.text-gray-500{ color: #6b7280 !important; }
.text-gray-600{ color: #4b5563 !important; }
.text-gray-700{ color: #374151 !important; }
.text-teal-400{ color: #2dd4bf !important; }
.text-teal-500{ color: #14b8a6 !important; }
.text-blue-500{ color: #3b82f6 !important; }
.accent-color, .accent-color * { color: #26a69a; }
.max-w-7xl { max-width: 1280px; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 1024px; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 768px;  margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 640px;  margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 2rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none !important; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.font-bold  { font-weight: 700; }
.font-black { font-weight: 900; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.625; }
.leading-tight   { line-height: 1.25; }
.list-none { list-style: none; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.fixed    { position: fixed; }
.inset-0  { top:0; right:0; bottom:0; left:0; }
.z-50     { z-index: 50; }
.border   { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.rounded-lg   { border-radius: 0.5rem; }
.rounded-xl   { border-radius: 0.75rem; }
.rounded-2xl  { border-radius: 1rem; }
.rounded-3xl  { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.shadow-2xl   { box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.cursor-pointer { cursor: pointer; }
.transition-colors { transition: color 0.2s; }
.transition-all    { transition: all 0.3s; }
.grayscale { filter: grayscale(1); }
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }
/* spacing */
.px-6  { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8  { padding-left: 2rem;   padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2  { padding-top: 0.5rem;  padding-bottom: 0.5rem; }
.py-3  { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4  { padding-top: 1rem;    padding-bottom: 1rem; }
.py-5  { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-8  { padding-top: 2rem;    padding-bottom: 2rem; }
.py-16 { padding-top: 4rem;    padding-bottom: 4rem; }
.py-20 { padding-top: 5rem;    padding-bottom: 5rem; }
.py-24 { padding-top: 6rem;    padding-bottom: 6rem; }
.pt-16 { padding-top: 4rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.p-5   { padding: 1.25rem; }
.p-6   { padding: 1.5rem; }
.p-8   { padding: 2rem; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12{ gap: 3rem; }
.gap-16{ gap: 4rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-24 > * + * { margin-top: 6rem; }
/* text sizes */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }
.text-7xl  { font-size: 4.5rem; }
.text-8xl  { font-size: 6rem; }
/* responsive grids */
@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:flex        { display: flex !important; }
    .md\:max-w-sm    { max-width: 384px; }
    .md\:order-1     { order: 1; }
    .md\:order-2     { order: 2; }
    .md\:text-5xl    { font-size: 3rem; }
    .md\:text-6xl    { font-size: 3.75rem; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
strong { font-weight: 700; }

body {
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

section { scroll-margin-top: 80px; }

.hero-gradient {
    background: linear-gradient(135deg, #141414 0%, #0a2424 50%, #141414 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.accent-color { color: #26a69a; }

.btn-primary {
    background: linear-gradient(135deg, #26a69a 0%, #1f8a7f 100%);
    box-shadow: 0 8px 20px rgba(38,166,154,0.3), 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: inline-block; text-decoration: none; text-align: center;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(38,166,154,0.4); }

.btn-secondary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 8px 20px rgba(34,197,94,0.3);
    transition: all 0.3s; display: inline-block; text-decoration: none; text-align: center;
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(34,197,94,0.4); }

.btn-tertiary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 8px 20px rgba(14,165,233,0.3);
    transition: all 0.3s; display: inline-block; text-decoration: none; text-align: center;
}
.btn-tertiary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(14,165,233,0.4); }

.card-dark {
    background: rgba(26,26,26,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.card-dark:hover {
    border-color: #26a69a;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(38,166,154,0.15);
}

.feature-icon {
    background: rgba(38,166,154,0.1);
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    transition: all 0.3s;
}
.feature-icon:hover { background: rgba(38,166,154,0.2); transform: scale(1.1) rotate(5deg); }

.img-container {
    overflow: hidden; border-radius: 12px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    cursor: zoom-in; position: relative;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: block;
}
.img-container:hover { transform: translateY(-6px); border-color: #26a69a; box-shadow: 0 25px 50px rgba(38,166,154,0.25); }
.img-container img { transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); display: block; width: 100%; }
.img-container:hover img { transform: scale(1.04); }
.img-container::after {
    content: "🔍 CLIC PARA AMPLIAR";
    position: absolute; bottom: 12px; right: 12px;
    background: rgba(38,166,154,0.9); color: white;
    padding: 4px 10px; font-size: 9px; border-radius: 20px;
    opacity: 0; transition: 0.3s; font-weight: bold; pointer-events: none;
}
.img-container:hover::after { opacity: 1; }

.logo-nav { height: 42px; width: auto; object-fit: contain; }

/* ── Sello "pago único" ── */
@keyframes badgePulse {
    0%, 100% { transform: rotate(-10deg) scale(1); }
    50%       { transform: rotate(-10deg) scale(1.08); }
}

.gallery-item {
    overflow: hidden; border-radius: 10px;
    border: 1px solid #1e1e1e; cursor: zoom-in;
    position: relative; transition: all 0.3s;
    display: block;
}
.gallery-item:hover { border-color: #26a69a; transform: translateY(-3px); box-shadow: 0 12px 30px rgba(38,166,154,0.2); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    padding: 20px 12px 10px;
    transform: translateY(100%); transition: transform 0.3s;
}
.gallery-item:hover .gallery-item-caption { transform: translateY(0); }
.gallery-item-caption p { color: #fff; font-size: 0.72rem; font-weight: 600; }

.video-card { transition: all 0.3s; cursor: pointer; }
.video-card:hover { transform: translateY(-4px); }
.video-card:hover .play-icon { transform: scale(1.12); }
.play-icon { transition: transform 0.25s; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER LEGAL GRID
═══════════════════════════════════════════════════════════════ */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    text-align: left;
}

.footer-links h4 {
    color: #2dd4bf;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #2dd4bf;
}

.link-destacado {
    color: #fbbf24 !important;
    font-weight: 700;
    font-size: 0.8rem !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0.3rem 0;
    text-align: center;
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ArkiaOS HUB — estilos específicos de index.html
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   NAV UNIFICADA ARKIAOS
═══════════════════════════════════════════════════════════════ */
.nav-arkia {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
}

.nav-arkia .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-arkia .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-arkia .nav-brand img {
    height: 32px;
    width: auto;
}

.nav-arkia .nav-brand-text {
    color: #e5e7eb;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.nav-arkia .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-arkia .nav-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-arkia .nav-links a:hover {
    color: #2dd4bf;
}

/* Página actual (activa) */
.nav-arkia .nav-links a.active {
    color: #2dd4bf;
    font-weight: 600;
}

.nav-arkia .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2dd4bf;
    border-radius: 2px;
}

/* Botón de contacto */
.nav-arkia .btn-contact {
    background: #2dd4bf;
    color: #0f1724 !important;
    padding: 0.45rem 1.1rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.nav-arkia .btn-contact:hover {
    background: #14b8a6;
    transform: translateY(-1px);
}

.nav-arkia .btn-contact::after {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-arkia .nav-inner {
        justify-content: center;
        padding: 0.6rem 1rem;
    }
    .nav-arkia .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    .nav-arkia .nav-brand-text {
        display: none;
    }
}

/* ── Grilla de banderas ── */
.flag-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.flag-item { text-align: center; width: 84px; }
.flag-item img { width: 64px; height: 44px; object-fit: cover; border-radius: 12px;
    display: block; margin: 0 auto .5rem; box-shadow: 0 4px 12px rgba(0,0,0,.4);
    transition: transform .3s; }
.flag-item img:hover { transform: translateY(-4px) scale(1.06); }
.flag-item p { color: #9ca3af; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER FIXES: Colores legibles y centrado
   ═══════════════════════════════════════════════════════════════ */

/* Forzar títulos del footer en blanco */
footer h3, 
footer h4 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Limpiar listas del footer */
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 0.75rem;
}

/* Forzar enlaces del footer en blanco hueso (no azul) */
footer a {
    color: #e2e8f0 !important; 
    text-decoration: none;
    transition: color 0.2s, opacity 0.2s;
}

/* Efecto hover con el color turquesa de ArkiaOS */
footer a:hover {
    color: #2dd4bf !important;
    opacity: 1;
}

/* Centrar la sección de copyright al final del footer */
footer .copyright,
footer > div:last-child,
footer .footer-bottom {
    text-align: center !important;
    width: 100%;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .copyright p,
footer > div:last-child p {
    color: #94a3b8 !important;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

/* Ajuste responsive para móvil */
@media (max-width: 768px) {
    footer {
        text-align: center;
    }
    footer ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ── Hero con ola: imagen base + shader vivo encima ── */
.hero-shader {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(12,19,36,.35) 0%, rgba(15,15,15,.95) 100%),
    url('../images/hero-obsidian.png') center/cover no-repeat #0c1324;
}
.hero-shader canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: .7;
  mix-blend-mode: screen;
}
.hero-shader > .hero-content { position: relative; z-index: 2; }
.hero-shader::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, #0f0f0f);
  pointer-events: none; z-index: 1;
}
.hero-shader {
  background-size: auto, 130%;
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { background-position: 0% 0%, 20% 45%; }
  to   { background-position: 0% 0%, 80% 55%; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER ARKIAOS - Versión compacta
   ═══════════════════════════════════════════════════════════════ */

.footer-arkia {
    background: #0f0f0f;
    padding: 2rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-column h3 {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #2dd4bf;
}

.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Logo más pequeño */
.footer-center {
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin: 0 auto 0.75rem;
    display: block;
    opacity: 0.5;
    filter: grayscale(100%);
}

.footer-tagline {
    color: #94a3b8;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.65rem;
    margin: 0;
}

/* Copyright compacto */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0.3rem 0;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-arkia {
        padding: 1.5rem 1rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════
   OBSIDIAN DEEP — capa de efectos premium (va DESPUÉS de main.css)
   ═══════════════════════════════════════════════════════════════ */

body { font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }

/* Tracking "machined" en titulares grandes */
h1, h2 { letter-spacing: -0.02em; }

/* JetBrains Mono para metadatos y líneas de comando */
.mono, .cmd-line { font-family: 'JetBrains Mono', 'Courier New', monospace; letter-spacing: .05em; }
.cmd-line { color: #66d9cc; font-size: .8rem; }

/* ── Scrollbar ultra-fina (4px) ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #0c1324; }
::-webkit-scrollbar-thumb { background: #2e3447; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #26a69a; }
html { scrollbar-width: thin; scrollbar-color: #2e3447 #0c1324; }

/* ── Glassmorphism Level 1 en las cards ── */
.card-dark {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
/* Borde-gradiente que simula luz cenital */
.card-dark::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.card-dark:hover {
  border-color: rgba(38,166,154,.45);
  box-shadow: 0 0 40px rgba(38,166,154,.10);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

/* ── Glows atmosféricos en los hero ── */
.hero-gradient {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(38,166,154,.12), transparent 70%),
    radial-gradient(700px 350px at 85% 70%, rgba(78,222,163,.08), transparent 70%),
    linear-gradient(135deg, #0c1324 0%, #070d1f 50%, #0c1324 100%);
}

/* ── Pills (badges redondos) ── */
.pill { display: inline-block; padding: .25rem .75rem; border-radius: 9999px;
        font-size: .68rem; font-weight: 700; letter-spacing: .08em;
        text-transform: uppercase; margin-right: .4rem; }
.pill-live { background: rgba(78,222,163,.12); color: #4edea3; border: 1px solid rgba(78,222,163,.35); }
.pill-teal { background: rgba(102,217,204,.10); color: #66d9cc; border: 1px solid rgba(102,217,204,.30); }

/* ── Inputs que se iluminan en teal al enfocar ── */
#upgradeForm input:focus, #upgradeForm select:focus, #upgradeForm textarea:focus {
  outline: none; border-color: #26a69a;
  box-shadow: 0 0 0 3px rgba(38,166,154,.15);
}

/* nav-mobile.css — ArkiaOS */
.nav-toggle{
  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:44px; height:44px;
  margin-left:auto;
  background:none; border:0; cursor:pointer;
}
.nav-toggle span{
  display:block; width:24px; height:2px; border-radius:2px;
  background:#e5e7eb;
  transition:transform .3s ease, opacity .3s ease;
}
.nav-arkia.open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-arkia.open .nav-toggle span:nth-child(2){ opacity:0; }
.nav-arkia.open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:768px){
  .nav-arkia .nav-inner{
    padding:0.8rem 1rem !important;
    justify-content:space-between !important;
    flex-wrap:nowrap !important;
  }
  .nav-toggle{ display:flex !important; }
  .nav-arkia .nav-links{
    display:none !important;
    position:absolute !important;
    top:100% !important; left:0 !important; right:0 !important;
    margin:0 !important;
    padding:0.5rem 1.25rem 1.25rem !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    background:rgba(10,10,10,0.98) !important;
    backdrop-filter:blur(12px) !important;
    -webkit-backdrop-filter:blur(12px) !important;
    border-bottom:1px solid rgba(45,212,191,0.2) !important;
    box-shadow:0 20px 40px rgba(0,0,0,0.45) !important;
  }
  .nav-arkia.open .nav-links{ display:flex !important; }
  .nav-arkia .nav-links a{
    font-size:0.95rem !important;
    text-align:center !important;
    padding:0.9rem 0.5rem !important;
    border-bottom:1px solid rgba(255,255,255,0.06) !important;
    white-space:normal !important;
  }
  .nav-arkia .nav-links a.active::after{ display:none !important; }
  .nav-arkia .nav-links a.active{
    background:rgba(45, 212, 191, 0.08) !important;
    border-radius:8px !important;
  }
  .nav-arkia .nav-links a.btn-contact{
    border-bottom:none !important;
    margin-top:1rem !important;
    padding:0.7rem 1.25rem !important;
  }
}

/* Enlace "Saltar al contenido": invisible hasta que recibe foco con Tab */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:1000;
  background:#2dd4bf; color:#0a0a0a; padding:.6rem 1rem; font-weight:700;
}
.skip-link:focus{ left:0; }

/* ═══════════════════════════════════════════════════════════════
   ESTILO DEL ENLACE ACTIVO (Escritorio)
═══════════════════════════════════════════════════════════════ */
.nav-arkia .nav-links a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-arkia .nav-links a:hover {
  color: #2dd4bf;
}

.nav-arkia .nav-links a.active {
  color: #2dd4bf !important;
  font-weight: 600;
  position: relative;
}

.nav-arkia .nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #2dd4bf;
  border-radius: 2px;
}

.nav-arkia .nav-links a.btn-contact {
  background: #2ca58d;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.nav-arkia .nav-links a.btn-contact:hover {
  background: #238a75;
}

/* Enlace "Saltar al contenido": invisible hasta que recibe foco con Tab */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: #2dd4bf;
    color: #0a0a0a;
    padding: 0.6rem 1rem;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus {
    left: 0; /* Solo aparece aquí cuando se presiona Tab */
}

/* ═══════════════════════════════════════════════════════════════
   ESTILOS PERSONALIZADOS (Hero, Cards, FAQ, Animaciones)
═══════════════════════════════════════════════════════════════ */
.hero-shader {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-shader::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent 0%, rgba(12, 19, 36, 0.6) 50%, rgba(12, 19, 36, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 0;
    pointer-events: none;
}

#hero-shader {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.35;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.product-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2dd4bf, #3b82f6);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(45, 212, 191, 0.1);
}

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

.product-card.new {
    border-color: rgba(45, 212, 191, 0.5);
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.05) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.product-card.new::before {
    background: linear-gradient(90deg, #2dd4bf, #10b981);
    opacity: 1;
}

.pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.pill-live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pill-teal {
    background: rgba(45, 212, 191, 0.15);
    color: #2dd4bf;
    border: 1px solid rgba(45, 212, 191, 0.3);
}

.cmd-line {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #2dd4bf;
    font-size: 0.85rem;
    display: inline-block;
    margin: 0.5rem 0 1rem 0;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.section-dark {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at top, rgba(45, 212, 191, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.feature-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #2dd4bf, #3b82f6);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin: 0 auto 1.5rem auto;
    box-shadow: 0 8px 24px rgba(45, 212, 191, 0.3);
    transition: transform 0.3s;
}

.product-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

.hover-lift { transition: all 0.3s ease; }
.hover-lift:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }

.fade-in-section {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible { opacity: 1; transform: none; }

.faq-item {
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.faq-item h3 {
    color: #2dd4bf;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.faq-item p {
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .hero-shader { padding: 100px 0 60px !important; }
    .hero-buttons {
        display: flex !important; flex-direction: column !important;
        align-items: center !important; gap: 1.25rem !important;
        width: 100% !important; max-width: 340px !important; margin: 2.5rem auto 0 !important;
    }
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary {
        width: 100% !important; max-width: none !important;
        padding: 1rem 2rem !important; font-size: 1rem !important;
        text-align: center !important; margin: 0 !important;
    }
    .hero-content { padding: 0 1rem !important; }
}

/* ═══════════════════════════════════════════════════════════════
   OPTIMIZACIONES PARA MÓVIL
   - Desactiva animaciones costosas
   - Elimina desenfoque (blur) que consume GPU
   - Remueve will-change que puede ser contraproducente
═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    /* Desactivar animaciones y transiciones pesadas */
    *, *::before, *::after {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
    
    /* Quitar desenfoque (backdrop-filter) en móvil */
    .card-dark,
    .product-card,
    .nav-arkia,
    .hero-shader {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Simplificar gradientes animados */
    .hero-gradient {
        animation: none !important;
        background-size: 100% 100% !important;
    }
}

/* Eliminar will-change globalmente (puede causar problemas de rendimiento) */
.fade-in-section,
.product-card,
.card-dark,
.hero-shader,
.feature-icon,
.hover-lift {
    will-change: auto !important;
}