@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --b0: #01020a; --b1: #04060f; --b2: #060d22;
  --blue: #0066ff; --cyan: #00c8ff; --w: #e8f4ff;
  --g: #1c2a4a; --g2: #0a0f20;
  --mono: 'Share Tech Mono', Consolas, 'Courier New', monospace;
  --hud: 'Orbitron', 'Rajdhani', sans-serif;
}
html { overflow-x: hidden; scroll-behavior: auto; }
body {
  background: var(--b0); color: var(--w);
  font-family: var(--mono);
  overflow-x: hidden; cursor: none;
}

body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9000;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 200, 255, .025) 2px, rgba(0, 200, 255, .025) 4px);
}

#cur { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: screen; }
#cur-dot { position: absolute; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 8px var(--cyan); transition: background .3s, box-shadow .3s; }
#cur-ring { position: absolute; width: 38px; height: 38px; border: 1px solid rgba(0, 200, 255, .5); transform: translate(-50%, -50%); transition: width .25s, height .25s, border-color .3s, box-shadow .3s; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
#cur-cross::before, #cur-cross::after { content: ''; position: absolute; background: rgba(0, 200, 255, .5); transition: background .3s; }
#cur-cross::before { width: 1px; height: 16px; left: -.5px; top: -8px; }
#cur-cross::after { width: 16px; height: 1px; top: -.5px; left: -8px; }
#cur-cross { position: absolute; transform: translate(-50%, -50%); }
body.hov #cur-ring { width: 60px; height: 60px; border-color: var(--cyan); }

.hc { position: fixed; z-index: 400; pointer-events: none; }
#hc-tl { top: 14px; left: 14px; } #hc-tr { top: 14px; right: 14px; }
#hc-bl { bottom: 44px; left: 14px; } #hc-br { bottom: 44px; right: 14px; }
.hc svg line { stroke: rgba(0, 200, 255, .2); stroke-width: 1; }

#sbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 40px;
  background: rgba(1, 2, 10, .85); border-top: 1px solid rgba(0, 200, 255, .08);
  font-size: 9px; letter-spacing: 2px; color: rgba(0, 200, 255, .35);
  opacity: 0; transition: opacity .6s;
}
#sbar.vis { opacity: 1; }
.sdot { width: 4px; height: 4px; border-radius: 50%; background: var(--cyan); display: inline-block; margin-right: 6px; animation: blink 1.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }

#boot {
  position: fixed; inset: 0; z-index: 9998; background: var(--b0);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .8s, transform .8s;
}
#boot.out { opacity: 0; transform: scale(1.02); pointer-events: none; }
.boot-logo { width: 72px; height: 72px; opacity: 0; animation: fi .5s .5s forwards; filter: drop-shadow(0 0 16px var(--cyan)); }
@keyframes fi { to { opacity: 1; } }
.boot-name { font-family: var(--hud); font-weight: 900; font-size: clamp(24px, 5vw, 44px); letter-spacing: 8px; color: var(--w); opacity: 0; animation: fi .5s .8s forwards; }
.boot-name span { color: var(--cyan); }
.boot-msgs { width: min(560px, 85vw); font-size: 10px; letter-spacing: 1px; color: rgba(0, 200, 255, .5); min-height: 100px; display: flex; flex-direction: column; gap: 3px; }
.bm { opacity: 0; transform: translateX(-6px); transition: all .25s; }
.bm.s { opacity: 1; transform: translateX(0); }
.bm.ok { color: #4ade80; }
.boot-bar-w { width: min(560px, 85vw); height: 2px; background: var(--g2); }
.boot-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .04s linear; position: relative; }
.boot-bar::after { content: ''; position: absolute; right: -2px; top: -2px; bottom: -2px; width: 6px; background: white; filter: blur(3px); }
.boot-pct { font-size: 10px; letter-spacing: 3px; color: var(--cyan); align-self: flex-end; width: min(560px, 85vw); text-align: right; }

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 500;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(1, 2, 10, .96), rgba(1, 2, 10, .68) 70%, transparent);
  border-bottom: 1px solid rgba(0, 200, 255, .12);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0, 20, 60, .35);
  opacity: 0;
  transition: opacity .5s, box-shadow .35s, border-color .35s, background .35s;
}
nav.vis { opacity: 1; }
nav.scrolled {
  background: rgba(1, 2, 10, .94);
  border-bottom-color: rgba(0, 200, 255, .2);
  box-shadow: 0 12px 32px rgba(0, 10, 45, .5);
}
.nlogo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nlogo svg { width: 28px; height: 28px; filter: drop-shadow(0 0 6px var(--cyan)); }
.nlogo-img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 0 6px var(--cyan)); }
.nlogo-t { font-family: var(--hud); font-weight: 700; font-size: 12px; letter-spacing: 5px; color: var(--w); }
.nav-controls { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid rgba(0, 200, 255, .24); background: rgba(0, 40, 90, .24); }
.lang-btn { border: none; background: transparent; color: rgba(0, 200, 255, .6); font-family: var(--hud); font-size: 8px; letter-spacing: 2px; padding: 8px 9px; cursor: none; }
.lang-btn.active { color: var(--w); background: linear-gradient(135deg, rgba(0, 102, 255, .5), rgba(0, 200, 255, .5)); }
.nlinks {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(0, 200, 255, .1);
  background: rgba(0, 32, 75, .16);
  box-shadow: inset 0 0 20px rgba(0, 85, 180, .18);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.nmenu-btn { display: none; border: 1px solid rgba(0, 200, 255, .25); background: rgba(0, 40, 90, .3); width: 42px; height: 38px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.nmenu-btn span { width: 18px; height: 1px; background: var(--cyan); display: block; transition: transform .25s ease, opacity .25s ease; }
.nmenu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nmenu-btn.open span:nth-child(2) { opacity: 0; }
.nmenu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nlinks a {
  font-family: 'Rajdhani', var(--hud), sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 3px;
  color: rgba(0, 200, 255, .8);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s, border-color .3s, background .3s, transform .3s, box-shadow .3s;
  padding: 7px 12px;
  border: 1px solid rgba(0, 200, 255, .16);
  background: rgba(0, 40, 95, .18);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 0 100%, 0 6px);
}
.nlinks a:hover {
  color: #dff8ff;
  border-color: rgba(0, 200, 255, .58);
  background: rgba(0, 120, 255, .24);
  box-shadow: 0 0 14px rgba(0, 160, 255, .3);
  transform: translateY(-1px);
}
.nlinks a#navCatalog {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  clip-path: none;
  color: var(--w);
  border-color: rgba(125, 249, 255, .75);
  background: linear-gradient(135deg, rgba(0, 95, 255, .68), rgba(0, 200, 255, .5));
  box-shadow: 0 0 20px rgba(0, 190, 255, .45);
  animation: navCatalogPulse 2s ease-in-out infinite;
}
.nlinks a#navCatalog .nav-new-badge {
  font-family: var(--hud);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 6px;
  line-height: 1;
  color: #03121f;
  background: #7df9ff;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(125, 249, 255, .7);
  flex-shrink: 0;
}
.nlinks a#navCatalog:hover {
  color: #fff;
  border-color: rgba(125, 249, 255, .95);
  box-shadow: 0 0 28px rgba(0, 200, 255, .7);
  transform: translateY(-2px) scale(1.02);
}
@keyframes navCatalogPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(0, 180, 255, .35); }
  50% { box-shadow: 0 0 24px rgba(0, 220, 255, .62); }
}
.ncta { font-family: 'Rajdhani', var(--hud), sans-serif; font-weight: 700; padding: 9px 24px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--w) !important; border: none !important; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: box-shadow .3s !important; }
.ncta:hover { box-shadow: 0 0 24px rgba(0, 200, 255, .35) !important; }

