/* ===================================================================
   EZRA PORTFOLIO — BESPOKE SLICK BLACK THEME
   Modern, crisp, authentic, high-performance design.
   =================================================================== */

:root {
  --bg-darkest: #07080b;
  --bg-primary: #0a0c10;
  --bg-secondary: #0f1218;
  --bg-tertiary: #141720;
  --card-bg: rgba(15, 18, 26, 0.75);
  --card-hover: rgba(22, 27, 39, 0.85);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(255, 255, 255, 0.18);
  --border-accent: rgba(56, 189, 248, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-discord: #5865f2;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styling */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darkest);
  color: var(--text-main);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Grids & Ambient Glows */
.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
}

.glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.12), rgba(88, 101, 242, 0.05), transparent 70%);
}

.glow-accent {
  bottom: 10%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.06), transparent 70%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-highlight {
  color: #ffffff;
  font-weight: 600;
}

.text-emerald {
  color: var(--accent-emerald) !important;
}

.user-inline-chip {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
}

.org-inline {
  color: var(--accent-amber);
  font-weight: 500;
}

/* ===================================================================
   NAVIGATION DOCK
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 1.5rem;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-monogram {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.brand-monogram.sm {
  width: 26px;
  height: 26px;
  font-size: 0.8rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand-tag {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.85rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 18, 24, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-contact-btn {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.nav-contact-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-menu-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ===================================================================
   BUTTONS & CONTROLS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: #f8fafc;
  color: #07080b;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-focus);
}

.copy-tag-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-section {
  padding: 9.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.status-text {
  font-size: 0.82rem;
  font-weight: 500;
  color: #34d399;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.metrics-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-divider {
  width: 1px;
  height: 34px;
  background-color: var(--border-subtle);
}

/* ===================================================================
   HERO PROFILE CARD
   =================================================================== */
.hero-card-col {
  position: relative;
}

.profile-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 
              0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.profile-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8),
              0 0 30px rgba(56, 189, 248, 0.08);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
}

.profile-avatar-container {
  position: relative;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: var(--bg-tertiary);
}

.profile-online-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background-color: var(--accent-emerald);
  border: 3px solid var(--bg-primary);
  border-radius: 50%;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.verified-badge {
  width: 18px;
  height: 18px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07080b;
}

.profile-handle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.profile-roles-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.role-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}

.pill-bot {
  color: #818cf8;
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.07);
}

.pill-ia {
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
}

.pill-web {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.07);
}

.profile-activity-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem;
  margin-bottom: 1.25rem;
}

.activity-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.activity-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.activity-sub {
  font-size: 0.72rem;
  color: var(--accent-amber);
  font-weight: 600;
}

.activity-detail {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hnzrp-mini-crest {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.activity-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
}

.activity-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.profile-terminal-footer {
  background: #050608;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.terminal-line {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.term-prompt {
  color: var(--accent-cyan);
}

.term-command {
  color: #ffffff;
}

.term-result {
  color: var(--text-dim);
  font-size: 0.72rem;
}

/* ===================================================================
   SHARED SECTION STYLES
   =================================================================== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
  max-width: 720px;
}

.badge-category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.ia-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.bot-badge {
  background: rgba(88, 101, 242, 0.1);
  color: #818cf8;
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.web-badge {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.stack-badge {
  background: rgba(148, 163, 184, 0.1);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.contact-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   INTERNAL AFFAIRS / HNZRP SECTION
   =================================================================== */
.ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.ia-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition-smooth);
}

.ia-card:hover {
  background: var(--card-hover);
  border-color: rgba(245, 158, 11, 0.25);
  box-shadow: 0 8px 24px -5px rgba(0, 0, 0, 0.5);
}

.featured-ia {
  border-color: rgba(56, 189, 248, 0.22);
}

.ia-card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
}

.ia-icon-box {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.ia-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
}

.ia-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ia-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ia-points li {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ia-points li::before {
  content: "•";
  color: var(--accent-amber);
  font-weight: bold;
}

/* ===================================================================
   BOT SHOWCASE & INTERACTIVE SIMULATOR
   =================================================================== */
.bot-feature-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: stretch;
}

