/* =================================================================== */
/* HOME — Index page sections: Hero, Experience/Demo, Features,        */
/* Scenarios, Specs, Testimonials, Contact.                            */
/* =================================================================== */

/* =============== HERO ANIMATIONS =============== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgeDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes goldShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes stripFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.hero-text .badge {
  animation: heroBadgeDrop .7s cubic-bezier(.22,1,.36,1) .2s both;
}
.hero-text h1 {
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .45s both;
}
.hero-text h1 em {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #f5d98a 40%,
    var(--gold) 60%,
    #b8893a 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation:
    heroFadeUp .8s cubic-bezier(.22,1,.36,1) .45s both,
    goldShimmer 3.5s linear 1.5s infinite;
}
.hero-cta {
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .7s both;
}
.hero-product-strip {
  animation: heroFadeUp .8s cubic-bezier(.22,1,.36,1) .95s both;
}
.hps-card {
  transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.hps-card:hover {
  transform: translateY(-5px);
  opacity: 1 !important;
}

/* =============== HERO (full-bleed carousel) =============== */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* Layer 1: fallback gradient shown until first image loads */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
}
/* Layer 3: soft atmospheric vignette — heavier left coverage for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(8,8,8,0.88) 0%,
      rgba(8,8,8,0.75) 25%,
      rgba(8,8,8,0.45) 45%,
      rgba(8,8,8,0.10) 62%,
      transparent 75%
    ),
    linear-gradient(
      180deg,
      rgba(10,10,10,0.30) 0%,
      transparent 18%,
      transparent 75%,
      rgba(10,10,10,0.55) 100%
    );
  pointer-events: none;
}
/* Subtle gold grid pattern on top of everything, very faint */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 98%, rgba(201,169,97,.05) 100%),
    linear-gradient(0deg, transparent 98%, rgba(201,169,97,.05) 100%);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero.hero-poster-active .hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(8,8,8,0.92) 0%,
      rgba(8,8,8,0.86) 34%,
      rgba(8,8,8,0.52) 48%,
      rgba(8,8,8,0.14) 60%,
      rgba(8,8,8,0.10) 100%
    ),
    radial-gradient(circle at 78% 50%, rgba(201,169,97,.10) 0%, rgba(201,169,97,0) 38%),
    linear-gradient(
      180deg,
      rgba(10,10,10,0.20) 0%,
      transparent 22%,
      transparent 78%,
      rgba(10,10,10,0.45) 100%
    );
}
.hero.hero-poster-active .hero-overlay::after {
  opacity: .45;
}

