/* ==========================================================================
   Tadaaki Enhanced DaisyUI Hero — Animations, Aurora, 3D Stage & Controls
   Built to layer cleanly on top of DaisyUI .hero / .hero-overlay / .hero-content
   and Tadaaki's 60-30-10 Oat / Cocoa / Cherry design system.
   ========================================================================== */

/* DaisyUI Hero base fallback (ensures identical layout even offline) */
.hero {
  display: grid;
  width: 100%;
  place-items: center;
  background-size: cover;
  background-position: center;
}

.hero > * {
  grid-column-start: 1;
  grid-row-start: 1;
}

.hero-overlay {
  grid-column-start: 1;
  grid-row-start: 1;
  height: 100%;
  width: 100%;
}

.hero-content {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Main Tadaaki DaisyUI Hero Shell */
.hero.tdk-daisy-hero {
  --hero-mx: 50%;
  --hero-my: 45%;
  min-height: clamp(640px, 84vh, 840px);
  padding: 4.5rem 0 3.75rem;
  background:
    radial-gradient(120% 90% at 15% 10%, #4d3529 0%, var(--tdk-cocoa) 48%, #221611 100%);
  color: var(--tdk-oat);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Subtle architectural grid texture */
.tdk-hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(239, 231, 218, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(239, 231, 218, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 30%, transparent 100%);
}

/* Ambient Aurora Glowing Orbs */
.tdk-hero-aurora {
  position: absolute;
  inset: -12%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(72px);
  opacity: 0.72;
}

.tdk-aurora-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

.tdk-aurora-orb--cherry {
  width: clamp(320px, 38vw, 560px);
  height: clamp(320px, 38vw, 560px);
  top: -8%;
  right: 8%;
  background: radial-gradient(circle, rgba(227, 23, 62, 0.42) 0%, rgba(227, 23, 62, 0) 70%);
  animation: tdkOrbFloatA 16s ease-in-out infinite alternate;
}

.tdk-aurora-orb--oat {
  width: clamp(300px, 34vw, 520px);
  height: clamp(300px, 34vw, 520px);
  bottom: -14%;
  left: -4%;
  background: radial-gradient(circle, rgba(239, 231, 218, 0.22) 0%, rgba(239, 231, 218, 0) 70%);
  animation: tdkOrbFloatB 20s ease-in-out infinite alternate;
}

.tdk-aurora-orb--ember {
  width: clamp(240px, 28vw, 420px);
  height: clamp(240px, 28vw, 420px);
  top: 38%;
  left: 38%;
  background: radial-gradient(circle, rgba(227, 108, 23, 0.24) 0%, rgba(227, 23, 62, 0) 72%);
  animation: tdkOrbFloatC 18s ease-in-out infinite alternate;
}

@keyframes tdkOrbFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-6%, 8%, 0) scale(1.12); }
  100% { transform: translate3d(5%, -4%, 0) scale(0.95); }
}

@keyframes tdkOrbFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8%, -6%, 0) scale(1.15); }
  100% { transform: translate3d(-4%, 6%, 0) scale(0.96); }
}

@keyframes tdkOrbFloatC {
  0% { transform: translate3d(0, 0, 0) scale(0.95); }
  100% { transform: translate3d(-8%, -7%, 0) scale(1.12); }
}

/* Interactive Pointer-Tracking Spotlight */
.tdk-hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    540px circle at var(--hero-mx) var(--hero-my),
    rgba(239, 231, 218, 0.085),
    rgba(227, 23, 62, 0.045) 35%,
    transparent 70%
  );
  transition: opacity 0.35s ease;
}

/* Particle canvas sits cleanly above aurora */
.tdk-daisy-hero .hero-particles {
  z-index: 1;
  opacity: 0.92;
}

/* DaisyUI Hero Overlay Vignette */
.tdk-daisy-hero .hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(28, 18, 13, 0.28) 0%, rgba(28, 18, 13, 0.06) 45%, rgba(28, 18, 13, 0.56) 100%),
    radial-gradient(ellipse 90% 80% at 25% 50%, transparent 45%, rgba(20, 12, 9, 0.42) 100%);
}

/* DaisyUI Hero Content Container */
.tdk-daisy-hero .hero-content {
  z-index: 2;
  padding: 0;
  max-width: 100%;
  flex-direction: column;
}

.tdk-daisy-hero .container {
  max-width: 1380px;
}

.tdk-daisy-hero .hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

/* Animated Eyebrow Pill with Pulsing Beacon */
.tdk-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.42rem 0.95rem 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(239, 231, 218, 0.08);
  border: 1px solid rgba(239, 231, 218, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tdk-oat);
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.tdk-pulse-beacon {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tdk-cherry);
  display: inline-block;
  flex-shrink: 0;
}

