@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&family=Manrope:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   DESIGN SYSTEM & VARIABLES
   ============================================================ */
:root {
  --ink: #050507;
  --ink-soft: #0b0b0e;
  --surface: #101014;
  --surface-card: #14141a;
  --surface-card-hover: #1c1c24;
  --border: #1e1e26;
  --border-light: #2c2c38;
  --border-highlight: #424254;
  --red: #f12420;
  --red-hover: #ff3834;
  --red-glow: rgba(241, 36, 32, 0.4);
  --red-subtle: rgba(241, 36, 32, 0.08);
  --bone: #f5f4f0;
  --dim: #9e9b96;
  --dim-dark: #62605c;
  --mono: 'DM Mono', monospace;
  --display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --beam-angle: 0deg;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background-color: var(--ink);
  color: var(--bone);
  font-family: var(--display);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   INTERACTIVE BACKGROUND CANVAS & GRAIN
   ============================================================ */
.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.04;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 36, 32, 0.14) 0%, rgba(241, 36, 32, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
}

/* Custom Interactive Cursor (Desktop) */
@media (min-width: 851px) {
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0);
    box-shadow: 0 0 10px var(--red), 0 0 20px rgba(241, 36, 32, 0.5);
  }

  .cursor-halo {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(241, 36, 32, 0.45);
    background: rgba(241, 36, 32, 0.04);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transform: translate3d(-100px, -100px, 0);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  }

  .cursor-halo.hovering {
    width: 60px;
    height: 60px;
    border-color: var(--red);
    background-color: rgba(241, 36, 32, 0.12);
    box-shadow: 0 0 24px rgba(241, 36, 32, 0.4);
  }
}

@media (max-width: 850px) {
  .cursor-dot, .cursor-halo, .cursor-glow {
    display: none !important;
  }
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #f12420, #ff5753, #f12420);
  background-size: 200% 100%;
  animation: gradientShift 5s linear infinite;
  z-index: 1000;
  width: 0%;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 12px rgba(241, 36, 32, 0.7);
}

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

/* ============================================================
   TOP HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 5vw, 80px);
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease, height 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: 68px;
  background-color: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.8px;
  display: inline-flex;
  align-items: center;
  z-index: 110;
}

.logo span {
  color: var(--red);
  margin-left: 1px;
  transition: transform 0.25s ease;
}

.logo:hover span {
  transform: scale(1.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav a {
  color: #a4a19c;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--red);
  transition: width 0.25s var(--ease-out);
}

.nav a:hover,
.nav a.active {
  color: var(--bone);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-contact {
  border: 1px solid var(--border-light);
  padding: 8px 16px !important;
  color: var(--bone) !important;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease !important;
}

.nav-contact:hover {
  border-color: var(--red);
  background: var(--red-subtle);
  transform: translateY(-1px);
}

.nav-contact i {
  color: var(--red);
  font-style: normal;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  z-index: 110;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  border-radius: 6px;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--bone);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   MOBILE BOTTOM FLOATING DOCK (Reference Inspired)
   ============================================================ */
.mobile-bottom-dock {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-dock {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 28px), 360px);
    height: 60px;
    background: rgba(12, 12, 16, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 36px;
    z-index: 990;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 20px rgba(241, 36, 32, 0.18);
  }

  .mobile-bottom-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #7d7a75;
    font-size: 8px;
    font-family: var(--mono);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    flex: 1;
    height: 100%;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .mobile-bottom-dock a svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    transition: stroke 0.2s ease, transform 0.2s ease;
  }

  .mobile-bottom-dock a.active,
  .mobile-bottom-dock a:hover {
    color: var(--red);
  }

  .mobile-bottom-dock a.active svg {
    stroke: var(--red);
    transform: translateY(-1px);
  }

  .mobile-bottom-dock a.active::after {
    content: '';
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: var(--red);
    margin-top: 1px;
    box-shadow: 0 0 5px var(--red);
  }

  body {
    padding-bottom: 84px !important;
  }
}

