/* ==========================================================================
   ToneScoop — Official Website (Dark Pro Theme)
   Brand palette: sky blue #54C5F8 / #29B6F6, deep navy #0B3D91
   Font: Inter (Google Fonts)
   ========================================================================== */

:root {
  --brand: #54c5f8;
  --brand-strong: #29b6f6;
  --brand-deep: #0b3d91;
  --bg: #0b1220;
  --bg-elev: #0f1b2e;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(84, 197, 248, 0.07);
  --border: rgba(148, 187, 233, 0.14);
  --border-strong: rgba(84, 197, 248, 0.45);
  --ink: #e9f2fb;
  --ink-soft: #9db4cc;
  --ink-dim: #6b8299;
  --glow: 0 0 42px rgba(41, 182, 246, 0.22);
  --radius: 16px;
  --container: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 0 14px rgba(41, 182, 246, 0.35);
}
.brand .brand-tag {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(84, 197, 248, 0.1);
  border: 1px solid rgba(84, 197, 248, 0.25);
  border-radius: 999px;
  padding: 3px 10px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 0 84px;
  background:
    radial-gradient(900px 460px at 78% -12%, rgba(41, 182, 246, 0.22), transparent 62%),
    radial-gradient(700px 380px at 12% 4%, rgba(11, 61, 145, 0.55), transparent 60%),
    linear-gradient(180deg, #0d1628 0%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 187, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 187, 233, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(720px 380px at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(720px 380px at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(84, 197, 248, 0.1);
  color: var(--brand);
  border: 1px solid rgba(84, 197, 248, 0.28);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse 2.2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.7rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(92deg, #8fd9ff 0%, var(--brand-strong) 55%, #54c5f8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .tagline {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0 auto 36px;
}

.hero-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}
.hero-app img.hero-icon {
  width: 176px;
  height: 176px;
  border-radius: 40px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(41, 182, 246, 0.28);
  border: 1px solid rgba(148, 187, 233, 0.2);
}

.hero-points {
  text-align: left;
  list-style: none;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.04rem;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 0;
}
.hero-points li svg { flex: 0 0 auto; color: var(--brand); }

/* Animated equalizer bars behind hero (pure CSS) */
.eq-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  height: 44px;
  margin: 0 auto 30px;
  opacity: 0.9;
}
.eq-bars span {
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(41, 182, 246, 0.25) 100%);
  box-shadow: 0 0 12px rgba(84, 197, 248, 0.5);
  animation: eq 1.15s ease-in-out infinite;
}
.eq-bars span:nth-child(1) { height: 32%; animation-delay: 0s; }
.eq-bars span:nth-child(2) { height: 70%; animation-delay: 0.18s; }
.eq-bars span:nth-child(3) { height: 45%; animation-delay: 0.36s; }
.eq-bars span:nth-child(4) { height: 92%; animation-delay: 0.1s; }
.eq-bars span:nth-child(5) { height: 58%; animation-delay: 0.5s; }
.eq-bars span:nth-child(6) { height: 80%; animation-delay: 0.28s; }
.eq-bars span:nth-child(7) { height: 38%; animation-delay: 0.44s; }
.eq-bars span:nth-child(8) { height: 66%; animation-delay: 0.22s; }

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- Buttons ---------- */

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #35baf5 0%, #0e8ce0 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(41, 182, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(41, 182, 246, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--border-strong); color: var(--brand); }

.btn .store-icon { font-size: 1.15rem; line-height: 1; display: inline-flex; }
.btn .btn-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.82;
  line-height: 1.25;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  background: var(--card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}
.feature-card .fc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(84, 197, 248, 0.16), rgba(11, 61, 145, 0.35));
  border: 1px solid rgba(84, 197, 248, 0.22);
  color: var(--brand);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Privacy band ---------- */

.privacy-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0b3d91 0%, #0e5fa8 55%, #1378c9 100%);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.privacy-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.privacy-band .container { position: relative; }
.privacy-band h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.privacy-band p { opacity: 0.9; max-width: 640px; margin: 0 auto; font-size: 1.06rem; }
.privacy-band .privacy-chips {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.privacy-band .chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  text-align: center;
}
.price-card.highlight {
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, rgba(84, 197, 248, 0.09), rgba(11, 61, 145, 0.14));
  box-shadow: var(--glow);
  position: relative;
}
.price-card.highlight::after {
  content: "Most popular";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #35baf5, #0e8ce0);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card .price-name { font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.price-card .price-amount {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 12px 0 4px;
}
.price-card .price-note { color: var(--ink-dim); font-size: 0.86rem; }
.price-card ul {
  list-style: none;
  margin: 20px 0 24px;
  text-align: left;
}
.price-card li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--card);
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--brand);
  flex: 0 0 auto;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--ink-soft); }

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

.legal {
  padding: 64px 0 90px;
}
.legal h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal .legal-meta {
  color: var(--ink-dim);
  font-size: 0.9rem;
  margin-bottom: 38px;
}
.legal h2 {
  font-size: 1.14rem;
  font-weight: 700;
  margin: 32px 0 10px;
  color: var(--ink);
}
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal a { word-break: break-all; }

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

.support-intro { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.support-intro h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.support-intro p { color: var(--ink-soft); }
.support-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 680px;
  margin: 0 auto 20px;
}
.support-card h2 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.support-card p, .support-card li { color: var(--ink-soft); }
.support-card ul { padding-left: 20px; }

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

.site-footer {
  border-top: 1px solid var(--border);
  background: #090f1b;
  padding: 52px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--ink-soft); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 10px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; max-width: 260px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #0d1628;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 22px 18px;
  }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: none; }
  .main-nav a { display: block; padding: 13px 4px; font-size: 1rem; }

  .hero { padding: 64px 0 56px; }
  .hero-app { gap: 26px; }
  .hero-app img.hero-icon { width: 128px; height: 128px; border-radius: 30px; }
  .section { padding: 60px 0; }
}