.tdk-pulse-beacon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--tdk-cherry);
  animation: tdkBeaconPing 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes tdkBeaconPing {
  0% { transform: scale(0.75); opacity: 0.95; }
  75%, 100% { transform: scale(2.1); opacity: 0; }
}

/* Animated Gradient Accent on <em>AI</em> */
.tdk-daisy-hero .display-title {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  margin-bottom: 1.15rem;
  color: var(--tdk-oat-light);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.24);
}

.tdk-daisy-hero .display-title em {
  font-style: normal;
  font-weight: 800;
  background: linear-gradient(110deg, #ff4d6d 0%, #f8d49d 38%, #efe7da 55%, #e3173e 85%, #ff4d6d 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tdkTextShimmer 6.5s linear infinite;
  display: inline-block;
}

@keyframes tdkTextShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 240% center; }
}

.tdk-hero-lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.68;
  color: rgba(239, 231, 218, 0.84);
  max-width: 560px;
  margin: 0;
}

/* Captivating CTA Buttons */
.tdk-daisy-hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.85rem;
}

.tdk-btn-shimmer {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, background-color 0.2s ease;
  box-shadow: 0 8px 26px rgba(227, 23, 62, 0.38);
}

.tdk-btn-shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.36) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  animation: tdkBtnSweep 4.6s ease-in-out infinite;
  pointer-events: none;
}

.tdk-btn-shimmer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227, 23, 62, 0.52);
}

@keyframes tdkBtnSweep {
  0%, 62% { left: -130%; }
  88%, 100% { left: 165%; }
}

.tdk-btn-glass {
  background: rgba(239, 231, 218, 0.08);
  color: var(--tdk-oat) !important;
  border: 1px solid rgba(239, 231, 218, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tdk-btn-glass:hover {
  background: var(--tdk-oat);
  color: var(--tdk-cocoa) !important;
  border-color: var(--tdk-oat);
  transform: translateY(-2px);
}

/* Hero Trust Metrics Strip */
.tdk-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(239, 231, 218, 0.14);
}

.tdk-hero-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  color: rgba(239, 231, 218, 0.78);
}

.tdk-hero-trust__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tdk-oat-deep);
  opacity: 0.75;
}

.tdk-hero-trust__item strong {
  color: var(--tdk-oat-light);
  font-weight: 600;
}

/* Interactive 3D Showcase Stage */
.tdk-hero-stage {
  position: relative;
  perspective: 1100px;
}

.tdk-hero-stage__tilt {
  position: relative;
  border-radius: calc(var(--tdk-radius-lg) + 4px);
  padding: 2px;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Animated Conic Glow Border around Showcase Frame */
.tdk-hero-stage__tilt::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--tdk-glow-angle, 0deg),
    rgba(239, 231, 218, 0.14) 0deg,
    rgba(227, 23, 62, 0.75) 75deg,
    rgba(248, 212, 157, 0.65) 145deg,
    rgba(239, 231, 218, 0.14) 220deg,
    rgba(227, 23, 62, 0.45) 310deg,
    rgba(239, 231, 218, 0.14) 360deg
  );
  z-index: 0;
  animation: tdkBorderSpin 9s linear infinite;
  opacity: 0.85;
}

@property --tdk-glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes tdkBorderSpin {
  to { --tdk-glow-angle: 360deg; }
}

.tdk-hero-stage__inner {
  position: relative;
  z-index: 1;
  border-radius: var(--tdk-radius-lg);
  background: #211611;
  padding: 0.55rem;
  box-shadow:
    0 24px 60px rgba(10, 5, 3, 0.55),
    0 0 0 1px rgba(239, 231, 218, 0.08) inset;
}

.tdk-daisy-hero .ai-loop-frame {
  border: 1px solid rgba(239, 231, 218, 0.14);
  box-shadow: none;
}

.tdk-daisy-hero .ai-credit {
  padding: 0.65rem 0.5rem 0.25rem;
  margin: 0;
  font-size: 0.8rem;
  color: rgba(239, 231, 218, 0.72);
}

.tdk-daisy-hero .ai-credit a {
  color: var(--tdk-oat-light);
  text-decoration: underline;
  text-decoration-color: rgba(239, 231, 218, 0.35);
  text-underline-offset: 3px;
}

.tdk-daisy-hero .ai-credit a:hover {
  text-decoration-color: var(--tdk-cherry);
}

/* Floating Glassmorphic Badge on Stage */
.tdk-stage-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(28, 18, 13, 0.72);
  border: 1px solid rgba(239, 231, 218, 0.24);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--tdk-oat-light);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  animation: tdkFloatBadge 4.8s ease-in-out infinite;
}

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