/* ============================================================
   HERO SECTION & MOTION GRAPHICS
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px clamp(16px, 6vw, 100px) 70px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 20%, transparent 85%);
  pointer-events: none;
  animation: gridFloat 20s ease-in-out infinite alternate;
}

@keyframes gridFloat {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.03) translateY(-8px); }
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 58%;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: #b8b5b0;
  margin-bottom: 22px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
}

.availability b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 10px #25d366;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px #25d366; }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 4px #25d366; }
}

.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 6.2vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
  text-shadow: 0 0 24px rgba(241, 36, 32, 0.4);
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 520px;
  margin: 0 0 30px;
}

.hero-subtitle strong {
  color: var(--bone);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  max-width: 560px;
}

.hero-highlights span {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.9px;
  color: #aaa5a1;
  border-radius: 4px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
}

.hero-highlights span:hover {
  transform: translateY(-2px);
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(241, 36, 32, 0.2);
}

.hero-highlights b {
  color: var(--red);
  font-weight: 500;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--dim-dark);
  margin-top: 36px;
  text-transform: uppercase;
}

.hero-foot i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--red);
  box-shadow: 0 0 6px var(--red);
}

/* Portrait Stage & Orbital Motion Graphics */
.portrait-stage {
  position: absolute;
  right: 6%;
  bottom: 0;
  width: min(42vw, 620px);
  height: min(84vh, 760px);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition: transform 0.15s cubic-bezier(0.1, 0.5, 0.2, 1);
}

.portrait-glow {
  position: absolute;
  inset: 18% -8% 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(241, 36, 32, 0.48) 0%, rgba(120, 10, 8, 0.25) 42%, transparent 70%);
  opacity: 0.95;
  filter: blur(45px);
  z-index: 0;
  animation: glowPulse 6s infinite ease-in-out alternate;
}

@keyframes glowPulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  100% { transform: scale(1.06); opacity: 1; filter: blur(50px); }
}

.orbit {
  position: absolute;
  border: 1px solid rgba(241, 36, 32, 0.24);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.orbit-one {
  width: 82%;
  aspect-ratio: 1;
  top: 10%;
  left: 9%;
  border-style: dashed;
  animation: spinSlow 30s linear infinite;
  box-shadow: inset 0 0 20px rgba(241, 36, 32, 0.08);
}

.orbit-two {
  width: 108%;
  aspect-ratio: 1;
  top: -2%;
  left: -4%;
  border-color: rgba(255, 255, 255, 0.08);
  animation: spinSlow 46s linear infinite reverse;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.portrait-stage img {
  position: relative;
  z-index: 1;
  height: 94%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.85));
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.scroll-prompt {
  position: absolute;
  right: clamp(16px, 4vw, 50px);
  bottom: 26px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--dim-dark);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-prompt span {
  color: var(--red);
  font-size: 13px;
  animation: floatDown 2s infinite ease-in-out;
}

@keyframes floatDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   MOBILE REFERENCE HERO (Screen widths <= 768px, 390px Viewport)
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 95px 18px 50px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-grid {
    background-size: 40px 40px;
  }

  .scroll-prompt,
  .hero-foot {
    display: none;
  }

  .portrait-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(85vw, 320px);
    height: 330px;
    margin: 0 auto 12px;
    opacity: 1;
    z-index: 2;
  }

  .portrait-stage img {
    height: 100%;
    margin: 0 auto;
    mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 72%, transparent 100%);
  }

  .portrait-glow {
    inset: 10% -12% 15%;
    filter: blur(35px);
  }

  .orbit-one {
    width: 85%;
    top: 8%;
    left: 8%;
  }

  .orbit-two {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 360px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .availability {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -0.05em;
    margin: 0 0 10px;
    line-height: 1;
  }

  .mobile-subtitle-pill {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(241, 36, 32, 0.45);
    background: rgba(241, 36, 32, 0.05);
    border-radius: 24px;
    padding: 6px 14px;
    font-family: var(--mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.4px;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 16px;
    width: max-content;
    max-width: 100%;
  }

  .mobile-subtitle-pill span {
    width: 12px;
    height: 1px;
    background-color: var(--red);
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.65;
    color: #a8a5a0;
    margin: 0 0 18px;
    max-width: 320px;
  }

  .hero-highlights {
    justify-content: center;
    gap: 7px;
    margin: 0 0 24px;
  }

  .hero-highlights span {
    background: #111116;
    border: 1px solid #242430;
    border-radius: 18px;
    padding: 6px 11px;
    font-size: 9.5px;
    font-weight: 600;
    color: #cfcbc6;
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }

  .hero-actions .button {
    width: 100%;
    height: 48px;
    justify-content: center;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 16px;
  }

  .hero-actions .button-red {
    background: #e51d18;
    border-color: #e51d18;
    box-shadow: 0 8px 24px rgba(229, 29, 24, 0.4);
  }

  .hero-actions .button-line {
    background: #09090c;
    border-color: #272733;
    color: #fff;
  }
}

@media (min-width: 769px) {
  .mobile-subtitle-pill {
    display: none !important;
  }
}

/* ============================================================
   BUTTONS & MICRO-INTERACTIONS
   ============================================================ */
.button {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 15px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s ease;
}

.button:hover::before {
  left: 100%;
}

.button span, .button svg {
  transition: transform 0.25s ease;
}

.button:hover span, .button:hover svg {
  transform: translate(2px, -2px);
}

.button-red {
  background-color: var(--red);
  color: #fff;
  border: 1px solid var(--red);
  box-shadow: 0 8px 22px rgba(241, 36, 32, 0.35);
}

.button-red:hover {
  background-color: var(--red-hover);
  border-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(241, 36, 32, 0.5);
}

.button-line {
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--border-light);
}

