/* ============================================================
   OpenCallForPaper — Landing Page Styles
   Theme: Dark cyberpunk / hacker with green terminal + yellow MIT
   ============================================================ */

/* === RESET & VARIABLES === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0a0f;
  --bg2: #0f0f18;
  --bg3: #141420;
  --bg4: #1a1a2e;
  --green: #00ff88;
  --green-dim: #00cc6a;
  --green-dark: #003d20;
  --yellow: #fbbf24;
  --yellow-dim: #d4a017;
  --yellow-dark: #3d2e00;
  --red: #ff4444;
  --red-dim: #cc3333;
  --red-dark: #3d0000;
  --cyan: #00d4ff;
  --purple: #a855f7;
  --text: #e4e4e7;
  --text-dim: #71717a;
  --text-muted: #3f3f46;
  --mono: 'JetBrains Mono', monospace;
  --display: 'Outfit', sans-serif;
  --max: 1200px;
  --nav-h: 56px;
}

html { scroll-behavior: smooth; scrollbar-color: var(--green-dark) var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--green); color: var(--bg); }

/* === PRELOADER === */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity .5s, visibility .5s;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-text {
  font-family: var(--mono); font-size: 1.2rem; color: var(--green);
  animation: blink-cursor .8s step-end infinite;
}
.preloader-bar {
  width: 200px; height: 2px; background: var(--bg3); margin-top: 1rem; border-radius: 2px; overflow: hidden;
}
.preloader-bar-fill {
  width: 0; height: 100%; background: var(--green); border-radius: 2px;
  animation: preloader-fill 1.2s ease-out forwards;
}
@keyframes preloader-fill { to { width: 100%; } }
@keyframes blink-cursor {
  50% { opacity: 0; }
}

/* === SCANLINES === */
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0, 255, 136, .012) 2px, rgba(0, 255, 136, .012) 4px
  );
}

/* === GRID BACKGROUND === */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, .025) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* === FLOATING PARTICLES === */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle {
  position: absolute; width: 2px; height: 2px;
  background: var(--green); border-radius: 50%; opacity: .3;
  animation: float-particle linear infinite;
}
.particle:nth-child(odd) { background: var(--yellow); opacity: .2; }
.particle:nth-child(3n) { width: 3px; height: 3px; opacity: .15; }
@keyframes float-particle {
  0%   { transform: translateY(100vh) translateX(0); opacity: 0; }
  10%  { opacity: .4; }
  90%  { opacity: .4; }
  100% { transform: translateY(-10vh) translateX(40px); opacity: 0; }
}

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: .6rem 1.5rem; height: var(--nav-h);
  background: rgba(10, 10, 15, .7); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 136, .06);
  transition: all .4s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 15, .95);
  border-bottom-color: rgba(0, 255, 136, .15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--mono); font-weight: 700; font-size: .95rem;
  color: var(--green); text-decoration: none;
  display: flex; align-items: center; gap: .5rem;
  transition: text-shadow .3s;
}
.nav-logo:hover { text-shadow: 0 0 15px rgba(0, 255, 136, .4); }
.nav-logo span {
  color: var(--yellow); font-size: .6rem; padding: .12rem .35rem;
  border: 1px solid var(--yellow); border-radius: 3px;
  animation: pulse-glow-yellow 3s ease-in-out infinite;
}

/* Desktop nav links */
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: .78rem;
  font-family: var(--mono); transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0;
  height: 1px; background: var(--green); transition: width .3s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--green); }
.nav-cta {
  background: var(--green) !important; color: var(--bg) !important;
  padding: .4rem .8rem; border-radius: 4px;
  font-weight: 700; font-size: .72rem !important;
  transition: all .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(0, 255, 136, .4);
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative; z-index: 110;
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--green);
  position: absolute; left: 0; transition: all .3s;
  border-radius: 2px;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }
