/* ==========================================================================
   Z4P MARKETING - Scaled Layout with Dark Overlay
   ========================================================================== */

:root {
  --color-neon: #c6f906;
  --color-bg-dark: #000000;
  --color-text-white: #ffffff;
  
  --font-heading: 'Raleway', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  
  --frame-thickness: 24px;
}

/* Base Reset & Lock Page to Viewport */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Background Video & Overlay
   ========================================================================== */
.bg-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #000000;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* ==========================================================================
   Marquee Frame Borders (Top, Bottom, Left, Right - Always Visible)
   ========================================================================== */
.z4p-marquee-container {
  position: fixed;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  user-select: none;
  font-family: var(--font-heading);
}

.z4p-marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.z4p-marquee-content {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.z4p-marquee-text-item {
  font-size: 10px;
  font-weight: 800;
  color: var(--color-neon);
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0 4px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Horizontal Positions */
.z4p-h {
  left: 0;
  width: 100%;
  height: var(--frame-thickness);
}

.z4p-top {
  top: 0;
  border-bottom: 1px solid rgba(198, 249, 6, 0.25);
}

.z4p-bottom {
  bottom: 0;
  border-top: 1px solid rgba(198, 249, 6, 0.25);
}

/* Vertical Positions */
.z4p-v {
  top: 0;
  height: 100%;
  width: var(--frame-thickness);
  flex-direction: column;
}

.z4p-left {
  left: 0;
  border-right: 1px solid rgba(198, 249, 6, 0.25);
}

.z4p-right {
  right: 0;
  border-left: 1px solid rgba(198, 249, 6, 0.25);
}

.z4p-track-v {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.z4p-content-v {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.z4p-content-v .z4p-marquee-text-item {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  padding: 4px 0;
}

/* Animations */
.anim-left {
  animation: z4pScrollLeft 20s linear infinite;
}

.anim-right {
  animation: z4pScrollRight 20s linear infinite;
}

.anim-up {
  animation: z4pScrollUp 20s linear infinite;
}

.anim-down {
  animation: z4pScrollDown 20s linear infinite;
}

@keyframes z4pScrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes z4pScrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@keyframes z4pScrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes z4pScrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   Main Viewport Layout (3-Column Grid)
   ========================================================================== */
.main-viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: var(--frame-thickness);
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-container {
  width: 100%;
  height: 100%;
  max-width: 1450px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: clamp(10px, 3.5vw, 45px);
  padding: 0 clamp(8px, 2.5vw, 35px);
}

/* --- Left Column: Headlines (Larger Headline, Smaller Subtitle) --- */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5.8vw, 7.2rem);
  font-weight: 900;
  line-height: 1.01;
  text-transform: uppercase;
  color: var(--color-text-white);
  margin-bottom: clamp(4px, 0.8vh, 12px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-heading .line-1,
.hero-heading .line-2,
.hero-heading .line-3 {
  display: block;
  white-space: nowrap;
}

.hero-heading .highlight {
  color: var(--color-neon);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.55rem, 1.25vw, 1.3rem);
  font-weight: 800;
  font-style: italic;
  color: var(--color-neon);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* --- Center Column: Floating Rocket (Smaller) --- */
.rocket-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rocket-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rocket-img {
  max-height: clamp(140px, 38vh, 480px);
  max-width: clamp(75px, 20vw, 340px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

/* --- Right Column: Logo (Larger Logo) --- */
.hero-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-logo {
  max-width: clamp(160px, 33vw, 520px);
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
}

/* Mobile fine-tuning */
@media (max-width: 480px) {
  :root {
    --frame-thickness: 18px;
  }
  
  .z4p-marquee-text-item {
    font-size: 8px;
    letter-spacing: 2px;
  }
}
