:root {
  --bg: #000;
  --fg: #fff;
  --muted: #a8a8a8;
  --line: rgba(255, 255, 255, 0.06);
  --accent: rgba(255, 255, 255, 0.04);
  --maxw: 880px;
  --header-height: 72px;
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-2xl: 120px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: #000;
  background-image: 
    radial-gradient(at 0% 0%, rgba(120, 119, 198, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 119, 198, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(120, 219, 255, 0.1) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(255, 219, 120, 0.08) 0px, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
  background-size: 100% 100%;
  background-attachment: fixed;
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, 
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.01) 2px,
      rgba(255, 255, 255, 0.01) 4px
    );
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.wordmark {
  color: var(--fg);
  font-size: 22px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 1;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.wordmark:hover {
  opacity: 0.8;
}

a.wordmark {
  opacity: 1;
}

a.wordmark:hover {
  opacity: 0.8;
}

/* Menu */
.menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.menu a {
  font-size: 18px;
  letter-spacing: 0.01em;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--fg);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

a {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 1;
}

/* Layout */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px var(--spacing-sm);
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h1 {
  font-size: clamp(40px, 6vw, 96px);
  margin-bottom: var(--spacing-md);
  white-space: nowrap;
}

.content-section h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  white-space: normal;
  margin-bottom: var(--spacing-lg);
  line-height: 1.15;
}

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin-bottom: var(--spacing-lg);
  line-height: 1.15;
}

p {
  margin: 0;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--fg);
  line-height: 1.7;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
  position: relative;
}

.hero-content {
  max-width: 900px;
}

.hero-content .cta:hover::before {
  width: 500px;
  height: 500px;
}

#hero-title {
  display: flex;
  justify-content: center;
}

.hero-subtitle {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--fg);
  font-weight: 500;
  margin-top: var(--spacing-lg);
  line-height: 1.5;
}

.hero-description {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--muted);
  margin-top: var(--spacing-xs);
  font-weight: 400;
}

.launch-text {
  font-size: clamp(19px, 2.4vw, 22px);
  color: #78dbff;
  font-weight: 600;
  margin: var(--spacing-xl) 0 var(--spacing-md) 0;
  text-align: center;
  letter-spacing: 0.03em;
  text-shadow: 0 0 20px rgba(120, 219, 255, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  animation: float 2.5s ease-in-out infinite;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

@keyframes float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* Content Sections */
.content-section,
.contact-section {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

.content-section:first-of-type {
  padding-top: calc(var(--header-height) + var(--spacing-xl));
}

.section-number {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: var(--spacing-md);
  opacity: 0.4;
}

.section-content {
  max-width: 720px;
}

.section-content p + p {
  margin-top: var(--spacing-md);
}

/* Contact Section */
.contact-section {
  text-align: center;
  padding: var(--spacing-2xl) 0 var(--spacing-xl);
}

.contact-content {
  max-width: 680px;
  margin: 0 auto;
}

.contact-content p {
  margin-top: var(--spacing-md);
}

/* CTA */
.cta-wrapper {
  margin-top: var(--spacing-lg);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--fg);
  background: transparent;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.cta:hover::before {
  width: 300px;
  height: 300px;
}

.cta:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.cta:active {
  transform: translateY(0);
}

.cta span,
.cta svg {
  position: relative;
  z-index: 1;
}

.cta svg {
  transition: transform 0.3s ease;
}

.cta:hover svg {
  transform: translateX(4px);
}

/* Email Subscribe Form */
.email-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 500px;
  margin: 0 auto;
}

.email-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.email-input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.email-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-size: 16px;
  padding: 14px 20px;
  font-family: inherit;
}

.email-input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.email-input-wrapper input:-webkit-autofill,
.email-input-wrapper input:-webkit-autofill:hover,
.email-input-wrapper input:-webkit-autofill:focus,
.email-input-wrapper input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px transparent inset !important;
  -webkit-text-fill-color: var(--fg) !important;
  background: transparent !important;
  background-color: transparent !important;
  transition: background-color 5000s ease-in-out 0s;
}

.email-submit-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  padding: 0;
}

.email-submit-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.email-submit-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.email-submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.email-submit-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.email-checkbox-wrapper {
  display: flex;
  justify-content: center;
}

.email-checkbox-text {
  text-align: left;
}

.email-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
  max-width: 500px;
}

.email-checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  position: relative;
  transition: all 0.2s ease;
}

.email-checkbox-label input[type="checkbox"]:checked {
  background-color: var(--fg);
  border-color: var(--fg);
}

.email-checkbox-label input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.email-checkbox-label a {
  color: var(--fg);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.email-checkbox-label a:hover {
  opacity: 1;
}

.email-message {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  border-radius: var(--radius-sm);
  min-height: 20px;
}

.email-message.success {
  color: #4ade80;
}

.email-message.error {
  color: #f87171;
}

/* Footer */
footer {
  margin-top: auto;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--line);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  text-align: center;
}

.footer-content p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  font-size: 14px;
}

.footer-links a {
  color: var(--muted);
}

.footer-links span {
  color: var(--muted);
  opacity: 0.5;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus states */
a:focus-visible,
.cta:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav {
    padding: 18px 24px;
  }
  
  .menu {
    gap: 20px;
  }
  
  .menu a {
    font-size: 13px;
  }
  
  main {
    padding: 0 24px var(--spacing-xl);
  }
  
  .hero {
    min-height: calc(100vh - var(--header-height));
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }
  
  h1 {
    font-size: clamp(32px, 10vw, 48px);
    white-space: wrap;
  }
  
  h2 {
    font-size: clamp(28px, 6vw, 44px);
  }
  
  .hero-subtitle {
    font-size: clamp(19px, 4vw, 24px);
    margin-top: var(--spacing-md);
  }
  
  .content-section,
  .contact-section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-content p + p {
    margin-top: 20px;
  }
  
  .footer-content {
    gap: 12px;
  }
}

@media (max-width: 520px) {
  .nav {
    padding: 16px 20px;
  }
  
  .wordmark {
    font-size: 18px;
  }
  
  .menu {
    gap: 16px;
  }
  
  .menu a {
    font-size: 12px;
  }
  
  main {
    padding: 0 20px var(--spacing-lg);
  }
  
  .cta {
    padding: 16px 32px;
    font-size: 12px;
  }
  
  .email-subscribe-form {
    max-width: 100%;
  }
  
  .email-input-wrapper input {
    font-size: 14px;
    padding: 12px 16px;
  }
  
  .email-submit-btn {
    width: 44px;
    height: 44px;
  }
  
  .email-checkbox-label {
    font-size: 12px;
  }
}