.hamburger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { bottom: 9px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 10, 15, .97); backdrop-filter: blur(30px);
  flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  opacity: 0; transition: opacity .3s;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  color: var(--text); text-decoration: none; font-family: var(--mono);
  font-size: 1.1rem; transition: color .2s; padding: .5rem;
}
.mobile-menu a:hover { color: var(--green); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* === SECTIONS === */
section { position: relative; z-index: 1; padding: 6rem 1.5rem; }
.container { max-width: var(--max); margin: 0 auto; }

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* Slide from left/right variants */
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all .7s cubic-bezier(.16, 1, .3, 1); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: all .7s cubic-bezier(.16, 1, .3, 1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up variant */
.reveal-scale { opacity: 0; transform: scale(.9); transition: all .6s cubic-bezier(.16, 1, .3, 1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* === KEYFRAMES === */
@keyframes pulse-glow-yellow {
  0%, 100% { box-shadow: 0 0 5px rgba(251, 191, 36, .1); }
  50% { box-shadow: 0 0 25px rgba(251, 191, 36, .25); }
}
@keyframes pulse-glow-green {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, .1); }
  50% { box-shadow: 0 0 30px rgba(0, 255, 136, .2); }
}
@keyframes glitch-1 {
  0%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
  20% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 2px); }
  40% { clip-path: inset(60% 0 10% 0); transform: translate(3px, -1px); }
  60% { clip-path: inset(40% 0 30% 0); transform: translate(-2px, 1px); }
  80% { clip-path: inset(10% 0 80% 0); transform: translate(2px, -2px); }
}
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}
@keyframes cursor-blink {
  0%, 100% { border-color: var(--green); }
  50% { border-color: transparent; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 255, 136, .08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 80%, rgba(251, 191, 36, .03) 0%, transparent 40%);
}
.hero-content { text-align: center; max-width: 950px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem 1.2rem; font-family: var(--mono); font-size: .75rem;
  color: var(--yellow); border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 20px; margin-bottom: 2rem;
  background: rgba(251, 191, 36, .05);
  animation: pulse-glow-yellow 3s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 900;
  line-height: .95; letter-spacing: -.04em; margin-bottom: 1.2rem;
  position: relative;
}
.hero-title .green {
  color: var(--green);
  text-shadow: 0 0 60px rgba(0, 255, 136, .25), 0 0 120px rgba(0, 255, 136, .1);
}
.hero-title .white { color: #fff; }

/* Glitch effect on hover */
.hero-title:hover .green {
  animation: glitch-1 .3s linear;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem); color: var(--text-dim);
  max-width: 650px; margin: 0 auto 0; font-weight: 400;
}

/* Typed tagline */
.hero-tagline-wrapper {
  margin: 1rem auto 2.5rem; display: flex; justify-content: center;
}
.hero-tagline {
  font-family: var(--mono); color: var(--green); font-size: .85rem;
  overflow: hidden; white-space: nowrap; width: 0;
  border-right: 2px solid var(--green);
  animation: typing 2s steps(50) 1s forwards, cursor-blink .7s step-end infinite;
}

/* CTAs */
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.6rem; border-radius: 6px;
  font-family: var(--mono); font-weight: 700; font-size: .82rem;
  text-decoration: none; transition: all .25s; cursor: pointer; border: none;
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
  transform: translateX(-100%); transition: transform .5s;
}
.btn:hover::before { transform: translateX(100%); }

.btn-primary {
  background: var(--green); color: var(--bg);
  box-shadow: 0 0 20px rgba(0, 255, 136, .2), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 255, 136, .4), 0 4px 15px rgba(0, 255, 136, .2);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--text);
  border: 1px solid var(--text-muted);
}
.btn-secondary:hover {
  border-color: var(--green); color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 136, .1);
}
.btn-yellow { background: var(--yellow); color: var(--bg); }
.btn-yellow:hover {
  box-shadow: 0 0 40px rgba(251, 191, 36, .4);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; max-width: 750px; margin: 0 auto;
}
.hero-stat {
  text-align: center; padding: 1.2rem 1rem;
  border: 1px solid rgba(0, 255, 136, .08); border-radius: 10px;
  background: rgba(0, 255, 136, .02);
  transition: all .3s; position: relative; overflow: hidden;
}
.hero-stat::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.hero-stat:hover {
  border-color: rgba(0, 255, 136, .2);
  background: rgba(0, 255, 136, .04);
  transform: translateY(-2px);
}
.hero-stat-value {
  font-family: var(--mono); font-size: 2rem; font-weight: 700;
  color: var(--green); text-shadow: 0 0 20px rgba(0, 255, 136, .2);
}
.hero-stat-value.yellow {
  color: var(--yellow);
  text-shadow: 0 0 20px rgba(251, 191, 36, .3);
}
.hero-stat-label {
  font-size: .68rem; color: var(--text-dim); font-family: var(--mono);
  margin-top: .2rem; text-transform: uppercase; letter-spacing: .05em;
}
@media (max-width: 600px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }

