/* ============================================
   INTERN MANAGER — Cyberpunk Theme
   ============================================ */

:root {
  --bg: #0a0010;
  --bg2: #0d0018;
  --bg3: #110020;
  --primary: #c800ff;
  --primary-dim: #8800bb;
  --accent: #ff2d78;
  --accent2: #00f5ff;
  --text: #e8d0ff;
  --text-dim: #9a7abf;
  --text-bright: #ffffff;
  --border: rgba(200, 0, 255, 0.25);
  --border-bright: rgba(200, 0, 255, 0.6);
  --glow: 0 0 20px rgba(200, 0, 255, 0.4);
  --glow-accent: 0 0 20px rgba(255, 45, 120, 0.4);
  --font-mono: 'Share Tech Mono', monospace;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ---- Scanlines ---- */
.scanlines {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ---- Grid Background ---- */
.grid-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(200, 0, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 0, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ---- Navigation ---- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 0, 16, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo-bracket { color: var(--accent); }
.logo-version {
  margin-left: 12px;
  font-size: 10px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #00ff88;
  letter-spacing: 2px;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 100px 60px;
  min-height: 90vh;
  align-items: center;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,0,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent2);
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 32px;
  color: var(--text-bright);
}

.hero-sub {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 400;
  color: var(--text-dim);
  font-family: var(--font-body);
  display: block;
  margin: 8px 0;
}

.highlight { color: var(--accent); }

/* Glitch effect */
.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(--accent2);
  animation: glitch1 3.5s infinite;
  clip-path: polygon(0 30%, 100% 30%, 100% 50%, 0 50%);
}

.glitch::after {
  color: var(--accent);
  animation: glitch2 3.5s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 80%, 0 80%);
}

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

@keyframes glitch2 {
  0%, 92%, 100% { transform: translate(0); opacity: 0; }
  93% { transform: translate(3px, 2px); opacity: 0.6; }
  95% { transform: translate(-2px, -1px); opacity: 0.6; }
  97% { transform: translate(0); opacity: 0; }
}

.hero-desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid var(--primary);
  transition: all 0.2s;
  box-shadow: var(--glow);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: var(--glow), inset 0 0 20px rgba(200,0,255,0.1);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent2);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: none;
  border: 1px solid rgba(0, 245, 255, 0.4);
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-secondary:hover {
  background: rgba(0, 245, 255, 0.08);
  border-color: var(--accent2);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

/* ---- Terminal ---- */
.hero-terminal {
  background: rgba(13, 0, 24, 0.9);
  border: 1px solid var(--border-bright);
  box-shadow: var(--glow), inset 0 0 40px rgba(200,0,255,0.03);
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(200,0,255,0.08);
  border-bottom: 1px solid var(--border);
}

.t-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }

.t-title {
  margin-left: 8px;
  color: var(--text-dim);
  font-size: 12px;
}

.terminal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t-line { line-height: 1.5; }
.t-prompt { color: var(--primary); margin-right: 8px; }
.t-cmd { color: var(--text-bright); }
.t-success { color: #00ff88; padding-left: 4px; }
.t-warn { color: #ffd700; padding-left: 4px; }
.t-info { color: var(--accent2); padding-left: 4px; font-style: italic; }

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
  color: var(--primary);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ---- Stats Bar ---- */
.stats-bar {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 24px 60px;
  background: rgba(200, 0, 255, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: var(--glow);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.stat-divider {
  color: var(--border-bright);
  font-size: 24px;
}

/* ---- Concepts ---- */
.concepts {
  position: relative;
  z-index: 1;
  padding: 100px 60px;
}

.section-header {
  margin-bottom: 60px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent2);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-bright);
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concept-card {
  background: rgba(13, 0, 24, 0.8);
  border: 1px solid var(--border);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.concept-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--primary-dim);
  transition: all 0.3s;
}

.concept-card:hover {
  border-color: var(--border-bright);
  box-shadow: var(--glow);
  transform: translateY(-4px);
}

.concept-card:hover::before {
  background: var(--primary);
  box-shadow: var(--glow);
}

.concept-card.featured {
  border-color: rgba(200, 0, 255, 0.5);
  background: rgba(200, 0, 255, 0.05);
}

.concept-card.featured::before { background: var(--primary); }

.card-icon {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(200, 0, 255, 0.15);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.concept-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-bright);
  margin-bottom: 12px;
  line-height: 1.3;
}

.concept-card p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 12px;
}

