/*
Theme Name: Cyberpunk
Theme URI: https://techboxdrop.com
Description: Cyberpunk theme for TechBoxDrop
Version: 1.0
*/

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

:root {
  --bg:        #07070f;
  --bg2:       #0d0d1f;
  --cyan:      #00f5ff;
  --pink:      #ff006e;
  --yellow:    #ffd60a;
  --green:     #39ff14;
  --text:      #b0c4d8;
  --dim:       #3a4a5c;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Share Tech Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* Grid background */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV ────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3rem;
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,245,255,0.15);
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
  letter-spacing: 0.1em;
  text-decoration: none;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan);
}

/* ── HERO ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem 3rem 4rem;
  z-index: 1;
  overflow: hidden;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--pink);
  text-shadow: 0 0 8px var(--pink);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  text-shadow: 0 0 20px rgba(0,245,255,0.4);
  margin-bottom: 0.2em;
  position: relative;
}

.hero-title span { color: var(--cyan); }

/* Glitch */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  color: var(--pink);
  animation: glitch-1 3.5s infinite linear;
  clip-path: polygon(0 20%, 100% 20%, 100% 35%, 0 35%);
  transform: translate(-3px, 0);
}

.glitch::after {
  color: var(--cyan);
  animation: glitch-2 3.5s infinite linear;
  clip-path: polygon(0 60%, 100% 60%, 100% 75%, 0 75%);
  transform: translate(3px, 0);
}

@keyframes glitch-1 {
  0%, 90%, 100% { opacity: 0; transform: translate(-3px, 0); }
  91%           { opacity: 1; transform: translate(-3px, -2px); }
  93%           { opacity: 1; transform: translate(-5px, 1px); }
  95%           { opacity: 0; }
}

@keyframes glitch-2 {
  0%, 90%, 100% { opacity: 0; transform: translate(3px, 0); }
  92%           { opacity: 1; transform: translate(5px, 1px); }
  94%           { opacity: 1; transform: translate(3px, -1px); }
  96%           { opacity: 0; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--dim);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.6;
}

.hero-sub em {
  color: var(--yellow);
  font-style: normal;
  text-shadow: 0 0 6px var(--yellow);
}

.btn {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn:hover {
  background: var(--cyan);
  color: var(--bg);
  box-shadow: 0 0 24px var(--cyan), 0 0 48px rgba(0,245,255,0.3);
}

.btn-ghost {
  border-color: var(--pink);
  color: var(--pink);
  margin-left: 1rem;
}

.btn-ghost:hover {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 0 24px var(--pink), 0 0 48px rgba(255,0,110,0.3);
}

/* Decorative corner lines */
.hero-corner {
  position: absolute;
  bottom: 3rem;
  right: 3rem;
  width: 200px;
  height: 200px;
  border-right: 2px solid rgba(0,245,255,0.2);
  border-bottom: 2px solid rgba(0,245,255,0.2);
}

.hero-corner::before {
  content: '';
  position: absolute;
  bottom: 12px; right: 12px;
  width: 140px; height: 140px;
  border-right: 1px solid rgba(255,0,110,0.2);
  border-bottom: 1px solid rgba(255,0,110,0.2);
}

/* Neon line divider */
.neon-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
  box-shadow: 0 0 12px rgba(0,245,255,0.5);
  position: relative;
  z-index: 1;
}

/* ── FEATURES ───────────────────────────────── */
.features {
  position: relative;
  z-index: 1;
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: rgba(13,13,31,0.8);
  border: 1px solid rgba(0,245,255,0.15);
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0,245,255,0.15), inset 0 0 24px rgba(0,245,255,0.04);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  display: block;
}

.card-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  color: var(--pink);
  letter-spacing: 0.3em;
  text-shadow: 0 0 6px var(--pink);
  margin-bottom: 0.8rem;
}

.card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--dim);
}

.card-accent { border-color: rgba(255,0,110,0.25); }
.card-accent:hover {
  border-color: var(--pink);
  box-shadow: 0 0 24px rgba(255,0,110,0.15), inset 0 0 24px rgba(255,0,110,0.04);
}

.card-accent2 { border-color: rgba(255,214,10,0.2); }
.card-accent2:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(255,214,10,0.15), inset 0 0 24px rgba(255,214,10,0.04);
}

/* ── MARQUEE ────────────────────────────────── */
.marquee-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(0,245,255,0.1);
  border-bottom: 1px solid rgba(0,245,255,0.1);
  padding: 1rem 0;
  background: rgba(0,245,255,0.03);
}

.marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(0,245,255,0.4);
}

.marquee span.sep { color: var(--pink); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── FOOTER ─────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 3rem;
  font-size: 0.75rem;
  color: var(--dim);
  border-top: 1px solid rgba(255,0,110,0.1);
  letter-spacing: 0.1em;
}

footer a { color: var(--cyan); text-decoration: none; }
footer a:hover { text-shadow: 0 0 6px var(--cyan); }