/* === SECTION HEADERS === */
.section-label {
  font-family: var(--mono); font-size: .72rem; color: var(--green);
  text-transform: uppercase; letter-spacing: .15em;
  margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem;
}
.section-label::before { content: '>'; color: var(--green); }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800;
  margin-bottom: 1.5rem; line-height: 1.1;
}
.section-title .green { color: var(--green); }
.section-title .yellow {
  color: var(--yellow);
  text-shadow: 0 0 30px rgba(251, 191, 36, .3);
}

/* === WHAT IS === */
.what-is { background: var(--bg2); }
.what-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .what-grid { grid-template-columns: 1fr; } }
.what-text p { color: var(--text-dim); margin-bottom: 1rem; font-size: .95rem; }
.what-text strong { color: var(--text); }

/* === TERMINAL WINDOW === */
.terminal {
  background: #0c0c12; border: 1px solid rgba(0, 255, 136, .12);
  border-radius: 12px; overflow: hidden;
  font-family: var(--mono); font-size: .78rem; line-height: 1.8;
  box-shadow: 0 8px 40px rgba(0, 0, 0, .4), 0 0 0 1px rgba(0, 255, 136, .05);
  transition: box-shadow .3s;
}
.terminal:hover {
  box-shadow: 0 12px 50px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 255, 136, .05);
}
.terminal-header {
  display: flex; align-items: center; gap: 6px; padding: .65rem 1rem;
  background: rgba(0, 255, 136, .03); border-bottom: 1px solid rgba(0, 255, 136, .08);
}
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-dot.r { background: #ff5f57; }
.terminal-dot.y { background: #febc2e; }
.terminal-dot.g { background: #28c840; }
.terminal-title { margin-left: .5rem; color: var(--text-dim); font-size: .68rem; }
.terminal-body { padding: 1.2rem 1.4rem; overflow-x: auto; }
.terminal-body .line { white-space: pre; }
.terminal-body .prompt { color: var(--green); }
.terminal-body .comment { color: var(--text-muted); }
.terminal-body .flag { color: var(--cyan); }
.terminal-body .success { color: var(--yellow); }
.terminal-body .url { color: var(--cyan); }

/* Terminal typing animation for lines */
.terminal-body .line {
  opacity: 0; transform: translateX(-5px);
  transition: all .3s ease;
}
.terminal.visible .line {
  opacity: 1; transform: translateX(0);
}
.terminal.visible .line:nth-child(1) { transition-delay: .1s; }
.terminal.visible .line:nth-child(2) { transition-delay: .2s; }
.terminal.visible .line:nth-child(3) { transition-delay: .3s; }
.terminal.visible .line:nth-child(4) { transition-delay: .4s; }
.terminal.visible .line:nth-child(5) { transition-delay: .5s; }
.terminal.visible .line:nth-child(6) { transition-delay: .6s; }
.terminal.visible .line:nth-child(7) { transition-delay: .7s; }
.terminal.visible .line:nth-child(8) { transition-delay: .8s; }
.terminal.visible .line:nth-child(9) { transition-delay: .9s; }
.terminal.visible .line:nth-child(10) { transition-delay: 1s; }
.terminal.visible .line:nth-child(11) { transition-delay: 1.1s; }
.terminal.visible .line:nth-child(12) { transition-delay: 1.2s; }

/* === MIT LICENSE SECTION === */
.mit-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(251, 191, 36, .06) 0%, transparent 60%);
  position: relative; overflow: hidden;
}
.mit-section::before {
  content: 'MIT'; position: absolute; font-size: 28vw; font-weight: 900;
  color: rgba(251, 191, 36, .02); top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display); pointer-events: none; white-space: nowrap;
}
.mit-badge-huge {
  display: inline-block; font-family: var(--mono);
  font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 700;
  color: var(--yellow); padding: .6rem 2.5rem;
  border: 3px solid var(--yellow); border-radius: 14px;
  margin-bottom: 2rem;
  text-shadow: 0 0 40px rgba(251, 191, 36, .5), 0 0 80px rgba(251, 191, 36, .2);
  box-shadow: 0 0 60px rgba(251, 191, 36, .12), inset 0 0 30px rgba(251, 191, 36, .03);
  animation: pulse-glow-yellow 3s ease-in-out infinite;
}