#hero {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 72px;
  padding-right: 72px;
  padding-top: clamp(104px, 12vh, 168px);
  padding-bottom: clamp(40px, 6vh, 88px);
  overflow: hidden;
}
#hcanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-top { position: absolute; top: 88px; left: 72px; right: 72px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 9px; letter-spacing: 3px; color: rgba(0, 200, 255, .4); z-index: 4; }
.htag::before { content: '▸ '; }
.hero-c { position: relative; z-index: 2; max-width: 860px; margin-top: 0.5rem; }
.heyebrow { font-size: 9px; letter-spacing: 6px; color: var(--cyan); display: flex; align-items: center; gap: 10px; margin-bottom: clamp(22px, 2.8vw, 34px); clip-path: inset(0 100% 0 0); animation: cr .8s 3.6s cubic-bezier(.77, 0, .18, 1) forwards; }
.heyebrow::before { content: ''; width: 24px; height: 1px; background: var(--cyan); }
@keyframes cr { to { clip-path: inset(0 0% 0 0); } }
.htitle { font-family: var(--hud); font-weight: 900; font-size: clamp(48px, 8.5vw, 128px); line-height: 0.94; letter-spacing: -2px; margin-top: 0.04em; }
.hl { overflow: hidden; display: block; }
.hl span { display: block; transform: translateY(115%); animation: tu .9s cubic-bezier(.77, 0, .18, 1) forwards; }
.hl:nth-child(1) span { animation-delay: 3.8s; }
.hl:nth-child(2) span { animation-delay: 3.95s; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: tu .9s 3.95s cubic-bezier(.77, 0, .18, 1) forwards, gs 4s 5s linear infinite; }
.hl:nth-child(3) span { animation-delay: 4.1s; color: rgba(232, 244, 255, .25); }
@keyframes tu { to { transform: translateY(0); } }
@keyframes gs { 0% { background-position: 0%; } 100% { background-position: 200%; } }
.hdesc { font-family: 'Rajdhani', sans-serif; font-size: 15px; line-height: 1.7; color: rgba(232, 244, 255, .45); max-width: 500px; margin: 28px 0 36px; clip-path: inset(0 100% 0 0); animation: cr .8s 4.3s cubic-bezier(.77, 0, .18, 1) forwards; }
.hbtns { display: flex; gap: 14px; opacity: 0; animation: fup .6s 4.5s forwards; }
@keyframes fup { to { opacity: 1; transform: translateY(0); } from { transform: translateY(10px); } }
.btn { padding: 13px 32px; font-family: var(--hud); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; cursor: none; transition: all .3s; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.btn-p { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--w); }
.btn-p:hover { box-shadow: 0 0 28px rgba(0, 200, 255, .4); transform: translateY(-2px); }
.btn-g { background: transparent; color: var(--cyan); border: 1px solid rgba(0, 200, 255, .3); }
.btn-g:hover { border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 200, 255, .15); }
#heroBtnCatalog {
  color: var(--w);
  border-color: rgba(125, 249, 255, .9);
  background: linear-gradient(135deg, rgba(0, 95, 255, .7), rgba(0, 200, 255, .5));
  box-shadow: 0 0 22px rgba(0, 170, 255, .45);
  text-shadow: 0 0 10px rgba(200, 245, 255, .45);
  position: relative;
  overflow: hidden;
  animation: heroCatalogPulse 2.4s ease-in-out infinite;
}
#heroBtnCatalog::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -70%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-20deg);
  animation: heroCatalogSweep 2.8s linear infinite;
}
#heroBtnCatalog:hover {
  border-color: rgba(190, 252, 255, .98);
  box-shadow: 0 0 32px rgba(0, 200, 255, .7);
  transform: translateY(-2px) scale(1.02);
}
@keyframes heroCatalogPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(0, 170, 255, .36); }
  50% { box-shadow: 0 0 30px rgba(0, 220, 255, .62); }
}
@keyframes heroCatalogSweep {
  0% { left: -70%; }
  100% { left: 130%; }
}
.hstats { position: absolute; right: 72px; bottom: 72px; z-index: 2; display: flex; flex-direction: column; gap: 18px; text-align: right; opacity: 0; animation: fup .6s 4.8s forwards; }
.sn { font-family: var(--hud); font-size: 34px; font-weight: 900; color: var(--cyan); line-height: 1; }
.sl { font-size: 8px; letter-spacing: 3px; color: rgba(0, 200, 255, .35); text-transform: uppercase; }