/* Layer 4: text pinned to top-left */
.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 120px;
  padding-bottom: 60px;
  width: 100%;
  align-self: flex-start;
}
.hero-text {
  max-width: 420px;
}
.hero.hero-poster-active .hero-text {
  max-width: 500px;
  padding: 30px 34px 30px 0;
}
.hero-text h1 {
  text-shadow:
    0 2px 32px rgba(0, 0, 0, 0.95),
    0 0 80px rgba(0, 0, 0, 0.8);
}
.hero-text p {
  text-shadow:
    0 1px 16px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
.hero p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 400px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

/* =============== HERO PRODUCT STRIP =============== */
.hero-product-strip {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  max-width: 540px;
}
.hps-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 0;
  border-right: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  flex: 1;
  transition: opacity .2s;
  min-width: 0;
}
.hps-card:hover { opacity: .75; }
.hps-img {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.hps-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hps-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hps-series {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hps-name {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hps-all {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 0 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .2s;
}
.hps-all:hover { opacity: .75; }

/* =============== HERO CAROUSEL (full-bleed background) =============== */
/* =============== KEN BURNS — each slide has its own direction =============== */
@keyframes kb1 {
  from { transform: scale(1.0)  translate(0%,    0%);   }
  to   { transform: scale(1.10) translate(-2.5%, 1.5%); }
}
@keyframes kb2 {
  from { transform: scale(1.08) translate(3%,   2%);    }
  to   { transform: scale(1.0)  translate(-1%,  -1.5%); }
}
@keyframes kb3 {
  from { transform: scale(1.0)  translate(-2%,  2%);    }
  to   { transform: scale(1.10) translate(2%,  -2%);    }
}
@keyframes kb4 {
  from { transform: scale(1.10) translate(2%,  -2%);    }
  to   { transform: scale(1.0)  translate(-2%,  1%);    }
}
@keyframes kbPoster {
  from { transform: scale(1.01) translate(0%, 0%); }
  to   { transform: scale(1.05) translate(-1%, 0%); }
}

/* Layer 2: rotating images, fill the entire hero */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-slides::before {
  content: '';
  position: absolute;
  top: 8vh;
  right: 0;
  width: min(58vw, 980px);
  height: min(80vh, 780px);
  border-radius: 28px 0 0 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%),
    linear-gradient(135deg, rgba(201,169,97,.10) 0%, rgba(201,169,97,0) 45%);
  border-left: 1px solid rgba(255,255,255,.08);
  box-shadow: -24px 0 60px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .6s ease, transform .6s ease;
  pointer-events: none;
}
.hero.hero-poster-active .hero-slides::before {
  opacity: 1;
  transform: translateX(0);
}
.hero-slides .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 2s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 1;
}
.hero-slides .slide.active          { opacity: 1; }
.hero-slides .slide:nth-child(1).active { animation: kb1 9s ease-out forwards; }
.hero-slides .slide:nth-child(2).active { animation: kb2 9s ease-out forwards; }
.hero-slides .slide:nth-child(3).active { animation: kb3 9s ease-out forwards; }
.hero-slides .slide:nth-child(4).active { animation: kb4 9s ease-out forwards; }
.hero-slides .slide.slide-poster {
  object-position: 12% center;
  transform-origin: left center;
}
.hero-slides .slide.slide-showcase {
  object-position: 72% center;
  transform-origin: right center;
}
.hero.hero-poster-active .hero-slides .slide.slide-poster {
  inset: auto 4vw 8vh auto;
  width: min(54vw, 920px);
  height: min(78vh, 740px);
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.32));
}
.hero-slides .slide.slide-poster.active {
  animation: kbPoster 9s ease-out forwards;
}

/* Layer 5: indicator dots, centered at bottom of hero */
.slide-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(20,20,20,.45);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}
.slide-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.slide-dots .dot:hover {
  background: rgba(255,255,255,.75);
  transform: scale(1.2);
}
.slide-dots .dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}

.product-img-wrap { position: relative; width: 100%; max-width: 480px; }
.product-img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.product-img-placeholder {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4/3;
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: var(--radius);
  color: rgba(255,255,255,.4);
  text-align: center;
  gap: 12px;
  font-size: 14px;
}
.product-img-placeholder span { font-size: 48px; }

/* =============== CORE TECHNOLOGY (RCU-9000 showcase) =============== */
.core-section {
  position: relative;
  background: #0a0a0a;
  color: var(--white);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.core-section > .container {
  width: 100%;
  position: relative;
  z-index: 1;
}
.core-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(201,169,97,.14) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,169,97,.05) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}
.core-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 98%, rgba(201,169,97,.04) 100%),
    linear-gradient(0deg, transparent 98%, rgba(201,169,97,.04) 100%);
  background-size: 80px 80px;
  pointer-events: none;
}

.core-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: center;
}

/* ---- Left: copy ---- */
.core-copy .page-eyebrow {
  margin-bottom: 18px;
}
.core-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 22px;
}
.core-copy h2 em {
  font-style: italic;
  color: var(--gold);
}
.core-copy p {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 500px;
}
.core-copy p strong {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 1px;
}

.core-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.core-specs li {
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.core-specs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 1px;
  background: var(--gold);
}
.core-specs strong {
  color: var(--gold);
  font-weight: 600;
}

.core-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--gold);
  border: 1.5px solid rgba(201,169,97,.5);
  padding: 13px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s;
}
.btn-outline-gold:hover {
  border-color: var(--gold);
  background: rgba(201,169,97,.08);
}