.mit-freedoms {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.freedom-card {
  padding: 1.2rem; border: 1px solid rgba(251, 191, 36, .12);
  border-radius: 10px; background: rgba(251, 191, 36, .02);
  transition: all .3s; position: relative; overflow: hidden;
}
.freedom-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: 0; transition: opacity .3s;
}
.freedom-card:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 25px rgba(251, 191, 36, .08);
  transform: translateY(-3px);
}
.freedom-card:hover::before { opacity: 1; }
.freedom-icon { font-size: 1.5rem; margin-bottom: .5rem; }
.freedom-title {
  font-family: var(--mono); font-weight: 700; color: var(--yellow);
  font-size: .82rem; margin-bottom: .3rem;
}
.freedom-desc { color: var(--text-dim); font-size: .78rem; }

/* Price comparison cards */
.mit-vs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; margin: 2.5rem 0; max-width: 600px;
}
@media (max-width: 500px) { .mit-vs { grid-template-columns: 1fr; } }
.mit-vs-card {
  text-align: center; padding: 2.5rem 2rem; border-radius: 14px;
  transition: all .3s;
}
.mit-vs-card:hover { transform: translateY(-3px); }
.mit-vs-card.free {
  border: 2px solid var(--green); background: rgba(0, 255, 136, .03);
}
.mit-vs-card.free:hover { box-shadow: 0 0 40px rgba(0, 255, 136, .1); }
.mit-vs-card.paid {
  border: 2px solid var(--red-dim); background: rgba(255, 68, 68, .02);
}
.mit-vs-card.paid:hover { box-shadow: 0 0 40px rgba(255, 68, 68, .08); }
.mit-vs-price { font-family: var(--mono); font-size: 3rem; font-weight: 900; }
.mit-vs-card.free .mit-vs-price {
  color: var(--green);
  text-shadow: 0 0 30px rgba(0, 255, 136, .3);
}
.mit-vs-card.paid .mit-vs-price {
  color: var(--red); text-decoration: line-through;
}
.mit-vs-label {
  color: var(--text-dim); font-size: .8rem;
  margin-top: .3rem; font-family: var(--mono);
}
.mit-license-text { margin-top: 2rem; }

/* === NUMBERS === */
.numbers-section { background: var(--bg2); }
.numbers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .numbers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .numbers-grid { grid-template-columns: 1fr; } }

.number-card {
  text-align: center; padding: 2rem 1rem;
  border: 1px solid rgba(0, 255, 136, .08); border-radius: 14px;
  background: rgba(0, 255, 136, .015);
  transition: all .35s ease; position: relative; overflow: hidden;
}
.number-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.number-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, .06), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.number-card:hover {
  border-color: rgba(0, 255, 136, .2);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, .06);
}
.number-card:hover::after { opacity: 1; }
.number-value {
  font-family: var(--mono); font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900; color: var(--green);
  text-shadow: 0 0 30px rgba(0, 255, 136, .3);
  position: relative; z-index: 1;
}
.number-value.yellow {
  color: var(--yellow);
  text-shadow: 0 0 30px rgba(251, 191, 36, .3);
}
.number-label {
  color: var(--text-dim); font-size: .78rem;
  margin-top: .3rem; font-family: var(--mono);
  position: relative; z-index: 1;
}
.number-sub {
  color: var(--text-muted); font-size: .68rem;
  font-family: var(--mono); margin-top: .2rem;
  position: relative; z-index: 1;
}

/* === FEATURES === */
.features-section { background: var(--bg); }