.mqwrap { overflow: hidden; padding: 14px 0; border-top: 1px solid rgba(0, 200, 255, .08); border-bottom: 1px solid rgba(0, 200, 255, .08); position: relative; }
.mqwrap::before, .mqwrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.mqwrap::before { left: 0; background: linear-gradient(to right, var(--b1), transparent); }
.mqwrap::after { right: 0; background: linear-gradient(to left, var(--b1), transparent); }
.mqinner { display: flex; white-space: nowrap; animation: mq 26s linear infinite; }
.mqitem { display: inline-flex; align-items: center; gap: 32px; margin-right: 32px; font-size: 9px; letter-spacing: 5px; text-transform: uppercase; color: rgba(0, 200, 255, .4); }
.mqdot { width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); }
@keyframes mq { to { transform: translateX(-50%); } }

section { padding: 110px 72px; position: relative; overflow: hidden; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 5px; color: var(--cyan); text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: '['; color: rgba(0, 200, 255, .3); }
.eyebrow::after { content: ']'; color: rgba(0, 200, 255, .3); }
.ehl { flex: 1; height: 1px; background: linear-gradient(to right, rgba(0, 200, 255, .25), transparent); }
.stitle { font-family: var(--hud); font-weight: 900; font-size: clamp(38px, 5.5vw, 80px); line-height: .9; letter-spacing: -1px; margin-bottom: 64px; }
.stitle em { font-style: normal; color: var(--cyan); }

#services { background: var(--b1); }
#services::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 40% at 80% 50%, rgba(0, 70, 255, .05), transparent); pointer-events: none; }
.sgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(0, 200, 255, .06); }
.sc { background: var(--b1); padding: 44px 36px; position: relative; overflow: hidden; cursor: none; transition: background .4s; }
.sc::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); transform: translateX(-100%); transition: transform .6s cubic-bezier(.77, 0, .18, 1); }
.sc:hover { background: #060c1a; }
.sc:hover::before { transform: translateX(100%); }
.sc-img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s cubic-bezier(.4, 0, .2, 1); z-index: 0; }
.sc:hover .sc-img { opacity: 1; }
.sc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(1, 2, 10, .82) 0%, rgba(0, 30, 80, .75) 100%); }
.sc > *:not(.sc-img) { position: relative; z-index: 1; }
.sc-corner { position: absolute; top: 0; left: 0; width: 18px; height: 18px; border-top: 1px solid rgba(0, 200, 255, .2); border-left: 1px solid rgba(0, 200, 255, .2); transition: border-color .3s; z-index: 2; }
.sc-corner-br { position: absolute; bottom: 0; right: 0; width: 18px; height: 18px; border-bottom: 1px solid rgba(0, 200, 255, .2); border-right: 1px solid rgba(0, 200, 255, .2); transition: border-color .3s; }
.sc:hover .sc-corner, .sc:hover .sc-corner-br { border-color: var(--cyan); }
.cnum { font-size: 9px; letter-spacing: 4px; color: rgba(0, 200, 255, .35); margin-bottom: 18px; }
.cicon { font-size: 34px; margin-bottom: 20px; filter: drop-shadow(0 0 10px rgba(0, 200, 255, .25)); transition: filter .3s; }
.sc:hover .cicon { filter: drop-shadow(0 0 18px rgba(0, 200, 255, .6)); }
.sc h3 { font-family: var(--hud); font-size: 16px; font-weight: 700; color: var(--w); margin-bottom: 10px; letter-spacing: 1px; }
.sc p { font-family: 'Rajdhani', sans-serif; font-size: 14px; line-height: 1.7; color: rgba(232, 244, 255, .45); margin-bottom: 18px; }
.ctags { display: flex; flex-wrap: wrap; gap: 5px; }
.ct { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 9px; border: 1px solid rgba(0, 200, 255, .18); color: rgba(0, 200, 255, .5); clip-path: polygon(5px 0, 100% 0, 100% 100%, 0 100%, 0 5px); transition: all .3s; }
.sc:hover .ct { border-color: rgba(0, 200, 255, .45); color: var(--cyan); }

