@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg: #07070a;
  --bg-secondary: #0f0f14;
  --bg-card: #14141a;
  --bg-elevated: #1c1c24;
  --border: #242430;
  --accent: #7c5cfc;
  --accent-hover: #6b4ef0;
  --accent-dim: rgba(124, 92, 252, 0.12);
  --accent-glow: rgba(124, 92, 252, 0.4);
  --text-primary: #f0f0f8;
  --text-secondary: #8888a0;
  --text-muted: #4a4a60;
  --success: #22c55e;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7, 7, 10, 0.85);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
  border-radius: 12px;
}

/* ─── HERO ─── */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,92,252,0.18) 0%, transparent 70%);
  top: 0; left: 50%;
  transform: translateX(-50%);
}
.hero-glow-2 {
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(92,124,252,0.1) 0%, transparent 70%);
  top: 100px; left: 20%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-dim);
  border: 1px solid rgba(124,92,252,0.3);
  color: #a78bfa;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(135deg, #7c5cfc 0%, #a78bfa 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-image {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.app-screenshot {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04);
}
.screenshot-bar {
  height: 36px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}
.screenshot-dots {
  display: flex;
  gap: 5px;
}
.screenshot-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.screenshot-dots span:nth-child(1) { background: #ef4444; }
.screenshot-dots span:nth-child(2) { background: #f59e0b; }
.screenshot-dots span:nth-child(3) { background: #22c55e; }
.screenshot-title {
  margin: 0 auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.screenshot-body {
  display: flex;
  height: 340px;
}
.screenshot-sidebar {
  width: 56px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
}
.ss-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-elevated);
}
.ss-icon.active {
  background: var(--accent-dim);
  border: 1px solid rgba(124,92,252,0.4);
}
.screenshot-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.ss-feed-row {
  display: flex;
  gap: 10px;
}
.ss-clip-card {
  flex: 1;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(124,92,252,0.08) 100%);
  border: 1px solid var(--border);
}
.ss-clip-card.tall {
  height: 110px;
}
.hero-floating-toast {
  position: absolute;
  bottom: -16px;
  right: -20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.toast-thumb {
  width: 52px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1a0533, #0d1433);
}
.toast-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--success);
  margin-bottom: 2px;
}
.toast-clip-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.toast-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

/* ─── SECTIONS ─── */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
}

/* ─── FEATURES ─── */
.features {
  padding: 100px 0;
  text-align: center;
}
.features .section-desc { margin: 0 auto 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  text-align: left;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: rgba(124,92,252,0.3);
  transform: translateY(-2px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(124,92,252,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: 100px 0;
}
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 56px;
}
.step {
  flex: 1;
  padding: 0 24px;
}
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; }
.step-num {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.step-connector {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-top: 24px;
  flex-shrink: 0;
  position: relative;
}
.step-connector::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  border: 4px solid transparent;
  border-left-color: var(--border);
}

/* ─── DISCORD SECTION ─── */
.discord-section {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg), var(--bg-secondary), var(--bg));
}
.discord-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.discord-copy { }
.discord-copy p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 12px;
}
.discord-preview {
  background: #36393f;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.discord-message {
  display: flex;
  gap: 14px;
}
.discord-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c5cfc, #5b3ef5);
  flex-shrink: 0;
}
.discord-bubble { flex: 1; }
.discord-username {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.discord-tag { color: #72767d; font-weight: 400; font-size: 12px; }
.discord-text {
  font-size: 14px;
  color: #dcddde;
  margin-bottom: 10px;
  line-height: 1.5;
}
.discord-link { color: #00b0f4; text-decoration: underline; font-size: 13px; }
.discord-embed {
  background: #2f3136;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  border-left: 4px solid var(--accent);
}
.embed-bar { width: 4px; background: var(--accent); flex-shrink: 0; display: none; }
.embed-body { padding: 12px 14px; flex: 1; }
.embed-site { font-size: 11px; color: #b9bbbe; margin-bottom: 4px; }
.embed-title { font-size: 14px; font-weight: 600; color: #00b0f4; margin-bottom: 10px; }
.embed-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a0533 0%, #0d1433 50%, #030614 100%);
  border-radius: 4px;
  margin-bottom: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-thumb::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent rgba(255,255,255,0.8);
}
.embed-desc { font-size: 12px; color: #b9bbbe; }

/* ─── DOWNLOAD ─── */
.download-section {
  padding: 100px 0;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(circle, rgba(124,92,252,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.download-content { position: relative; }
.download-content svg { margin-bottom: 20px; }
.download-content h2 {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.download-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.download-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.download-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FOOTER ─── */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .discord-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-connector { width: 2px; height: 40px; margin: 0 0 0 16px; }
  .step-connector::after {
    right: auto; top: auto;
    bottom: 0; left: -3px;
    border-left-color: transparent;
    border-top-color: var(--border);
  }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-copy { margin: 0; }
  .hero-floating-toast { display: none; }
}
