:root {
  --bg-1: #11212d;
  --bg-2: #182d3d;
  --accent: #ffffff;
  --accent-2: #e5edf1;
  --accent-hover: #f1f5f9;
  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.65);
  --line: rgba(255,255,255,0.08);
  --font-base: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background-color: var(--bg-1);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
button { font-family: var(--font-base); cursor: pointer; border: none; }

/* === CURSOR GLOW === */
.cursor-glow {
  position: fixed; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s; opacity: 0;
  mix-blend-mode: screen;
}
@media (hover:hover) { .cursor-glow { opacity: 1; } }

/* === ANIMATED GRID BG === */
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  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: 60px 60px;
  mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center top, black 0%, transparent 70%);
  animation: grid-drift 30s linear infinite;
}
@keyframes grid-drift {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* === GLOW EFFECTS === */
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.1; z-index: 0; pointer-events: none; }
.glow-orb.top-left { width: 600px; height: 600px; background: #ffffff; top: -200px; left: -200px; }
.glow-orb.center { width: 800px; height: 800px; background: #ffffff; top: 20%; left: 50%; transform: translateX(-50%); opacity: 0.05; }
.glow-orb.bottom-right { width: 500px; height: 500px; background: #e5edf1; bottom: -100px; right: -100px; opacity: 0.08; }
.float-slow { animation: float-slow 20s ease-in-out infinite; }
.float-slow-rev { animation: float-slow 24s ease-in-out infinite reverse; }
@keyframes float-slow {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(80px, 60px); }
}

/* === REVEAL ANIMATIONS === */
/* SAFE-FAIL: si GSAP no carga o ScrollTrigger no dispara, TODO se ve igual. */
.reveal, .reveal-up, .fade-in,
.stats-g > div,
.prod-card, .tech-card, .p-card, .sv-card, .pr-card, .price-card,
.ft-cta, .ft-col, .tm-card, .mockup-wrapper,
.hero .badge, .hero h1, .hero .h-desc, .hero .h-chk span,
.hero .h-btns, .hero .h-proof, .navbar {
  opacity: 1 !important;
}
/* Cuando GSAP esté listo añade .gsap-ready al <html> y libera el opacity */
html.gsap-ready .reveal,
html.gsap-ready .reveal-up,
html.gsap-ready .fade-in,
html.gsap-ready .stats-g > div,
html.gsap-ready .prod-card,
html.gsap-ready .tech-card,
html.gsap-ready .p-card,
html.gsap-ready .sv-card,
html.gsap-ready .pr-card,
html.gsap-ready .price-card,
html.gsap-ready .ft-cta,
html.gsap-ready .ft-col,
html.gsap-ready .tm-card,
html.gsap-ready .mockup-wrapper,
html.gsap-ready .hero .badge,
html.gsap-ready .hero h1,
html.gsap-ready .hero .h-desc,
html.gsap-ready .hero .h-chk span,
html.gsap-ready .hero .h-btns,
html.gsap-ready .hero .h-proof,
html.gsap-ready .navbar {
  opacity: initial !important;
}
.is-visible { opacity: 1 !important; }

/* Stagger delays (usadas en HTML) */
.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }

/* Respeta accesibilidad: si el usuario prefiere menos movimiento, frena el marquee */
@media (prefers-reduced-motion: reduce) {
  .tm-track { animation: none; }
  .float-slow, .float-slow-rev, .grid-bg, .pulse, .gradient-text { animation: none !important; }
}

/* Pulse para glow-orb central (usada en sección Servicios) */
.pulse { animation: pulse-glow 6s ease-in-out infinite; }
@keyframes pulse-glow {
  0%, 100% { opacity: 0.05; transform: translateX(-50%) scale(1); }
  50%      { opacity: 0.12; transform: translateX(-50%) scale(1.1); }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: none;
  position: relative; overflow: hidden;
  z-index: 10;
}
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--accent); color: var(--bg-1); box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3); }
.btn-secondary { background: rgba(255,255,255,0.05); color: var(--text-main); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-3px); }
.btn-outline { background: transparent; color: var(--accent); border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--accent); box-shadow: 0 0 20px rgba(255,255,255,0.15); }