.button-line:hover {
  border-color: var(--bone);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.under-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bone);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 5px;
  transition: border-color 0.25s ease, color 0.25s ease, gap 0.25s ease;
}

.under-link span {
  color: var(--red);
  font-size: 13px;
  transition: transform 0.25s ease;
}

.under-link:hover {
  border-color: var(--red);
  color: #fff;
  gap: 12px;
}

.under-link:hover span {
  transform: translate(2px, -2px);
}

/* ============================================================
   SECTIONS & 3D INTERACTIVE TILT CARDS
   ============================================================ */
.section, .community, .contact {
  padding: 100px clamp(16px, 6vw, 100px);
  position: relative;
  border-bottom: 1px solid var(--border);
}

.section-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-marker span {
  color: var(--red);
}

.section-marker p {
  margin: 0;
  color: var(--dim);
}

.section-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-intro h2, .about h2, .community h2, .contact h2, .insight-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin: 0;
  text-transform: uppercase;
}

.section-intro h2 em, .about h2 em, .community h2 em, .contact h2 em, .insight-head em {
  font-style: normal;
  color: var(--red);
}

.section-intro p, .insight-head p {
  max-width: 360px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* Interactive Card Sheen & 3D Tilt */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.1, 0.4, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(241, 36, 32, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.tilt-card:hover::after {
  opacity: 1;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--ink);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.about-copy p {
  color: var(--dim);
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0 0 18px;
}

.about-copy .lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--bone);
  font-weight: 500;
}

.about-quote {
  border-left: 2px solid var(--red);
  padding-left: 16px;
  margin: 24px 0;
  font-size: 14.5px;
  color: var(--bone);
  font-style: italic;
  background: rgba(241, 36, 32, 0.03);
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 0 4px 4px 0;
}

.interest-strip {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--dim-dark);
}

/* ============================================================
   VENTURES SECTION
   ============================================================ */
.ventures {
  background: var(--ink-soft);
}

.venture-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
  gap: 14px;
}

.venture-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.venture-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(241, 36, 32, 0.12);
}