#bigscroll { padding: 80px 0; overflow: hidden; background: var(--b0); position: relative; }
#bigscroll::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--b1), transparent 25%, transparent 75%, var(--b1)); z-index: 1; pointer-events: none; }
.bsr { padding: 6px 0; border-top: 1px solid rgba(0, 200, 255, .05); position: relative; overflow: hidden; }
.bsr:last-child { border-bottom: 1px solid rgba(0, 200, 255, .05); }
.bst { font-family: var(--hud); font-weight: 900; font-size: clamp(60px, 9vw, 150px); white-space: nowrap; letter-spacing: -3px; line-height: 1; will-change: transform; display: block; }
.bsr:nth-child(odd) .bst { color: transparent; -webkit-text-stroke: 1px rgba(0, 200, 255, .1); }
.bsr:nth-child(even) .bst { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: .65; }

#tsec { padding: 110px 72px; background: var(--b2); }
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.tcopy h2 { font-family: var(--hud); font-weight: 900; font-size: clamp(30px, 4vw, 58px); line-height: .95; letter-spacing: -1px; margin-bottom: 20px; }
.tcopy h2 span { display: block; color: var(--cyan); }
.tcopy p { font-family: 'Rajdhani', sans-serif; font-size: 15px; line-height: 1.8; color: rgba(232, 244, 255, .45); margin-bottom: 28px; }
.skills { display: flex; flex-direction: column; gap: 10px; }
.skrow { display: flex; flex-direction: column; gap: 4px; }
.sklabel { font-size: 8px; letter-spacing: 3px; color: rgba(0, 200, 255, .55); text-transform: uppercase; display: flex; justify-content: space-between; }
.skbar { height: 2px; background: var(--g2); position: relative; overflow: hidden; }
.skfill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); width: 0%; transition: width 1.3s cubic-bezier(.77, 0, .18, 1); position: relative; }
.skfill::after { content: ''; position: absolute; right: 0; top: -2px; bottom: -2px; width: 4px; background: #fff; filter: blur(2px); }

.twin { background: #01040e; border: 1px solid rgba(0, 200, 255, .18); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); box-shadow: 0 0 40px rgba(0, 80, 255, .12), inset 0 0 30px rgba(0, 0, 20, .4); }
.tbar { background: rgba(0, 200, 255, .07); border-bottom: 1px solid rgba(0, 200, 255, .12); padding: 9px 14px; display: flex; align-items: center; justify-content: space-between; }
.tdots { display: flex; gap: 5px; }
.tdot { width: 7px; height: 7px; border-radius: 50%; }
.tdot:nth-child(1) { background: #ff5f57; } .tdot:nth-child(2) { background: #febc2e; } .tdot:nth-child(3) { background: #28c840; }
.tbartitle { font-size: 8px; letter-spacing: 3px; color: rgba(0, 200, 255, .4); }
.tbody { padding: 16px; height: 340px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(0, 200, 255, .15) transparent; }
.tbody::-webkit-scrollbar { width: 3px; } .tbody::-webkit-scrollbar-thumb { background: rgba(0, 200, 255, .15); }
.tline { margin-bottom: 3px; font-size: 11px; animation: tl .15s ease forwards; }
@keyframes tl { from { opacity: 0; transform: translateX(-3px); } to { opacity: 1; transform: none; } }
.tp { color: var(--cyan); } .tc { color: var(--w); } .to { color: rgba(0, 200, 255, .55); }
.tok { color: #4ade80; } .terr { color: #f87171; } .twarn { color: #fbbf24; }
.tinput { display: flex; align-items: center; gap: 6px; border-top: 1px solid rgba(0, 200, 255, .1); padding: 10px 16px; }
.tprompt { color: var(--cyan); font-size: 11px; white-space: nowrap; }
#ti { flex: 1; background: transparent; border: none; outline: none; color: var(--w); font-family: var(--mono); font-size: 11px; caret-color: var(--cyan); cursor: none; }
.tcursor { width: 7px; height: 13px; background: var(--cyan); display: inline-block; animation: blink .7s infinite; vertical-align: middle; }

#brands { background: var(--b1); }
.bgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0, 200, 255, .07); margin-top: 44px; }
.bcell { background: var(--b1); padding: 52px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: none; position: relative; overflow: hidden; transition: background .4s; }
.bcell:hover { background: #07101f; }
.bcell::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(0, 100, 255, .09), transparent 65%); opacity: 0; transition: opacity .4s; }
.bcell:hover::before { opacity: 1; }
.bname { font-family: var(--hud); font-size: 20px; font-weight: 700; letter-spacing: 4px; color: rgba(0, 200, 255, .28); transition: color .4s, text-shadow .4s; }
.bcell:hover .bname { color: var(--cyan); text-shadow: 0 0 18px rgba(0, 200, 255, .45); }
.bbadge { font-size: 7px; letter-spacing: 3px; color: var(--cyan); text-transform: uppercase; border: 1px solid rgba(0, 200, 255, .25); padding: 3px 7px; opacity: 0; transform: translateY(5px); transition: all .4s; }
.bcell:hover .bbadge { opacity: 1; transform: translateY(0); }

#contact { background: var(--b0); }
#contact::before { content: ''; position: absolute; top: -30%; left: -10%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 50, 200, .06), transparent 70%); pointer-events: none; }
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.ctitle { font-family: var(--hud); font-weight: 900; font-size: clamp(36px, 5vw, 72px); line-height: .9; letter-spacing: -1px; margin-bottom: 36px; }
.ctitle em { display: block; font-style: normal; color: var(--cyan); }
.citems { display: flex; flex-direction: column; }
.ci { padding: 18px 0; border-bottom: 1px solid rgba(0, 200, 255, .08); display: flex; justify-content: space-between; align-items: center; transition: padding .3s; cursor: none; }
.ci:first-child { border-top: 1px solid rgba(0, 200, 255, .08); }
.ci:hover { padding-left: 10px; }
.cil { font-size: 8px; letter-spacing: 3px; color: rgba(0, 200, 255, .4); text-transform: uppercase; }
.civ { font-size: 11px; color: var(--w); }
.civ a { color: var(--w); text-decoration: none; transition: color .3s; }
.civ a:hover { color: var(--cyan); }
.hform { display: flex; flex-direction: column; gap: 2px; }
.hf { display: flex; flex-direction: column; background: rgba(255, 255, 255, .018); border: 1px solid rgba(0, 200, 255, .1); clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); transition: border-color .3s; }
.hf:focus-within { border-color: rgba(0, 200, 255, .35); }
.hf label { font-size: 7px; letter-spacing: 4px; color: rgba(0, 200, 255, .45); text-transform: uppercase; padding: 9px 14px 0; }
.hf input, .hf textarea, .hf select { background: transparent; border: none; outline: none; color: var(--w); padding: 6px 14px 12px; font-family: var(--mono); font-size: 11px; width: 100%; -webkit-appearance: none; }
.hf select option { background: var(--b0); }
.hf textarea { min-height: 80px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.fcol { grid-column: 1 / -1; }
.ffoot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.fnote { font-size: 8px; color: rgba(0, 200, 255, .25); max-width: 180px; line-height: 1.5; }
.sbtn { padding: 14px 36px; border: none; cursor: none; font-family: var(--hud); font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--w); background: linear-gradient(135deg, var(--blue), var(--cyan)); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: transform .3s, box-shadow .3s; }
.sbtn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 100, 255, .3); }

