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

:root {
  --bg: #07070e;
  --bg-card: #0f0f1a;
  --bg-card-hover: #161625;
  --border: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(139, 92, 246, 0.3);
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.15);
  --text: #f0eeff;
  --text-muted: #8b8aac;
  --text-faint: #4a4966;
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
  scroll-behavior: smooth;
}

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

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

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.15em 0.45em;
  border-radius: 5px;
  color: var(--accent-bright);
}

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(7, 7, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo:hover { text-decoration: none; }

.logo-icon {
  color: var(--accent);
  font-size: 1.3rem;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  position: relative;
  padding: 120px 0 50px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text);
}

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

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   FORM
═══════════════════════════════════════ */
.hero-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

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

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

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

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

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

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

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

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ═══════════════════════════════════════
   PLATFORMS
═══════════════════════════════════════ */
.platforms {
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

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

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

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

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

.platform-badge.telegram  { color: #29b6f6; border-color: rgba(41, 182, 246, 0.2); }
.platform-badge.telegram:hover  { background: rgba(41, 182, 246, 0.07); }
.platform-badge.whatsapp  { color: #4caf50; border-color: rgba(76, 175, 80, 0.2); }
.platform-badge.whatsapp:hover  { background: rgba(76, 175, 80, 0.07); }
.platform-badge.signal    { color: #3a9cde; border-color: rgba(58, 156, 222, 0.2); }
.platform-badge.signal:hover    { background: rgba(58, 156, 222, 0.07); }
.platform-badge.discord   { color: #5865f2; border-color: rgba(88, 101, 242, 0.2); }
.platform-badge.discord:hover   { background: rgba(88, 101, 242, 0.07); }

/* ═══════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════ */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════ */
.how-it-works {
  padding: 50px 0;
  text-align: center;
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
  align-self: 160px;
  margin-top: 120px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .step-connector { display: none; }
  .steps { gap: 8px; }
}

/* ═══════════════════════════════════════
   FEATURES
═══════════════════════════════════════ */
.features {
  padding: 50px 0;
}

.features .section-title,
.features .section-eyebrow {
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

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

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.feature-card--large {
  grid-column: span 2;
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 18px;
  display: block;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

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

@media (max-width: 800px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--large {
    grid-column: span 1;
  }
}

/* ═══════════════════════════════════════
   TECH STACK
═══════════════════════════════════════ */
.stack {
  padding: 50px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.04), transparent);
}

.stack-sub {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 48px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.stack-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  transition: border-color 0.2s;
}

.stack-item:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.stack-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--mono);
}

.stack-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.stack-product {
  max-width: 420px;
  margin: 32px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.stack-product img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .stack-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stack-product {
    max-width: 100%;
    padding: 12px;
    margin-top: 24px;
  }

  .stack-product img {
    max-height: 140px;
    object-fit: contain;
  }
}

/* ═══════════════════════════════════════
   WAITLIST
═══════════════════════════════════════ */
.waitlist {
  padding: 50px 0 70px;
}

.waitlist-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
}

.waitlist-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.waitlist-sub {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1rem;
  line-height: 1.7;
}

.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: 0 auto;
  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: #4ade80;
  color: #000;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

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

/* ═══════════════════════════════════════
   BLOG SECTION
═══════════════════════════════════════ */
.blog-section {
  padding: 50px 0 60px;
}

.blog-section .section-eyebrow,
.blog-section .section-title {
  text-align: center;
}

.blog-grid {
  max-width: 680px;
  margin: 40px auto 0;
}

.blog-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.blog-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  text-decoration: none;
}

.blog-card-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.blog-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-bright);
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner > .logo { flex: 0 0 auto; }
.footer-inner > .footer-copy { flex: 1 1 0; text-align: center; }
.footer-inner > .footer-copy:last-of-type { flex: 0 0 auto; text-align: right; }





.footer-copy {
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ═══════════════════════════════════════
   ANIMATIONS — FADE IN ON SCROLL
═══════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 600px) {
  .hero { padding: 100px 0 40px; }
  .hero-form { flex-direction: column; align-items: stretch; }
  .email-input { min-width: unset; text-align: center; }
  .waitlist-card { padding: 48px 24px; }
  .footer-inner {
  flex-direction: row;
  flex-direction: column; justify-content: center; text-align: center; }
}

/* USE CASES */
.use-cases { padding: 80px 0; background: #0a0a0a; }
.use-cases .section-eyebrow, .use-cases .section-title { text-align: center; }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.use-case-card { background: #111; border: 1px solid #222; border-radius: 12px; padding: 28px; transition: border-color 0.2s; }
.use-case-card:hover { border-color: #444; }
.use-case-icon { font-size: 1.8rem; margin-bottom: 12px; }
.use-case-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: #fff; }
.use-case-card p { font-size: 0.92rem; color: #999; line-height: 1.6; }
.use-cases .section-eyebrow, .use-cases .section-title { text-align: center; }
@media (max-width: 768px) { .use-cases-grid { grid-template-columns: 1fr; } }




@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer-inner > .logo,
  .footer-inner > .footer-copy {
    flex: none;
    text-align: center;
  }
}