.venture-card.trinfra {
  background: linear-gradient(145deg, #16161d 0%, #0d0d11 100%);
}

.venture-card.rastech {
  background: linear-gradient(145deg, #1c1112 0%, #0e0a0b 100%);
  border-color: rgba(241, 36, 32, 0.22);
}

.venture-card.m360 {
  background: #eeece7;
  color: #111;
  border-color: #d6d2c8;
}

.venture-card.m360 .card-top,
.venture-card.m360 .card-main p {
  color: #55524e;
}

.venture-card.m360 a {
  border-color: #cbc6bc;
  color: #111;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.3px;
  color: var(--dim);
}

.role {
  color: var(--red);
  font-weight: 500;
}

.card-main {
  margin: auto 0;
}

.card-main h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 14px;
}

.card-main p {
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.65;
  margin: 0;
  max-width: 270px;
}

.venture-card > a {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.2px;
  font-weight: 500;
  transition: color 0.25s ease;
}

.venture-card > a b {
  color: var(--red);
  font-size: 14px;
  transition: transform 0.25s ease;
}

.venture-card:hover > a b {
  transform: translate(3px, -3px);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects {
  background: var(--ink);
}

.project-list {
  border-top: 1px solid var(--border);
}

.project-row {
  display: grid;
  grid-template-columns: 45px 180px 1fr 160px 36px;
  gap: 20px;
  align-items: start;
  border-bottom: 1px solid var(--border);
  padding: 30px 0;
  transition: padding-left 0.25s ease, background-color 0.25s ease;
}

.project-row:hover {
  padding-left: 12px;
  background-color: rgba(255, 255, 255, 0.02);
}

.project-no, .project-type, .project-state {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--dim);
  padding-top: 5px;
}

.project-type {
  color: var(--red);
  font-weight: 500;
}

.project-name h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 8px;
}

.project-name h3 span {
  font-weight: 400;
  color: var(--dim);
}

.project-name p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dim);
  max-width: 540px;
  margin: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.project-tags span {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.8px;
  color: #8c8985;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 3px 7px;
  border-radius: 2px;
}

.project-row > a {
  font-size: 20px;
  color: var(--red);
  text-align: right;
  transition: transform 0.25s ease;
}

.project-row:hover > a {
  transform: translate(3px, -3px);
}

/* ============================================================
   DOMAINS MATRIX
   ============================================================ */
.domains-section {
  background: var(--ink-soft);
  padding: 90px clamp(16px, 6vw, 100px);
  border-bottom: 1px solid var(--border);
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.domain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 20px;
  border-radius: 3px;
}

.domain-card:hover {
  border-color: var(--border-light);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.domain-card h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--bone);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.domain-card h4 i {
  color: var(--red);
  font-style: normal;
}

.domain-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.domain-card li {
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.8;
  position: relative;
  padding-left: 12px;
}

.domain-card li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

/* ============================================================
   COMMUNITY & INSIGHTS
   ============================================================ */
.community {
  background: var(--ink);
  overflow: hidden;
  position: relative;
}

.community-flare {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  right: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(241, 36, 32, 0.22) 0%, transparent 65%);
  pointer-events: none;
}

.community-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  margin-top: 36px;
}

.community-content h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
}

.community-content h3 span {
  font-weight: 400;
  color: var(--dim);
}

.community-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 420px;
  margin: 0 0 20px;
}

.insights {
  background: var(--ink-soft);
}

.empty-insights {
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 28px 24px;
  border-radius: 3px;
}

.empty-insights > span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  font-weight: 500;
}

.empty-insights p {
  font-size: 14px;
  color: #b5b1ad;
  margin: 0;
}

/* ============================================================
   FAQ & CONTACT
   ============================================================ */
.faq {
  background: var(--ink);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 32px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--bone);
  transition: color 0.2s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--red);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 0 24px 20px 0;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.75;
}

.contact {
  background: var(--ink-soft);
  overflow: hidden;
}

.contact-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.contact h2 {
  font-size: clamp(48px, 7vw, 110px);
  line-height: 0.9;
  margin-bottom: 20px;
}

