/* ============================================================
   CHECKMY.MUSIC — Content Pages Stylesheet
   Loaded IN ADDITION to style.css on: what-is-it, how-we-do-it,
   plans, faq, contact, terms-of-use, privacy-policy.
   Reuses the base tokens, navbar, footer and bottom gradient
   already defined in style.css.
   ============================================================ */

/* ---- Content body: allow natural scrolling ---- */
body.content-body {
    background: var(--page-bg);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-y: auto;
}

/* Keep the colorful gradient, but softer so long text stays readable */
body.content-body .page-bottom-gradient {
    height: 55vh;
    opacity: 0.55;
}

/* ============================================================
   NAV — active link + mobile toggle
   ============================================================ */
.navbar-nav li a.is-active {
    background: rgba(0,0,0,0.07);
    color: var(--text-dark);
    font-weight: 600;
}

/* Hamburger — hidden on desktop, shown on mobile */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 38px;
    margin-right: 6px;
    padding: 0 9px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.navbar-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.navbar-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar-toggle.is-open span:nth-child(2) { opacity: 0; }
.navbar-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile dropdown menu */
.mobile-menu {
    position: fixed;
    top: 74px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    z-index: 99;
    width: calc(100vw - 40px);
    max-width: 420px;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}
.mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.mobile-menu a {
    padding: 13px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    border-radius: 9px;
}
.mobile-menu a:hover,
.mobile-menu a.is-active {
    background: rgba(0,0,0,0.06);
    color: var(--text-dark);
}

/* ============================================================
   PAGE LAYOUT
   ============================================================ */
.page-main {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 150px 24px 40px;
}

/* ---- Page hero ---- */
.page-hero {
    text-align: center;
    margin-bottom: 56px;
}
.page-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lava-purple);
    margin-bottom: 18px;
}
.page-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(30px, 5.5vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 20px;
}
.page-title .accent {
    background: linear-gradient(100deg, var(--lava-blue), var(--lava-purple) 45%, var(--lava-pink) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.page-lead {
    font-family: var(--font-body);
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 1.6;
    color: var(--text-mid);
    max-width: 620px;
    margin: 0 auto;
}

/* ---- Generic prose block ---- */
.prose {
    font-family: var(--font-body);
    color: var(--text-mid);
    font-size: 16px;
    line-height: 1.72;
}
.prose h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(20px, 3vw, 26px);
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin: 44px 0 16px;
}
.prose h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
    margin: 28px 0 10px;
}
.prose p { margin-bottom: 16px; }
.prose ul { list-style: none; margin: 0 0 20px; padding: 0; }
.prose ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
}
.prose ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lava-purple), var(--lava-pink));
}
.prose strong { color: var(--text-dark); font-weight: 700; }
.prose a { color: var(--lava-blue); text-decoration: none; border-bottom: 1px solid rgba(58,91,255,0.3); }
.prose a:hover { border-bottom-color: var(--lava-blue); }

/* ============================================================
   CARDS (surfaces on the near-white page)
   ============================================================ */
.card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Feature grid (What Is It / Who it's for) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 28px 0;
}
.feature-grid .card h3 { margin-top: 0; }
.feature-grid .card p:last-child { margin-bottom: 0; }

/* ============================================================
   HOW WE DO IT — pipeline stages
   ============================================================ */
.stage-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}
.stage {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px 26px;
}
.stage-num {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    background: linear-gradient(135deg, var(--lava-blue), var(--lava-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    padding-top: 4px;
}
.stage-body h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 8px;
}
.stage-body p { margin: 0; color: var(--text-mid); line-height: 1.6; }

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 10px;
}
.badge-free {
    color: #0a7d4b;
    background: rgba(16,185,129,0.14);
    border: 1px solid rgba(16,185,129,0.35);
}
.badge-paid {
    color: #6d28d9;
    background: rgba(139,63,255,0.12);
    border: 1px solid rgba(139,63,255,0.35);
}
.note-line {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-light);
    text-align: center;
    margin-top: 26px;
    font-style: italic;
}

/* ============================================================
   FAQ — native accordion
   ============================================================ */
.faq-list { margin: 12px 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.04);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 400;
    color: var(--lava-purple);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
    padding: 0 24px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.68;
    color: var(--text-mid);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-card {
    text-align: center;
    padding: 48px 32px;
    margin-top: 20px;
}
.contact-email {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(22px, 4vw, 34px);
    letter-spacing: -0.01em;
    color: var(--text-dark);
    text-decoration: none;
    margin: 8px 0 28px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}
