/* === Coqui Chorus — Synthwave Dark Theme === */

:root {
  --bg: #0b0018;
  --bg-card: #140025;
  --bg-card-hover: #1c0035;
  --pink: #ff2d95;
  --cyan: #00fff5;
  --purple: #b041ff;
  --orange: #ff7b00;
  --text: #e8e0f0;
  --text-muted: #9a8fb0;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --max-w: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--pink);
}

/* ---- Background glow effects ---- */
.glow-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.glow-bg::before,
.glow-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
}
.glow-bg::before {
  width: 600px;
  height: 600px;
  background: var(--purple);
  top: -150px;
  right: -100px;
}
.glow-bg::after {
  width: 500px;
  height: 500px;
  background: var(--pink);
  bottom: -100px;
  left: -100px;
}

/* ---- Navbar ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.navbar-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}
.navbar-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.navbar-links a:hover {
  color: var(--cyan);
}

/* ---- Hero ---- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-icon {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  box-shadow:
    0 0 40px rgba(176, 65, 255, 0.35),
    0 0 80px rgba(255, 45, 149, 0.15);
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--cyan));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.badge-link img {
  height: 54px;
  transition: transform 0.2s, filter 0.2s;
}
.badge-link:hover img {
  transform: scale(1.05);
  filter: brightness(1.15);
}

/* ---- Section helpers ---- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

/* ---- Feature grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(176, 65, 255, 0.15);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 255, 245, 0.3);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Color accents per card */
.feature-card:nth-child(1) h3 { color: var(--cyan); }
.feature-card:nth-child(2) h3 { color: var(--orange); }
.feature-card:nth-child(3) h3 { color: var(--purple); }
.feature-card:nth-child(4) h3 { color: var(--pink); }

/* ---- Waveform divider ---- */
.wave-divider {
  width: 100%;
  height: 3px;
  max-width: 300px;
  margin: 2rem auto;
  background: linear-gradient(90deg, transparent, var(--purple), var(--cyan), var(--pink), transparent);
  border-radius: 2px;
  opacity: 0.5;
}

/* ---- About section ---- */
.about-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid rgba(176, 65, 255, 0.1);
  margin-top: 3rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  margin-bottom: 1rem;
}

/* ---- Legal / content pages ---- */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.page-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-content .subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}
.page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 2rem 0 0.75rem;
}
.page-content p,
.page-content li {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.page-content ul {
  padding-left: 1.5rem;
}
.page-content a {
  color: var(--pink);
}

/* ---- FAQ ---- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(176, 65, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.faq-item p {
  margin-bottom: 0;
}

/* ---- Contact card ---- */
.contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 255, 245, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}
.contact-card h2 {
  color: var(--cyan);
  margin-top: 0;
}
.contact-card .email-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card .email-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 45, 149, 0.4);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .navbar { padding: 1rem; }
  .navbar-links { gap: 1rem; }
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-icon { width: 110px; height: 110px; border-radius: 22px; }
  .section { padding: 2rem 1rem; }
  .features { grid-template-columns: 1fr; }
  .page-content { padding: 1.5rem 1rem 3rem; }
}