.contact-copy {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 460px;
  margin: 0 0 28px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

/* ============================================================
   SEO SEMANTIC ACCORDION
   ============================================================ */
.seo-semantic-drawer {
  margin-top: 40px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  border-radius: 4px;
  padding: 16px 20px;
}

.seo-semantic-drawer summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #8c8985;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seo-semantic-drawer summary span {
  color: var(--red);
  font-size: 14px;
}

.seo-semantic-drawer .seo-body {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.8;
  color: #8a8783;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(16px, 5vw, 80px);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.3px;
  color: var(--dim-dark);
}

footer p {
  margin: 0;
}

footer > a:last-child {
  color: var(--dim);
  transition: color 0.2s ease;
}

footer > a:last-child:hover {
  color: var(--bone);
}

/* ============================================================
   DETAIL PAGES
   ============================================================ */
.detail-page {
  min-height: calc(100vh - 80px);
  padding: 140px clamp(16px, 6vw, 100px) 90px;
  background: radial-gradient(ellipse at 80% 12%, rgba(241, 36, 32, 0.14) 0%, transparent 40%);
  position: relative;
}

.crumb {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--red);
  text-transform: uppercase;
  margin: 0 0 28px;
}

.detail-page > h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 98px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin: 0 0 38px;
  text-transform: uppercase;
}

.detail-page > h1 em {
  font-style: normal;
  color: var(--red);
}

.detail-text {
  max-width: 660px;
}

.detail-text p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--dim);
  margin-bottom: 20px;
}

.detail-text .lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--bone);
  font-weight: 500;
}

.detail-tags {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.1px;
  color: #aba6a2;
  border-radius: 2px;
}

.detail-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin-top: 36px;
}

.detail-cards article {
  min-width: 0;
  max-width: 100%;
  min-height: 280px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

.detail-cards small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--red);
  text-transform: uppercase;
}

.detail-cards h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 14px 0 12px;
}

.detail-cards p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--dim);
  margin: 0 0 18px;
}

.detail-cards a {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 1.1px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bone);
}

