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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #000;
  color: #f5f5f5;
}

/* INTRO HERO */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1000;
  transition: opacity 1.2s ease;
}

.line {
  opacity: 0;
  transition: opacity 1s ease;
  color: #ffffff;
}

.primary {
  font-size: 4rem;
  font-weight: 600;
}

.secondary {
  font-size: 2.5rem;
  font-weight: 300;
  margin-top: 10px;
  position: relative;
}

/* Heartbeat pulse through text */
.heartbeat {
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%   { text-shadow: 0 0 0px rgba(255,255,255,0.0); }
  40%  { text-shadow: 0 0 18px rgba(255,255,255,0.9); }
  100% { text-shadow: 0 0 0px rgba(255,255,255,0.0); }
}

/* MAIN CONTENT */
#content {
  opacity: 0;
  transition: opacity 1s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 16px 24px;
  background: radial-gradient(circle at top, rgba(255,255,255,0.08), rgba(0,0,0,0.95));
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-mark {
  display: flex;
  align-items: center;
  height: 40px;      /* controls logo height */
}

.logo-mark .logo-img {
  height: 40px;      /* adjust main logo size */
  width: auto;
  object-fit: contain;
}

/* Optional: smaller logo on mobile */
@media (max-width: 600px) {
  .logo-mark .logo-img {
    height: 32px;
  }
}


/* Narrow luxury page layout */
.hero-section {
  position: relative;
  width: 100%;
  padding: 120px 8% 160px;
  margin: 120px 0;
  color: #fff;
}

.hero-section .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  z-index: -1;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: -1;
}

.hero-section::before {
  top: 0;
  background: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.hero-section::after {
  bottom: 0;
  background: linear-gradient(to top, #000 0%, transparent 100%);
}


.hero-bg {
  position: absolute;
  inset: 0;
  background-size: 130%;
  background-position: center;
  filter: brightness(0.6);
  transform: scale(1.05);
  animation: heroPan 6s ease-in-out infinite alternate;
}

@keyframes heroPan {
  0% { transform: scale(1.05) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(0, -10px, 0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.2), rgba(0,0,0,0.85));
}

.hero-inner {
  position: relative;
  max-width: 960px;
  padding: 80px 24px 60px;
  text-align: left;
}

.hero-text-mask {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: none;
  letter-spacing: 0.03em;
  background-image: inherit;
  background-size: 140%;
  background-position: center;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: heroMaskPan 6s ease-in-out infinite alternate;
}

.hero-line {
  display: block;
}

.hero-line-second {
  font-weight: 500;
}

.hero-subcopy {
  margin-top: 18px;
  max-width: 520px;
  font-size: 1rem;
  opacity: 0.9;
}

@keyframes heroMaskPan {
  0% { background-position: 50% 50%; }
  100% { background-position: 52% 47%; }
}

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}

.section {
  position: relative;
  margin-bottom: 120px;
}

.section-dark {
  color: #f5f5f5;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 640px;
}

/* Section with background image */
.section-with-bg {
  overflow: hidden;
}

.section-with-bg .section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  transform: scale(1.05);
  z-index: -2;
}

.section-with-bg.section-dark .section-bg {
  filter: brightness(0.45);
}

.section-with-bg .section-inner {
  position: relative;
  padding: 80px 24px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.85));
  border-radius: 32px;
  margin: 0 -24px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.9);
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(15, 15, 15, 0.9);
  border-radius: 20px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.7);
}

.card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.98rem;
  opacity: 0.9;
}

/* Rack Layout */
.rack-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .rack-layout {
    grid-template-columns: 1fr;
  }
}

.checklist {
  margin-top: 16px;
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.96rem;
  opacity: 0.9;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: #9ae6ff;
}

.rack-footnote {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.rack-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rack-frame {
  width: 260px;
  padding: 12px 8px;
  border-radius: 18px;
  background: linear-gradient(145deg, #050505, #181818);
  box-shadow: 0 24px 60px rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.08);
  perspective: 1000px;
}

.rack-unit {
  height: 34px;
  border-radius: 9px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #151515, #2b2b2b);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateY(20px);
}

.rack-unit::after {
  content: "";
  width: 40px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle, #8be4ff, #1a718b);
  opacity: 0.4;
}

/* Different color accents per component */
.ru-1::after { background: radial-gradient(circle, #ffd08b, #8b5d1a); }
.ru-2::after { background: radial-gradient(circle, #ff9a9a, #8b1a1a); }
.ru-3::after { background: radial-gradient(circle, #8be4ff, #1a718b); }
.ru-4::after { background: radial-gradient(circle, #c98bff, #4d1a8b); }
.ru-5::after { background: radial-gradient(circle, #8bffc5, #1a8b4b); }
.ru-6::after { background: radial-gradient(circle, #fff38b, #8b7c1a); }
.ru-7::after { background: radial-gradient(circle, #ffb8f0, #8b1a5c); }

.rack-back-copy {
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.8;
  text-align: center;
}

/* Lighting scenes */
.lighting-scenes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .lighting-scenes {
    grid-template-columns: 1fr;
  }
}

.scene-card {
  position: relative;
  padding: 20px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.1), rgba(5,5,5,0.9));
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.scene-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scene-card h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.scene-card p {
  font-size: 0.96rem;
  opacity: 0.9;
}

.scene-card.active::before {
  opacity: 1;
}

/* Sticky CTA button */
.cta-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(120deg, #ffffff, #c7f0ff);
  color: #000;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(0,0,0,0.85);
  border: none;
  cursor: pointer;
  z-index: 50;
}

.cta-button:hover {
  transform: translateY(-1px);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .primary {
    font-size: 2.6rem;
  }
  .secondary {
    font-size: 1.7rem;
  }
  .hero-inner {
    padding-top: 72px;
  }
  .section-with-bg .section-inner {
    border-radius: 24px;
  }
}
