/* Premium Reset & Variables */
:root {
  --bg-color: #050505;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --accent-glow: #6366f1;
  --accent-secondary: #a855f7;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, sans-serif;
}

body.premium-dark {
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- 1. Animated Ambient Background Glows --- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  opacity: 0.65;
  animation: floatGlow 12s infinite alternate ease-in-out;
}

.glow-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: #6366f1; }
.glow-2 { bottom: 5%; right: -10%; width: 45vw; height: 45vw; background: #a855f7; animation-delay: -5s; }
.glow-3 { top: 30%; left: 30%; width: 40vw; height: 40vw; background: #ec4899; animation-delay: -8s; filter: blur(180px); }

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 80px) scale(1.15); }
}

/* --- Navigation --- */
.glass-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-glass:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }

/* --- Hero Layout --- */
.hero {
  padding: 12rem 5% 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero h1 { font-size: 4rem; line-height: 1.1; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: -2px; }

/* --- 2. Shifting, Glowing Text Gradient --- */
.text-gradient {
  background: linear-gradient(270deg, #ff7170, #ffe57f, #a855f7, #6366f1);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
  filter: drop-shadow(0px 0px 15px rgba(168, 85, 247, 0.4));
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero p { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 80%; }

/* --- 3. Neon Button Aura & Input --- */
.input-wrapper {
  display: flex;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 0.5rem;
  width: max-content;
  align-items: center;
}

.prefix { color: var(--text-muted); padding-left: 1rem; font-size: 1.1rem; }
.username-input { background: transparent; border: none; color: white; font-size: 1.1rem; padding: 0.5rem; outline: none; width: 150px; }

.btn-primary {
  background: linear-gradient(90deg, #6366f1, #a855f7);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.8), 0 0 60px rgba(99, 102, 241, 0.6); 
}

/* --- 4. Abstract Mockup Card & Backlight --- */
.hero-visual { position: relative; }

.hero-visual::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); width: 140%; height: 140%;
  background: radial-gradient(circle, rgba(168,85,247,0.4) 0%, transparent 60%);
  z-index: -1; filter: blur(50px); animation: pulseAura 4s infinite alternate ease-in-out;
}

@keyframes pulseAura {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 30px;
  padding: 3rem 2rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  transform: rotate(-5deg) translateY(0px); transition: transform 0.5s ease;
}

.glass-card:hover { transform: rotate(0deg) translateY(-10px); }

.mockup-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--glass-border); margin: 0 auto 1.5rem; }
.mockup-line { height: 12px; background: var(--glass-border); border-radius: 10px; margin: 0 auto 1rem; }
.mockup-line.title { width: 60%; }
.mockup-line.subtitle { width: 40%; margin-bottom: 2.5rem; }
.mockup-button { height: 45px; background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 12px; margin-bottom: 1rem; }

/* --- Footer --- */
footer {
  text-align: center;
  padding: 2rem 5%;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
}

.powered-by {
  margin-top: 0.5rem;
}

.powered-by a {
  color: var(--accent-glow);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.powered-by a:hover {
  color: var(--accent-secondary);
}

/* Mobile Adjustments */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 8rem; }
  .hero p { margin: 0 auto 2.5rem; }
  .input-wrapper { margin: 0 auto; }
  .hero-visual { display: none; }
  .hero h1 { font-size: 2.8rem; }
}