/* =========================================================================
   DashBot product page (dark, GD-inspired). Loaded only on theme-dark pages,
   on top of site.css. Ported from the Claude-Design bundle. All rules are
   scoped under .theme-dark so they override the shared light-theme defaults.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Russo+One&display=swap");

.theme-dark {
  --font-arcade: "Russo One", Impact, "Arial Black", sans-serif;
  --red:      #CC0000;
  --red-hot:  #FF1F1F;
  --red-deep: #8A0000;
  --red-glow: rgba(255, 30, 30, 0.45);
  --cyan:     #1EE3F5;
  --lime:     #B6F02C;
  --amber:    #FFB020;
  --gd-1:    #0E0E0E;
  --gd-2:    #161616;
  --gd-3:    #1E1E1E;
}

/* wider container to match the product design */
.theme-dark .container { max-width: 1200px; }
.theme-dark .section { padding: 96px 0; }

/* ---- Announcement bar ---- */
.theme-dark .announce {
  background: var(--gd-1); border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-2);
  padding: 9px 0; text-align: center; letter-spacing: 0.04em;
}
.theme-dark .announce strong { color: var(--text); font-weight: 600; }
.theme-dark .announce .pill {
  display: inline-block; background: rgba(204,0,0,0.18); color: var(--red-hot);
  padding: 2px 8px; border-radius: 999px; margin-left: 8px; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---- Section head ---- */
.theme-dark .section__head { max-width: 720px; margin-bottom: 52px; }
.theme-dark .section__head h2 { margin-top: 14px; }
.theme-dark .section__head p { margin-top: 16px; font-size: 18px; color: var(--text-2); }
.theme-dark .section__head--center { margin-inline: auto; text-align: center; }
.theme-dark .section__head--center p { margin-inline: auto; }

/* ---- Trust strip ---- */
.theme-dark .trust {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--gd-1); padding: 22px 0;
}
.theme-dark .trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: center; }
.theme-dark .trust__item { display: flex; align-items: center; gap: 12px; }
.theme-dark .trust__num { font-family: var(--font-arcade); font-size: 28px; color: var(--red-hot); line-height: 1; }
.theme-dark .trust__label { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; }
.theme-dark .trust__label strong { color: var(--text); display: block; font-weight: 500; }

