/* Equalizer — my-equalizer.web.app */

:root {
  --base: #0a0b0f;
  --surface: rgba(255, 255, 255, 0.05);
  --hairline: rgba(255, 255, 255, 0.1);
  --text: #f5f7fa;
  --text-2: #9aa3b2;
  --volt-1: #b4ff39;
  --volt-2: #00e5a8;
  --danger: #ff5c7a;
  --grad: linear-gradient(120deg, var(--volt-1), var(--volt-2));
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--base);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Ambient backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 20% 10%, rgba(0, 229, 168, 0.09), transparent 70%),
    radial-gradient(700px 500px at 85% 80%, rgba(180, 255, 57, 0.06), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.02) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.02) 39px 40px);
}

/* ---------- Nav ---------- */

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(10, 11, 15, 0.75);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  margin-right: auto;
}

.logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.logo-bars span {
  width: 4px;
  border-radius: 3px;
  background: var(--grad);
  animation: bounce 1.4s ease-in-out infinite;
}

.logo-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.logo-bars span:nth-child(2) { height: 75%; animation-delay: 0.15s; }
.logo-bars span:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.logo-bars span:nth-child(4) { height: 65%; animation-delay: 0.45s; }
.logo-bars span:nth-child(5) { height: 35%; animation-delay: 0.6s; }

@keyframes bounce {
  0%, 100% { transform: scaleY(0.6); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-bars span { animation: none; }
}

nav a.link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

nav a.link:hover, nav a.link.active { color: var(--text); }

/* ---------- Layout ---------- */

main {
  flex: 1;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Hero (home) ---------- */

.hero {
  text-align: center;
  padding: 96px 0 72px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.tagline {
  margin: 22px auto 0;
  max-width: 560px;
  color: var(--text-2);
  font-size: 1.12rem;
}

.eq-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  height: 88px;
  margin: 52px auto 0;
}

.eq-visual span {
  width: 10px;
  border-radius: 6px;
  background: var(--grad);
  opacity: 0.9;
  box-shadow: 0 0 18px rgba(0, 229, 168, 0.45);
  animation: bounce 1.6s ease-in-out infinite;
}

.eq-visual span:nth-child(odd) { animation-duration: 1.3s; }
.eq-visual span:nth-child(3n) { animation-delay: 0.2s; }
.eq-visual span:nth-child(4n) { animation-delay: 0.45s; }

.badge-row { margin-top: 56px; }

.store-badge {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--grad);
  color: #0a0b0f;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 32px rgba(180, 255, 57, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(180, 255, 57, 0.5);
}

.badge-note { display: block; margin-top: 12px; color: var(--text-2); font-size: 0.85rem; }

/* ---------- Feature grid ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  padding: 24px 0 88px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h3 .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(0, 229, 168, 0.8);
  flex: none;
}

.card p { color: var(--text-2); font-size: 0.93rem; }

.honesty {
  border-color: rgba(180, 255, 57, 0.35);
  grid-column: 1 / -1;
}

/* ---------- More apps ---------- */

.section-title {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-sub {
  text-align: center;
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 8px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 34px 0 96px;
}

@media (max-width: 760px) {
  .apps-grid { grid-template-columns: 1fr; }
}

.app-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 22px 24px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 168, 0.45);
  box-shadow: 0 10px 34px rgba(0, 229, 168, 0.13);
}

.app-card img {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.app-card .info { flex: 1; min-width: 0; }

.app-card .name {
  display: block;
  color: var(--text);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.3;
}

.app-card .desc {
  display: block;
  color: var(--text-2);
  font-size: 0.92rem;
  margin-top: 4px;
}

.app-card .go {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 168, 0.12);
  color: var(--volt-2);
  font-size: 1.15rem;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}

.app-card:hover .go {
  background: rgba(0, 229, 168, 0.24);
  transform: translateX(2px);
}

/* ---------- Legal / content pages ---------- */

.page {
  max-width: 780px;
  margin: 0 auto;
  padding: 72px 0 96px;
}

.page header { margin-bottom: 40px; }

.page h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.page h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page .updated {
  color: var(--text-2);
  font-size: 0.88rem;
  margin-top: 10px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.page h2 {
  font-size: 1.22rem;
  margin: 42px 0 12px;
  padding-top: 8px;
}

.page h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
  margin-bottom: 12px;
}

.page p, .page li { color: var(--text-2); font-size: 0.97rem; }

.page p strong, .page li strong { color: var(--text); }

.page ul { padding-left: 22px; margin: 10px 0; }

.page li { margin: 7px 0; }

.callout {
  background: var(--surface);
  border: 1px solid rgba(180, 255, 57, 0.35);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 20px 0;
}

.callout p { color: var(--text); }

.page a { color: var(--volt-2); text-decoration: none; }
.page a:hover { text-decoration: underline; }

/* ---------- Support ---------- */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.contact-card .mail-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--grad);
  color: #0a0b0f;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 0 26px rgba(180, 255, 57, 0.3);
}

details {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 10px 0;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: "+";
  color: var(--volt-2);
  font-weight: 800;
  font-size: 1.2rem;
}

details[open] summary::after { content: "–"; }

details p { margin-top: 12px; color: var(--text-2); font-size: 0.95rem; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--hairline);
  margin-top: auto;
}

.footer-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 26px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  color: var(--text-2);
  font-size: 0.85rem;
}

.footer-inner .spacer { margin-right: auto; }

footer a { color: var(--text-2); text-decoration: none; }
footer a:hover { color: var(--text); }

@media (max-width: 640px) {
  .nav-inner { gap: 16px; }
  nav a.link { font-size: 0.82rem; }
  .hero { padding: 64px 0 48px; }
}