/* Staggered Slide Entrance Choreography */
.tdk-daisy-hero .hero-slide.is-active .tdk-reveal {
  animation: tdkSlideReveal 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.tdk-daisy-hero .hero-slide.is-active .tdk-reveal--1 { animation-delay: 0.04s; }
.tdk-daisy-hero .hero-slide.is-active .tdk-reveal--2 { animation-delay: 0.12s; }
.tdk-daisy-hero .hero-slide.is-active .tdk-reveal--3 { animation-delay: 0.2s; }
.tdk-daisy-hero .hero-slide.is-active .tdk-reveal--4 { animation-delay: 0.28s; }
.tdk-daisy-hero .hero-slide.is-active .tdk-reveal--5 { animation-delay: 0.36s; }
.tdk-daisy-hero .hero-slide.is-active .tdk-reveal--media {
  animation: tdkStageReveal 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

@keyframes tdkSlideReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes tdkStageReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Enhanced Slider Navigation with Live Progress Tabs */
.tdk-daisy-hero .hero-slider-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(239, 231, 218, 0.14);
}

.tdk-hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tdk-hero-tab {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(239, 231, 218, 0.06);
  color: rgba(239, 231, 218, 0.72);
  border: 1px solid rgba(239, 231, 218, 0.16);
  border-radius: 999px;
  padding: 0.48rem 1.05rem;
  font-family: var(--tdk-font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.tdk-hero-tab:hover {
  color: var(--tdk-oat-light);
  border-color: rgba(239, 231, 218, 0.36);
  background: rgba(239, 231, 218, 0.12);
}

.tdk-hero-tab__num {
  font-family: var(--tdk-font-mono);
  font-size: 0.72rem;
  opacity: 0.7;
}

.tdk-hero-tab.is-active {
  color: var(--tdk-white);
  background: rgba(227, 23, 62, 0.22);
  border-color: rgba(227, 23, 62, 0.72);
}

.tdk-hero-tab__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--tdk-cherry), #f8d49d);
  pointer-events: none;
}

.tdk-hero-tab.is-active .tdk-hero-tab__progress {
  animation: tdkTabProgress var(--tdk-slide-duration, 7000ms) linear forwards;
}

.tdk-daisy-hero.is-paused .tdk-hero-tab.is-active .tdk-hero-tab__progress {
  animation-play-state: paused;
}

@keyframes tdkTabProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.tdk-daisy-hero .hero-slider-arrow {
  background: rgba(239, 231, 218, 0.08);
  color: var(--tdk-oat);
  border: 1px solid rgba(239, 231, 218, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.18s ease;
}

.tdk-daisy-hero .hero-slider-arrow:hover {
  background: var(--tdk-oat);
  color: var(--tdk-cocoa);
  border-color: var(--tdk-oat);
  transform: translateY(-1px);
}

/* Scroll Cue at Bottom of Hero */
.tdk-hero-scroll-cue {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(239, 231, 218, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tdk-hero-scroll-cue:hover {
  color: var(--tdk-oat-light);
}

.tdk-scroll-mouse {
  width: 16px;
  height: 24px;
  border-radius: 999px;
  border: 1.5px solid rgba(239, 231, 218, 0.45);
  display: inline-flex;
  justify-content: center;
  padding-top: 4px;
}

.tdk-scroll-mouse::after {
  content: "";
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--tdk-cherry);
  animation: tdkScrollWheel 1.8s ease-in-out infinite;
}

@keyframes tdkScrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ==========================================================================
   Interactive AI Director Studio Stage (Slide 1 Replacement for Video)
   ========================================================================== */
.tdk-studio-shell {
  padding: 0.65rem;
  background: linear-gradient(160deg, #271a14 0%, #19100c 100%);
}

.tdk-studio-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.76rem;
  color: rgba(239, 231, 218, 0.78);
}

.tdk-studio-dots {
  display: inline-flex;
  gap: 0.38rem;
}

.tdk-studio-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(239, 231, 218, 0.22);
}

.tdk-studio-dots span:first-child { background: #e3173e; }
.tdk-studio-dots span:nth-child(2) { background: #f3b562; }
.tdk-studio-dots span:nth-child(3) { background: #43b581; }

.tdk-studio-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tdk-oat-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tdk-studio-fps {
  font-family: var(--tdk-font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(227, 23, 62, 0.2);
  border: 1px solid rgba(227, 23, 62, 0.52);
  color: #ffb3c1;
  flex-shrink: 0;
}

.tdk-studio-viewport {
  position: relative;
  width: 100%;
  min-height: 410px;
  aspect-ratio: 16 / 10;
  border-radius: calc(var(--tdk-radius) + 2px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #342119 0%, #160d0a 72%, #0e0806 100%);
  border: 1px solid rgba(239, 231, 218, 0.14);
}

.tdk-studio-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Cinematic Lens Reticle Corners */
.tdk-studio-reticle {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  z-index: 2;
}

.tdk-reticle-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(239, 231, 218, 0.28);
  border-style: solid;
}

.tdk-reticle-corner--tl { top: 0; left: 0; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.tdk-reticle-corner--tr { top: 0; right: 0; border-width: 2px 2px 0 0; border-top-right-radius: 4px; }
.tdk-reticle-corner--bl { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 4px; }
.tdk-reticle-corner--br { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

/* Interactive Mode Switcher Chips */
.tdk-studio-modes {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tdk-studio-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: rgba(22, 13, 10, 0.66);
  border: 1px solid rgba(239, 231, 218, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(239, 231, 218, 0.84);
  font-family: var(--tdk-font-body);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
}

.tdk-studio-mode:hover {
  background: rgba(239, 231, 218, 0.14);
  border-color: rgba(239, 231, 218, 0.42);
  color: var(--tdk-white);
  transform: translateY(-1px);
}

.tdk-studio-mode.is-active {
  background: var(--tdk-cherry);
  border-color: var(--tdk-cherry);
  color: var(--tdk-white);
  box-shadow: 0 4px 16px rgba(227, 23, 62, 0.45);
}

/* Floating Waveform Telemetry Card */
.tdk-studio-float-card {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  background: rgba(22, 13, 10, 0.68);
  border: 1px solid rgba(239, 231, 218, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  animation: tdkFloatBadge 5.2s ease-in-out infinite;
}

.tdk-studio-float-card strong {
  display: block;
  font-size: 0.75rem;
  line-height: 1.2;
  color: var(--tdk-oat-light);
}

.tdk-studio-float-card span {
  display: block;
  font-size: 0.68rem;
  color: rgba(239, 231, 218, 0.68);
}

.tdk-studio-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 20px;
}

.tdk-studio-wave span {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8d49d 0%, var(--tdk-cherry) 100%);
  animation: tdkWavePulse 1.2s ease-in-out infinite;
}

.tdk-studio-wave span:nth-child(1) { height: 7px; animation-delay: 0s; }
.tdk-studio-wave span:nth-child(2) { height: 15px; animation-delay: 0.16s; }
.tdk-studio-wave span:nth-child(3) { height: 19px; animation-delay: 0.32s; }
.tdk-studio-wave span:nth-child(4) { height: 12px; animation-delay: 0.48s; }
.tdk-studio-wave span:nth-child(5) { height: 8px; animation-delay: 0.64s; }

@keyframes tdkWavePulse {
  0%, 100% { transform: scaleY(0.45); opacity: 0.75; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Bottom Live Prompt Terminal */
.tdk-studio-prompt {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.9rem;
  border-radius: 12px;
  background: rgba(18, 10, 7, 0.78);
  border: 1px solid rgba(239, 231, 218, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.tdk-studio-prompt__tag {
  font-family: var(--tdk-font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.48rem;
  border-radius: 6px;
  background: rgba(239, 231, 218, 0.14);
  color: #f8d49d;
  flex-shrink: 0;
}

.tdk-studio-prompt__text {
  font-family: var(--tdk-font-mono);
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--tdk-oat-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tdk-studio-cursor {
  width: 7px;
  height: 14px;
  border-radius: 2px;
  background: var(--tdk-cherry);
  flex-shrink: 0;
  animation: tdkCursorBlink 1s steps(2, start) infinite;
}

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

@media (max-width: 640px) {
  .tdk-studio-viewport {
    min-height: 330px;
    aspect-ratio: 4 / 3;
  }

  .tdk-studio-float-card {
    display: none;
  }

  .tdk-studio-fps {
    display: none;
  }
}

/* Responsive Adjustments */
@media (max-width: 960px) {
  .hero.tdk-daisy-hero {
    min-height: auto;
    padding: 3.25rem 0 3.75rem;
  }

  .tdk-daisy-hero .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .tdk-hero-scroll-cue {
    display: none;
  }
}

/* Respect Reduced Motion Accessibility Preference */
@media (prefers-reduced-motion: reduce) {
  .tdk-aurora-orb,
  .tdk-pulse-beacon::after,
  .tdk-daisy-hero .display-title em,
  .tdk-btn-shimmer::after,
  .tdk-hero-stage__tilt::before,
  .tdk-stage-badge,
  .tdk-daisy-hero .hero-slide.is-active .tdk-reveal,
  .tdk-daisy-hero .hero-slide.is-active .tdk-reveal--media,
  .tdk-scroll-mouse::after,
  .tdk-studio-float-card,
  .tdk-studio-wave span,
  .tdk-studio-cursor {
    animation: none !important;
  }

  .tdk-hero-stage__tilt {
    transform: none !important;
  }

  .tdk-hero-spotlight {
    display: none;
  }
}
