@import url('css/theme.css');
@import url('css/motion.css');

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--bg-canvas);
  background-image: linear-gradient(180deg, #c5d2e2 0%, #b5c3d5 50%, #a4b5c9 100%);
  padding-bottom: 40px;
  position: relative;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   TOP BLACK FRIDAY BAR (PURPLE TIMER BOXES)
   ========================================================================== */
.bf-top-bar {
  background: var(--blue-brand);
  color: #ffffff;
  padding: 10px 24px;
}

.bf-top-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.bf-sale-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bf-sale-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
}

.bf-70-ticket {
  background: #ffffff;
  color: var(--blue-brand);
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 1.12rem;
  padding: 3px 14px 3px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bf-70-ticket::before {
  content: "•";
  color: var(--blue-brand);
  font-style: normal;
  font-size: 0.9rem;
}

.bf-timer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.bf-order-now-btn {
  background: #ffffff;
  color: var(--blue-brand);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 6px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
  margin-left: 6px;
}

.bf-order-now-btn:hover {
  background: #eef4ff;
  transform: translateY(-1px);
}

.bf-timer-boxes {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.t-box {
  background: #7c3aed;
  border: 1px solid #a78bfa;
  color: #ffffff;
  min-width: 36px;
  height: 34px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.45);
}

/* ==========================================================================
   TOP HERO SECTION WITH BUTTON
   ========================================================================== */
.photo-hero-wrap {
  padding: 14px 10px 32px;
  max-width: 1360px;
  margin: 0 auto;
}

.photo-hero-banner {
  position: relative;
  width: 100%;
  min-height: 560px;
  border-radius: 20px;
  overflow: hidden;
  background: #090604;
  background-image:
    linear-gradient(90deg, rgba(8, 6, 5, 0.96) 0%, rgba(10, 7, 5, 0.82) 46%, rgba(10, 7, 5, 0.28) 78%, rgba(10, 7, 5, 0.05) 100%),
    url('assets/hero-exploded-tech.png');
  background-size: cover;
  background-position: right center;
  display: flex;
  align-items: center;
  box-shadow: 0 20px 48px rgba(11, 19, 43, 0.32);
  border: 1px solid rgba(255, 140, 20, 0.2);
}

.photo-hero-content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 38px;
}

.hero-left-col {
  max-width: 580px;
  color: #ffffff;
}

.hero-top-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.glass-outline-pill {
  border: 1.8px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px 14px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.glass-outline-pill.discount-pill {
  font-size: 1.25rem;
  font-weight: 800;
  padding: 5px 16px;
}

.star-icons {
  color: #ffffff;
  letter-spacing: 2px;
  font-size: 1rem;
}

.photo-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.photo-hero-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  max-width: 520px;
}

.photo-hero-checks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.photo-hero-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

.blue-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #7cc0ff;
  color: #0b132b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-brand);
  color: #ffffff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 12px 28px rgba(45, 104, 248, 0.45);
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}

.hero-cta-btn:hover {
  background: var(--blue-brand-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   BLOCK 2: STORY SECTION
   ========================================================================== */
.story-magazine-section {
  padding: 30px 0;
}

.magazine-spread {
  background: var(--bg-bento);
  border: 1px solid var(--border-crisp);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-bento);
}

.spread-top-ribbon {
  background: var(--bg-navy);
  color: #f8fafc;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 3px solid var(--blue-brand);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.spread-columns-reverse {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 34px;
  padding: 34px;
  align-items: start;
}

.story-left-visuals {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visual-frame-card {
  background: #dde6f0;
  border: 1px solid var(--border-crisp);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.visual-frame-card canvas,
.visual-frame-card img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-caption {
  padding: 12px 16px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  background: var(--bg-bento-card);
  border-top: 1px solid var(--border-subtle);
}

.dual-mini-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mini-photo-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-crisp);
  background: var(--bg-bento-card);
}

.mini-photo-box img {
  width: 100%;
  height: 145px;
  object-fit: cover;
  display: block;
}

.mini-photo-box span {
  display: block;
  padding: 8px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bg-navy);
}

.story-right-narrative h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--bg-navy);
  margin-bottom: 18px;
}

.chapter-block {
  border-left: 3px solid var(--blue-brand);
  padding-left: 18px;
  margin-bottom: 20px;
}

.chapter-block:nth-of-type(2) { border-left-color: var(--ruby-heat); }
.chapter-block:nth-of-type(3) { border-left-color: var(--teal-verify); }

.chapter-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue-brand);
  display: block;
  margin-bottom: 4px;
}

.chapter-block:nth-of-type(2) .chapter-tag { color: var(--ruby-heat); }
.chapter-block:nth-of-type(3) .chapter-tag { color: var(--teal-verify); }

.chapter-block p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* ==========================================================================
   BLOCK 3: ROOM BLUEPRINT VISUALIZATION SWITCHER
   ========================================================================== */
.blueprint-interactive-section {
  padding: 34px 0;
}

.section-title-block {
  max-width: 780px;
  margin-bottom: 24px;
}

.kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffffff;
  background: var(--bg-navy);
  border: 1px solid #3b82f6;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--bg-navy);
  margin-bottom: 8px;
}

.blueprint-workbench {
  background: var(--bg-navy);
  color: #ffffff;
  border-radius: var(--radius-3xl);
  padding: 30px;
  box-shadow: 0 24px 56px rgba(11, 19, 43, 0.3);
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: center;
  border: 2px solid #334155;
}

.room-selector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.room-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  padding: 12px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.room-tab-btn small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #93c5fd;
  margin-top: 3px;
}

