/* CSS Variables */
:root {
  --background: 222 47% 6%;
  --foreground: 210 40% 98%;
  --card: 222 47% 8%;
  --card-foreground: 210 40% 98%;
  --primary: 45 93% 47%;
  --primary-foreground: 222 47% 6%;
  --secondary: 217 33% 12%;
  --secondary-foreground: 210 40% 98%;
  --muted: 217 33% 15%;
  --muted-foreground: 215 20% 55%;
  --accent: 38 92% 50%;
  --border: 217 33% 17%;
  --ring: 45 93% 47%;
}

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

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Page Container */
.page-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.content-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Particle Background */
.particle-background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsl(var(--accent)) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsl(280 70% 50%) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse-glow 15s ease-in-out infinite;
}

.grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(hsl(var(--primary) / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--primary) / 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: hsl(var(--primary) / 0.6);
  border-radius: 50%;
  animation: rise 10s ease-in infinite;
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem 5rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* Logo */
.logo-container {
  opacity: 0;
  animation: scale-in 0.6s ease-out forwards;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo {
  width: 6rem;
  height: 6rem;
  object-fit: contain;
  border-radius: 1rem;
  animation: float 6s ease-in-out infinite;
}

.logo-glow {
  position: absolute;
  inset: 0;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  background: hsl(var(--primary) / 0.3);
  filter: blur(32px);
  z-index: -1;
}

/* Brand Name */
.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--primary)));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease-in-out infinite;
}

/* Tagline */
.tagline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.coming-soon {
  font-size: 1.25rem;
  font-weight: 300;
  color: hsl(var(--foreground));
}

.description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  max-width: 36rem;
  margin: 0 auto;
}

/* Store Badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
  color: hsl(var(--foreground));
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.badge:hover {
  border-color: hsl(var(--primary) / 0.5);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.badge-icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Robot Animation */
.robot-container {
  padding: 2rem 0;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.robot {
  position: relative;
  width: 120px;
  height: 160px;
  margin: 0 auto;
}

.robot-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, hsl(var(--primary) / 0.3) 0%, transparent 70%);
  filter: blur(20px);
  animation: pulse-glow 2s ease-in-out infinite;
}

.robot-head {
  position: relative;
  width: 80px;
  height: 50px;
  margin: 0 auto;
  background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--card)));
  border-radius: 20px 20px 10px 10px;
  border: 2px solid hsl(var(--primary) / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.robot-eye {
  width: 12px;
  height: 12px;
  background: hsl(var(--primary));
  border-radius: 50%;
  box-shadow: 0 0 10px hsl(var(--primary)), 0 0 20px hsl(var(--primary) / 0.5);
  animation: blink 3s ease-in-out infinite;
}

.robot-antenna {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 15px;
  background: hsl(var(--primary));
  border-radius: 2px;
}

.robot-antenna::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse-glow 1s ease-in-out infinite;
}

.robot-body {
  width: 100px;
  height: 80px;
  margin: 10px auto 0;
  background: linear-gradient(180deg, hsl(var(--secondary)), hsl(var(--card)));
  border-radius: 15px;
  border: 2px solid hsl(var(--primary) / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.robot-screen {
  width: 70px;
  height: 50px;
  background: hsl(var(--background));
  border-radius: 8px;
  border: 1px solid hsl(var(--primary) / 0.5);
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--primary)), transparent);
  animation: scan 2s linear infinite;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100%;
  padding: 8px 5px;
}

.bar {
  width: 8px;
  background: linear-gradient(180deg, hsl(var(--primary)), hsl(var(--accent)));
  border-radius: 2px;
  animation: bar-grow 1.5s ease-in-out infinite alternate;
}

.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.4s; }
.bar:nth-child(4) { animation-delay: 0.6s; }
.bar:nth-child(5) { animation-delay: 0.8s; }

