@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

@font-face {
  font-family: 'GT Proelium';
  src: url('GTProelium.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'GT Proelium';
  src: url('GTProeliumItalic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: 'GT Proelium Sharp';
  src: url('GTProeliumSharp.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'GT Proelium Sharp';
  src: url('GTProeliumSharpItalic.otf') format('opentype');
  font-weight: normal;
  font-style: italic;
}

:root {
  --bg-color: #050505;
  --text-color: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.4);
  --primary-indigo: #898585;
  --primary-purple: #7c3aed;
  --primary-amber: #f59e0b;
  --primary-pink: #db2777;
  
  /* Easing for cinematic animations */
  --ease-cinematic: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out-heavy: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Satoshi', sans-serif;
  overflow-x: hidden;
}

/* Lock viewport height and block overflow */
body.scroll-locked {
  overflow: hidden;
  height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0b0b;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Vibrant BG animado */
.vibrant-bg {
  background: linear-gradient(135deg, var(--primary-indigo), var(--primary-purple), var(--primary-amber), var(--primary-pink));
  background-size: 400% 400%;
  animation: gradient-flow 15s ease infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Estilo Glassmorphism General */
.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border-radius: 24px;
}

/* Layer 1: Hidden Internal Page */
#internal-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
  z-index: 10;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.96);
  filter: blur(20px);
  transition: opacity 1.5s var(--ease-cinematic), transform 1.5s var(--ease-cinematic), filter 1.5s var(--ease-cinematic);
}

#internal-page.content-revealed {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.pointer-events-none {
  pointer-events: none !important;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  z-index: 95;
  transition: opacity 0.5s ease;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-link {
  display: block;
  transition: transform 0.3s ease;
}

.header-logo-link:hover {
  transform: scale(1.05);
}

.header-logo-img {
  height: 32px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 5px 0;
}

nav a:hover, nav a.active {
  opacity: 1;
}

nav a.active {
  color: #ffffff;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out-heavy);
}

nav a:hover::after, nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Layer 2: Curtain with SVG Mask */
.curtain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 90;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  transition: opacity 1.5s var(--ease-cinematic), visibility 1.5s var(--ease-cinematic);
}

.curtain-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Layer 3: Overlay UI */
#scroll-indicator {
  position: fixed;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  pointer-events: none;
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
}

.mouse-icon {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(5, 5, 5, 0.4);
  border-radius: 15px;
  position: relative;
}

.mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: #050505;
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-bounce 2s infinite ease-in-out;
}

@keyframes mouse-bounce {
  0%, 100% {
    transform: translate(-50%, 0);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, 6px);
    opacity: 0.2;
  }
}

.scroll-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #050505;
  opacity: 0.6;
  margin-right: -0.4em;
  white-space: nowrap;
}

/* Layer 2.5: Countdown Layer */
.countdown-container {
  position: fixed;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 92;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  text-align: center;
  transition: opacity 0.8s var(--ease-cinematic), transform 0.8s var(--ease-cinematic);
}

#countdown-timer {
  font-family: 'GT Proelium', 'GTProelium', sans-serif;
  font-weight: normal;
  font-size: clamp(24px, 3.5vw, 36px);
  letter-spacing: 0.05em;
  color: #050505;
  line-height: 1;
}

.countdown-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #050505;
  opacity: 0.5;
}

/* Progress Indicator */
#progress-indicator {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 95;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-indigo);
  box-shadow: 0 0 10px rgba(137, 133, 133, 0.5);
  transition: width 0.1s ease-out;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  padding: 160px 80px 80px 80px;
  align-items: center;
  gap: 60px;
  position: relative;
}

@media (min-width: 992px) {
  .hero-section {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 780px;
  z-index: 12;
}

.badge {
  align-self: flex-start;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-amber);
}

.hero-title {
  font-family: 'GT Proelium', 'GTProelium', sans-serif;
  font-weight: normal;
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--text-color);
}

.hero-title-dim {
  display: block;
  opacity: 0.4;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s var(--ease-out-heavy);
}

.btn-solid {
  background: #ffffff;
  color: #050505;
  border: none;
}

.btn-solid:hover {
  background: var(--primary-indigo);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(137, 133, 133, 0.4);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Hero Right: Misty Card Container */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12;
}

/* Ambient Glow behind card */
.ambient-glow {
  position: absolute;
  width: 130%;
  height: 130%;
  pointer-events: none;
  z-index: 1;
}

.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  mix-blend-mode: screen;
  animation: glow-pulse 12s infinite alternate ease-in-out;
}

.glow-yellow {
  background: #f59e0b;
  width: 250px;
  height: 250px;
  top: 10%;
  left: 10%;
}

.glow-pink {
  background: #db2777;
  width: 280px;
  height: 280px;
  bottom: 10%;
  right: 10%;
  animation-delay: -6s;
}

@keyframes glow-pulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.2;
  }
  50% {
    transform: scale(1.2) translate(5%, -5%);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.9) translate(-5%, 5%);
    opacity: 0.15;
  }
}

