:root {
  --bg-color: #0b0f19;
  --surface-color: rgba(255, 255, 255, 0.03);
  --surface-border: rgba(255, 255, 255, 0.08);
  --primary-glow: rgba(0, 210, 255, 0.2);
  --secondary-glow: rgba(138, 43, 226, 0.2);
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --accent: #00d2ff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-border);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 210, 255, 0.5);
}

html {
  scroll-behavior: smooth;
}

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

/* Background Orbs */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  animation: orbFloat 20s ease-in-out infinite alternate;
}
.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -10%;
  left: -10%;
}
.bg-orb-2 {
  width: 800px;
  height: 800px;
  background: var(--secondary-glow);
  bottom: -20%;
  right: -10%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 5%) scale(1.1); }
  100% { transform: translate(-5%, 15%) scale(0.9); }
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.2s ease-out;
}

body.page-transitioning {
  opacity: 0;
}

/* Nav */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.0);
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

nav.nav-scrolled {
  padding: 1rem 5%;
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
  text-decoration: none;
}
/* Holographic Logo */
.holo-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}
.logo-text-row {
  display: inline-flex;
  align-items: center;
  margin-top: 0.1em;
  letter-spacing: -0.05em;
}
.logo-highlight {
  color: #ffffff;
  font-weight: 800;
}
.logo-blocks {
  display: inline-flex;
  vertical-align: middle;
}
.logo-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-weight: 800;
}
.logo-block-off, .logo-block-on {
  opacity: 1;
  color: #a855f7;
  text-shadow: 0 0 8px rgba(168,85,247,0.6);
}
.holo-scanline {
  /* Removed - keeping class empty for HTML compatibility */
}

.nav-cta {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12rem 5% 8rem 5%; /* Macro whitespace */
  overflow: hidden; /* Prevent pseudo-element from bleeding */
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/hero_bg_sharp.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: contrast(1.2) saturate(1.1) brightness(0.85);
  transform: scale(1.02); /* Slight scale to hide edge artifacts from convolution */
}

.hero-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, rgba(168, 85, 247, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -55%) scale(1.1); }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg-color));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--accent);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  z-index: 1;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 3.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.primary-cta {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
  animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); }
  50% { box-shadow: 0 0 35px rgba(0, 210, 255, 0.7); }
  100% { box-shadow: 0 0 20px rgba(0, 210, 255, 0.4); }
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Social Proof */
.social-proof {
  text-align: center;
  padding: 2rem 5%;
  position: relative;
  z-index: 2;
  margin-top: -5rem;
}

.social-proof p {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 3rem;
  opacity: 0.5;
  filter: grayscale(100%);
}

.logos span {
  font-weight: 700;
  font-size: 1.2rem;
}

/* Bento Grid */
.features {
  padding: 8rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.features-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 2rem;
  margin-bottom: 8rem;
}

.bento-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.03), 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease-out, box-shadow 0.3s;
}

.bento-card:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(0, 210, 255, 0.3), 0 10px 40px rgba(0, 210, 255, 0.15);
  /* Transform is now handled by JS for 3D tilt */
}

::selection {
  background: rgba(168, 85, 247, 0.4);
  color: #00d2ff;
  text-shadow: none;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    800px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(0, 210, 255, 0.08),
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card > * {
  position: relative;
  z-index: 1;
}

.card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.card-tall {
  grid-row: span 2;
}

.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.bento-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 1rem;
  flex-grow: 1;
}

.bento-img, .bento-card img {
  margin-top: 2rem;
  border-radius: 8px;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border: 1px solid var(--surface-border);
  transition: opacity 0.3s ease;
}

.skeleton-loading {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  min-height: 200px;
}

@keyframes skeletonShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 5%;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .hero-content { margin-top: 6rem; } /* guarantee it clears the nav */
  .hero h1 { font-size: 3.5rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .card-large, .card-tall { grid-column: span 1; grid-row: span 1; }
  nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 5%;
  }
  nav a.logo {
    margin-left: 0;
    font-size: 1.5rem;
  }
}