.glitch-el { position: relative; }
.glitch-el:hover::before { content: attr(data-g); position: absolute; left: 2px; top: 0; color: var(--cyan); animation: g1 .35s infinite; clip-path: inset(0 0 60% 0); pointer-events: none; width: 100%; }
.glitch-el:hover::after { content: attr(data-g); position: absolute; left: -2px; top: 0; color: var(--blue); animation: g2 .35s infinite; clip-path: inset(50% 0 0 0); pointer-events: none; width: 100%; }
@keyframes g1 { 0%, 100% { clip-path: inset(0 0 75% 0); } 50% { clip-path: inset(25% 0 40% 0); } }
@keyframes g2 { 0%, 100% { clip-path: inset(60% 0 0 0); } 50% { clip-path: inset(80% 0 0 0); } }

footer { background: var(--b0); border-top: 1px solid rgba(0, 200, 255, .08); padding: 28px 72px; display: flex; justify-content: space-between; align-items: center; }
.fl { font-family: var(--hud); font-weight: 700; font-size: 12px; letter-spacing: 5px; color: rgba(0, 200, 255, .25); }
.fr { font-size: 8px; letter-spacing: 2px; color: rgba(0, 200, 255, .15); text-transform: uppercase; }

.wa { position: fixed; bottom: 34px; right: 28px; z-index: 450; width: 48px; height: 48px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; font-size: 20px; text-decoration: none; box-shadow: 0 4px 18px rgba(37, 211, 102, .2); transition: transform .3s; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); }
.wa:hover { transform: scale(1.1); }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .75s cubic-bezier(.2, .8, .2, 1), transform .75s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

#kov { position: fixed; inset: 0; z-index: 9997; background: var(--b0); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
#kov.on { opacity: 1; pointer-events: all; }
#kov canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.kovmsg { position: relative; z-index: 2; text-align: center; }
.kovmsg h2 { font-family: var(--hud); font-weight: 900; font-size: clamp(22px, 4vw, 52px); color: var(--cyan); letter-spacing: 4px; margin-bottom: 12px; text-shadow: 0 0 30px rgba(0, 200, 255, .5); }
.kovmsg p { font-size: 9px; letter-spacing: 3px; color: rgba(0, 200, 255, .5); }

@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-controls { margin-left: auto; margin-right: 10px; }
  .nmenu-btn { display: inline-flex; }
  #theme-toggle .tg-txt { display: none; }
  .nlinks {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    background: rgba(1, 2, 10, .96);
    border: 1px solid rgba(0, 200, 255, .18);
    clip-path: none;
    box-shadow: 0 10px 24px rgba(0, 8, 30, .45);
  }
  .nlinks.open { display: flex; }
  .nlinks a { display: block; padding: 10px 12px; }
  .ncta { display: block; text-align: center; }
  section, #services, #tsec, #brands, #contact { padding-left: 20px; padding-right: 20px; }
  #hero { padding-left: 20px; padding-right: 20px; }
  .hstats, .hero-top { display: none; }
  .sgrid, .tgrid, .cgrid { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr 1fr; }
  .ffoot { flex-direction: column; gap: 14px; align-items: flex-start; }
  footer { padding: 20px; flex-direction: column; gap: 10px; text-align: center; }
  .hc { display: none; }
}

@media (max-width: 1200px) {
  nav { padding: 16px 28px; }
  #hero { padding-left: 36px; padding-right: 36px; }
  .hero-top { left: 36px; right: 36px; }
  .hstats { right: 36px; bottom: 56px; }
  section, #services, #tsec, #brands, #contact { padding-left: 36px; padding-right: 36px; }
  .cgrid { gap: 42px; }
}