.contact-email:hover { border-bottom-color: var(--lava-pink); }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s, background 0.2s;
}
.btn-cta:hover { transform: scale(1.03); background: #222; }

/* ============================================================
   PLANS — coming soon
   ============================================================ */
.coming-soon {
    text-align: center;
    padding: 60px 32px;
    margin-top: 20px;
}
.coming-soon .cs-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lava-orange);
    padding: 6px 16px;
    border: 1px solid rgba(255,122,0,0.4);
    border-radius: 100px;
    margin-bottom: 24px;
}
.coming-soon p {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-mid);
    max-width: 520px;
    margin: 0 auto 16px;
}

/* ============================================================
   PLANS — pricing tiers
   ============================================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin: 8px 0 20px;
}
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.plan-card .badge { margin-bottom: 14px; }
.plan-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin: 0 0 10px;
}
.plan-desc {
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-mid);
    margin: 0;
}
.plan-card--free {
    border-color: rgba(16,185,129,0.35);
    box-shadow: 0 4px 20px rgba(16,185,129,0.08);
}
.plan-card--featured {
    border-color: rgba(139,63,255,0.45);
    box-shadow: 0 8px 30px rgba(139,63,255,0.16);
}
.plan-flag {
    position: absolute;
    top: -11px;
    right: 18px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--lava-purple), var(--lava-pink));
    padding: 4px 12px;
    border-radius: 100px;
}

/* Pay-per-use strip */
.payperuse {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
    background: rgba(255,255,255,0.5);
    border-style: dashed;
}
.payperuse .plan-name { font-size: 18px; margin-bottom: 6px; }
.payperuse .plan-desc { font-size: 14.5px; }

/* CTA row */
.plans-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.plans-cta-link {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--lava-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}
.plans-cta-link:hover { opacity: 0.7; }

/* ============================================================
   LEGAL PAGES (Terms / Privacy)
   ============================================================ */
.legal {
    font-family: var(--font-body);
    color: var(--text-mid);
    font-size: 15px;
    line-height: 1.72;
}
.legal .legal-meta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 32px;
    text-align: center;
}
.legal h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 19px;
    color: var(--text-dark);
    margin: 34px 0 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.08);
}
.legal h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    margin: 20px 0 8px;
}
.legal p { margin-bottom: 14px; }
.legal ul { list-style: none; margin: 0 0 16px; padding: 0; }
.legal ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
}
.legal ul li::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--lava-purple);
}
.legal strong { color: var(--text-dark); font-weight: 700; }
.legal a { color: var(--lava-blue); text-decoration: none; border-bottom: 1px solid rgba(58,91,255,0.3); }
.legal a:hover { border-bottom-color: var(--lava-blue); }
.legal .legal-caps { text-transform: none; }

/* ============================================================
   HOME HERO — "AI Musicologist" copy (index.php)
   Layered on top of the base .hero-title from style.css
   ============================================================ */
.hero-copy {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dark-grey);
    margin-bottom: 0px;
}
#upload-page .hero-title {
    margin-bottom: 22px;
}
/* Brand wordmark headline — gradient colored, mixed case */
.hero-title--brand {
    text-transform: none;
    background: linear-gradient(100deg, var(--lava-blue), var(--lava-purple) 45%, var(--lava-pink) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(15px, 2.1vw, 18px);
    line-height: 1.6;
    color: var(--text-mid);
    max-width: 640px;
    margin: 0 auto 18px;
}
.hero-cta-line {
    font-family: var(--font-heading);
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

/* ============================================================
   CONTENT FOOTER (with links)
   ============================================================ */
.site-footer--content {
    margin-top: 60px;
    padding: 32px 24px 40px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer-copy { font-size: 12px; letter-spacing: 0.04em; color: var(--text-dark); }
.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-links a {
    font-size: 13px;
    color: var(--text-mid);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--lava-purple); }
.footer-sep { color: var(--text-light); }

/* Home footer variant (index.php) — links under the copyright */
.site-footer .footer-links { margin-top: 8px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .navbar-nav { display: none; }
    .navbar-toggle { display: flex; }
    .page-main { padding-top: 130px; }
    .stage { grid-template-columns: 44px 1fr; gap: 14px; padding: 20px; }
    .stage-num { font-size: 22px; }
    .plans-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .navbar-brand-text { display: none; }
    .btn-signup { padding: 9px 14px; font-size: 12px; }
    .page-main { padding-left: 18px; padding-right: 18px; }
    .card, .contact-card, .coming-soon { padding-left: 20px; padding-right: 20px; }
}