/* ---- Features grid ---- */
.theme-dark .features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.theme-dark .feature { background: var(--gd-1); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; transition: background 120ms; }
.theme-dark .feature:hover { background: var(--gd-2); }
.theme-dark .feature__icon {
  width: 44px; height: 44px; border-radius: 4px; background: rgba(204,0,0,0.14);
  color: var(--red-hot); display: flex; align-items: center; justify-content: center; margin-bottom: 8px;
}
.theme-dark .feature__icon svg { width: 22px; height: 22px; }
.theme-dark .feature h3 { color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.theme-dark .feature p { font-size: 15px; color: var(--text-2); margin: 0; }
.theme-dark .tier-badge { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; }
.theme-dark .tier-badge--basic { background: rgba(255,255,255,0.06); color: var(--text-2); }
.theme-dark .tier-badge--pro { background: rgba(204,0,0,0.18); color: var(--red-hot); }

/* ---- Timing-trainer showcase ---- */
.theme-dark .tt {
  background: linear-gradient(180deg, #0E0E0E 0%, #060606 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.theme-dark .tt__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.theme-dark .tt__shot { border: 2px solid #4A8BD8; border-radius: 4px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.theme-dark .tt__shot img { width: 100%; display: block; }
.theme-dark .tt__copy h2 .cyan { color: var(--cyan); }
.theme-dark .tt__list { margin: 28px 0 0; padding: 0; list-style: none; }
.theme-dark .tt__list li { display: flex; align-items: flex-start; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.theme-dark .tt__list li:last-child { border-bottom: 1px solid var(--line); }
.theme-dark .tt__list strong { color: var(--text); display: block; margin-bottom: 2px; font-weight: 600; }
.theme-dark .tt__list .num { font-family: var(--font-mono); font-size: 11px; color: var(--cyan); min-width: 42px; padding-top: 1px; }

/* ---- Pricing ---- */
.theme-dark .pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.theme-dark .tier { background: var(--gd-1); border: 1px solid var(--line); border-radius: 4px; padding: 36px; position: relative; display: flex; flex-direction: column; }
.theme-dark .tier--pro {
  background: linear-gradient(180deg, rgba(204,0,0,0.05) 0%, transparent 50%), var(--gd-1);
  border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 36px rgba(255,30,30,0.18);
}
.theme-dark .tier__badge { position: absolute; top: -10px; right: 28px; background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; font-weight: 600; }
.theme-dark .tier__name { font-family: var(--font-arcade); font-size: 22px; letter-spacing: 0.04em; color: var(--text); text-transform: uppercase; }
.theme-dark .tier__tagline { color: var(--text-2); font-size: 14px; margin: 4px 0 0; }
.theme-dark .tier__price { margin: 26px 0 0; display: flex; align-items: baseline; gap: 8px; }
.theme-dark .tier__price .amt { font-family: var(--font-arcade); font-size: 52px; color: var(--text); line-height: 1; }
.theme-dark .tier--pro .tier__price .amt { color: var(--red-hot); }
.theme-dark .tier__price .per { font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.theme-dark .tier__btn { margin-top: 26px; width: 100%; justify-content: center; }
.theme-dark .tier ul { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.theme-dark .tier li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--text); line-height: 1.5; }
.theme-dark .tier li .ic { width: 18px; flex: none; margin-top: 1px; color: var(--lime); font-weight: 700; }
.theme-dark .tier li.off { color: var(--text-3); }
.theme-dark .tier li.off .ic { color: var(--ink-6, #555); }
.theme-dark .tier__divider { margin: 18px 0 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); }
.theme-dark .tier__foot { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-top: 18px; text-align: center; }

/* the licensing-rules explainer under the pricing grid */
.theme-dark .price-rules {
  max-width: 760px; margin: 28px auto 0; padding: 18px 22px;
  background: rgba(30,227,245,0.05); border: 1px solid var(--line);
  border-left: 3px solid var(--cyan); border-radius: 0 4px 4px 0;
  font-size: 14px; color: var(--text-2); line-height: 1.6;
}
.theme-dark .price-rules strong { color: var(--text); }
.theme-dark .price-fine { text-align: center; margin-top: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; }

/* ---- Testimonials (hidden until populated) ---- */
.theme-dark .quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.theme-dark .quote { margin: 0; background: var(--ink-0, #060606); border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.theme-dark .quote blockquote { margin: 0 0 14px; color: var(--text); font-size: 16px; line-height: 1.55; }
.theme-dark .quote figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); letter-spacing: 0.04em; }
@media (max-width: 960px) { .theme-dark .quotes { grid-template-columns: 1fr; } }

/* ---- Install steps ---- */
.theme-dark .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.theme-dark .step { background: var(--gd-1); padding: 32px 28px; }
.theme-dark .step__num { font-family: var(--font-arcade); font-size: 14px; color: var(--red-hot); margin-bottom: 14px; letter-spacing: 0.16em; }
.theme-dark .step h3 { margin: 0 0 10px; }
.theme-dark .step p { font-size: 15px; color: var(--text-2); margin: 0; }
.theme-dark .step code, .theme-dark .tt__copy code { font-family: var(--font-mono); font-size: 12px; background: var(--gd-3); color: var(--cyan); padding: 2px 6px; border-radius: 3px; }

/* ---- FAQ ---- */
.theme-dark .faq__list { border-top: 1px solid var(--line); max-width: 880px; margin: 0 auto; }
.theme-dark .faq__item { border-bottom: 1px solid var(--line); }
.theme-dark .faq__q { width: 100%; background: transparent; border: 0; color: var(--text); text-align: left; font-size: 18px; font-weight: 600; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; letter-spacing: -0.01em; }
.theme-dark .faq__q .plus { font-family: var(--font-mono); font-size: 18px; color: var(--text-3); transition: transform 200ms var(--ease); flex: none; }
.theme-dark .faq__item[open] .plus { transform: rotate(45deg); color: var(--red-hot); }
.theme-dark .faq__a { padding: 0 0 24px; color: var(--text-2); font-size: 15px; line-height: 1.65; max-width: 70ch; }
.theme-dark .faq__a a { color: var(--red-hot); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Final CTA ---- */
.theme-dark .final-cta { background: linear-gradient(180deg, #060606 0%, #1A0606 100%); padding: 84px 0; text-align: center; border-top: 1px solid var(--red-deep); }
.theme-dark .final-cta h2 { font-family: var(--font-arcade); font-size: clamp(34px, 5vw, 60px); letter-spacing: 0.02em; text-transform: uppercase; font-weight: 400; }
.theme-dark .final-cta h2 .red { color: var(--red-hot); }
.theme-dark .final-cta .lead { margin: 18px auto 30px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .theme-dark .features, .theme-dark .steps { grid-template-columns: 1fr; }
  .theme-dark .tt__grid { grid-template-columns: 1fr; gap: 40px; }
  .theme-dark .pricing__grid { grid-template-columns: 1fr; }
  .theme-dark .trust__inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