.projects-cards {
  grid-template-columns: repeat(2, 1fr);
  max-width: 940px;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.social-links a {
  min-width: 200px;
  border: 1px solid var(--border-light);
  background: var(--surface);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 1.3px;
  border-radius: 3px;
}

.social-links span {
  color: var(--red);
  font-size: 15px;
}

/* ============================================================
   SCROLL REVEAL & PARALLAX ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVENESS (390px, 580px, 850px, 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .domains-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .venture-grid {
    grid-template-columns: 1fr 1fr;
  }
  .venture-card.m360 {
    grid-column: 1 / -1;
    min-height: 260px;
  }
  .project-row {
    grid-template-columns: 40px 140px 1fr 30px;
  }
  .project-state {
    display: none;
  }
}

@media (max-width: 850px) {
  .header {
    height: 68px;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    display: none;
    position: fixed;
    inset: 0;
    top: 68px;
    background: rgba(6, 6, 8, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px clamp(20px, 7vw, 50px);
    gap: 20px;
    z-index: 105;
    border-top: 1px solid var(--border);
  }
  .nav.is-open {
    display: flex;
    animation: fadeIn 0.25s ease-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav a {
    font-size: 14px;
    letter-spacing: 2px;
  }
  .about-layout, .faq-layout, .community-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .section-intro, .insight-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-row {
    grid-template-columns: 30px 1fr 28px;
    gap: 14px;
  }
  .project-type {
    grid-column: 2;
  }
  .project-name {
    grid-column: 2;
  }
  .project-row > a {
    grid-column: 3;
    grid-row: 1;
  }
  .detail-cards {
    grid-template-columns: 1fr;
  }
  .projects-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .domains-grid {
    grid-template-columns: 1fr;
  }
  .venture-grid {
    grid-template-columns: 1fr;
  }
  .section, .community, .contact {
    padding: 70px 18px;
  }
  .empty-insights {
    grid-template-columns: 28px 1fr;
    gap: 14px;
  }
  .empty-insights .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
  footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .social-links a {
    width: 100%;
  }
  .detail-page {
    padding: 110px 18px 80px;
  }
}

/* ============================================================
   CYBER ANIMATIONS & TEXT MOTION (Adapted from aloofk.site)
   Non-breaking additive styling matched to Diyas.in design tokens
   ============================================================ */

/* 1. Cyber Text Glitch Effect */
.text-glitch,
.hv-glitch:hover {
  display: inline-block;
  animation: cyberGlitch 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes cyberGlitch {
  0% { transform: translate(0); text-shadow: none; }
  20% { transform: translate(-2px, 1px); text-shadow: 2px 0 var(--red), -2px 0 rgba(0, 255, 255, 0.7); }
  40% { transform: translate(-1px, -1px); text-shadow: -2px 0 var(--red), 2px 0 rgba(0, 255, 255, 0.7); }
  60% { transform: translate(2px, 1px); text-shadow: 2px 0 var(--red), -1px 0 rgba(0, 255, 255, 0.7); }
  80% { transform: translate(1px, -1px); text-shadow: -1px 0 var(--red), 1px 0 rgba(0, 255, 255, 0.7); }
  100% { transform: translate(0); text-shadow: none; }
}

/* 2. Cyber Scramble Active Glyph & State */
.scramble-text {
  display: inline-block;
  will-change: contents;
}

.hero-name {
  cursor: default;
}

.scramble-glyph {
  color: var(--red);
  font-family: var(--mono);
  font-weight: 500;
  display: inline-block;
  opacity: 0.9;
  text-shadow: 0 0 8px var(--red-glow);
}

.scrambling {
  position: relative;
  will-change: contents;
}

/* 3. Terminal Cursor Blinking Caret */
.terminal-cursor::after,
.typing-cursor::after {
  content: '_';
  font-family: var(--mono);
  color: var(--red);
  font-weight: 700;
  margin-left: 3px;
  animation: terminalBlink 1s infinite steps(1);
}

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

/* 4. Live Status Pulse Dot */
.status-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: statusPulseGreen 2s infinite ease-in-out;
  vertical-align: middle;
}

.status-pulse-dot.pulse-red {
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: statusPulseRed 2s infinite ease-in-out;
}

@keyframes statusPulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes statusPulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--red-glow); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(241, 36, 32, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(241, 36, 32, 0); }
}

/* 5. Laser / Radiant Border Shimmer on Cards */
.shimmer-card,
.border-shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer-card::before,
.border-shimmer::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, transparent 35%, var(--red) 50%, transparent 65%);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  animation: borderShimmer 4s linear infinite;
}

.shimmer-card:hover::before,
.border-shimmer:hover::before {
  opacity: 0.75;
}

@keyframes borderShimmer {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* 6. Levitation / Floating Badge */
.float-badge,
.floating-element {
  animation: floatLevitate 5s ease-in-out infinite;
}

.float-badge-delay {
  animation: floatLevitate 5s ease-in-out -2.5s infinite;
}

@keyframes floatLevitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 7. Metric / Number Glow Animation */
.count-glow,
.counted.glow-active {
  animation: countGlow 0.8s ease-out;
}

@keyframes countGlow {
  0% { text-shadow: 0 0 24px var(--red-glow), 0 0 10px var(--red); }
  100% { text-shadow: none; }
}

/* 8. Scroll Down Hint Pulse */
.scroll-hint-pulse {
  animation: hintPulse 2.2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(4px); }
}

/* 9. Single Photo Swiper & Lightbox */
.iris-swiper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 16px 0 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  user-select: none;
  touch-action: pan-y;
  aspect-ratio: 16 / 9;
}

.swiper-wrapper {
  display: flex !important;
  width: 100%;
  height: 100% !important;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.swiper-slide {
  position: relative;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  box-sizing: border-box;
  background: #000;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: pointer;
}

.swiper-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--bone);
  letter-spacing: 0.06em;
  pointer-events: none;
}