@media (max-width: 768px) {
  #sbar { display: none; }
  #hero { justify-content: flex-end; padding-bottom: max(80px, 10vh); }
  .heyebrow { letter-spacing: 4px; margin-bottom: clamp(18px, 2.5vw, 26px); }
  .htitle { line-height: 0.96; }
  .hdesc { font-size: 14px; margin: 20px 0 24px; }
  .hbtns { width: 100%; flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .stitle { margin-bottom: 34px; }
  .twin { clip-path: none; border-radius: 6px; }
  .tbody { height: 260px; }
  .ffoot { margin-top: 10px; }
  .sbtn { width: 100%; }
  .fnote { max-width: none; }
  .ci { flex-direction: column; align-items: flex-start; gap: 6px; }
  .wa { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  nav { padding: 12px 14px; }
  .nlogo { gap: 8px; }
  .nlogo-img { width: 24px; height: 24px; }
  .nlogo-t { font-size: 10px; letter-spacing: 3px; }
  .lang-btn { font-size: 7px; padding: 7px 7px; }
  #hero { padding-left: 14px; padding-right: 14px; padding-bottom: max(72px, 12vh); }
  .hdesc { font-size: 13px; line-height: 1.6; }
  section, #services, #tsec, #brands, #contact { padding: 78px 14px; }
  .eyebrow { letter-spacing: 3px; gap: 8px; }
  .stitle {
    font-size: clamp(24px, 8.2vw, 32px);
    line-height: .98;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }
  #brands .stitle {
    font-size: clamp(23px, 8.1vw, 32px);
    line-height: 1;
    letter-spacing: -.2px;
  }
  #bigscroll { padding: 48px 0; }
  .bst {
    font-size: clamp(34px, 12.5vw, 58px);
    letter-spacing: -1px;
    line-height: .96;
  }
  .sc { padding: 28px 18px; }
  .sc p { font-size: 13px; }
  .bgrid { grid-template-columns: 1fr; }
  .bcell { padding: 36px 16px; }
  .cgrid { gap: 28px; }
  .hf label { letter-spacing: 3px; padding: 8px 10px 0; }
  .hf input, .hf textarea, .hf select { padding: 6px 10px 10px; font-size: 10px; }
  .sbtn { padding: 12px 20px; font-size: 8px; letter-spacing: 2px; }
  .boot-name { letter-spacing: 4px; }
  .boot-msgs, .boot-bar-w, .boot-pct { width: min(560px, 90vw); }
}

@media (hover: none), (pointer: coarse) {
  body, .btn, .sbtn, .wa, #ti { cursor: auto; }
  #cur { display: none; }
}

/* ══════════════════════════════════════════════════════
   TEMA CLARO METÁLICO — body.theme-light
   ══════════════════════════════════════════════════════ */
body.theme-light {
  --b0: #c8cdd6;
  --b1: #d4d8e0;
  --b2: #dde0e8;
  --blue: #0055dd;
  --cyan: #0077cc;
  --w: #0a1020;
  --g: #6a7590;
  --g2: #b0b8c8;
}

/* Fondo degradado metálico en body */
body.theme-light { background: linear-gradient(160deg, #bcc2cc 0%, #c8cdd6 40%, #d0d5de 70%, #c2c8d2 100%); }

/* Scanlines más suaves en claro */
body.theme-light::after {
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,80,160,.018) 2px, rgba(0,80,160,.018) 4px);
}

/* Cursor en modo claro */
body.theme-light #cur { mix-blend-mode: normal; }
body.theme-light #cur-dot { background: #003399; box-shadow: 0 0 10px rgba(0,40,160,.5), 0 0 3px #fff; }
body.theme-light #cur-ring { border-color: rgba(0,40,160,.55); }
body.theme-light.hov #cur-ring { border-color: #003399; box-shadow: 0 0 12px rgba(0,40,160,.2); }
body.theme-light #cur-cross::before,
body.theme-light #cur-cross::after { background: rgba(0,40,160,.55); }

/* HUD corners */
body.theme-light .hc svg line { stroke: rgba(0,80,180,.25); }

/* Status bar */
body.theme-light #sbar {
  background: rgba(180,188,200,.92);
  border-top: 1px solid rgba(0,80,180,.15);
  color: rgba(0,60,140,.55);
}
body.theme-light .sdot { background: var(--blue); }