.features-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.features-tab {
  padding: .5rem 1rem; font-family: var(--mono); font-size: .73rem;
  border: 1px solid var(--text-muted); border-radius: 20px;
  background: transparent; color: var(--text-dim);
  cursor: pointer; transition: all .25s;
}
.features-tab.active {
  border-color: var(--green); color: var(--green);
  background: rgba(0, 255, 136, .05);
  box-shadow: 0 0 15px rgba(0, 255, 136, .08);
}
.features-tab:hover { border-color: var(--green); color: var(--green); }

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem;
}
.feature-card {
  padding: 1.3rem; border: 1px solid rgba(0, 255, 136, .06);
  border-radius: 10px; background: rgba(0, 255, 136, .01);
  transition: all .3s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--green); transform: scaleX(0);
  transition: transform .3s; transform-origin: left;
}
.feature-card:hover {
  border-color: rgba(0, 255, 136, .2);
  background: rgba(0, 255, 136, .03);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, .04);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card.coming { border-color: rgba(251, 191, 36, .06); background: rgba(251, 191, 36, .01); }
.feature-card.coming::before { background: var(--yellow); }
.feature-card.coming:hover {
  border-color: rgba(251, 191, 36, .2);
  background: rgba(251, 191, 36, .03);
  box-shadow: 0 8px 25px rgba(251, 191, 36, .04);
}
.feature-status { font-size: .68rem; font-family: var(--mono); margin-bottom: .5rem; }
.feature-status.ready { color: var(--green); }
.feature-status.soon { color: var(--yellow); }
.feature-name { font-weight: 700; font-size: .9rem; margin-bottom: .3rem; color: #fff; }
.feature-desc { color: var(--text-dim); font-size: .78rem; }

/* === SECURITY === */
.security-section { background: var(--bg2); position: relative; overflow: hidden; }
.security-section::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 68, 68, .04), transparent 60%);
  pointer-events: none;
}
.security-quote {
  font-family: var(--mono); font-size: clamp(.85rem, 2vw, 1.05rem);
  color: var(--red); margin-bottom: 2.5rem; padding-left: 1rem;
  border-left: 3px solid var(--red); line-height: 1.7;
}
.cwe-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem;
}
.cwe-card {
  padding: 1.3rem; border: 1px solid rgba(255, 68, 68, .1);
  border-radius: 10px; background: rgba(255, 68, 68, .015);
  transition: all .3s; position: relative;
}
.cwe-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 2px;
  background: var(--red); opacity: 0; transition: opacity .3s;
}
.cwe-card:hover {
  border-color: rgba(255, 68, 68, .25);
  box-shadow: 0 8px 25px rgba(255, 68, 68, .05);
  transform: translateY(-3px);
}
.cwe-card:hover::before { opacity: 1; }
.cwe-id {
  font-family: var(--mono); font-size: .68rem; color: var(--red);
  margin-bottom: .3rem; display: inline-block;
  padding: .15rem .5rem; border: 1px solid rgba(255, 68, 68, .3);
  border-radius: 4px; background: rgba(255, 68, 68, .05);
}
.cwe-name { font-weight: 700; color: #fff; font-size: .9rem; margin: .5rem 0 .3rem; }
.cwe-fix { color: var(--text-dim); font-size: .78rem; font-family: var(--mono); }
.cwe-fix::before { content: '\2192\00a0'; color: var(--green); }

/* === COMPARISON TABLE === */
.comparison-section { background: var(--bg); overflow-x: auto; }
.table-wrapper {
  overflow-x: auto; border: 1px solid rgba(0, 255, 136, .1);
  border-radius: 14px; background: rgba(0, 255, 136, .01);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
}
.comp-table { width: 100%; border-collapse: collapse; font-size: .75rem; min-width: 900px; }
.comp-table th {
  padding: .9rem .6rem; font-family: var(--mono); font-weight: 700;
  text-align: left; border-bottom: 2px solid rgba(0, 255, 136, .12);
  color: var(--text-dim); font-size: .68rem;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
  position: sticky; top: 0; background: var(--bg3);
}
.comp-table th:first-child { color: var(--text-dim); }
.comp-table th:nth-child(2) {
  color: var(--green);
  text-shadow: 0 0 10px rgba(0, 255, 136, .3);
}
.comp-table td {
  padding: .65rem .6rem;
  border-bottom: 1px solid rgba(255, 255, 255, .025);
  vertical-align: middle; transition: background .2s;
}
.comp-table tr:hover td { background: rgba(0, 255, 136, .02); }
.comp-table td:first-child {
  font-family: var(--mono); font-weight: 600; color: var(--text);
  font-size: .72rem; white-space: nowrap; min-width: 160px;
}
.comp-table td:nth-child(2) {
  background: rgba(0, 255, 136, .035); font-weight: 600; color: #fff;
}
.comp-table tr.highlight-row td {
  background: rgba(0, 255, 136, .05); font-weight: 700;
}
.comp-table tr.highlight-row td:nth-child(2) {
  background: rgba(0, 255, 136, .12);
  color: var(--green); font-size: .95rem;
}
.comp-table .check { color: var(--green); }
.comp-table .cross {
  color: var(--text-muted); text-decoration: line-through; font-style: italic;
}
.comp-table .warn { color: var(--yellow); }
.comp-table .tag-free { color: var(--green); font-family: var(--mono); font-weight: 700; }
.comp-table .tag-paid { color: var(--red-dim); font-family: var(--mono); }
.table-note {
  color: var(--text-muted); font-size: .68rem; font-family: var(--mono);
  margin-top: 1rem; font-style: italic; padding: 0 .5rem;
}

/* === STACK === */
.stack-section { background: var(--bg2); }
.stack-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem;
}
.stack-card {
  padding: 1.8rem 1rem; text-align: center;
  border: 1px solid rgba(0, 212, 255, .08); border-radius: 12px;
  background: rgba(0, 212, 255, .015); transition: all .35s;
}
.stack-card:hover {
  border-color: rgba(0, 212, 255, .25);
  box-shadow: 0 8px 30px rgba(0, 212, 255, .06);
  transform: translateY(-4px);
}
.stack-icon { font-size: 2.2rem; margin-bottom: .6rem; }
.stack-name { font-weight: 700; color: #fff; font-size: .95rem; }
.stack-role {
  color: var(--text-dim); font-size: .72rem;
  font-family: var(--mono); margin-top: .3rem;
}
.stack-msg {
  text-align: center; margin-top: 2rem; padding: 1.5rem;
  border: 1px dashed rgba(0, 212, 255, .15); border-radius: 10px;
  font-family: var(--mono); color: var(--cyan); font-size: .85rem;
}

/* === CREATORS === */
.creators-section { background: var(--bg); }
.creators-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
@media (max-width: 768px) { .creators-grid { grid-template-columns: 1fr; } }
.creator-card {
  padding: 2rem; border: 1px solid rgba(168, 85, 247, .12);
  border-radius: 14px; background: rgba(168, 85, 247, .02);
  transition: all .3s;
}
.creator-card:hover {
  border-color: rgba(168, 85, 247, .25);
  box-shadow: 0 8px 30px rgba(168, 85, 247, .05);
}
.creator-card h3 { color: var(--purple); font-size: 1.3rem; margin-bottom: .5rem; }
.creator-card .role {
  font-family: var(--mono); font-size: .73rem;
  color: var(--text-dim); margin-bottom: 1rem;
}
.creator-card p { color: var(--text-dim); font-size: .85rem; margin-bottom: .5rem; }
.creator-card ul { list-style: none; margin-top: 1rem; }
.creator-card ul li {
  color: var(--text-dim); font-size: .78rem;
  padding: .35rem 0; font-family: var(--mono);
}
.creator-card ul li::before { content: '\25B8\00a0'; color: var(--purple); }

.conference-card {
  padding: 2rem; border: 1px solid rgba(0, 255, 136, .12);
  border-radius: 14px; background: rgba(0, 255, 136, .02);
  transition: all .3s;
}
.conference-card:hover {
  border-color: rgba(0, 255, 136, .25);
  box-shadow: 0 8px 30px rgba(0, 255, 136, .05);
}
.conference-card h3 { color: var(--green); font-size: 1.3rem; margin-bottom: .5rem; }
.conference-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; margin-top: 1.5rem;
}
.conf-stat {
  text-align: center; padding: .8rem;
  border: 1px solid rgba(0, 255, 136, .06); border-radius: 8px;
  transition: all .3s;
}
.conf-stat:hover { border-color: rgba(0, 255, 136, .15); }
.conf-stat-val {
  font-family: var(--mono); font-size: 1.4rem;
  font-weight: 700; color: var(--green);
}
.conf-stat-label { font-size: .68rem; color: var(--text-dim); }

