/* ==========================================================================
   BRANDO (usebrando.com) — MINIMALIST COMING SOON
   Sleek dark geometric aesthetic matching reference screenshot
   ========================================================================== */

:root {
  /* Brando Official Platform Design Tokens */
  --brand-primary: #3366f1;
  --brand-purple: #8b5cf6;
  --brand-pink: #ec4899;
  --brand-orange: #f97316;
  --brand-cyan: #06b6d4;

  --brand-gradient: linear-gradient(135deg, #3366f1 0%, #8b5cf6 40%, #ec4899 75%, #f97316 100%);
  --brand-gradient-hover: linear-gradient(135deg, #2563eb 0%, #7c3aed 40%, #db2777 75%, #ea580c 100%);
  --brand-gradient-text: linear-gradient(120deg, #60a5fa 0%, #a855f7 35%, #ec4899 70%, #f97316 100%);

  --bg-deep: #07090e;
  --bg-surface: rgba(14, 18, 29, 0.7);

  --text-white: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.45);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--brand-purple);
  color: #ffffff;
}

/* ── Interactive 3D Canvas ── */
#polyCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
}

/* ── Ambient Brand Background Glows ── */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 1;
}

.glow-top-left {
  top: -10vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #3366f1 0%, #8b5cf6 40%, transparent 70%);
  opacity: 0.35;
}

.glow-bottom-right {
  bottom: -15vw;
  right: -15vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, #ec4899 0%, #f97316 45%, transparent 70%);
  opacity: 0.28;
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(7, 9, 14, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Site Layout Shell ── */
.site-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.75rem 2.5rem 2.5rem 2.5rem;
}

/* ── Top Header Navigation ── */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.top-logo-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.top-logo-link:hover {
  transform: scale(1.06);
  opacity: 0.9;
}

.top-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(51, 102, 241, 0.35));
}

/* ── Center Hero Stage ── */
.hero-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
  width: 100%;
}

/* ── Center Brand Name ── */
.center-brand-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: default;
}

.brand-text:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.6));
}

/* ── Headline Slider with Arrows (< Title >) ── */
.headline-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 1240px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-arrow {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  z-index: 5;
}

.nav-arrow svg {
  width: 32px;
  height: 32px;
}

.nav-arrow:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.slides-viewport {
  position: relative;
  flex: 1;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.headline-slide {
  position: absolute;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.headline-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
}

/* Vibrant Brand Gradient Accent */
.highlight-word {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
}

/* ── Minimal Countdown Clock ── */
.countdown-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  margin-bottom: 3.5rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.unit-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.unit-tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.unit-divider {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(139, 92, 246, 0.5);
  margin-bottom: 0.8rem;
}

/* ── Interaction Strip (Socials Left | Form Right) ── */
.interaction-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1080px;
  gap: 2rem;
}

.social-links-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  color: #a855f7;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.6));
}

/* Minimal Subscribe Form */
.subscribe-form {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  max-width: 340px;
  justify-content: flex-end;
}

.input-box {
  position: relative;
  width: 100%;
  max-width: 190px;
}

.subscribe-input {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  outline: none;
  padding: 0.2rem 0;
}

.subscribe-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.wavy-svg {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 6px;
  pointer-events: none;
}

.subscribe-input:focus ~ .wavy-svg path {
  stroke: #ec4899;
}

.subscribe-btn {
  background: var(--brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
}

.subscribe-btn:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 6px 24px rgba(236, 72, 153, 0.5);
  transform: translateY(-1px);
}

.subscribe-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.subscribe-btn.loading .btn-text {
  visibility: hidden;
}

.subscribe-btn.loading .btn-spinner {
  display: block;
}

.btn-spinner {
  display: none;
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Toast Notifications ── */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 9999;
  pointer-events: none;
}

.toast {
  background: rgba(11, 14, 23, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  animation: toastIn 0.3s ease forwards;
}

.toast.toast-success {
  border-left: 3px solid #10b981;
}

.toast.toast-error {
  border-left: 3px solid #ef4444;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(10px); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-wrapper {
    padding: 1.25rem 1.5rem;
  }

  .slides-viewport {
    height: 120px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    white-space: normal;
  }

  .interaction-bar {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }

  .subscribe-form {
    max-width: 100%;
    justify-content: center;
  }
}