/* Boot */
body.theme-light #boot { background: var(--b0); }
body.theme-light .boot-msgs { color: rgba(0,60,140,.6); }
body.theme-light .boot-bar-w { background: #a8b0c0; }
body.theme-light .boot-pct { color: var(--blue); }
body.theme-light .boot-name { color: var(--w); }
body.theme-light .boot-name span { color: var(--blue); }

/* NAV */
body.theme-light nav {
  background: linear-gradient(to bottom, rgba(172,180,193,.98), rgba(172,180,193,.74) 70%, transparent);
  border-bottom-color: rgba(0, 80, 180, .2);
  box-shadow: 0 8px 28px rgba(70, 92, 130, .25);
}
body.theme-light nav.scrolled {
  background: rgba(190,196,208,.95);
  border-bottom-color: rgba(0, 80, 180, .35);
  box-shadow: 0 10px 24px rgba(80, 98, 128, .32);
}
body.theme-light .nlogo-t { color: var(--w); }
body.theme-light .lang-switch { background: rgba(0,60,140,.1); border-color: rgba(0,80,180,.3); }
body.theme-light .lang-btn { color: rgba(0,30,100,.82); }
body.theme-light .lang-btn.active { background: linear-gradient(135deg,rgba(0,80,200,.5),rgba(0,120,200,.4)); color: #fff; }
body.theme-light .nlinks a { color: rgba(0,30,100,.85); }
body.theme-light .nlinks a {
  border-color: rgba(0, 80, 180, .22);
  background: rgba(255, 255, 255, .45);
}
body.theme-light .nlinks a:hover {
  color: var(--blue);
  border-color: rgba(0, 80, 180, .55);
  background: rgba(180, 220, 255, .55);
  box-shadow: 0 0 10px rgba(0, 110, 200, .2);
}
body.theme-light .nmenu-btn { border-color: rgba(0,80,180,.3); background: rgba(0,60,140,.08); }
body.theme-light .nmenu-btn span { background: var(--blue); }
body.theme-light .nlinks {
  background: rgba(255, 255, 255, .32);
  border-color: rgba(0, 80, 180, .22);
  box-shadow: inset 0 0 14px rgba(0, 90, 190, .1);
}
body.theme-light .nlinks a#navCatalog {
  color: #fff;
  border-color: rgba(0, 80, 180, .78);
  background: linear-gradient(135deg, rgba(0, 72, 185, .95), rgba(0, 132, 210, .9));
  box-shadow: 0 0 18px rgba(0, 80, 180, .34);
}
body.theme-light .nlinks a#navCatalog .nav-new-badge {
  color: #fff;
  background: #0a4ec2;
  box-shadow: 0 0 8px rgba(0, 78, 194, .45);
}
body.theme-light .nlinks a#navCatalog:hover {
  border-color: rgba(130, 200, 255, .95);
  box-shadow: 0 0 22px rgba(0, 120, 200, .42);
}

/* Hero canvas — texto */
body.theme-light .hero-top { color: rgba(0,40,120,.78); }
body.theme-light .heyebrow { color: var(--blue); }
body.theme-light .heyebrow::before { background: var(--blue); }
body.theme-light .hl:nth-child(1) span { color: var(--w); }
body.theme-light .hl:nth-child(3) span { color: rgba(10,16,32,.25); }
body.theme-light .hdesc { color: rgba(10,16,32,.78); }
body.theme-light .btn-g { color: var(--blue); border-color: rgba(0,80,180,.35); }
body.theme-light .btn-g:hover { border-color: var(--blue); box-shadow: 0 0 16px rgba(0,100,200,.2); }
body.theme-light #heroBtnCatalog {
  color: #fff;
  border-color: rgba(0, 80, 180, .78);
  background: linear-gradient(135deg, rgba(0, 72, 185, .95), rgba(0, 132, 210, .9));
  box-shadow: 0 0 20px rgba(0, 80, 180, .34);
}
body.theme-light #heroBtnCatalog:hover {
  border-color: rgba(130, 200, 255, .95);
  box-shadow: 0 0 22px rgba(0, 120, 200, .4);
}
body.theme-light .hstats .sl { color: rgba(0,40,120,.72); }
body.theme-light .sn { color: var(--blue); }

/* Marquee */
body.theme-light .mqwrap {
  border-color: rgba(0,80,180,.15);
  background: var(--b1);
}
body.theme-light .mqwrap::before { background: linear-gradient(to right, var(--b1), transparent); }
body.theme-light .mqwrap::after  { background: linear-gradient(to left,  var(--b1), transparent); }
body.theme-light .mqitem { color: rgba(0,40,120,.75); }
body.theme-light .mqdot { background: var(--blue); }

/* Eyebrow / secciones */
body.theme-light .eyebrow { color: var(--blue); }
body.theme-light .eyebrow::before { color: rgba(0,80,180,.4); }
body.theme-light .eyebrow::after  { color: rgba(0,80,180,.4); }
body.theme-light .ehl { background: linear-gradient(to right, rgba(0,80,180,.3), transparent); }
body.theme-light .stitle em { color: var(--blue); }