.ttpsec-card {
  padding: 1.5rem; border: 1px solid rgba(168, 85, 247, .12);
  border-radius: 12px; background: rgba(168, 85, 247, .02);
  text-align: center; margin-top: 2rem;
}

/* === ROADMAP === */
.roadmap-section { background: var(--bg2); }
.roadmap-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 768px) { .roadmap-grid { grid-template-columns: 1fr; } }
.roadmap-card {
  padding: 1.2rem; border: 1px solid rgba(251, 191, 36, .08);
  border-radius: 10px; background: rgba(251, 191, 36, .015);
  transition: all .3s; display: flex; align-items: flex-start; gap: .8rem;
}
.roadmap-card:hover {
  border-color: rgba(251, 191, 36, .2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, .04);
}
.roadmap-number {
  font-family: var(--mono); font-size: .65rem; color: var(--yellow);
  border: 1px solid rgba(251, 191, 36, .3); border-radius: 4px;
  padding: .15rem .4rem; flex-shrink: 0; min-width: 28px; text-align: center;
}
.roadmap-content { flex: 1; }
.roadmap-name { font-weight: 700; color: #fff; font-size: .88rem; }
.roadmap-desc {
  color: var(--text-dim); font-size: .75rem; font-family: var(--mono);
  margin-top: .15rem;
}

/* === CTA FINAL === */
.cta-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, .07) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 100%, rgba(251, 191, 36, .03) 0%, transparent 40%);
  text-align: center; padding: 8rem 1.5rem;
}
.cta-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 1rem; }
.cta-subtitle {
  font-family: var(--mono); color: var(--yellow); font-size: 1.2rem;
  margin-bottom: .5rem;
  text-shadow: 0 0 20px rgba(251, 191, 36, .3);
}
.cta-sub2 {
  font-family: var(--mono); color: var(--text-dim);
  font-size: .85rem; margin-bottom: 2.5rem;
}
.cta-buttons {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 3rem;
}
.cta-final-text {
  font-family: var(--mono); color: var(--text-muted);
  font-size: .78rem; margin-top: 2rem;
}