/* ---- Right: media ---- */
.core-media {
  position: relative;
  padding: 30px;
}
.core-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201,169,97,.12) 0%, transparent 65%);
  filter: blur(6px);
  z-index: 0;
}
.core-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow:
    0 40px 80px rgba(0,0,0,.5),
    0 0 0 1px rgba(201,169,97,.12),
    0 0 40px rgba(201,169,97,.08);
  display: block;
}

.core-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(10,10,10,.85);
  color: var(--gold);
  border: 1px solid rgba(201,169,97,.4);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  backdrop-filter: blur(8px);
}

.core-indicators {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.core-indicators .indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10,10,10,.85);
  color: var(--gold);
  border: 1px solid rgba(201,169,97,.3);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  backdrop-filter: blur(8px);
}
.dot-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  box-shadow: 0 0 8px #4CAF50;
  animation: dotPulse 2s infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .core-grid { grid-template-columns: 1fr; gap: 48px; }
  .core-media { padding: 20px; }
  .core-section { min-height: auto; padding: 80px 0; }
}

/* =============== EXPERIENCE / INTERACTIVE DEMO =============== */
.experience {
  background: linear-gradient(180deg, #faf8f3 0%, #f0ebe0 100%);
  position: relative;
}
.experience::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,97,.4), transparent);
}

/* Command search */
.demo-search {
  max-width: 720px;
  margin: 0 auto 24px;
}
.search-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  transition: border-color .2s, box-shadow .2s;
}
.search-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(201,169,97,.18);
}
.search-wrap svg { color: var(--gold); flex-shrink: 0; }
.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--dark);
  font-family: inherit;
}
.search-wrap input::placeholder { color: #b8b0a0; }
.demo-run-btn {
  background: var(--dark);
  color: var(--gold);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .2s;
}
.demo-run-btn:hover { background: var(--gold); color: var(--dark); transform: scale(1.05); }
.demo-run-btn:disabled { cursor: wait; opacity: 0.6; }
.demo-run-btn:disabled:hover { background: var(--dark); color: var(--gold); transform: none; }

/* Loading state: animated gold sweep on the search bar border */
.search-wrap.loading {
  border-color: var(--gold);
  background: linear-gradient(90deg,
    var(--white) 0%, var(--white) 40%,
    rgba(201,169,97,.12) 50%,
    var(--white) 60%, var(--white) 100%);
  background-size: 200% 100%;
  animation: demoShimmer 1.2s linear infinite;
}
@keyframes demoShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.search-wrap.loading input { color: var(--muted); }
.search-wrap.loading .demo-run-btn svg { animation: spin 0.8s linear infinite; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.suggest-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
  align-items: center;
}
.suggest-label { font-size: 13px; color: var(--muted); margin-right: 4px; }
.suggest-chip {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
}
.suggest-chip:hover {
  border-color: var(--gold);
  background: rgba(201,169,97,.08);
  color: var(--dark);
}

/* Scene chips */
.scene-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.scene-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all .25s;
}
.scene-chip .scene-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  color: var(--gold);
}
.scene-chip .scene-ico svg { width: 16px; height: 16px; display: block; }
.scene-chip.active .scene-ico { color: var(--gold); }
.scene-chip:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.scene-chip.active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Demo stage */
.demo-stage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.room-stage {
  position: relative;
  background: var(--dark);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(201,169,97,.15);
  box-shadow: 0 12px 48px rgba(0,0,0,.12);
}
.room-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 100%, rgba(201,169,97,.08), transparent 60%),
    radial-gradient(ellipse at 80% 0%, rgba(201,169,97,.05), transparent 50%);
  pointer-events: none;
}
#roomSvg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
}

