/* Modern CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Properties */
:root {
  --primary: #FF3366;
  --primary-dark: #E61E4D;
  --secondary: #2D3436;
  --text-light: #FFFFFF;
  --text-dark: #2D3436;
  --glass-bg: rgba(0, 0, 0, 0.6);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --blur: 12px;
}

/* Base Styles */
html, body {
  height: 100%;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #000;
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Video Background */
.video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

#bgVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform;
}

/* Fallback Background */
.fallback-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #000000, #1a1a1a);
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.fallback-bg.active {
  opacity: 1;
}

/* Main Container */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 500px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  margin: 20px;
  transform: scale(var(--scale, 1));
  transform-origin: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

/* Steps Wrapper */
.steps-wrapper {
  position: relative;
  z-index: 1;
}

.step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Box */
.text-box {
  padding: 40px 32px;
  text-align: center;
  background: none;
}

.text-box h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(45deg, var(--primary), #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.text-box h2 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 32px;
  color: var(--text-light);
  opacity: 0.9;
}

.text-box h3.list-heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-light);
  opacity: 0.8;
}

/* Buttons */
.cta-button {
  background: linear-gradient(45deg, var(--primary), #FF6B6B);
  color: var(--text-light);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 16px;
  font-weight: 700;
  font-size: 18px;
  padding: 18px 36px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 51, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #FF6B6B, var(--primary));
  opacity: 0;
  transition: var(--transition);
}

.cta-button:hover::before {
  opacity: 1;
}

.cta-button span {
  position: relative;
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 51, 102, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button.clicked {
  animation: buttonPop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button Grids */
.cta-buttons {
  display: grid;
  gap: 16px;
  justify-items: stretch;
  align-items: stretch;
}

.cta-buttons.two-buttons {
  grid-template-columns: 1fr 1fr;
}

.cta-buttons.four-buttons {
  grid-template-columns: repeat(2, 1fr);
}

.cta-buttons .cta-button {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
}

/* Loading Bar */
.loading-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 24px;
}

.loading-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(45deg, var(--primary), #FF6B6B);
  border-radius: 4px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes buttonPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

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

.approved-animation {
  animation: popIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (min-width: 768px) {
  .container {
    max-width: 600px;
  }
  
  .text-box h1 {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .text-box h2 {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .text-box h3 {
    font-size: 16px;
  }
  
  .cta-button {
    font-size: 20px;
    padding: 20px 40px;
  }
  
  .cta-buttons.two-buttons .cta-button {
    font-size: 18px;
    padding: 18px 28px;
  }
  
  .cta-buttons.four-buttons .cta-button {
    font-size: 16px;
    padding: 16px 24px;
  }
}

/* Dark Mode Optimizations */
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
  }
}

/* Accessibility */
.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.4);
}

/* Loading States */
.cta-button:disabled {
  opacity: 0.7;
  transform: none;
}

/* Print Styles */
@media print {
  .container {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .cta-button {
    border: 1px solid #000;
  }
} 