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

:root {
  --bg: #0b1526;
  --bg-card: #111f35;
  --bg-card-hover: #162a47;
  --gold: #c9a227;
  --gold-light: #e5c158;
  --gold-dark: #a6851f;
  --text: #f0f0f0;
  --text-muted: #9aabb8;
  --border: rgba(201, 162, 39, 0.15);
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(201, 162, 39, 0.1), transparent),
    radial-gradient(ellipse 50% 40% at 20% 100%, rgba(30, 80, 150, 0.15), transparent),
    radial-gradient(ellipse 40% 30% at 80% 90%, rgba(201, 162, 39, 0.05), transparent);
}

.header,
main,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  padding: 2rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  transition: color 0.2s;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--gold-light);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.notify-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.logo {
  max-width: min(360px, 88vw);
  height: auto;
}

main {
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  width: 100%;
}

.hero {
  text-align: center;
  margin-bottom: 3.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  background: rgba(201, 162, 39, 0.08);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.gold {
  color: var(--gold-light);
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--gold-light);
}

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

.notify {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1.5rem;
}

.notify h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.notify > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.notify-form {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
  align-items: stretch;
}

.notify-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(100, 140, 200, 0.15);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.25;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}

.notify-form input:focus {
  border-color: var(--gold);
}

.notify-form input::placeholder {
  color: #666;
}

.notify-form button {
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #0b1526;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.25;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 44px;
}

.notify-form button:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.notify-form button:active {
  transform: scale(0.98);
}

.form-message {
  margin-top: 1rem;
  font-size: 0.875rem;
  min-height: 1.25rem;
}

.form-message.success {
  color: var(--gold-light);
}

.form-message.error {
  color: #e57373;
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(100, 140, 200, 0.12);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold-light);
}

.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;
}

@media (max-width: 540px) {
  main {
    padding: 2rem 1rem 2.5rem;
  }

  .notify {
    padding: 1.75rem 1rem;
  }

  .notify-form {
    flex-direction: column;
    gap: 0.625rem;
  }

  .notify-form input,
  .notify-form button {
    width: 100%;
    flex: none;
    min-height: 48px;
    padding: 0.75rem 1rem;
  }

  .notify-form button {
    white-space: normal;
  }
}
