/* ========== XR DESIGN SYSTEM FINAL ========== */

:root {
  --bg: #05060a;
  --panel: rgba(255, 255, 255, 0.06);
  --text: #e6e9f2;
  --muted: #9aa4b2;

  --accent: #6c5ce7;
  --accent2: #00d4ff;

  --glow: 0 0 25px rgba(0, 212, 255, 0.15);
  --glow-strong: 0 0 40px rgba(0, 212, 255, 0.25);

  --radius: 16px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, sans-serif;
  background: radial-gradient(circle at top, #0b1020 0%, #05060a 60%, #02030a 100%);
  color: var(--text);
  overflow-x: hidden;
}

/* BACKGROUND */
#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* LAYOUT */
section {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 120px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 16px 40px;

  backdrop-filter: blur(15px);
  background: rgba(10, 15, 28, 0.6);

  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1000;
}

.navbar nav a {
  margin: 0 12px;
  color: #aaa;
  text-decoration: none;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: var(--accent2);
}

/* HERO */
.hero {
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: auto;
}

.hero-tag {
  letter-spacing: 5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent2);
  margin-bottom: 30px;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;

  background: linear-gradient(90deg, #fff, var(--accent2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

.hero-line {
  width: 120px;
  height: 2px;
  margin: 30px auto;

  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
  box-shadow: 0 0 15px var(--accent2);
}

.hero-headline {
  font-size: 2rem;
  font-weight: 300;
  color: #dfe7ff;
  margin-bottom: 20px;
}

.hero-headline span {
  color: var(--accent2);
  font-weight: 600;
}

.hero-description {
  max-width: 700px;
  margin: auto;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* BUTTONS */
.btn {
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-strong);
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--accent2);
}

/* CARDS */
.card {
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;

  backdrop-filter: blur(14px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: var(--glow-strong);
}

/* GRID SYSTEM */
.grid,
.org-grid,
.stack-grid,
.contact-grid {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.org-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stack-grid {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

/* STACK LOGOS */
.stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.3s ease;
}

.stack-item:hover {
  transform: translateY(-8px);
  border-color: var(--accent2);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
}

.stack-item img {
  width: 44px;
  height: 44px;
  margin-bottom: 10px;

  filter: drop-shadow(0 0 8px rgba(0,212,255,0.25));
}

.stack-item span {
  font-size: 12px;
  color: #cbd5e1;
}

/* INDAR */
.indar {
  padding: 120px 8%;
}

.indar-intro {
  text-align: center;
  margin-bottom: 60px;
}

.indar-label {
  color: var(--accent2);
  letter-spacing: 4px;
  font-size: 0.9rem;
}

.indar-title {
  font-size: 4rem;
  font-weight: 800;
}

.indar-subtitle {
  color: var(--muted);
}

/* VIDEO */
video {
  width: 100%;
  border-radius: 12px;
  display: block;
}

/* CONTACT TERMINAL */
.terminal {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.10);

  border-radius: 10px;

  max-width: 760px;
  margin: 60px auto;

  backdrop-filter: blur(10px);

  box-shadow: 0 0 18px rgba(0, 212, 255, 0.08);
}


/* HEADER (small authentic XR terminal font) */
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 8px 12px;

  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9aa4b2;
}

/* dots */
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.title {
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.8;
}

/* BODY */
.terminal-body {
  padding: 18px;

  font-family: "JetBrains Mono", "Fira Code", monospace;
  font-size: 14px;
  line-height: 1.75;

  color: var(--text);
}

/* COLORS */
.prompt {
  color: #00d4ff;
  font-weight: 500;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}
.highlight {
  color: #b26cff; /* email purple */
}

.active {
  color: #00ffae;
  font-weight: 600;
}

/* CURSOR LINE (IMPORTANT FIX) */
.cursor-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* blinking cursor */
.cursor {
  display: inline-block;
  color: #00d4ff;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ORG + CERTS */
.org-card {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.3s;
}

.org-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent2);
  box-shadow: var(--glow);
}

.cert-image img {
  width: 100%;
  border-radius: 12px;
}

/* BADGE */
.badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent2);
  border: 1px solid rgba(0, 212, 255, 0.25);
}
.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.career-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);

  border-radius: 14px;
  padding: 20px;

  backdrop-filter: blur(12px);

  transition: 0.3s ease;
}

.career-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.12);
}

.career-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.career-header img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.25));
}

.career-header h3 {
  font-size: 16px;
  color: #e6e9f2;
}

.role {
  color: #00d4ff;
  font-size: 13px;
  margin-bottom: 8px;
}

.desc {
  color: #9aa4b2;
  font-size: 13px;
  line-height: 1.6;
}