/* ═══════════════════════════════════════════════════
   OmTubes Coming Soon Stylesheet — High-Contrast Black Look
   ═══════════════════════════════════════════════════ */

/* ── Global Styles ────────────────────────────── */
body {
  background-color: #fcfcfc;
  color: #000000;
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100%;
}

/* ── Background Canvas ────────────────────────── */
.cs-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
  background-color: #f7f7f7;
}

/* Premium noise texture to mask JPG compression artifacts */
.cs-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  z-index: 3;
}

.cs-background__canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

.cs-background__overlay {
  display: none;
}

/* ── Content Viewport (Fixed Overlay) ─────────── */
.cs-viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 10;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.cs-interactive {
  pointer-events: auto !important;
}

/* ── Navigation (Exact Reference Look) ───────── */
.cs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  height: var(--nav-height);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
  pointer-events: auto;
}

.cs-nav__left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cs-nav__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.cs-nav__logo-img {
  height: 28px;
  width: auto;
  filter: brightness(0); /* Force logo black */
}

.cs-nav__separator {
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  height: 20px;
}

.cs-nav__circle-badge {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.01);
}

.cs-nav__circle-dot {
  width: 8px;
  height: 8px;
  background-color: #000000;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  animation: cs-pulse 2s infinite;
}

@keyframes cs-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(0, 0, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

.cs-nav__link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: #000000;
  text-decoration: none;
  letter-spacing: var(--letter-spacing-wide);
  transition: opacity var(--duration-fast);
}

.cs-nav__link:hover {
  opacity: 0.6;
}

.cs-nav__hamburger {
  width: 28px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.cs-nav__hamburger-line {
  height: 1.5px;
  background-color: #000000;
  width: 100%;
}

.cs-nav__hamburger-line--short {
  width: 70%;
  align-self: flex-end;
}

/* ── Content Panels Layout (Texts at screen edges) ─ */
.cs-panels-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.cs-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: var(--space-10);
  box-sizing: border-box;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  transform: none !important;
}

.cs-panel-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-8);
  width: 100%;
  max-width: 100%; /* Force edge-to-edge width */
  margin: 0;
  padding: 0 5vw var(--space-4) 5vw; /* Wide padding aligns items to the sides */
  box-sizing: border-box;
  align-items: flex-end;
}

.cs-panel-left {
  text-align: left;
  max-width: 500px; /* Keep column compact to prevent centering */
}

.cs-panel-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-self: end;
  max-width: 420px;
}

/* ── Scroll Container (Scroll Spacer) ─────────── */
.cs-scroll-spacer {
  height: 300vh;
  position: relative;
  z-index: 5;
  pointer-events: none;
}

/* ── Panel Left Content (Black High-Contrast) ─── */
.cs-tagline {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  color: #a68028; /* Deep dark bronze/gold tagline */
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.cs-title {
  font-size: clamp(2.2rem, 3.6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 var(--space-4) 0;
  color: #000000; /* Solid high-contrast black title */
  text-transform: none;
}

.cs-subtitle {
  font-size: var(--text-sm);
  color: rgba(0, 0, 0, 0.7); /* Readable dark grey subtitle */
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.cs-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #000000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-full);
  padding: 13px 28px;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--duration-fast), transform var(--duration-fast);
  cursor: pointer;
}

.cs-pill-btn:hover {
  background: #1c1c1c;
  transform: translateY(-2px);
}

.cs-pill-btn__arrow {
  color: var(--color-accent-gold);
  font-size: var(--text-sm);
}

/* ── Panel Right Content (Black High-Contrast) ── */
.cs-right-desc {
  font-size: var(--text-sm);
  color: rgba(0, 0, 0, 0.75);
  max-width: 360px;
  line-height: 1.6;
  margin-bottom: var(--space-5);
  text-align: right;
}

.cs-right-desc span {
  color: #000000;
  font-weight: var(--font-weight-semibold);
}

/* Countdown Display (Black) */
.cs-hero-countdown {
  margin-bottom: var(--space-5);
  text-align: right;
}

.cs-hero-countdown__lbl {
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.cs-hero-countdown__val {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-black);
  font-family: var(--font-mono);
  color: #000000; /* High-contrast black countdown digits */
  letter-spacing: 0.05em;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

/* Tags Layout (Black borders) */
.cs-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.cs-tag {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.02);
}

/* Scroll indicator (Black) */
.cs-scroll-cta {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 10px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  color: rgba(0, 0, 0, 0.5);
  animation: cs-bob 2s infinite ease-in-out;
}

@keyframes cs-bob {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); color: rgba(0, 0, 0, 0.7); }
  100% { transform: translateY(0); }
}

.cs-scroll-cta__icon {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

/* Footer (Edge Left) */
.cs-footer {
  position: absolute;
  bottom: var(--space-4);
  left: 5vw;
  width: auto;
  text-align: left;
  font-size: var(--text-xs);
  color: rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

/* ── Contact Modal Styles ─────────────────────── */
.cs-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.cs-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
}

.cs-modal__content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 440px;
  transform: scale(0.95);
  opacity: 0;
  box-sizing: border-box;
}

.cs-modal__close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  background: none;
  border: none;
  font-size: 24px;
  color: #000000;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cs-modal__close:hover {
  color: #a68028;
}

.cs-contact-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: var(--space-6) var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}

.cs-form__group {
  margin-bottom: var(--space-3);
}

.cs-form__label {
  display: block;
  font-size: 9px;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  color: rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.cs-form__input {
  width: 100%;
  padding: 10px var(--space-3);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  color: #000000;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  box-sizing: border-box;
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.cs-form__input:focus {
  outline: none;
  border-color: #000000;
  background: #ffffff;
}

.cs-form__textarea {
  resize: none;
}

.cs-form__btn {
  width: 100%;
  padding: 12px;
  background: #000000;
  border: none;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-weight: var(--font-weight-bold);
  font-size: var(--text-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: background var(--duration-fast), transform var(--duration-fast);
}

.cs-form__btn:hover {
  background: #1f1f1f;
}

.cs-form__success {
  display: none;
  text-align: center;
  padding: var(--space-4) 0;
}

.cs-form__success-icon {
  font-size: 2rem;
  color: #a68028;
  margin-bottom: var(--space-2);
}

.cs-form__success-title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
  color: #000000;
}

.cs-form__success-text {
  font-size: var(--text-xs);
  color: rgba(0, 0, 0, 0.6);
}

/* ── Responsive Styling ──────────────────────── */
@media (max-width: 860px) {
  .cs-nav {
    padding: 0 var(--space-4);
  }
  
  .cs-panel {
    justify-content: flex-start;
    padding-top: calc(var(--nav-height) + var(--space-4));
    padding-bottom: var(--space-12);
  }
  
  .cs-panel-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding: 0 var(--space-4);
  }
  
  .cs-panel-right {
    align-items: flex-start;
    text-align: left;
    justify-self: start;
    margin-top: var(--space-2);
  }
  
  .cs-right-desc {
    text-align: left;
  }
  
  .cs-tag-group {
    justify-content: flex-start;
  }
  
  .cs-footer {
    left: 5vw;
    bottom: var(--space-2);
  }
}