.swiper-badge span {
  color: var(--red);
  font-weight: 700;
}

.swiper-caption {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--dim);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.swiper-nav {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(5, 5, 7, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 5;
}

.swiper-btn {
  background: none;
  border: none;
  color: var(--bone);
  font-size: 16px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.swiper-btn:hover {
  color: var(--red);
  transform: scale(1.2);
}

.swiper-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 0 2px;
}

.swiper-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.swiper-dot.active {
  width: 16px;
  border-radius: 4px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}

/* Image Lightbox Modal */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.image-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 35px var(--red-glow);
  object-fit: contain;
}

.lightbox-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bone);
  text-align: center;
  letter-spacing: 0.04em;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  color: var(--red);
  transform: scale(1.15);
}

/* ============================================================
   INNOVATION PRELOADER (Idea -> Build -> Launch)
   ============================================================ */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: var(--ink);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
  pointer-events: auto;
  overflow: hidden;
}

.site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  position: relative;
}

.preloader-stage {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-step {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-out);
  pointer-events: none;
}

.preloader-step.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.preloader-icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 0 16px rgba(241, 36, 32, 0.4));
}

/* 1. Bulb (Idea) Animations */
.bulb-halo {
  animation: haloPulse 1.4s infinite ease-in-out;
  transform-origin: 32px 28px;
}

.bulb-filament {
  animation: filamentGlow 1.2s infinite alternate ease-in-out;
}

.bulb-ray {
  animation: rayFlash 1s infinite alternate ease-in-out;
}

.ray-2, .ray-4 { animation-delay: 0.2s; }
.ray-3, .ray-5 { animation-delay: 0.4s; }

@keyframes haloPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.3; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes filamentGlow {
  0% { stroke: var(--red); filter: drop-shadow(0 0 2px var(--red)); }
  100% { stroke: #ffea00; filter: drop-shadow(0 0 8px #ffea00); }
}

@keyframes rayFlash {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}

/* 2. Gears (Working) Animations */
.gear-main {
  transform-origin: 32px 25.5px;
  animation: gearSpin 3s linear infinite;
}

.gear-sub {
  transform-origin: 47.5px 46.5px;
  animation: gearSpinReverse 2.2s linear infinite;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes gearSpinReverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* 3. Rocket (Success) Animations */
.rocket-ship {
  animation: rocketHover 0.8s infinite ease-in-out alternate;
}

.rocket-flame {
  animation: flameThrust 0.15s infinite alternate ease-in-out;
  transform-origin: 32px 47px;
}

.spark-1 { animation: sparkFly 0.5s infinite ease-out; }
.spark-2 { animation: sparkFly 0.6s 0.2s infinite ease-out; }
.spark-3 { animation: sparkFly 0.4s 0.1s infinite ease-out; }

@keyframes rocketHover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@keyframes flameThrust {
  0% { transform: scaleY(0.85); opacity: 0.8; }
  100% { transform: scaleY(1.3); opacity: 1; filter: drop-shadow(0 0 10px var(--red)); }
}

@keyframes sparkFly {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

.preloader-step.launching .rocket-icon {
  animation: rocketLaunchUp 0.65s forwards cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

@keyframes rocketLaunchUp {
  0% { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-220px) scale(0.5); opacity: 0; }
}

/* Label & Progress Track */
.preloader-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.label-phase {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--bone);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.preloader-progress-track {
  width: 150px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red) 0%, #ff524e 100%);
  box-shadow: 0 0 8px var(--red-glow);
  transition: width 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .bg-canvas, .cursor-dot, .cursor-halo, .cursor-glow {
    display: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .tilt-card {
    transform: none !important;
  }
  .text-glitch, .hv-glitch:hover, .status-pulse-dot, .float-badge, .shimmer-card::before, .border-shimmer::before {
    animation: none !important;
  }
}
