/* Landing page — dark atmospheric hero */

:root {
  --bg:        #0d0b14;
  --surface:   #161322;
  --surface2:  #1e1a2e;
  --border:    #2a2540;
  --accent:    #7c5cfc;
  --accent2:   #4a9eff;
  --gold:      #f5c842;
  --text:      #e8e4f0;
  --text-muted:#8a82a0;
  --radius:    12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav .logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
nav .logo span { color: var(--accent); }
nav .nav-links { display: flex; align-items: center; gap: 32px; }
nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
nav a:hover { color: var(--text); }
nav .btn-nav {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
nav .btn-nav:hover { background: #6a4ae0; transform: translateY(-1px); }

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

/* Ambient background glows */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(124, 92, 252, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 60%, rgba(74, 158, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 35% 30% at 80% 70%, rgba(124, 92, 252, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 92, 252, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 252, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  background: rgba(124, 92, 252, 0.15);
  border: 1px solid rgba(124, 92, 252, 0.3);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #e8e4f0 0%, #7c5cfc 55%, #4a9eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(124, 92, 252, 0.3);
}
.btn-primary:hover {
  background: #6a4ae0;
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(124, 92, 252, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ─── TAG CLOUD ─────────────────────────────────────── */
.tag-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.tag {
  position: absolute;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0.7;
  animation: float-soft 6s ease-in-out infinite;
}

.tag::before {
  content: '#';
  opacity: 0.5;
}

.tag-a { background: rgba(124, 92, 252, 0.15); border: 1px solid rgba(124, 92, 252, 0.3); color: #a590ff; }
.tag-b { background: rgba(74, 158, 255, 0.12); border: 1px solid rgba(74, 158, 255, 0.25); color: #5ba8ff; }
.tag-c { background: rgba(245, 200, 66, 0.1); border: 1px solid rgba(245, 200, 66, 0.2); color: var(--gold); }
.tag-d { background: rgba(95, 217, 122, 0.1); border: 1px solid rgba(95, 217, 122, 0.2); color: #5fd97a; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Stagger float animations */
.tag:nth-child(1) { top: 12%; left: 8%;  animation-duration: 7s; animation-delay: 0s; }
.tag:nth-child(2) { top: 18%; right: 10%; animation-duration: 8s; animation-delay: -1s; }
.tag:nth-child(3) { top: 30%; left: 4%;  animation-duration: 6s; animation-delay: -2s; }
.tag:nth-child(4) { top: 25%; right: 5%;  animation-duration: 9s; animation-delay: -0.5s; }
.tag:nth-child(5) { top: 55%; left: 6%;  animation-duration: 7s; animation-delay: -3s; }
.tag:nth-child(6) { top: 60%; right: 4%;  animation-duration: 8s; animation-delay: -1.5s; }
.tag:nth-child(7) { top: 70%; left: 12%; animation-duration: 6s; animation-delay: -2.5s; }
.tag:nth-child(8) { top: 75%; right: 8%; animation-duration: 9s; animation-delay: -4s; }
.tag:nth-child(9) { top: 40%; left: 2%;  animation-duration: 7s; animation-delay: -0.8s; }
.tag:nth-child(10){ top: 45%; right: 2%; animation-duration: 8s; animation-delay: -3.5s; }
.tag:nth-child(11){ top: 15%; left: 25%; animation-duration: 6s; animation-delay: -1.2s; }
.tag:nth-child(12){ top: 80%; left: 30%; animation-duration: 9s; animation-delay: -2.8s; }

/* ─── VALUE PROPS ───────────────────────────────────── */
.features {
  position: relative;
  z-index: 2;
  padding: 0 40px 100px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.features-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: rgba(124, 92, 252, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(124, 92, 252, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(124, 92, 252, 0.15); }
.feature-card:nth-child(2) .feature-icon { background: rgba(74, 158, 255, 0.12); }
.feature-card:nth-child(3) .feature-icon { background: rgba(245, 200, 66, 0.12); }

.feature-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.feature-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.feature-link:hover { gap: 8px; }

/* ─── SOCIAL PROOF STRIP ────────────────────────────── */
.proof-strip {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px 80px;
  max-width: 700px;
  margin: 0 auto;
}
.proof-strip p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.proof-strip strong { color: var(--text); }

/* ─── FOOTER ─────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 16px 20px; }
  nav .nav-links { gap: 20px; }
  .hero { padding: 100px 20px 60px; }
  .features { padding: 0 20px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-strip { padding: 0 20px 60px; }
  .tag:nth-child(n+9) { display: none; } /* hide some tags on mobile */
}