.metric-label { color: var(--text-dim); }
.metric-val { color: var(--accent2); font-weight: bold; }

/* ---- Manifesto ---- */
.manifesto {
  position: relative;
  z-index: 1;
  padding: 100px 60px;
  background: rgba(200, 0, 255, 0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner { max-width: 1100px; margin: 0 auto; }

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.manifesto-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.manifesto-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 900;
  color: rgba(200, 0, 255, 0.25);
  line-height: 1;
  min-width: 40px;
}

.manifesto-item p {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.7;
}

.manifesto-item p em {
  color: var(--text-bright);
  font-style: normal;
  font-weight: 600;
}

/* ---- Architecture ---- */
.architecture {
  position: relative;
  z-index: 1;
  padding: 100px 60px;
}

.arch-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 60px auto 0;
}

.arch-layer {
  width: 100%;
  text-align: center;
}

.arch-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 3px;
  margin-bottom: 12px;
  text-align: left;
}

.arch-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  width: 100%;
}

.arch-box.primary {
  background: rgba(200, 0, 255, 0.12);
  border-color: var(--border-bright);
  color: var(--text-bright);
  box-shadow: var(--glow);
  font-size: 16px;
  padding: 24px 40px;
}

.arch-box.secondary {
  background: rgba(200, 0, 255, 0.07);
  border-color: rgba(200, 0, 255, 0.4);
  color: var(--text);
  padding: 20px 40px;
}

.arch-icon { font-size: 18px; }

.arch-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

.arch-box.human {
  background: rgba(0, 245, 255, 0.04);
  border-color: rgba(0, 245, 255, 0.25);
  color: var(--text-dim);
  font-size: 13px;
  padding: 16px 20px;
  flex: 1;
}

.arch-arrow {
  font-size: 24px;
  color: var(--primary-dim);
  padding: 8px 0;
  text-shadow: var(--glow);
}

.arch-feedback {
  margin-top: 24px;
  width: 100%;
  text-align: center;
}

.feedback-line {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 2px;
  border-top: 1px dashed rgba(0, 245, 255, 0.3);
  padding-top: 16px;
}

/* ---- CTA ---- */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 120px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cta-inner { position: relative; z-index: 2; }

.cta-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent2);
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 24px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cta-ornament {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float 8s ease-in-out infinite;
}

.orb { width: 400px; height: 400px; top: -200px; left: -200px; background: rgba(200, 0, 255, 0.08); }
.orb2 { width: 300px; height: 300px; top: -100px; left: 100px; background: rgba(255, 45, 120, 0.06); animation-delay: -3s; }
.orb3 { width: 250px; height: 250px; top: 50px; left: -150px; background: rgba(0, 245, 255, 0.05); animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 60px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 2px;
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
}

.footer-text a {
  color: var(--primary);
  text-decoration: none;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #00ff88;
  letter-spacing: 2px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 30px; }
  .concepts-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-grid { grid-template-columns: 1fr; }
  .nav { padding: 16px 30px; }
  .concepts, .manifesto, .architecture, .cta-section { padding: 80px 30px; }
  .stats-bar { padding: 24px 30px; gap: 24px; }
  .footer { padding: 24px 30px; }
}

@media (max-width: 640px) {
  .concepts-grid { grid-template-columns: 1fr; }
  .arch-row { flex-direction: column; }
  .stats-bar { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .hero-cta { flex-direction: column; }
  .footer-inner { flex-direction: column; text-align: center; }
}
