:root {
  --bg: #0c0c0e;
  --panel: #121217;
  --text: #eef1f7;
  --muted: #a7adbd;
  --brand: #bba6ff;
  --brand-2: #79c3ff;
  --accent: #e9d7ff;
  --danger: #ff6b6b;
  --ring: rgba(187,166,255,0.5);
  --grid: rgba(255,255,255,0.05);
}

* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }

/* Scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out forwards;
}

.scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(900px 600px at 12% -10%, rgba(187,166,255,0.10), transparent),
    radial-gradient(900px 600px at 88% 110%, rgba(121,195,255,0.10), transparent),
    radial-gradient(1600px 900px at 50% -30%, rgba(255,255,255,0.04), transparent),
    conic-gradient(from 180deg at 50% 10%, rgba(187,166,255,0.08), rgba(121,195,255,0.06), rgba(187,166,255,0.08)),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 100%),
    var(--bg);
  background-attachment: fixed, fixed, fixed, fixed, scroll, scroll;
  position: relative;
  color: var(--text);
}

/* Countdown Banner */
.countdown-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #ff6b35, #f7931e);
  border-bottom: 2px solid #ff4500;
  box-shadow: 0 2px 10px rgba(255, 107, 53, 0.3);
  padding: 8px 0;
}

.countdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.countdown-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.countdown-icon {
  font-size: 20px;
  animation: hammer-swing 2s ease-in-out infinite;
}

.countdown-text {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.countdown-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.2);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
}

.time-number {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  line-height: 1;
}

.time-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.time-separator {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  margin: 0 2px;
}

.countdown-cta {
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  animation: pulse-glow 1.5s ease-in-out infinite;
}

@keyframes hammer-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Subtle grid overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 22px, var(--grid) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, var(--grid) 22px 23px);
  mask-image: radial-gradient(80% 80% at 50% 20%, black 50%, transparent 100%);
  opacity: 0.5;
}

/* Scuffed glass overlay above content (keeps grid intact) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    /* fine scratches */
    repeating-linear-gradient(17deg, transparent 0 9px, rgba(255,255,255,0.03) 9px 10px),
    repeating-linear-gradient(-28deg, transparent 0 13px, rgba(255,255,255,0.02) 13px 14px),
    repeating-linear-gradient(62deg, transparent 0 40px, rgba(255,255,255,0.05) 40px 41px),
    /* soft smudges */
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.03), transparent 60%),
    radial-gradient(900px 500px at 80% 90%, rgba(255,255,255,0.025), transparent 60%),
    /* edge grime vignette */
    radial-gradient(120% 120% at 50% 50%, transparent 60%, rgba(0,0,0,0.12) 100%);
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: blur(0.35px);
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(12,12,14,0.8); backdrop-filter: blur(8px); border-bottom: 1px solid #1b1c22; margin-top: 80px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: 0.4px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; filter: drop-shadow(0 0 16px rgba(187,166,255,0.25)); }
.brand-name { font-size: 16px; text-transform: uppercase; color: var(--text); }

.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--text); }

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(12, 12, 14, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #1b1c22;
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--brand);
}

.mobile-nav a:last-child {
  border-bottom: none;
  margin-top: 8px;
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 10px; border: 1px solid #2a2b35; color: var(--text); background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); text-decoration: none; font-weight: 600; }
.btn:hover { border-color: #3a3b46; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #0b0b0d; border: none; box-shadow: 0 8px 24px rgba(121,195,255,0.25), 0 4px 16px rgba(187,166,255,0.2); font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost { background: transparent; }
.btn.small { padding: 8px 12px; font-size: 13px; }
.btn.full { width: 100%; }

.hero { padding: 64px 0 24px; }
.gradient-grid { position: relative; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; }
.hero-copy h1 { margin: 0 0 10px; font-size: 48px; letter-spacing: -0.5px; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero-copy .subhead { margin: 0 0 22px; color: var(--text); font-size: 20px; font-weight: 500; line-height: 1.4; }
.cta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.trust { color: var(--muted); font-size: 13px; }
.mobile-apps { color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 8px; }
.hero-art img { width: 100%; max-width: 360px; margin: 0 auto; display: block; opacity: 0.95; border-radius: 20px; filter: drop-shadow(0 0 40px rgba(187,166,255,0.25)); }

.features { padding: 48px 0; }
.features h2, .pricing h2 { text-align: center; margin: 0 0 22px; font-size: 36px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.2); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { 
  background: var(--panel); 
  border: 1px solid #1c1d24; 
  border-radius: 14px; 
  padding: 18px; 
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Fine scratches */
    repeating-linear-gradient(15deg, transparent 0 8px, rgba(255,255,255,0.02) 8px 9px),
    repeating-linear-gradient(-25deg, transparent 0 12px, rgba(255,255,255,0.015) 12px 13px),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(255,255,255,0.025) 16px 17px),
    /* Deeper scratches */
    repeating-linear-gradient(60deg, transparent 0 40px, rgba(255,255,255,0.04) 40px 41px),
    repeating-linear-gradient(-15deg, transparent 0 60px, rgba(255,255,255,0.03) 60px 61px);
  opacity: 0.8;
  filter: blur(0.3px);
}
.card h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--text); }
.card p { margin: 0; color: var(--text); font-weight: 500; line-height: 1.5; }
.center { text-align: center; margin-top: 20px; }