/* === FOOTER === */
footer {
  border-top: 1px solid rgba(0, 255, 136, .08);
  padding: 3rem 1.5rem; background: var(--bg);
}
.footer-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.footer-logo {
  font-family: var(--mono); font-size: 1rem;
  color: var(--green); font-weight: 700; margin-bottom: .5rem;
}
.footer-license {
  font-family: var(--mono); font-size: .68rem;
  color: var(--text-muted); margin-bottom: 1rem;
}
.footer-links {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 1.5rem;
}
.footer-links a {
  color: var(--text-dim); font-family: var(--mono); font-size: .73rem;
  text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--green); }
.footer-chile {
  font-family: var(--mono); color: var(--text-muted);
  font-size: .73rem; margin-bottom: .3rem;
}
.footer-love {
  font-family: var(--mono); color: var(--text-muted); font-size: .68rem;
}

/* === UTILITIES === */
.glow-green { text-shadow: 0 0 20px rgba(0, 255, 136, .4); }
.glow-yellow { text-shadow: 0 0 20px rgba(251, 191, 36, .4); }
.glow-red { text-shadow: 0 0 20px rgba(255, 68, 68, .4); }
.text-center { text-align: center; }

/* === SCROLL TO TOP === */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: var(--bg); border: none;
  cursor: pointer; font-size: 1.2rem;
  display: none; align-items: center; justify-content: center;
  z-index: 50; transition: all .3s;
  box-shadow: 0 4px 20px rgba(0, 255, 136, .25);
}
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(0, 255, 136, .4);
}
.scroll-top.show { display: flex; }

/* === SCROLL PROGRESS BAR === */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  z-index: 101; width: 0; transition: width .1s linear;
}