.bot-feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  gap: 1.1rem;
  padding: 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.feature-item:hover,
.feature-item.active {
  background: rgba(22, 27, 40, 0.9);
  border-color: rgba(88, 101, 242, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.feature-item.active .feature-title {
  color: #ffffff;
}

.feature-icon {
  font-size: 1.4rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* Simulator Card (Discord Aesthetics) */
.bot-simulator-card {
  background: #111216;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.sim-header {
  background: #0b0c0f;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sim-dot-wrap {
  display: flex;
  gap: 6px;
}

.sim-circle {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.sim-circle.red { background-color: #ef4444; }
.sim-circle.yellow { background-color: #f59e0b; }
.sim-circle.green { background-color: #10b981; }

.sim-channel-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sim-status-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-emerald);
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.sim-screen {
  padding: 1.5rem;
  flex: 1;
  background: #0e0f13;
  min-height: 300px;
}

.sim-message {
  display: flex;
  gap: 1rem;
}

.sim-msg-avatar {
  flex-shrink: 0;
}

.sim-bot-avatar-inner {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #5865F2, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
}

.sim-msg-body {
  flex: 1;
}

.sim-msg-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.sim-msg-author {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.sim-bot-badge {
  background: #5865f2;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}

.sim-msg-time {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.sim-embed {
  background: #1e1f22;
  border-radius: 6px;
  display: flex;
  overflow: hidden;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.embed-sidebar {
  width: 4px;
  background: #38bdf8;
  flex-shrink: 0;
}

.embed-content {
  padding: 0.85rem 1rem;
  flex: 1;
}

.embed-author {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.embed-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.embed-description {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.embed-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.field-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: #f1f5f9;
}

.embed-footer {
  font-size: 0.72rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.45rem;
}

.sim-controls {
  background: #0b0c0f;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sim-quick-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.sim-quick-buttons {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.cmd-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.cmd-pill:hover,
.cmd-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

/* ===================================================================
   PROJECTS SECTION & FILTERS
   =================================================================== */
.project-filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: #ffffff;
  color: #07080b;
  border-color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.project-card:hover {
  background: var(--card-hover);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px -5px rgba(0, 0, 0, 0.5);
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.project-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.ptag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.ptag-highlight {
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.ptag-accent {
  color: var(--accent-discord);
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.2);
}

.status-indicator-tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.highlight-chip {
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.project-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.t-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

/* ===================================================================
   TECH ARSENAL SECTION
   =================================================================== */
.tech-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.tech-category-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tech-cat-icon {
  font-size: 1.35rem;
}

.tech-cat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.skills-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #e2e8f0;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.skill-level {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-box {
  background: linear-gradient(180deg, rgba(15, 18, 26, 0.85) 0%, rgba(10, 12, 16, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 3.5rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.contact-header {
  max-width: 650px;
  margin-bottom: 2.5rem;
}

.contact-title {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-channel-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.contact-channel-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.featured-channel {
  border-color: rgba(88, 101, 242, 0.35);
  background: rgba(88, 101, 242, 0.04);
}

.channel-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.discord-icon {
  background: rgba(88, 101, 242, 0.15);
  color: #5865f2;
}

.roblox-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hnzrp-icon {
  background: rgba(245, 158, 11, 0.15);
}

.contact-crest {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.channel-details {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.channel-sub {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.25rem;
}

.channel-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.channel-val code {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

.channel-val span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.channel-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.channel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.featured-channel .channel-btn {
  background: var(--accent-discord);
  border-color: var(--accent-discord);
}

.featured-channel .channel-btn:hover {
  background: #4752c4;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
  background: var(--bg-darkest);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.footer-name {
  font-weight: 700;
  font-size: 1rem;
}

.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-subtext {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ===================================================================
   TOAST NOTIFICATION
   =================================================================== */
.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(16, 185, 129, 0.15);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.4rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #ffffff;
}

/* ===================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   =================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bot-feature-layout {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 2.25rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(10, 12, 16, 0.96);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.5rem;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.65rem;
  }

  .metrics-row {
    flex-wrap: wrap;
    gap: 1.25rem;
  }

  .metric-divider {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