.floating-data {
  position: absolute;
  font-size: 10px;
  font-family: 'Orbitron', monospace;
  color: hsl(var(--primary));
  background: hsl(var(--card) / 0.8);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid hsl(var(--primary) / 0.3);
  animation: float-data 3s ease-in-out infinite;
}

.data-1 {
  top: 20px;
  right: -30px;
}

.data-2 {
  bottom: 30px;
  left: -25px;
  animation-delay: 1s;
}

.data-3 {
  top: 0;
  left: -20px;
  animation-delay: 2s;
}

/* Countdown Timer */
.countdown-section {
  padding-top: 1rem;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.countdown-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0.75rem;
}

.time-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(var(--primary));
  text-shadow: 0 0 20px hsl(var(--primary) / 0.5);
}

.time-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}

.time-separator {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: hsl(var(--primary));
  animation: pulse 1s ease-in-out infinite;
}

/* Email Signup */
.email-signup {
  text-align: center;
  padding: 3rem 0;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.signup-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.signup-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
  margin: 0 auto;
}

.email-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 0.75rem;
  color: hsl(var(--foreground));
  font-size: 0.875rem;
  outline: none;
  transition: all 0.3s ease;
}

.email-input::placeholder {
  color: hsl(var(--muted-foreground));
}

.email-input:focus {
  border-color: hsl(var(--primary) / 0.5);
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.1);
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--accent)));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px hsl(var(--primary) / 0.5);
}

.arrow-icon {
  width: 1rem;
  height: 1rem;
}

/* Features Section */
.features-section {
  padding: 3rem 0;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.features-title {
  text-align: center;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: hsl(var(--primary) / 0.5);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  padding: 0.75rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 0.75rem;
  color: hsl(var(--primary));
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 2rem 1rem 3rem;
}

.social-links {
  text-align: center;
  opacity: 0;
  animation: fade-in 0.6s ease-out forwards;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 50%;
  color: hsl(var(--muted-foreground));
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.5);
  transform: scale(1.1);
}

.social-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.email-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
}

.mail-icon {
  width: 1rem;
  height: 1rem;
}

.email-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.email-contact a:hover {
  color: hsl(var(--primary));
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Animations */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.6;
  }
}

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

@keyframes rise {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes blink {
  0%, 90%, 100% {
    opacity: 1;
  }
  95% {
    opacity: 0.3;
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes bar-grow {
  0% {
    transform: scaleY(0.7);
  }
  100% {
    transform: scaleY(1);
  }
}

@keyframes float-data {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Responsive */
@media (min-width: 640px) {
  .logo {
    width: 8rem;
    height: 8rem;
  }
  
  .logo-glow {
    width: 8rem;
    height: 8rem;
  }
  
  .brand-name {
    font-size: 3.75rem;
  }
  
  .coming-soon {
    font-size: 1.5rem;
  }
  
  .description {
    font-size: 1.125rem;
  }
  
  .signup-form {
    flex-direction: row;
  }
  
  .email-input {
    flex: 1;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .brand-name {
    font-size: 4.5rem;
  }
  
  .coming-soon {
    font-size: 1.875rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .time-value {
    font-size: 2.25rem;
  }
}


/* Glass effect utility */
.glass {
  background: hsl(var(--card) / 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.5);
}

/* ===== COUNTDOWN – SAME ON DESKTOP & MOBILE ===== */
.countdown-timer {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ALWAYS 4 boxes */
  gap: 14px;
  max-width: 100%;
  margin: 0 auto;
}

.time-block {
  background: rgba(10, 15, 30, 0.85);
  border-radius: 14px;
  padding: 14px 6px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.time-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #f6c453;
  line-height: 1;
}

.time-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0.75;
  margin-top: 6px;
}

.time-separator {
  display: none;
}

@media (max-width: 768px) {
  .time-value {
    font-size: 2.2rem;
  }

  .time-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    gap: 10px;
  }

  .time-block {
    padding: 12px 4px;
  }

  .time-value {
    font-size: 1.9rem;
  }

  .time-label {
    font-size: 0.6rem;
    letter-spacing: 1px;
  }
}
