/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:            #07070e;
  --card:          #0f0f1a;
  --border:        rgba(255, 255, 255, 0.07);
  --accent:        #8b5cf6;
  --accent-bright: #a78bfa;
  --green:         #4ade80;
  --text:          #f0eeff;
  --muted:         #8b8aac;
  --faint:         #42415e;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:          'JetBrains Mono', monospace;
  --radius:        14px;
}

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   ANIMATED BACKGROUND GLOW
═══════════════════════════════════════ */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(139, 92, 246, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(96, 165, 250, 0.07) 0%, transparent 60%);
  animation: glow-shift 8s ease-in-out infinite alternate;
}

@keyframes glow-shift {
  from { opacity: 0.7; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════
   LANGUAGE SWITCHER
═══════════════════════════════════════ */
.lang-switcher {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 15, 26, 0.7);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.lang-sep {
  color: var(--faint);
  font-size: 0.75rem;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.18s;
  letter-spacing: 0.05em;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  color: var(--accent-bright);
}

/* ═══════════════════════════════════════
   MAIN / TEASER
═══════════════════════════════════════ */
.teaser {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 40px;
}

.inner {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* ═══════════════════════════════════════
   LOGO
═══════════════════════════════════════ */
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

.logo-name {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════
   BADGE
═══════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.22);
  color: var(--accent-bright);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ═══════════════════════════════════════
   HERO TITLE
═══════════════════════════════════════ */
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(130deg, #a78bfa 0%, #60a5fa 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ═══════════════════════════════════════
   DESCRIPTION
═══════════════════════════════════════ */
.desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════
   BULLET POINTS
═══════════════════════════════════════ */
.bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 36px;
  text-align: left;
  align-self: stretch;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.bullets li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════
   EMAIL FORM
═══════════════════════════════════════ */
.form {
  display: flex;
  gap: 10px;
  width: 100%;
  max-width: 460px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}

.email-input {
  flex: 1;
  min-width: 210px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 13px 20px;
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.email-input::placeholder {
  color: var(--faint);
}

.email-input:focus {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.06);
}

.email-input.error {
  border-color: #f87171;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 26px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-submit:hover:not(:disabled) {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.35);
}

.btn-submit:active { transform: translateY(0); }

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-note {
  font-size: 0.78rem;
  color: var(--faint);
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════
   SUCCESS STATE
═══════════════════════════════════════ */
.success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 32px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.18);
  border-radius: var(--radius);
  margin-bottom: 36px;
  width: 100%;
  max-width: 400px;
  animation: pop-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

.success-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.success-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.form-error {
  font-size: 0.82rem;
  color: #f87171;
  margin-top: 8px;
  text-align: center;
  width: 100%;
}

/* ═══════════════════════════════════════
   PLATFORM BADGES
═══════════════════════════════════════ */
.platforms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.platforms-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.platform-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-more {
  font-size: 0.8rem;
  color: var(--muted);
}

.platform {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.15s, background 0.2s;
  cursor: default;
}

.platform:hover { transform: translateY(-2px); }

.platform svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.platform.telegram { color: #29b6f6; border-color: rgba(41,182,246,0.18); }
.platform.telegram:hover { background: rgba(41,182,246,0.07); }
.platform.whatsapp { color: #4caf50; border-color: rgba(76,175,80,0.18); }
.platform.whatsapp:hover { background: rgba(76,175,80,0.07); }
.platform.signal   { color: #5eaee0; border-color: rgba(94,174,224,0.18); }
.platform.signal:hover { background: rgba(94,174,224,0.07); }
.platform.discord  { color: #7289da; border-color: rgba(114,137,218,0.18); }
.platform.discord:hover { background: rgba(114,137,218,0.07); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 28px;
  border-top: 1px solid var(--border);
}

.footer-domain {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
}

.footer-powered {
  font-size: 0.78rem;
  color: var(--faint);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 520px) {
  .form { flex-direction: column; align-items: stretch; }
  .email-input { min-width: unset; text-align: center; }
  .footer { justify-content: center; text-align: center; }
  .teaser { padding-top: 100px; }
}