.room-tab-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.room-tab-btn.active {
  background: var(--blue-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(45, 104, 248, 0.38);
}

.room-tab-btn.active small {
  color: #fde047;
}

.freeze-level-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.freeze-btn {
  background: #162447;
  border: 1px solid #3b82f6;
  color: #93c5fd;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.freeze-btn.active {
  background: #38bdf8;
  color: #0b132b;
  border-color: #38bdf8;
}

.telemetry-4gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gauge-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
}

.gauge-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  display: block;
}

.gauge-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #5eead4;
}

.gif-stage-box {
  width: 100%;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #090d16;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.gif-stage-box canvas {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   BLOCK 4: BEAGLE & TODDLER SAFETY COMPARISON + MATRIX
   ========================================================================== */
.safety-matrix-section {
  padding: 34px 0;
}

.zig-zag-row {
  background: var(--bg-bento);
  border: 1px solid var(--border-crisp);
  border-radius: var(--radius-3xl);
  padding: 30px;
  box-shadow: var(--shadow-bento);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.matrix-table-wrap {
  background: var(--bg-bento);
  border: 1px solid var(--border-crisp);
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-bento);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.matrix-table th,
.matrix-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table thead {
  background: var(--bg-navy);
  color: #ffffff;
  font-family: var(--font-display);
}

.matrix-table th.highlight-col,
.matrix-table td.highlight-col {
  background: #dbeafe;
  font-weight: 700;
  color: var(--bg-navy);
  border-left: 2px solid var(--blue-brand);
  border-right: 2px solid var(--blue-brand);
}

.matrix-table thead th.highlight-col {
  background: var(--blue-brand);
  color: #ffffff;
}

/* ==========================================================================
   BLOCK 5: BENCH TEST VIDEO & PHONE REEL
   ========================================================================== */
.lab-video-section {
  padding: 34px 0 20px;
}

.lab-3col-bento {
  background: var(--bg-bento);
  border: 1px solid var(--border-crisp);
  border-radius: var(--radius-3xl);
  padding: 28px;
  box-shadow: var(--shadow-bento);
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 0.75fr;
  gap: 26px;
  align-items: center;
}

.square-lab-video-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  background: #0b132b;
  border: 2px solid var(--blue-brand);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.18);
}

.square-lab-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-tag-top {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  background: rgba(11, 19, 43, 0.88);
  color: #5eead4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(94, 234, 212, 0.4);
}

.video-btn-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 4;
  background: rgba(11, 19, 43, 0.88);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.anemometer-specs {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.anemo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-bento-card);
  border: 1px solid var(--border-crisp);
  border-left: 4px solid var(--blue-brand);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.anemo-row:nth-child(2) { border-left-color: var(--ruby-heat); }
.anemo-row:nth-child(3) { border-left-color: var(--teal-verify); }

.anemo-val {
  font-family: var(--font-mono);
  font-weight: 800;
  color: var(--bg-navy);
}

.phone-reel-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-reel-bezel {
  width: 210px;
  height: 350px;
  border-radius: 32px;
  padding: 8px;
  background: linear-gradient(145deg, #0b132b, #1e293b);
  box-shadow: 0 20px 42px rgba(11, 19, 43, 0.28);
  position: relative;
  border: 2px solid #475569;
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: #0b132b;
  border-radius: 999px;
  z-index: 6;
}

.phone-screen-crop {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.phone-screen-crop video {
  position: absolute;
  top: -26%;
  left: -38%;
  width: 176%;
  height: 135%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   BLOCK 6: FULL-WIDTH BOTTOM CALLOUT BANNER WITH PEDESTAL HEATER + BUTTON
   ========================================================================== */
.bottom-hero-wrap {
  padding: 30px 10px 36px;
  max-width: 1360px;
  margin: 0 auto;
  scroll-margin-top: 20px;
}

.bottom-hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  background: #0a0604;
  background-image:
    linear-gradient(90deg, rgba(10, 6, 4, 0.96) 0%, rgba(10, 6, 4, 0.85) 46%, rgba(10, 6, 4, 0.3) 78%, rgba(10, 6, 4, 0.05) 100%),
    url('assets/footer-glowing-pedestal.png');
  background-size: cover;
  background-position: right center;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 60px rgba(11, 19, 43, 0.36);
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.bottom-hero-content {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 38px;
}

.bottom-left-col {
  max-width: 580px;
  color: #ffffff;
}

.bottom-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.bottom-hero-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  max-width: 520px;
}

.bottom-hero-checks {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.bottom-hero-checks li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
}

.bottom-blue-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-brand);
  color: #ffffff;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 12px 28px rgba(45, 104, 248, 0.45);
  transition: background 0.2s ease, transform 0.15s ease;
  border: none;
  cursor: pointer;
}

.bottom-blue-cta-btn:hover {
  background: var(--blue-brand-hover);
  transform: translateY(-2px);
}

.site-footer-clean {
  padding: 24px 0 32px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-crisp);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 980px) {
  .photo-hero-banner,
  .bottom-hero-banner {
    min-height: 480px;
    background-position: center center;
  }
  .lab-3col-bento,
  .blueprint-workbench,
  .spread-columns-reverse,
  .zig-zag-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bf-top-inner {
    justify-content: center;
  }
  .room-selector-grid,
  .freeze-level-row,
  .telemetry-4gauges,
  .dual-mini-photos {
    grid-template-columns: 1fr;
  }
  .photo-hero-content,
  .bottom-hero-content,
  .spread-columns-reverse,
  .blueprint-workbench,
  .lab-3col-bento,
  .zig-zag-row {
    padding: 18px;
  }
  .matrix-table th,
  .matrix-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }
}
