@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;400;600;800&display=swap');

:root {
  --bg-color: #000000;
  --accent-red: #FF2A00;
  --accent-orange: #FF7A00;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --glass-bg: rgba(15, 15, 15, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --blur-heavy: blur(30px);
  --blur-light: blur(10px);
}

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

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

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cinematic-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-heavy);
  -webkit-backdrop-filter: var(--blur-heavy);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), var(--accent-orange));
  color: #000;
  box-shadow: 0 0 20px rgba(255, 42, 0, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(255, 42, 0, 0.8);
  transform: scale(1.05);
}

.btn-secondary {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-light);
  border-color: var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: var(--blur-light);
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 5%;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 20px;
}

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

/* Handle portrait video rotation */
.hero-video-wrapper video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vh; /* Swap width and height */
  height: 100vw;
  transform: translate(-50%, -50%) rotate(90deg);
  object-fit: cover;
  opacity: 0.7; /* cinematic darkness */
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 80%, #000 100%);
  z-index: -1;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
}

.hero-content {
  padding: 60px;
  max-width: 800px;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -2px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 200;
}

/* Scroll Sections */
.features-section {
  padding: 120px 5%;
  background: #000;
  position: relative;
}

.feature-block {
  max-width: 1200px;
  margin: 0 auto 150px;
  display: flex;
  align-items: center;
  gap: 80px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.feature-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
}

.feature-text p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 200;
  margin-bottom: 30px;
}

.feature-visual {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 42, 0, 0.2), transparent 70%);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-glass-orb {
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--blur-heavy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 50px rgba(255, 42, 0, 0.1), inset 0 0 20px rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Auth Containers */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 5%;
  position: relative;
  background: #000;
}

/* Background gradient blobs for auth pages */
.auth-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,42,0,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.auth-form {
  width: 100%;
  max-width: 450px;
  padding: 50px;
  z-index: 1;
}

.auth-form h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  font-weight: 800;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(255, 42, 0, 0.2);
}

.auth-form .btn {
  width: 100%;
  margin-top: 20px;
}

.auth-links {
  margin-top: 30px;
  text-align: center;
  color: var(--text-secondary);
}

.auth-links a {
  color: var(--accent-orange);
  font-weight: 600;
}

.auth-links a:hover {
  color: var(--accent-red);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .feature-block, .feature-block:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
}