a.bento-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-arrow {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.bento-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a.logo {
  margin-left: 6rem; /* Moves the logo into the darker background */
  font-size: 1.9rem; /* Makes the logo slightly bigger */
}

/* Scroll-Triggered Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Terminal Typing Effect */
.terminal-window {
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  text-align: left;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.5);
  margin: 1rem 0 1rem 0;
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.terminal-window::before {
  content: "SAFOPS SECURE TERMINAL";
  position: absolute;
  top: 0; left: 0; right: 0;
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  font-size: 0.65rem;
  padding: 4px 10px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  letter-spacing: 1px;
}
.terminal-content {
  margin-top: 15px;
  width: 100%;
}
.typing-text {
  color: #e2e8f0;
}
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: #00d2ff;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
.typing-response {
  margin-left: 10px;
  font-weight: 700;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Before/After Slider */
.before-after-slider {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
  margin-bottom: 2rem;
  /* Wider than 16:9 — the SAFOPS diagram is a wide, short shape (initiating
     events through consequences), and 16:9 wasted too much vertical space
     around it once scaled to a readable width. 2:1 lets it fill the frame
     properly; the legacy form image accepts a bit more top/bottom crop in
     exchange, which still reads fine since its content is centred. */
  aspect-ratio: 3 / 1;
  /* 25/75, not 50/50 — the SAFOPS diagram needs most of the frame's width
     to render at a readable size with every column visible; the legacy
     form only needs enough width to read as "a static form". */
  --slider-pos: 15%;
  user-select: none;
}

.before-image, .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-image img, .after-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.bento-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.bento-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 1rem;
  flex-grow: 1;
}

.bento-img, .bento-card img {
  margin-top: 2rem;
  border-radius: 8px;
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border: 1px solid var(--surface-border);
  transition: opacity 0.3s ease;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 5%;
  border-top: 1px solid var(--surface-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 1200px) {
  .hero-content { margin-top: 6rem; } /* guarantee it clears the nav */
  .hero h1 { font-size: 3.5rem; }
  .bento-grid { grid-template-columns: 1fr; }
  .card-large, .card-tall { grid-column: span 1; grid-row: span 1; }
  nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 5%;
  }
  nav a.logo {
    margin-left: 0;
    font-size: 1.5rem;
  }
}

a.bento-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-arrow {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.bento-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a.logo {
  margin-left: 6rem; /* Moves the logo into the darker background */
  font-size: 1.9rem; /* Makes the logo slightly bigger */
}

/* Scroll-Triggered Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Terminal Typing Effect */
.terminal-window {
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 0.85rem;
  text-align: left;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.8), 0 5px 15px rgba(0,0,0,0.5);
  margin: 1rem 0 1rem 0;
  display: flex;
  position: relative;
  overflow: hidden;
  min-height: 120px;
}
.terminal-window::before {
  content: "SAFOPS SECURE TERMINAL";
  position: absolute;
  top: 0; left: 0; right: 0;
  background: rgba(0, 210, 255, 0.1);
  color: #00d2ff;
  font-size: 0.65rem;
  padding: 4px 10px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  letter-spacing: 1px;
}
.terminal-content {
  margin-top: 15px;
  width: 100%;
}
.typing-text {
  color: #e2e8f0;
}
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: #00d2ff;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
.typing-response {
  margin-left: 10px;
  font-weight: 700;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Before/After Slider */
.before-after-slider {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
  margin-bottom: 2rem;
  /* Wider than 16:9 — the SAFOPS diagram is a wide, short shape (initiating
     events through consequences), and 16:9 wasted too much vertical space
     around it once scaled to a readable width. 2:1 lets it fill the frame
     properly; the legacy form image accepts a bit more top/bottom crop in
     exchange, which still reads fine since its content is centred. */
  aspect-ratio: 3 / 1;
  /* 25/75, not 50/50 — the SAFOPS diagram needs most of the frame's width
     to render at a readable size with every column visible; the legacy
     form only needs enough width to read as "a static form". */
  --slider-pos: 15%;
  user-select: none;
}

.before-image, .after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.before-image img, .after-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.after-image {
  clip-path: polygon(var(--slider-pos) 0, 100% 0, 100% 100%, var(--slider-pos) 100%);
  z-index: 6;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos);
  width: 40px;
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.slider-handle-button {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
  transition: transform 0.2s ease;
  position: relative;
  z-index: 2;
}

.slider-handle-button svg {
  width: 24px;
  height: 24px;
  stroke: #0b0f19;
}

.slider-handle:hover .slider-handle-button, .slider-handle:active .slider-handle-button {
  transform: scale(1.15);
}

.slider-label {
  position: absolute;
  top: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.label-before {
  left: 1rem;
}

.label-after {
  right: 1rem;
}

@keyframes subtlePulse {
  0% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 10px rgba(0, 210, 255, 0.6); }
  100% { transform: scale(1); opacity: 0.9; }
}
@media (max-width: 768px) {
  .before-after-slider {
    aspect-ratio: 16 / 9;
  }
}
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
.float-anim {
  animation: float 6s ease-in-out infinite;
}

/* Staggered Cascade Animations for Bento Grid */
.bento-grid .bento-card:hover {
  transition-delay: 0s !important;
}

/* Custom App-Style Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 4px solid var(--bg-color);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mac OS Terminal Header */
.mac-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
  z-index: 2;
}
.mac-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mac-dot.red { background: #ff5f56; }
.mac-dot.yellow { background: #ffbd2e; }
.mac-dot.green { background: #27c93f; }
.terminal-window::before {
  content: none !important; /* Hide the old text header */
}
.terminal-content {
  margin-top: 14px; /* Push down to clear mac header */
}

/* Animated Hero Text Gradient */
@keyframes textShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero h1 span {
  background-size: 200% auto;
  animation: textShimmer 5s linear infinite;
}

/* Animated Shimmer Borders on Bento Cards */
/* Glowing Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(0, 210, 255, 1), rgba(168, 85, 247, 1));
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.8);
  z-index: 9999;
  width: 0%;
  pointer-events: none;
  transition: width 0.1s ease-out;
}

/* Glassmorphism Noise Texture for Nav */
.glass-nav::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  border-radius: inherit;
}