/* Misty Reveal Card */
.misty-card {
  width: 100%;
  max-width: 480px;
  min-height: 520px;
  max-height: 600px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  z-index: 2;
  overflow: hidden;
  position: relative;
  
  /* Initial foggy state styled using custom variables updated in JS */
  filter: blur(var(--misty-blur, 40px));
  transform: scale(var(--misty-scale, 0.92));
  opacity: var(--misty-opacity, 0);
  transition: filter 0.3s var(--ease-out-heavy), transform 0.3s var(--ease-out-heavy), opacity 0.3s var(--ease-out-heavy);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 15px;
  flex-shrink: 0;
}

.mono-tag {
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--primary-amber);
  text-transform: uppercase;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #4ade80;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
}

.card-content-wrapper {
  margin-top: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  position: relative;
  padding-right: 5px;
}

/* Custom scrollbar for card content wrapper */
.card-content-wrapper::-webkit-scrollbar {
  width: 4px;
}
.card-content-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.card-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-heavy);
  flex-direction: column;
  height: 100%;
}

.tab-content.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.card-title {
  font-family: 'GT Proelium', 'GTProelium', sans-serif;
  font-weight: normal;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.4;
}

.spec-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--primary-indigo);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}

.spec-item span {
  color: var(--text-secondary);
}

.spec-item strong {
  color: #ffffff;
  font-weight: 700;
}

.specs-footer-note {
  margin-top: auto;
  font-size: 11px;
  color: var(--text-muted);
  font-family: monospace;
  padding-top: 20px;
}

.tidycal-container {
  width: 100%;
  height: 380px;
  overflow-y: auto;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Form inside card */
.tab-content form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #ffffff;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-indigo);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 10px rgba(137, 133, 133, 0.2);
}

textarea.form-input {
  resize: none;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  border: none;
  padding: 14px;
  font-size: 13px;
  font-family: 'Satoshi', sans-serif;
}

/* Success State for Form */
.form-success-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 10px;
  animation: fadeIn 0.5s forwards;
  height: 100%;
  margin-top: auto;
  margin-bottom: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.success-icon {
  width: 54px;
  height: 54px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4ade80;
  font-size: 24px;
  margin-bottom: 15px;
  box-shadow: 0 0 15px rgba(74, 222, 128, 0.15);
}

.success-title {
  font-family: 'GT Proelium', 'GTProelium', sans-serif;
  font-weight: normal;
  font-size: 24px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.success-desc {
  color: var(--text-secondary);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.4;
}

/* Footer */
footer {
  padding: 60px 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  z-index: 12;
}

@media (min-width: 768px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 0.9;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.social-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffffff;
}

/* Responsive padding adjustments */
@media (max-width: 768px) {
  header {
    padding: 20px 30px;
  }
  nav {
    display: none; /* simple hidden nav for mobile preview, can toggle if needed */
  }
  .hero-section {
    padding: 120px 30px 40px 30px;
    gap: 40px;
  }
  footer {
    padding: 60px 30px;
  }
  .countdown-timer-text {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }
  .countdown-container {
    top: 73% !important;
  }
}

/* ==========================================
   SOLID WHITE MISTY CARD OVERRIDES
   ========================================== */
.misty-card.glass-panel,
.misty-card {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid rgba(5, 5, 5, 0.08) !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15) !important;
  
  /* Redefine text color variables inside the card scope */
  --text-color: #050505;
  --text-secondary: rgba(5, 5, 5, 0.65);
  --text-muted: rgba(5, 5, 5, 0.45);
  
  /* Force color inheritance to resolve locally using scoped variables */
  color: var(--text-color) !important;
}

.misty-card .card-title {
  color: var(--text-color) !important;
}

.misty-card .card-header {
  border-bottom-color: rgba(5, 5, 5, 0.08) !important;
}

.misty-card .status-indicator {
  color: #050505 !important;
}

.misty-card .card-content-wrapper::-webkit-scrollbar-thumb {
  background: rgba(5, 5, 5, 0.15) !important;
}

.misty-card .spec-item strong {
  color: #050505 !important;
}

.misty-card .spec-icon {
  background: rgba(5, 5, 5, 0.03) !important;
  border-color: rgba(5, 5, 5, 0.08) !important;
}

.misty-card .tidycal-container {
  background: rgba(5, 5, 5, 0.02) !important;
  border-color: rgba(5, 5, 5, 0.06) !important;
}

.misty-card .form-input {
  background: rgba(5, 5, 5, 0.03) !important;
  border-color: rgba(5, 5, 5, 0.08) !important;
  color: #050505 !important;
}

.misty-card .form-input::placeholder {
  color: rgba(5, 5, 5, 0.4) !important;
}

.misty-card .form-input:focus {
  background: rgba(5, 5, 5, 0.05) !important;
  border-color: var(--primary-indigo) !important;
  box-shadow: 0 0 10px rgba(137, 133, 133, 0.15) !important;
}

.misty-card .btn-solid {
  background: #050505 !important;
  color: #ffffff !important;
}

.misty-card .btn-solid:hover {
  background: var(--primary-indigo) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px rgba(137, 133, 133, 0.3) !important;
}

.misty-card .form-success-overlay {
  background: #ffffff !important;
}

/* Form Error Messages */
.form-error {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 10px;
  color: #ef4444;
  font-size: 13px;
  line-height: 1.4;
  animation: fadeIn 0.3s ease forwards;
}