.mission-section { padding: 16px 0 40px; border-top: 1px solid #1b1c22; border-bottom: 1px solid #1b1c22; background: radial-gradient(600px 400px at 50% -10%, rgba(187,166,255,0.06), transparent); }
.mission-section h2 { text-align: center; margin: 0 0 10px; font-size: 32px; font-weight: 700; color: var(--text); }
.mission-section p { color: var(--text); margin: 12px auto; max-width: 900px; font-weight: 500; line-height: 1.6; }

.pricing { padding: 24px 0 32px; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 400px; margin: 0 auto; }
.price-card { background: var(--panel); border: 1px solid #1c1d24; border-radius: 16px; padding: 20px; }
.price-card.outline { background: transparent; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; color: #0b0b0d; background: linear-gradient(135deg, var(--brand), var(--brand-2)); font-weight: 700; }
.price { color: var(--text); font-weight: 500; }
.price span { font-size: 38px; color: var(--text); font-weight: 800; }
.price-card ul { margin: 12px 0 18px; padding-left: 18px; color: var(--text); font-weight: 500; }

.signup { padding: 24px 0 64px; }
.signup-inner { max-width: 1000px; margin: 0 auto; }
.signup-content { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.video-container { width: 100%; }
.video-placeholder { 
  background: linear-gradient(135deg, #1a1b23, #2a2d3a); 
  border: 1px solid #23242d; 
  border-radius: 12px; 
  padding: 40px 20px; 
  text-align: center; 
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.play-icon { 
  font-size: 48px; 
  color: var(--brand); 
  margin-bottom: 16px; 
  opacity: 0.7;
}
.video-placeholder h3 { 
  margin: 0 0 8px; 
  font-size: 20px; 
  font-weight: 600; 
  color: var(--text);
}
.video-placeholder p { 
  margin: 0; 
  color: var(--muted); 
  font-size: 14px;
}
.form-container { width: 100%; }
.form-card { padding: 18px; }
.form-field { display: grid; gap: 6px; margin-bottom: 12px; }
.form-field label { font-weight: 600; font-size: 14px; }
.form-field input { background: #0f1014; border: 1px solid #23242d; border-radius: 10px; padding: 12px; color: var(--text); outline: none; }
.form-field input:focus { border-color: var(--ring); box-shadow: 0 0 0 3px var(--ring); }
.error { color: var(--danger); min-height: 16px; font-size: 12px; }
.status { margin-top: 8px; min-height: 18px; font-size: 13px; color: var(--muted); }

.site-footer { border-top: 1px solid #1b1c22; padding: 16px 0; background: rgba(12,12,14,0.7); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-links { display: flex; align-items: center; gap: 16px; }

/* Legal pages */
.legal-page { padding: 40px 0 80px; }
.legal-page h1 { font-size: 42px; font-weight: 800; margin: 0 0 8px; text-align: center; }
.last-updated { text-align: center; color: var(--muted); margin: 0 0 40px; font-size: 14px; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; font-weight: 700; margin: 32px 0 12px; color: var(--text); }
.legal-content h3 { font-size: 18px; font-weight: 600; margin: 20px 0 8px; color: var(--text); }
.legal-content p { margin: 12px 0; line-height: 1.6; color: var(--text); }
.legal-content ul { margin: 12px 0; padding-left: 20px; }
.legal-content li { margin: 6px 0; line-height: 1.5; color: var(--text); }

/* Confirmation page */
.confirmation-section { 
  padding: 80px 0; 
  min-height: 60vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.confirmation-content { 
  text-align: center; 
  max-width: 600px; 
  margin: 0 auto; 
}
.confirmation-icon { 
  margin-bottom: 32px; 
  display: flex; 
  justify-content: center; 
}
.checkmark { 
  animation: checkmark-bounce 0.6s ease-out; 
}
@keyframes checkmark-bounce {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}
.confirmation-title { 
  font-size: 42px; 
  font-weight: 800; 
  margin: 0 0 16px; 
  color: var(--text); 
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
}
.confirmation-message { 
  font-size: 20px; 
  font-weight: 600; 
  margin: 0 0 32px; 
  color: var(--brand); 
}
.confirmation-details { 
  background: var(--panel); 
  border: 1px solid #1c1d24; 
  border-radius: 16px; 
  padding: 24px; 
  margin: 32px 0; 
  text-align: left; 
}
.confirmation-details p { 
  margin: 0 0 16px; 
  color: var(--text); 
  font-weight: 500; 
}
.confirmation-details ul { 
  margin: 0; 
  padding-left: 20px; 
  color: var(--text); 
}
.confirmation-details li { 
  margin: 8px 0; 
  line-height: 1.5; 
  color: var(--text); 
}
.confirmation-actions { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  margin-top: 32px; 
}

/* Email confirmation page */
.email-confirmation-section { 
  padding: 80px 0; 
  min-height: 60vh; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
}
.email-confirmation-content { 
  text-align: center; 
  max-width: 600px; 
  margin: 0 auto; 
}
.email-confirmation-icon { 
  margin-bottom: 32px; 
  display: flex; 
  justify-content: center; 
}
.green-checkmark { 
  animation: green-checkmark-bounce 0.8s ease-out; 
}
@keyframes green-checkmark-bounce {
  0% { transform: scale(0) rotate(-180deg); opacity: 0; }
  50% { transform: scale(1.2) rotate(-90deg); opacity: 0.8; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.email-confirmation-title { 
  font-size: 48px; 
  font-weight: 800; 
  margin: 0 0 16px; 
  color: var(--text); 
  text-shadow: 0 2px 4px rgba(0,0,0,0.3); 
}
.email-confirmation-message { 
  font-size: 22px; 
  font-weight: 600; 
  margin: 0 0 12px; 
  color: #10b981; 
}
.email-confirmation-support { 
  font-size: 18px; 
  font-weight: 500; 
  margin: 0 0 32px; 
  color: var(--muted); 
}
.email-confirmation-details { 
  background: var(--panel); 
  border: 1px solid #1c1d24; 
  border-radius: 16px; 
  padding: 24px; 
  margin: 32px 0; 
  text-align: left; 
}
.email-confirmation-details p { 
  margin: 0 0 16px; 
  color: var(--text); 
  font-weight: 500; 
}
.email-confirmation-details ul { 
  margin: 0; 
  padding-left: 20px; 
  color: var(--text); 
}
.email-confirmation-details li { 
  margin: 8px 0; 
  line-height: 1.5; 
  color: var(--text); 
}
.email-confirmation-actions { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  margin-top: 32px; 
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .signup-inner { grid-template-columns: 1fr; }
  .signup-content { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  
  /* Confirmation page mobile */
  .confirmation-section { padding: 60px 0; }
  .confirmation-title { font-size: 32px; }
  .confirmation-message { font-size: 18px; }
  .confirmation-actions { flex-direction: column; align-items: center; }
  .confirmation-actions .btn { width: 200px; }
  
  /* Email confirmation page mobile */
  .email-confirmation-section { padding: 60px 0; }
  .email-confirmation-title { font-size: 36px; }
  .email-confirmation-message { font-size: 20px; }
  .email-confirmation-support { font-size: 16px; }
  .email-confirmation-actions { flex-direction: column; align-items: center; }
  .email-confirmation-actions .btn { width: 200px; }
  
  /* Mobile Navigation */
  .nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  
  /* Countdown banner mobile - make it more compact */
  .countdown-banner {
    padding: 6px 0; /* Less padding for mobile */
  }
  .countdown-content {
    gap: 4px;
    flex-direction: column;
  }
  .countdown-text {
    font-size: 11px;
  }
  .countdown-timer {
    gap: 3px;
    padding: 4px 6px;
  }
  .time-unit {
    min-width: 28px;
  }
  .time-number {
    font-size: 14px;
  }
  .time-label {
    font-size: 8px;
  }
  .countdown-cta {
    font-size: 11px;
  }
  
  /* Fix mobile header spacing */
  .site-header {
    margin-top: 100px; /* More space for mobile countdown */
  }
}

@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 36px; }
  
  /* Confirmation page small mobile */
  .confirmation-section { padding: 40px 0; }
  .confirmation-title { font-size: 28px; }
  .confirmation-message { font-size: 16px; }
  .confirmation-details { padding: 20px; }
  
  /* Email confirmation page small mobile */
  .email-confirmation-section { padding: 40px 0; }
  .email-confirmation-title { font-size: 32px; }
  .email-confirmation-message { font-size: 18px; }
  .email-confirmation-support { font-size: 14px; }
  .email-confirmation-details { padding: 20px; }
  
  /* Extra mobile spacing for very small screens */
  .countdown-banner {
    padding: 4px 0; /* Even less padding for very small screens */
  }
  .site-header {
    margin-top: 90px; /* Even more space for very small screens */
  }
  
  /* Make countdown more compact on very small screens */
  .countdown-content {
    gap: 2px;
  }
  .countdown-text {
    font-size: 10px;
  }
  .countdown-cta {
    font-size: 10px;
  }
  .countdown-timer {
    padding: 3px 4px;
  }
  .time-number {
    font-size: 12px;
  }
  .time-label {
    font-size: 7px;
  }
}