.shimmer::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(17,33,45,0.2), transparent);
  transition: left 0.6s;
}
.shimmer:hover::before { left: 100%; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(17, 33, 45, 0.6);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--line);
  z-index: 1000; padding: 16px 24px;
  transition: padding 0.3s, background 0.3s;
}
.navbar.scrolled { padding: 10px 24px; background: rgba(17, 33, 45, 0.9); }
.nav-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover { color: var(--text-main); }
.nav-links a:hover::after { width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-title); font-size: 24px; font-weight: 900; letter-spacing: -0.5px; }
.logo-icon { width: 40px; height: 40px; background: var(--accent); color: var(--bg-1); border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 25px rgba(255,255,255,0.2); font-weight: 900; font-size: 20px;}

.menu-toggle { display: none; background: none; color: var(--text-main); font-size: 24px; padding: 6px 10px; border-radius: 8px; line-height: 1; }
.menu-toggle:hover { background: rgba(255,255,255,0.06); }

/* === COMMON SECTIONS === */
.ctn { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.sec { padding: 120px 0; position: relative; }
.tc { text-align: center; }
.sl { font-family: var(--font-mono); color: var(--text-muted); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 12px; }
.st { font-family: var(--font-title); font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.ss { color: var(--text-muted); font-size: 18px; max-width: 600px; margin: 0 auto; }
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 50%, #ffffff 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradient-slide 4s linear infinite; text-shadow: 0 0 40px rgba(255,255,255,0.1);
}
@keyframes gradient-slide { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* === HERO === */
.hero { padding: 180px 0 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.05); color: var(--accent); border: 1px solid rgba(255, 255, 255, 0.15); padding: 8px 18px; border-radius: 100px; font-size: 12px; font-weight: 600; margin-bottom: 28px; text-transform: uppercase; letter-spacing: 1.5px; box-shadow: 0 0 30px rgba(255,255,255,0.05); }
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 12px var(--accent); animation: dot-pulse 1.5s ease-in-out infinite; }
@keyframes dot-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } }
.hero h1 { font-family: var(--font-title); font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -2px; }
.h-desc { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.h-chk { display: flex; flex-direction: column; gap: 8px; margin-bottom: 40px; }
.h-chk span { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-main); font-weight: 500; }
.h-chk span::before { content: '✓'; color: var(--accent); font-weight: 800; }
.h-btns { display: flex; gap: 16px; margin-bottom: 40px; }
.h-proof { display: flex; align-items: center; gap: 16px; }
.av-stk { display: flex; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--bg-1); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-left: -12px; }
.av:first-child { margin-left: 0; background: linear-gradient(135deg, #1e293b, #334155); }
.av:nth-child(2) { background: linear-gradient(135deg, #334155, #475569); }
.av:nth-child(3) { background: linear-gradient(135deg, #475569, #64748b); }
.av:nth-child(4) { background: var(--accent); color: var(--bg-1); }
.h-p-txt { font-weight: 700; font-size: 14px; }
.h-p-sub { font-size: 12px; color: var(--text-muted); }

/* DASHBOARD MOCKUP */
.mockup-wrapper { perspective: 2000px; position: relative; }
.mockup-glow { position: absolute; inset: -40px; background: radial-gradient(ellipse at center, rgba(255,255,255,0.08), transparent 60%); filter: blur(50px); z-index: -1; animation: glow-breath 4s ease-in-out infinite; }
@keyframes glow-breath { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.tilt-3d { transform: rotateX(8deg) translateY(-20px); transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.tilt-3d:hover { transform: rotateX(0deg) translateY(0); }

.forja-app { background: #0a131a; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 100px rgba(255,255,255,0.05); display: flex; flex-direction: column; font-family: var(--font-base); font-size: 13px; color: #EDEDED; }
.f-top { padding: 12px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; background: #0c1822; }
.f-lbl { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); letter-spacing: 2px; }
.f-dots { display: flex; gap: 6px; }
.f-dot { width: 10px; height: 10px; border-radius: 50%; }
.f-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; background: #0a131a; }
.d-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-card { background: #0f1c26; border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: all 0.3s; }
.d-card:hover { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.02); }
.d-c-l { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.d-c-v { font-family: var(--font-title); font-size: 28px; font-weight: 800; color: #ffffff; line-height: 1; margin-bottom: 4px; }
.d-c-ch { font-size: 11px; color: var(--accent); font-weight: 600; }
.d-auto { background: #0f1c26; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.d-a-l { font-family: var(--font-mono); font-size: 9px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 12px; }
.d-a-i { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.d-a-i:last-child { border-bottom: none; padding-bottom: 0; }
.d-a-lf { display: flex; align-items: center; gap: 10px; }
.d-a-dt { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 8px var(--accent); }
.d-a-nm { font-weight: 600; font-size: 12px; }
.d-a-st { font-family: var(--font-mono); font-size: 9px; background: rgba(255,255,255,0.1); color: var(--accent); padding: 3px 6px; border-radius: 4px; }

/* === STATS BAR === */
.stats { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.01); }
.stats-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.s-val { font-family: var(--font-title); font-size: 40px; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 8px; text-shadow: 0 0 30px rgba(255,255,255,0.2); }
.s-lbl { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* === PRODUCTS === */
.prod-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; transition: all 0.4s; }
.prod-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.2); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.prod-card.coming { opacity: 0.7; }
.prod-card.coming:hover { opacity: 1; }
.prod-badge { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700; font-family: var(--font-mono); text-transform: uppercase; color: #fff; }
.prod-icon { font-size: 40px; margin-bottom: 20px; }
.prod-title { font-family: var(--font-title); font-size: 28px; font-weight: 900; margin-bottom: 12px; }
.prod-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* === TECH STACK === */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 48px; }
.tech-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 16px; padding: 24px; text-align: center; transition: all 0.4s; backdrop-filter: blur(10px); }
.tech-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.tech-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.tech-name { font-weight: 700; font-size: 15px; margin-bottom: 4px; color: var(--text-main); }
.tech-desc { font-size: 12px; color: var(--text-muted); }

/* === PROBLEMAS === */
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.p-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px; transition: all 0.4s; position: relative; overflow: hidden; }
.p-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, transparent, #ffffff, transparent); opacity:0; transition:opacity 0.3s; }
.p-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); }
.p-card:hover::before { opacity: 1; }
.p-ico { font-size: 36px; margin-bottom: 16px; }
.p-ttl { font-family: var(--font-title); font-size: 20px; font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.p-dsc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }
.p-cta { text-align: center; margin-top: 56px; padding: 32px; background: rgba(255,255,255,0.02); border-radius: 20px; border: 1px dashed rgba(255,255,255,0.1); }
.p-cta-t { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.p-cta-s { font-size: 14px; color: var(--text-muted); }

/* === SERVICIOS === */
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.sv-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px; transition: all 0.4s; position: relative; overflow: hidden; transform-style: preserve-3d; }
.sv-card::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity:0; transition:opacity 0.3s; }
.sv-card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); box-shadow: 0 30px 60px rgba(0,0,0,0.3); }
.sv-card:hover::before { opacity: 1; }
.sv-tag { position: absolute; top: 16px; right: 20px; font-size: 10px; font-weight: 700; font-family: var(--font-mono); letter-spacing: 1px; background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 100px; color: var(--accent); text-transform: uppercase; }
.sv-ico { width: 56px; height: 56px; background: rgba(255,255,255,0.05); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 24px; transition: all 0.4s; }
.sv-card:hover .sv-ico { transform: scale(1.1) rotate(-5deg); background: rgba(255,255,255,0.1); }
.sv-ttl { font-family: var(--font-title); color: var(--text-main); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.sv-dsc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* === PROCESO === */
.pr-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 20px; padding: 40px 28px; transition: all 0.6s; position: relative; overflow: hidden; }
.pr-card.act { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); box-shadow: 0 0 40px rgba(255,255,255,0.05); transform: translateY(-8px); }
.pr-lbl { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 12px; }
.pr-card.act .pr-lbl { color: var(--accent); }
.pr-ico { font-size: 32px; margin-bottom: 16px; opacity: 0.5; transition: opacity 0.6s; }
.pr-card.act .pr-ico { opacity: 1; }
.pr-ttl { font-family: var(--font-title); font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.pr-dsc { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.pr-acc { margin-top: 48px; padding: 24px 32px; background: rgba(255,255,255,0.02); border-radius: 16px; display: flex; align-items: center; gap: 16px; justify-content: center; border: 1px solid var(--line); }
.pr-acc p { font-size: 15px; color: var(--text-muted); }
.pr-acc strong { color: var(--text-main); }

/* === CLIENTES / TESTIMONIOS (marquee infinito) === */
.tm-sect { position: relative; overflow: hidden; }
.tm-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 40px 0 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, black 8%, black 92%, transparent 100%);
}
.tm-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: tm-scroll 60s linear infinite;
  will-change: transform;
}
.tm-marquee:hover .tm-track { animation-play-state: paused; }
@keyframes tm-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
.tm-card { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; width: 360px; min-width: 360px; max-width: 360px; flex-shrink: 0; position: relative; backdrop-filter: blur(10px); transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s; }
.tm-card:hover { border-color: rgba(255,255,255,0.25); box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: translateY(-4px); }
.tm-stars { display: flex; gap: 4px; margin-bottom: 16px; font-size: 18px; color: #fbbf24; text-shadow: 0 0 10px rgba(251,191,36,0.2); }
.tm-txt { color: var(--text-main); font-size: 15px; line-height: 1.55; margin-bottom: 20px; min-height: 70px; }
.tm-auth { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tm-av { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; }
.tm-nm { color: var(--text-main); font-weight: 700; font-size: 15px; }
.tm-rl { color: var(--text-muted); font-size: 13px; }
.tm-nav { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.tm-btn { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--text-main); font-size: 20px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.tm-btn:hover:not(:disabled) { background: var(--accent); color: var(--bg-1); border-color: var(--accent); box-shadow: 0 0 20px rgba(255,255,255,0.2); transform: scale(1.1); }
.tm-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.tm-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.tm-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.1); cursor: pointer; transition: all 0.3s; }
.tm-dot:hover { background: rgba(255,255,255,0.3); }
.tm-dot.active { background: var(--accent); width: 24px; border-radius: 4px; box-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* === PRECIOS === */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.price-card { background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 24px; padding: 40px 32px; transition: all 0.4s; display: flex; flex-direction: column; position: relative; backdrop-filter: blur(10px); }
.price-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.price-card.featured { border-color: rgba(255,255,255,0.4); background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01)); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.price-card.featured::before { content: 'POPULAR'; position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); background: var(--accent); color: var(--bg-1); font-size: 10px; font-weight: 800; padding: 6px 16px; border-radius: 100px; letter-spacing: 1.5px; box-shadow: 0 4px 15px rgba(255,255,255,0.2); }
.price-icon { font-size: 40px; margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(255,255,255,0.1)); }
.price-name { font-family: var(--font-title); font-size: 24px; font-weight: 800; margin-bottom: 8px; color: var(--text-main); }
.price-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; min-height: 42px; margin-bottom: 24px; }
.price-amount { display: flex; align-items: flex-start; justify-content: center; color: var(--accent); margin-bottom: 32px; }
.price-currency { font-size: 24px; font-weight: 600; margin-top: 8px; }
.price-value { font-family: var(--font-mono); font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -2px; text-shadow: 0 0 30px rgba(255,255,255,0.2); }
.price-period { font-size: 14px; color: var(--text-muted); align-self: flex-end; margin-bottom: 12px; margin-left: 8px; }
.price-features { flex: 1; margin-bottom: 32px; }
.price-feature { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14px; color: var(--text-main); }
.price-feature::before { content: '✓'; color: var(--accent); font-weight: 800; font-size: 16px; flex-shrink: 0; text-shadow: 0 0 10px rgba(255,255,255,0.3); }
.price-btn { width: 100%; display: block; text-align: center; }

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--line);
  padding: 100px 24px 40px;
  background: radial-gradient(circle at bottom center, rgba(255,255,255,0.02) 0%, #0c1822 100%);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

/* === FOOTER CTA === */
.ft-cta {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 40px;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.ft-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.ft-cta-text h3 {
  font-family: var(--font-title);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.ft-cta-text p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
}
.ft-cta-action {
  flex-shrink: 0;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto 80px;
}
.ft-col {
  display: flex;
  flex-direction: column;
}
.ft-logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 900;
}
.ft-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--bg-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 20px rgba(255,255,255,0.25);
}
.ft-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.ft-socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.social-link:hover {
  background: var(--accent);
  color: var(--bg-1);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255,255,255,0.25);
}
.social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ft-col h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}
.ft-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--accent);
}
/* Solo enlaces directos de la columna — excluye social-link y contact-item a */
.ft-col > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 14px;
  transition: all 0.3s ease;
}
.ft-col > a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.ft-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ft-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}
.ft-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.ft-contact-item a {
  color: inherit;
  transition: color 0.3s ease;
}
.ft-contact-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Newsletter */
.ft-newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.ft-