/* Toast */
.demo-toast {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20,20,20,.95);
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .3s;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  max-width: 90%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.demo-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* RCU Panel (interactive demo) */
.rcu-panel {
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(201,169,97,.3);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 20px 50px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.05);
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,169,97,.15);
  margin-bottom: 14px;
}
.panel-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
}
.panel-led {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
}
.panel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #141414;
  border: 1px solid rgba(201,169,97,.1);
  border-radius: 8px;
  padding: 12px 8px;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s;
  min-height: 62px;
}
.panel-btn svg { opacity: 0.6; transition: opacity .2s; }
.panel-btn:hover {
  border-color: rgba(201,169,97,.4);
  color: var(--gold);
}
.panel-btn:hover svg { opacity: 1; }
.panel-btn.active {
  background: linear-gradient(145deg, #2a2418 0%, #3a2f1a 100%);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow:
    0 0 12px rgba(201,169,97,.3),
    inset 0 0 8px rgba(201,169,97,.08);
}
.panel-btn.active svg { opacity: 1; }
.panel-btn--master { grid-column: span 1; }

.panel-ac {
  grid-column: span 2;
  background: #0f0f0f;
  border: 1px solid rgba(201,169,97,.15);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ac-label {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 600;
}
.ac-controls { display: flex; gap: 6px; }
.ac-btn {
  width: 34px; height: 30px;
  background: #1a1a1a;
  border: 1px solid rgba(201,169,97,.2);
  color: rgba(255,255,255,.7);
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  font-family: inherit;
}
.ac-btn:hover { border-color: var(--gold); color: var(--gold); }
.ac-btn--big { width: 40px; }

.panel-foot {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(201,169,97,.1);
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  letter-spacing: 1.5px;
  font-style: italic;
  font-family: var(--serif);
}

.demo-hint {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--serif);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* =============== FEATURES =============== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
  border-radius: 10px;
}
.feature-icon svg { width: 24px; height: 24px; display: block; }
.feature-card h3 { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* =============== SCENARIOS =============== */
.scenarios-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
  height: 78vh;
  min-height: 520px;
}

.scenario-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

/* Card 1: tall feature on the left */
.scenario-card:first-child {
  grid-row: 1 / 4;
}

.scenario-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--dark2);
  overflow: hidden;
}

.scenario-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.4,0,.2,1);
}
.scenario-card:hover img { transform: scale(1.07); }

/* Dark gradient overlay */
.scenario-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    transparent 30%,
    rgba(0,0,0,.35) 60%,
    rgba(0,0,0,.82) 100%
  );
  transition: background 0.4s;
}
.scenario-card:hover .scenario-overlay {
  background: linear-gradient(
    170deg,
    rgba(0,0,0,.12) 0%,
    rgba(0,0,0,.45) 50%,
    rgba(0,0,0,.88) 100%
  );
}

/* Text block at bottom */
.scenario-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px 26px;
  z-index: 1;
}

/* Gold accent bar that grows on hover */
.scenario-accent {
  width: 0;
  height: 2px;
  background: var(--gold);
  margin-bottom: 12px;
  transition: width 0.45s cubic-bezier(.4,0,.2,1);
}
.scenario-card:hover .scenario-accent { width: 44px; }

.scenario-label {
  display: block;
  color: var(--white);
  font-size: 20px;
  font-weight: 600;
  font-family: var(--serif);
  letter-spacing: 0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}

/* Larger title for the featured card */
.scenario-card:first-child .scenario-label {
  font-size: 28px;
}

.scenario-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
  max-width: 360px;
}
.scenario-card:hover .scenario-desc {
  opacity: 1;
  transform: translateY(0);
}

/* =============== SPECS =============== */
.specs-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.specs-table {
  flex: 1;
  border-collapse: collapse;
  width: 100%;
}
.specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child {
  font-weight: 600;
  color: var(--dark);
  width: 180px;
  white-space: nowrap;
}
.specs-table td:last-child { color: var(--text); }
.specs-table tr:nth-child(even) { background: var(--bg-light); }