/* Services */
body.theme-light #services { background: var(--b1); }
body.theme-light #services::before { background: radial-gradient(ellipse 55% 40% at 80% 50%, rgba(0,80,200,.06), transparent); }
body.theme-light .sgrid { background: rgba(0,80,180,.1); }
body.theme-light .sc { background: var(--b1); }
body.theme-light .sc:hover { background: #cdd2dc; }
body.theme-light .sc::before { background: linear-gradient(90deg, transparent, var(--blue), transparent); }
body.theme-light .sc-img::after { background: linear-gradient(135deg, rgba(180,190,205,.85), rgba(150,165,190,.8)); }
body.theme-light .sc-corner { border-color: rgba(0,80,180,.25); }
body.theme-light .sc-corner-br { border-color: rgba(0,80,180,.25); }
body.theme-light .sc:hover .sc-corner,
body.theme-light .sc:hover .sc-corner-br { border-color: var(--blue); }
body.theme-light .cnum { color: rgba(0,40,130,.78); }
body.theme-light .cicon { filter: drop-shadow(0 0 10px rgba(0,100,200,.2)); }
body.theme-light .sc:hover .cicon { filter: drop-shadow(0 0 18px rgba(0,100,200,.5)); }
body.theme-light .sc h3 { color: var(--w); }
body.theme-light .sc p { color: rgba(10,16,32,.78); }
body.theme-light .ct { border-color: rgba(0,80,180,.22); color: rgba(0,80,180,.6); }
body.theme-light .sc:hover .ct { border-color: rgba(0,100,200,.5); color: var(--blue); }

/* Big scroll text */
body.theme-light #bigscroll { background: var(--b0); }
body.theme-light #bigscroll::before { background: linear-gradient(to bottom, var(--b1), transparent 25%, transparent 75%, var(--b1)); }
body.theme-light .bsr { border-color: rgba(0,80,180,.08); }
body.theme-light .bsr:nth-child(odd) .bst { -webkit-text-stroke: 1px rgba(0,80,180,.18); }
body.theme-light .bsr:nth-child(even) .bst { background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: .7; }

/* Terminal section */
body.theme-light #tsec { background: #0d1428; }
body.theme-light .tcopy h2 span { color: #00c8ff; }
body.theme-light .tcopy p { color: rgba(200,220,255,.65); }
body.theme-light .sklabel { color: rgba(0,200,255,.7); }
body.theme-light .skbar { background: #a8b2c4; }
body.theme-light .twin { background: #01040e; border-color: rgba(0,200,255,.18); box-shadow: 0 0 40px rgba(0,80,255,.12), inset 0 0 30px rgba(0,0,20,.4); }
body.theme-light .tbar { background: rgba(0,200,255,.07); border-color: rgba(0,200,255,.12); }
body.theme-light .tbartitle { color: rgba(0,200,255,.4); }
body.theme-light .tp { color: #00c8ff; }
body.theme-light .tc { color: #e8f4ff; }
body.theme-light .to { color: rgba(0,200,255,.55); }
body.theme-light .tprompt { color: #00c8ff; }
body.theme-light #ti { color: #e8f4ff; caret-color: #00c8ff; }
body.theme-light .tcursor { background: #00c8ff; }
body.theme-light .tinput { border-color: rgba(0,200,255,.1); }
body.theme-light .tbody { scrollbar-color: rgba(0,200,255,.15) transparent; }

/* Brands */
body.theme-light #brands { background: var(--b1); }
body.theme-light .bgrid { background: rgba(0,80,180,.1); }
body.theme-light .bcell { background: var(--b1); }
body.theme-light .bcell:hover { background: #c8cdd8; }
body.theme-light .bcell::before { background: radial-gradient(circle at 50% 50%, rgba(0,80,200,.08), transparent 65%); }
body.theme-light .bname { color: rgba(0,80,180,.35); }
body.theme-light .bcell:hover .bname { color: var(--blue); text-shadow: 0 0 18px rgba(0,100,200,.3); }
body.theme-light .bbadge { color: var(--blue); border-color: rgba(0,80,180,.3); }

/* Contact */
body.theme-light #contact { background: var(--b0); }
body.theme-light .ctitle em { color: var(--blue); }
body.theme-light .ci { border-color: rgba(0,80,180,.12); }
body.theme-light .cil { color: rgba(0,40,120,.82); }
body.theme-light .civ { color: #08121e; }
body.theme-light .civ a { color: #08121e; }
body.theme-light .civ a:hover { color: var(--blue); }
body.theme-light .hf { background: rgba(0,0,0,.04); border-color: rgba(0,80,180,.18); }
body.theme-light .hf:focus-within { border-color: rgba(0,100,200,.45); }
body.theme-light .hf label { color: rgba(0,80,180,.55); }
body.theme-light .hf input,
body.theme-light .hf textarea,
body.theme-light .hf select { color: #08121e; }
body.theme-light .hf select option { background: var(--b1); color: var(--w); }
body.theme-light .fnote { color: rgba(0,40,120,.72); }

/* Footer */
body.theme-light footer { background: var(--b0); border-color: rgba(0,80,180,.12); }
body.theme-light .fl { color: rgba(0,40,120,.65); }
body.theme-light .fr { color: rgba(0,40,120,.55); }

/* KOV */
body.theme-light #kov { background: var(--b0); }

/* ══ BOTÓN TOGGLE TEMA ══ */
#theme-toggle {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,200,255,.08);
  border: 1px solid rgba(0,200,255,.22);
  padding: 7px 14px;
  cursor: none;
  transition: all .35s;
  clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px);
  font-family: var(--mono); font-size: 8px; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(0,200,255,.7);
  white-space: nowrap; position: relative; overflow: hidden;
}
#theme-toggle::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,80,200,.15), rgba(0,200,255,.1));
  opacity: 0; transition: opacity .35s;
}
#theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
#theme-toggle:hover::before { opacity: 1; }
#theme-toggle .tg-icon { font-size: 12px; line-height: 1; transition: transform .5s cubic-bezier(.77,0,.18,1); }
#theme-toggle .tg-txt { position: relative; z-index: 1; }
#theme-toggle .tg-icon { position: relative; z-index: 1; }

/* Ajuste en modo claro */
body.theme-light #theme-toggle {
  background: rgba(0,80,180,.08);
  border-color: rgba(0,80,180,.28);
  color: rgba(0,80,180,.7);
}
body.theme-light #theme-toggle:hover { border-color: var(--blue); color: var(--blue); }

/* Transición global suave al cambiar tema */
body, nav, section, #tsec, #brands, #contact, footer,
.sc, .bcell, .hf, .twin, .tbar, .sgrid, .bgrid, .mqwrap,
#sbar, #bigscroll, .ci, .ctitle, .tcopy, .bst {
  transition-property: background, color, border-color, box-shadow;
  transition-duration: .45s;
  transition-timing-function: ease;
}

/* Terminal section — texto copy siempre legible sobre fondo oscuro */
body.theme-light .tcopy h2 { color: #e8f4ff; }
body.theme-light #skillsEl .skbar { background: #1c2a4a; }
