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

[hidden] {
  display: none !important;
}

/* ─── Base ────────────────────────────────────────────────────── */
body {
  min-height: 100vh;
  background-color: #06080f;
  color: #e8eaf2;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* ─── Background effects ──────────────────────────────────────── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 146, 60, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 146, 60, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: fixed;
  top: -20vh;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 60vh;
  background: radial-gradient(ellipse at center, rgba(251, 146, 60, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Header ──────────────────────────────────────────────────── */
.header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
}

.wordmark {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #f0f4ff;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.25);
  border-radius: 100px;
  padding: 0.35rem 0.9rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #f97316;
  animation: pulse 2s ease-in-out infinite;
}

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

/* ─── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 10;
  flex: 1;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.75rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f97316;
  opacity: 0.85;
}

.headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f0f4ff;
  font-weight: 400;
}

.headline em {
  font-style: italic;
  color: #fdba74;
}

.subhead {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: #a8b4cc;
  max-width: 660px;
}

/* ─── CTA / newsletter ────────────────────────────────────────── */
.cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cta-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #8da4c4;
  letter-spacing: 0.02em;
}

.cta-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 420px;
}

.cta-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #e8eaf2;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.cta-input::placeholder {
  color: #4a5e7a;
}

.cta-input:focus {
  border-color: rgba(251, 146, 60, 0.5);
}

.cta-input:disabled {
  opacity: 0.5;
}

.cta-button {
  display: inline-block;
  background: #f97316;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta-button:hover:not(:disabled) {
  background: #ea6c0a;
  transform: translateY(-1px);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cta-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fb923c;
  padding: 0.75rem 0;
}

.cta-success-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #fb923c;
}

.cta-error {
  font-size: 0.8rem;
  color: #f87171;
  margin-top: -0.25rem;
}

.cta-sub {
  font-size: 0.8rem;
  color: #4a5e7a;
  max-width: 420px;
}

/* ─── Footer ──────────────────────────────────────────────────── */
.footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: #2e3f58;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ─── Languages hub ───────────────────────────────────────────── */
.wordmark-link {
  text-decoration: none;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.lang-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.5rem 1.6rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.15s ease, background 0.2s ease;
}

a.lang-card:hover {
  border-color: rgba(251, 146, 60, 0.5);
  background: rgba(251, 146, 60, 0.04);
  transform: translateY(-2px);
}

.lang-card.soon {
  opacity: 0.55;
  cursor: default;
}

.lang-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.lang-card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: #f0f4ff;
}

.lang-card-de {
  font-size: 0.72rem;
  font-style: italic;
  color: #6b7d99;
}

.lang-chip {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
  white-space: nowrap;
}

.lang-chip.live {
  color: #fb923c;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.lang-chip.soon {
  color: #6b7d99;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-card-tag {
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.6;
  color: #a8b4cc;
}

.lang-card-cta {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fdba74;
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
  .header {
    padding: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .hero {
    padding: 3rem 1.5rem;
  }
  .cta-form {
    flex-direction: column;
  }
  .cta-button {
    width: 100%;
  }
}
