:root {
  --background: #12110f;
  --foreground: #fbfaf7;
  --muted-foreground: #b7b1a9;
  --card: rgba(34, 32, 29, 0.72);
  --border: #47423b;
  --ember: #ff772e;
  --ember-dark: #e94211;
  --ember-foreground: #21130d;
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #100f0d;
  color: var(--foreground);
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 119, 45, 0.18) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.4;
}

.glow {
  pointer-events: none;
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
}

.glow-top {
  top: -12rem;
  left: 50%;
  width: min(1100px, 120vw);
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 119, 46, 0.72), transparent 70%);
  opacity: 0.5;
}

.glow-bottom {
  right: -100px;
  bottom: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(255, 119, 46, 0.62), transparent 70%);
  opacity: 0.3;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem 1.5rem 0;
}

.language-button {
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(34, 32, 29, 0.6);
  color: var(--muted-foreground);
  padding: 0.45rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.language-button:hover,
.language-button:focus-visible {
  border-color: rgba(255, 119, 46, 0.65);
  color: var(--foreground);
  outline: none;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 0.5rem 1.5rem 4rem;
  text-align: center;
}

.hero-logo {
  width: min(86vw, 380px);
  margin: 0 0 1.35rem;
  overflow: hidden;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.38)) drop-shadow(0 0 24px rgba(255, 119, 46, 0.16));
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.expert {
  margin: 0 0 2rem;
  color: var(--muted-foreground);
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  border: 1px solid rgba(255, 119, 46, 0.42);
  border-radius: 9999px;
  background: rgba(255, 119, 46, 0.1);
  color: var(--ember);
  padding: 0.25rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: var(--ember);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-title {
  max-width: 56rem;
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-copy {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted-foreground);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.countdown {
  display: grid;
  width: 100%;
  max-width: 42rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.countdown-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
  padding: 0.75rem;
  backdrop-filter: blur(8px);
}

.countdown-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 7vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
}

.countdown-card span {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: clamp(0.62rem, 2vw, 0.75rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notify {
  width: 100%;
  max-width: 28rem;
  margin-top: 3rem;
}

.notify h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.notify p {
  margin: 0.25rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.notify-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(34, 32, 29, 0.6);
  color: var(--foreground);
  padding: 0.78rem 1rem;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-form input::placeholder {
  color: rgba(183, 177, 169, 0.7);
}

.notify-form input:focus {
  border-color: rgba(255, 119, 46, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 119, 46, 0.12);
}

.ember-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, #ff9a5f, var(--ember-dark));
  color: var(--ember-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(255, 119, 46, 0.5), inset 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ember-button:hover,
.ember-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -8px rgba(255, 119, 46, 0.65), inset 0 1px rgba(255, 255, 255, 0.3);
}

.form-status {
  min-height: 1.25rem;
  margin-top: 0.65rem;
  color: var(--ember);
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-block {
  margin-top: 3rem;
}

.contact-advice {
  max-width: 34rem;
  margin: 0 auto 0.75rem;
  color: var(--foreground);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.45;
}

.contact-label {
  margin: 0 0 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: rgba(34, 32, 29, 0.6);
  color: var(--foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  border-color: rgba(255, 119, 46, 0.65);
  outline: none;
  transform: translateY(-1px);
}

.icon {
  width: 1rem;
  height: 1rem;
  color: var(--ember);
}

.site-footer {
  position: relative;
  z-index: 10;
  padding: 0 1.5rem 2rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

.animate-fade-up {
  animation: fadeUp 0.7s ease-out both;
}

.animate-fade-up-delay {
  animation: fadeUp 0.7s ease-out 0.15s both;
}

.animate-fade-up-delay-2 {
  animation: fadeUp 0.7s ease-out 0.3s both;
}

@media (min-width: 640px) {
  .site-header {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .hero {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .countdown {
    gap: 1rem;
  }

  .countdown-card {
    padding: 1.25rem;
  }

  .notify-form {
    flex-direction: row;
  }

}

@media (max-width: 430px) {
  .countdown {
    gap: 0.4rem;
  }

  .countdown-card {
    border-radius: 0.75rem;
    padding: 0.65rem 0.35rem;
  }

  .countdown-card span {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
