/* ========================================
   Landing Page — standalone styles
   ======================================== */

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

:root {
  --bg: #0a0a0f;
  --surface: #13131d;
  --surface-2: #1c1c2e;
  --primary: #7C3AED;
  --primary-soft: rgba(124, 58, 237, 0.15);
  --secondary: #06B6D4;
  --text: #e4e4e7;
  --text-muted: #8b8b9e;
  --text-dim: #52525b;
  --border: rgba(255,255,255,0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; scrollbar-color: var(--surface) var(--bg); }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface); border-radius: 4px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
::-webkit-scrollbar-corner { background: transparent; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.35));
}
.nav-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-login {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-login:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}
.nav-add {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-add:hover {
  background: #6D28D9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  will-change: transform;
}
.orb--1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -10%;
  left: -8%;
  animation: drift1 20s ease-in-out infinite;
}
.orb--2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -5%;
  right: -5%;
  animation: drift2 25s ease-in-out infinite;
}
.orb--3 {
  width: 300px;
  height: 300px;
  background: #EC4899;
  top: 40%;
  right: 20%;
  animation: drift3 18s ease-in-out infinite;
  opacity: 0.2;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, 60px) scale(0.95); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-50px, -30px) scale(1.05); }
  66% { transform: translate(40px, -50px) scale(0.9); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-80px, 40px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text {
  animation: fadeUp 0.7s ease-out both;
}
.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-add:hover {
  background: #6D28D9;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}
.btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.btn-dashboard:hover {
  border-color: var(--primary);
  background: var(--surface);
  transform: translateY(-2px);
}
.hero-error {
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  color: #EF4444;
  font-size: 0.9rem;
  max-width: 400px;
}

/* --- Discord Mock --- */
.hero-visual {
  animation: fadeUp 0.7s ease-out 0.15s both;
}
.discord-mock {
  background: #1e1f22;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  font-size: 0.82rem;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}
.discord-mock:hover {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}
.mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #111214;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot--red { background: #ff5f57; }
.mock-dot--yellow { background: #febc2e; }
.mock-dot--green { background: #28c840; }
.mock-title {
  margin-left: 8px;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
}
.mock-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-avatar--bot {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mock-avatar--bot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mock-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mock-author {
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
}
.mock-author--bot {
  color: var(--primary);
}
.mock-text {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.mock-embed {
  margin-top: 6px;
  padding: 8px 12px;
  background: rgba(124, 58, 237, 0.08);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
  max-width: 280px;
}
.mock-embed-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.mock-embed-progress {
  width: 45%;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  animation: progress 8s ease-in-out infinite;
}
@keyframes progress {
  0% { width: 15%; }
  50% { width: 70%; }
  100% { width: 95%; }
}
.mock-embed-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.mock-embed-info strong {
  color: #fff;
  font-size: 0.78rem;
}

/* --- Waveform --- */
.waveform {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin-top: 3rem;
  opacity: 0.5;
}
.waveform span {
  width: 3px;
  border-radius: 3px;
  background: var(--primary);
  animation: wave 1.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.04s);
}
@keyframes wave {
  0%, 100% { height: 4px; opacity: 0.3; }
  50% { height: 28px; opacity: 1; }
}

/* --- Section Label --- */
.section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 2.5rem;
}

/* --- Features --- */
.features {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.feature {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.3s ease;
}
.feature:first-child {
  border-top: 1px solid var(--border);
}
.feature:hover {
  padding-left: 1rem;
}
.feature-number {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-shrink: 0;
  padding-top: 0.15rem;
  min-width: 2rem;
}
.feature-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.feature-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 500px;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.feature-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

/* --- Commands --- */
.commands {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.cmd-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.cmd-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-3px);
  background: var(--surface-2);
}
.cmd-card code {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
.cmd-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* --- CTA --- */
.cta {
  padding: 5rem 2rem;
}
.cta-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.cta-inner h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.cta-inner p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}
.cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.footer-logo {
  height: 22px;
  width: auto;
  opacity: 0.6;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Bug Report --- */
.bug-report {
  max-width: 700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}
.bug-report-inner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.bug-form-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.bug-form-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}
.bug-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.bug-form-group {
  margin-bottom: 1rem;
}
.bug-label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.bug-optional {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.78rem;
}
.bug-input {
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.bug-input::placeholder { color: var(--text-dim); }
.bug-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.bug-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}
.bug-textarea--sm {
  min-height: 60px;
}
.bug-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.2s;
}
.bug-submit:hover:not(:disabled) {
  background: #6D28D9;
  transform: translateY(-1px);
}
.bug-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.bug-form-msg {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.bug-form-msg--ok {
  color: #23a55a;
}
.bug-form-msg--error {
  color: #f23f43;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .discord-mock {
    transform: none;
    max-width: 400px;
    margin: 0 auto;
  }
  .discord-mock:hover {
    transform: none;
  }
}
@media (max-width: 600px) {
  .nav { padding: 0.75rem 1rem; }
  .hero { padding: 5rem 1rem 3rem; }
  .hero-title { font-size: 2.2rem; }
  .hero-desc { font-size: 1rem; }
  .feature { flex-direction: column; gap: 0.5rem; padding: 1.5rem 0; }
  .feature:hover { padding-left: 0; }
  .features, .commands { padding: 3rem 1rem; }
  .cta-inner { padding: 2rem 1.25rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .bug-form-row { grid-template-columns: 1fr; }
  .bug-report-inner { padding: 1.5rem; }
  .commands-grid { grid-template-columns: 1fr 1fr; }
  .waveform { gap: 2px; }
  .waveform span { width: 2px; }
  .btn-add, .btn-dashboard { font-size: 0.9rem; padding: 0.75rem 1.2rem; }
}
