/* Site-wide styling for pages OUTSIDE the instrument itself:
   top bar, login/register/forgot-password forms, pricing page. */

body {
  background: radial-gradient(circle at 50% -10%, #16141f 0%, #0a0a0f 45%, #050507 100%);
  color: #f3f3f6;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

a { text-decoration: none; }

/* ---- Top bar (hidden on the front page itself) ---- */
.site-topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 900px; margin: 0 auto; padding: 18px 20px;
}
.site-topbar-logo { display: inline-flex; align-items: baseline; gap: 1px; }
.site-topbar-nav { display: flex; gap: 18px; }
.site-topbar-nav a { color: #8d8da3; font-size: 13px; font-weight: 600; }
.site-topbar-nav a:hover { color: #f3f3f6; }

/* ---- Shared brandmark (reused from the app) ---- */
.brandmark-wrap { display: flex; flex-direction: column; align-items: center; margin-bottom: 18px; }
.brandmark { display: inline-flex; align-items: baseline; gap: 1px; }
.brandmark-seven {
  font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700;
  background: linear-gradient(135deg, #ff5252, #8b5cf6, #38bdf8);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brandmark-by { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: #8d8da3; margin-left: 1px; }

/* ---- Generic page wrapper ---- */
.site-page { max-width: 900px; margin: 0 auto; padding: 20px; }
.site-page-inner { background: rgba(20,20,28,.5); border: 1px solid #2a2a38; border-radius: 20px; padding: 28px; }

/* ---- Auth forms (login / register / forgot password) ---- */
.octapad-auth-wrap {
  max-width: 420px; margin: 40px auto; padding: 30px 26px;
  background: linear-gradient(180deg, rgba(20,20,28,.72), rgba(10,10,15,.55));
  border: 1px solid #2a2a38; border-radius: 22px; text-align: center;
}
.auth-title {
  font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; margin: 0 0 18px;
}
.auth-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.auth-form label { font-size: 12px; color: #8d8da3; text-transform: uppercase; letter-spacing: .05em; margin-top: 6px; }
.auth-form input[type=text],
.auth-form input[type=email],
.auth-form input[type=password] {
  background: #1b1b26; border: 1px solid #2a2a38; border-radius: 10px;
  color: #f3f3f6; padding: 11px 12px; font-size: 14px; font-family: 'Inter', sans-serif;
}
.auth-checkbox { display: flex; align-items: center; gap: 8px; flex-direction: row; text-transform: none; font-size: 13px; color: #8d8da3; }
.auth-links { margin-top: 18px; font-size: 13px; color: #8d8da3; }
.auth-links a { color: #38bdf8; font-weight: 600; }
.auth-note { font-size: 13px; padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; }
.auth-note-error { background: rgba(255,82,82,.12); border: 1px solid rgba(255,82,82,.35); color: #ffb4b4; }
.auth-note-success { background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.35); color: #b8f3e8; }

/* ---- Buttons ---- */
.pricing-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #38bdf8; color: #0a0a0f; border: none; border-radius: 12px;
  padding: 12px 18px; font-size: 14px; font-weight: 700; cursor: pointer;
  font-family: 'Inter', sans-serif; margin-top: 8px;
}
.pricing-btn:hover { background: #5cc9fa; }
.pricing-btn-ghost { background: transparent; color: #f3f3f6; border: 1px solid #2a2a38; }
.pricing-btn-ghost:hover { border-color: #38bdf8; }

/* ---- Pricing page ---- */
.octapad-pricing-wrap { max-width: 980px; }
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; text-align: left; }
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: #14141c; border: 1px solid #2a2a38; border-radius: 18px; padding: 22px;
  display: flex; flex-direction: column;
}
.pricing-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; margin: 0 0 6px; }
.pricing-card-featured { border-color: #38bdf8; box-shadow: 0 0 0 1px rgba(56,189,248,.3); }
.pricing-price { font-family: 'JetBrains Mono', monospace; font-size: 30px; font-weight: 600; margin: 0 0 14px; }
.pricing-price span { font-size: 13px; color: #8d8da3; font-weight: 400; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #c8c8d4; }
.pricing-features li::before { content: '\2713\0020'; color: #2dd4bf; }
.pricing-features li.pricing-no { color: #6c6c80; }
.pricing-features li.pricing-no::before { content: '\2014\0020'; color: #54546a; }
.auth-status { text-align: center; font-size: 13px; color: #8d8da3; margin-top: 16px; min-height: 18px; }

.octapad-ad-slot { margin: 18px auto; max-width: 728px; text-align: center; }