.specs-cta {
  background: var(--dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  color: var(--white);
  min-width: 240px;
  text-align: center;
}
.specs-cta p { font-size: 18px; font-weight: 500; margin-bottom: 20px; line-height: 1.4; color: var(--white); }
.specs-cta .btn-primary { background: var(--gold); color: var(--dark); }
.specs-cta .btn-primary:hover { background: var(--gold-soft); }

/* =============== BRAND PHILOSOPHY =============== */
.brand-section {
  position: relative;
  background: #0d0d0d;
  color: var(--white);
  overflow: hidden;
}
.brand-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(201,169,97,.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(201,169,97,.06) 0%, transparent 50%),
    linear-gradient(160deg, #0d0d0d 0%, #181818 100%);
  pointer-events: none;
}
.brand-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 98%, rgba(201,169,97,.03) 100%),
    linear-gradient(0deg,  transparent 98%, rgba(201,169,97,.03) 100%);
  background-size: 80px 80px;
}

.brand-header {
  margin-bottom: 64px;
}
.brand-header h2 {
  color: var(--white);
}
.brand-header h2 em {
  font-style: italic;
  color: var(--gold);
}
.brand-header p {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto;
}

.brand-series {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.brand-card {
  position: relative;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,169,97,.18);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s, background .3s;
  display: flex;
  flex-direction: column;
}
.brand-card:hover {
  border-color: rgba(201,169,97,.45);
  background: rgba(255,255,255,.065);
}

.brand-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  display: block;
}
.brand-card:hover .brand-card-img img {
  transform: scale(1.04);
}
.brand-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5) 100%);
  pointer-events: none;
}

.brand-card-inner {
  padding: 32px 32px 36px;
  flex: 1;
}

.series-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  border: 1px solid rgba(201,169,97,.4);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.x-tag {
  color: #c8c8c8;
  border-color: rgba(200,200,200,.35);
}

.brand-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.brand-card p {
  font-size: 15px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  margin-bottom: 28px;
}

.brand-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(201,169,97,.12);
  padding-top: 24px;
}
.brand-points li {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  padding-left: 22px;
  position: relative;
}
.brand-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}


@media (max-width: 768px) {
  .brand-series { grid-template-columns: 1fr; }
  .brand-card { padding: 28px 24px; }
}

/* =============== CONTACT =============== */
.contact { background: var(--dark); }
.contact .section-header h2, .contact-info h2 { color: var(--white); }

.contact-wrap {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}
.contact-info { flex: 1; min-width: 0; }
.contact-info h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,.7); font-size: 16px; margin-bottom: 24px; }

.contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: 15px; }
.contact-list .contact-ico { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.contact-list a { color: var(--gold); }
.contact-list a:hover { color: var(--gold-soft); }

.contact-form {
  flex: 1.2;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {
  .hero { min-height: 90vh; }
  .hero-text {
    max-width: 100%;
    padding: 32px 24px 28px;
  }
  .hero.hero-poster-active .hero-text {
    max-width: 100%;
    padding: 32px 24px 28px;
  }
  .hero p { margin-left: 0; margin-right: 0; }
  .slide-dots { bottom: 20px; }
  .hero-slides::before { display: none; }
  .hero.hero-poster-active .hero-slides .slide.slide-poster {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: none;
  }

  .demo-stage { grid-template-columns: 1fr; gap: 20px; }
  .rcu-panel { max-width: 360px; margin: 0 auto; width: 100%; }
  .search-wrap { padding-left: 18px; }

  .specs-wrap { flex-direction: column; }

  .contact-wrap { flex-direction: column; }
  .contact-form { width: 100%; }

  /* Scenarios: collapse featured layout to 2×2 */
  .scenarios-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
    min-height: unset;
  }
  .scenario-card:first-child { grid-row: auto; }
  .scenario-img-wrap { aspect-ratio: 4/3; height: auto; }
  .scenario-card:first-child .scenario-label { font-size: 22px; }
}

@media (max-width: 640px) {
  .contact-form { padding: 28px 20px; }
  .hero-stats { gap: 24px; }
  .specs-table td:first-child { width: 130px; }

  .scenarios-grid { grid-template-columns: 1fr; }
  .scenario-card:first-child { grid-row: auto; }
}
