/* ==========================================================================
   DESIGN SYSTEM & CUSTOM VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --bg-primary: #000000; /* Pure black background */
  --bg-secondary: #050505;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a5; /* High contrast brand gray */
  --text-muted: #5e5e62; /* Slate-500 equivalent */
  
  --accent-red: #E60000; /* Corporate vibrant Red from logo */
  --accent-red-hover: #b80000;
  
  --accent-blue: var(--accent-red);
  --accent-cyan: #ffffff;
  --accent-blue-hover: var(--accent-red-hover);
  --accent-cyan-hover: #e5e5e5;
  
  --glass-bg: rgba(10, 10, 10, 0.55);
  --glass-border: rgba(255, 255, 255, 0.07);
  --glass-border-hover: rgba(230, 0, 0, 0.22);
  --glass-glow: rgba(230, 0, 0, 0.12);
  
  /* Fonts */
  --font-display: 'Inter', sans-serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none; /* Custom cursor follower */
}

html, body {
  background-color: var(--bg-primary);
  background-image: url('assets/ventara_background.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e1e2f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Touch Fallbacks */
@media (hover: none) {
  * {
    cursor: auto !important;
  }
  .cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   BACKGROUND VISUAL EFFECTS
   ========================================================================== */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}


/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.cursor-follower {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cursor-follower.hovering {
  width: 45px;
  height: 45px;
  background-color: rgba(230, 0, 0, 0.08);
  border-color: var(--accent-red);
  box-shadow: 0 0 15px rgba(230, 0, 0, 0.35);
}

.cursor-follower.clicking {
  width: 15px;
  height: 15px;
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

/* ==========================================================================
   LAYOUT CONTAINER (CENTERED)
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 3.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Centered Header */
.main-header.centered-header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: auto; /* Push content down to center */
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(230, 0, 0, 0.15));
  transition: var(--transition-smooth);
}

.logo-image:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(230, 0, 0, 0.3));
}

/* Centered Content Column */
.centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%; /* Allow kids like progress-section to stretch */
  margin: auto 0; /* Push vertically in the middle */
  gap: 2rem;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Big Coming Soon Header (spaced in one line, fluid full width) */
.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6.8vw, 5.4rem); /* Fluid typography to fit available width */
  font-weight: 600; /* Medium-bold style */
  letter-spacing: 0.2em; /* Proportionate space-between letters */
  padding-left: 0.2em; /* Align offset for centering */
  color: var(--text-primary);
  text-align: center;
  line-height: 1.0;
  margin: 0;
  width: 100%;
  white-space: nowrap;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   MINIMAL FLOATING PROGRESS BAR (NO GLASS CARD WRAPPER)
   ========================================================================== */
.progress-section {
  width: 100%; /* 100% width of the site */
  max-width: 100%; /* Full stretch */
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.progress-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.progress-percentage {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--accent-red);
  font-size: 0.95rem;
  text-shadow: 0 0 8px rgba(230, 0, 0, 0.25);
}

.progress-bar-container {
  margin-bottom: 0.8rem;
}

.progress-bar-track {
  height: 3px; /* Minimal, clean indicator line */
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}

@keyframes fillProgress70 {
  from { width: 0%; }
  to { width: 70%; }
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent-red);
  border-radius: 50px;
  position: relative;
  width: 0%;
  animation: fillProgress70 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.progress-bar-glow {
  height: 100%;
  background: var(--accent-red);
  border-radius: 50px;
  position: absolute;
  top: 0;
  left: 0;
  filter: blur(5px);
  opacity: 0.55;
  width: 0%;
  animation: fillProgress70 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.progress-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.status-pulse {
  width: 5px;
  height: 5px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-red);
  animation: pulseRedStatus 1.5s infinite;
}

.status-status-text {
  letter-spacing: 0.2px;
}

/* Contact Section (Email text button inside footer) */
.contact-section {
  margin-bottom: 0.75rem;
  z-index: 5;
}

.email-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 1.5px;
  transition: var(--transition-smooth);
  padding: 0.3rem 0.6rem;
}

.email-icon {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.email-btn:hover {
  color: var(--accent-red);
  text-shadow: 0 0 12px rgba(230, 0, 0, 0.4);
  transform: translateY(-2px);
}

.email-btn:hover .email-icon {
  color: var(--accent-red);
}

/* ==========================================================================
   CENTERED FOOTER
   ========================================================================== */
.main-footer.centered-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: auto;
  gap: 1.2rem;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.footer-center {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.2rem;
  width: 100%;
  align-items: center;
  gap: 1.25rem;
}

.copyright-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


@keyframes pulseRedStatus {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.5);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(230, 0, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
  }
}

@keyframes pulseRed {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.5);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 0 8px rgba(230, 0, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.9);
    box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
    opacity: 0;
  }
}

@keyframes spinner {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
