/* Fabulozo sub-pages shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  background-color: #F6F6F6;
  font-family: "Cabin", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
p { color: #777777; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; color: #111; }
a { font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1100px, 90%); margin: auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  height: 64px; gap: 16px;
}
.logo {
  font-weight: 700; text-decoration: none; color: #111;
  display: flex; align-items: center; gap: 10px;
}
.logo img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; color: #111; }
.nav-links a:hover { color: #7B5BFF; }
.nav-button {
  background: #7B5BFF; border: none; color: #fff;
  padding: 10px 20px; border-radius: 20px; white-space: nowrap;
  text-decoration: none; font-family: inherit; cursor: pointer;
}
.nav-button:hover { background: #6549E8; transform: translateY(-1px); }
.burger {
  display: none; background: transparent; border: none;
  font-size: 22px; line-height: 1; padding: 8px 10px; border-radius: 10px;
  cursor: pointer;
}

/* Page Content */
.page-content { padding: 80px 0; }
.page-content h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 8px;
}
.page-subtitle {
  color: #868686;
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: 48px;
}
.page-content h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  margin-top: 40px;
  margin-bottom: 12px;
  color: #111;
  text-align: left;
}
.page-content p {
  margin: 12px 0;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
}
.page-content ul { padding-left: 24px; margin: 12px 0; }
.page-content li {
  margin: 8px 0; color: #777;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
}
.page-content strong { color: #333; }
.page-content a { color: #7B5BFF; }
.page-content a:hover { color: #111; }

/* FAQ cards (support page) */
.qa {
  background: #fff;
  padding: 24px 32px;
  border-radius: 16px;
  margin: 16px 0;
}
.qa strong { color: #111; }
.qa p { margin: 8px 0; }

/* Contact card (support page) */
.contact-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  margin-top: 24px;
}
.contact-card p { margin: 8px 0; }
.contact-card strong { color: #333; }

/* Product page specifics */
.highlight { color: #7B5BFF; }
.light { color: #868686; }
.num { font-size: 25px; color: #7B5BFF; font-weight: 700; }

.hero { padding: 80px 0 0; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 55px);
  line-height: 1.05;
}
.hero p {
  margin: 24px 0; color: #555;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.btn-primary {
  background: #7B5BFF; color: #F9F9F9;
  padding: 12px 24px; border-radius: 24px;
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: #6549E8; transform: translateY(-1px); }
.btn-primary:focus-visible { outline: 2px solid #7B5BFF; outline-offset: 2px; }

.btn-secondary {
  background: #7B5BFF; border: none; color: #fff;
  padding: 12px 24px; border-radius: 24px;
  text-decoration: none; display: inline-block;
  font-family: inherit; cursor: pointer;
}
.btn-secondary:hover { background: #6549E8; transform: translateY(-1px); }
.btn-secondary:focus-visible { outline: 2px solid #7B5BFF; outline-offset: 2px; }

.features { background: #ffffff; padding: 80px 0; }
.features h2 {
  font-size: clamp(28px, 4vw, 48px);
  text-align: center; line-height: 1.15;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 40px;
}
.feature {
  background-color: #F9F9F9; padding: 32px; border-radius: 16px;
  display: flex; flex-direction: column; gap: 16px;
}

.why-section { padding: 80px 0; }
.why-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  text-align: center; line-height: 1.15;
  margin-bottom: 40px;
}
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.why-card {
  background: #fff; padding: 32px; border-radius: 16px;
  display: flex; flex-direction: column; gap: 12px;
}
.why-card strong { color: #111; font-size: 18px; }

.cta-box {
  display: flex; gap: 24px; flex-direction: column;
  justify-content: center; align-items: center;
  background: #F2EEF0; padding: 56px 32px; border-radius: 16px;
  margin: 80px auto; max-width: 700px;
}
.cta-title {
  font-size: clamp(22px, 3vw, 35px); text-align: center;
}
.cta-text {
  font-size: clamp(16px, 2vw, 20px); text-align: center;
  max-width: 600px; line-height: 1.55;
}

.about-section { padding: 0 0 80px; }
.about-section p {
  font-size: clamp(16px, 2vw, 20px); line-height: 1.55;
  text-align: center; max-width: 700px; margin: 0 auto;
}
.about-section a { color: #7B5BFF; text-decoration: none; }
.about-section a:hover { color: #111; }
.page-links {
  text-align: center; margin-top: 24px;
  font-size: clamp(16px, 2vw, 18px);
}
.page-links a { color: #7B5BFF; text-decoration: none; }
.page-links a:hover { color: #111; }

/* Footer */
.site-footer {
  position: relative; background: #fff;
  padding: 44px 0 64px; overflow: hidden;
}
.footer-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; position: relative; z-index: 2;
}
.footer-social { margin-top: 14px; display: flex; gap: 14px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  background: #111; text-decoration: none;
}
.social-btn:hover { background: #333; }
.social-btn svg { width: 20px; height: 20px; fill: #fff; display: block; }
.footer-links {
  display: flex; gap: clamp(18px, 3vw, 44px);
  align-items: center; flex-wrap: wrap; margin-top: 10px;
}
.footer-links a {
  text-decoration: none; color: #8a8a8a;
  font-size: 22px; font-weight: 400;
}
.footer-links a:hover { color: #111; }
.footer-watermark {
  position: absolute; left: 50%; bottom: -8px;
  transform: translateX(-50%);
  font-size: clamp(76px, 12vw, 220px);
  font-weight: 700; letter-spacing: -2px;
  color: rgba(0,0,0,0.04);
  white-space: nowrap; z-index: 1;
  pointer-events: none; user-select: none;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-links a { font-size: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-button { display: none; }
  .burger { display: block; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 0;
    opacity: 0; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .nav-links a { width: 100%; padding: 14px 20px; display: block; }
  .nav-links.is-open {
    opacity: 1; transform: translateY(0); pointer-events: auto;
  }
  .page-content { padding: 52px 0; }
  .hero { padding-top: 52px; }
  .features, .why-section { padding: 52px 0; }
  .cta-box { padding: 36px 18px; margin: 52px auto; }
  .qa { padding: 18px 22px; }
}
@media (max-width: 480px) {
  .container { width: min(1100px, 92%); }
  .feature { padding: 22px; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .footer-links a { font-size: 16px; }
}

/* ========== Premium / Pricing / FAQ — added v0.5.5-beta2 ========== */

.badge-premium {
  display: inline-block;
  background: linear-gradient(135deg, #6c4ed1 0%, #b69cff 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 6px;
}

.pricing-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #faf9ff 0%, #fff 100%);
}
.pricing-section h2 { text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.pricing-card.premium {
  border: 2px solid #6c4ed1;
  box-shadow: 0 12px 32px rgba(108,78,209,0.18);
}
.pricing-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.pricing-card .price {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222;
}
.pricing-card .price span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.04em;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex-grow: 1;
}
.pricing-card ul li {
  padding: 6px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.faq-section {
  padding: 80px 0;
}
.faq-section h2 { text-align: center; margin-bottom: 36px; }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-list details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 10px;
  transition: box-shadow 0.18s ease;
}
.faq-list details[open] {
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: #222;
  list-style: none;
  padding-right: 24px;
  position: relative;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 20px;
  color: #6c4ed1;
  font-weight: 400;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #444;
}
.faq-list details p code {
  background: rgba(108,78,209,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12.5px;
  color: #5a3eaf;
}

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

/* ============================================================
   Beta-key signup page (get-key.html)
   ============================================================ */
.signup-hero {
  padding: 88px 0 32px;
  text-align: center;
  background: linear-gradient(180deg, rgba(108,78,209,0.06) 0%, rgba(108,78,209,0) 100%);
}
.signup-hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 16px 0 14px;
}
.signup-hero .lede {
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
  color: #555;
  line-height: 1.55;
}
.signup-section { padding: 36px 0 80px; }
.signup-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}
.signup-form-wrap {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  padding: 32px 36px;
}
.signup-form .form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.signup-form .form-field {
  margin-bottom: 18px;
}
.signup-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.signup-form .req { color: #c54a4a; font-weight: 400; }
.signup-form input[type="text"],
.signup-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e3dfd6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  background: #faf9f6;
  transition: border-color .15s ease, background .15s ease;
  box-sizing: border-box;
}
.signup-form input:focus {
  outline: none;
  border-color: #6c4ed1;
  background: #fff;
}
.signup-form .form-hint {
  font-size: 12.5px;
  color: #888;
  margin-top: 5px;
  line-height: 1.4;
}
.signup-form .form-recaptcha {
  margin: 22px 0 18px;
}
.signup-form .form-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 24px;
}
.signup-form .form-disclaimer {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}
.signup-form .form-disclaimer a {
  color: #6c4ed1;
  text-decoration: underline;
}
.signup-side h3 {
  font-size: 16px;
  margin-bottom: 14px;
  color: #333;
}
.signup-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.signup-list li {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  padding-left: 22px;
  position: relative;
  margin-bottom: 10px;
}
.signup-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #6c4ed1;
  font-weight: 700;
}
.signup-list strong { color: #333; }
ol.signup-list { counter-reset: signup-step; }
ol.signup-list li::before {
  counter-increment: signup-step;
  content: counter(signup-step) ".";
}
.signup-privacy-note {
  margin-top: 28px;
  padding: 14px 16px;
  background: rgba(108,78,209,0.06);
  border-left: 3px solid #6c4ed1;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.55;
  color: #444;
}
.signup-privacy-note strong { color: #6c4ed1; }

@media (max-width: 880px) {
  .signup-grid {
    grid-template-columns: 1fr;
  }
  .signup-form-wrap { padding: 24px 22px; }
  .signup-hero h1 { font-size: 32px; }
}
@media (max-width: 480px) {
  .signup-form .form-row-split {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Thanks page (thanks.html)
   ============================================================ */
.thanks-hero {
  padding: 96px 0 80px;
}
.thanks-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.thanks-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #6c4ed1;
  color: #fff;
  font-size: 38px;
  line-height: 72px;
  margin: 0 auto 22px;
  box-shadow: 0 8px 24px rgba(108,78,209,0.35);
}
.thanks-hero h1 {
  font-size: 38px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.thanks-hero .lede {
  font-size: 17px;
  color: #555;
  line-height: 1.55;
  margin-bottom: 36px;
}
.thanks-next {
  text-align: left;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  margin-bottom: 32px;
}
.thanks-next h3 {
  font-size: 17px;
  margin-bottom: 14px;
  color: #333;
}
.thanks-next ol {
  list-style: decimal;
  padding-left: 22px;
  color: #444;
}
.thanks-next li {
  margin-bottom: 10px;
  line-height: 1.55;
  font-size: 14.5px;
}
.thanks-next code {
  background: #f1efe8;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
}
.thanks-cta {
  margin-bottom: 28px;
}
.thanks-fineprint {
  font-size: 12.5px;
  color: #888;
}
.thanks-fineprint a { color: #6c4ed1; }

@media (max-width: 600px) {
  .thanks-hero h1 { font-size: 30px; }
  .thanks-cta a { display: block; margin: 0 0 10px 0 !important; }
}
