/* ==========================================================================
   MarketSeer landing-page custom overrides.
   Loaded AFTER main.css / responsive.css so it can override safely.
   ========================================================================== */

:root {
  --ms-teal: #33a0ab;
  --ms-teal-dark: #2a8590;
  --ms-teal-light: #e8f4f6;
  --ms-text: #1a2940;
  --ms-text-muted: #6b7280;
  --ms-border: #e5e7eb;
  --ms-navy: #102a3a;
  --ms-long: #2a9d8f;
  --ms-short: #d9534f;
}

/* ============== Typography / global ============== */
body { color: var(--ms-text); }
h1, h2, h3, h4, h5 { color: var(--ms-text); }

.section-padding { padding: 90px 0; }
.section-title { color: var(--ms-text); font-weight: 700; }
.section-subtitle {
  color: var(--ms-text-muted);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
  line-height: 1.6;
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
  color: var(--ms-teal);
  margin-bottom: 12px;
}

/* ============== Buttons ============== */
.btn-common,
.btn-common:focus {
  background: var(--ms-teal) !important;
  border: 2px solid var(--ms-teal) !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.2s;
}
.btn-common:hover {
  background: var(--ms-teal-dark) !important;
  border-color: var(--ms-teal-dark) !important;
  color: #fff !important;
}
.btn-border,
.btn-border:focus {
  background: transparent !important;
  border: 2px solid var(--ms-teal) !important;
  color: var(--ms-teal) !important;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 600;
}
.btn-border:hover {
  background: var(--ms-teal) !important;
  color: #fff !important;
}
.btn-outline-ms {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--ms-teal);
  color: var(--ms-teal);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}
.btn-outline-ms:hover {
  background: var(--ms-teal-light);
  color: var(--ms-teal-dark);
  text-decoration: none;
  border-color: var(--ms-teal);
}

/* ============== Navbar ============== */
.navigation { background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04); }
.navbar-brand img { max-height: 42px; }
.navbar-nav .nav-item a.page-scroll {
  color: var(--ms-text);
  font-weight: 500;
  padding: 10px 14px;
  transition: 0.2s;
}
.navbar-nav .nav-item a.page-scroll:hover,
.navbar-nav .nav-item.active a.page-scroll {
  color: var(--ms-teal);
}

/* ============== Hero ============== */
#hero-area.hero-area-bg {
  background: linear-gradient(180deg, #ffffff 0%, var(--ms-teal-light) 100%);
}
#hero-area .overlay { background: transparent; }
#hero-area .contents { padding: 110px 0 30px; }
#hero-area .head-title {
  color: var(--ms-text);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}
#hero-area .head-sub {
  font-size: 18px;
  color: var(--ms-text-muted);
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero signal preview card (CSS-only) */
.hero-signal-card {
  margin: 30px auto 60px;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(51, 160, 171, 0.18);
  padding: 24px 28px;
  text-align: left;
}
.hero-signal-card .ticker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-signal-card .ticker {
  font-size: 22px;
  font-weight: 700;
  color: var(--ms-text);
}
.hero-signal-card .ticker .name {
  font-size: 13px;
  color: var(--ms-text-muted);
  margin-left: 8px;
  font-weight: 400;
}
.hero-signal-card .pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pill-long { background: rgba(42, 157, 143, 0.12); color: var(--ms-long); }
.pill-short { background: rgba(217, 83, 79, 0.12); color: var(--ms-short); }
.pill-none { background: #f3f4f6; color: #6b7280; }

.hero-signal-card .signal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.hero-signal-card .signal-tile {
  background: var(--ms-teal-light);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
}
.hero-signal-card .signal-tile .label {
  font-size: 10px;
  color: var(--ms-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.hero-signal-card .signal-tile .value {
  font-size: 17px;
  font-weight: 700;
  color: var(--ms-text);
  margin-top: 4px;
}
.hero-signal-card .confidence-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--ms-border);
}
.hero-signal-card .confidence-meta {
  flex: 1;
}
.hero-signal-card .confidence-label {
  font-size: 11px;
  color: var(--ms-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-signal-card .confidence-bar {
  height: 8px;
  background: #f0f3f5;
  border-radius: 999px;
  overflow: hidden;
}
.hero-signal-card .confidence-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--ms-teal), var(--ms-teal-dark));
  border-radius: 999px;
}
.hero-signal-card .confidence-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--ms-teal-dark);
  line-height: 1;
}

/* ============== Trust strip ============== */
#trust-strip {
  background: var(--ms-teal-light);
  padding: 28px 0;
  border-top: 1px solid rgba(51, 160, 171, 0.15);
  border-bottom: 1px solid rgba(51, 160, 171, 0.15);
}
.trust-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.trust-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ms-text);
  font-weight: 600;
}
.trust-pill i {
  color: var(--ms-teal);
  font-size: 24px;
}

/* ============== Features / Edge cards ============== */
#features .section-header { margin-bottom: 50px; }
#features .row > [class*="col-"] {
  margin-bottom: 30px;
}
.features-item {
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 12px;
  padding: 30px 26px;
  height: 100%;
  transition: 0.2s;
}
.features-item:hover {
  border-color: var(--ms-teal);
  box-shadow: 0 16px 36px rgba(51, 160, 171, 0.14);
  transform: translateY(-3px);
}
.features-item .icon {
  width: 44px;
  height: 44px;
  background: var(--ms-teal-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-sizing: border-box;
}
.features-item .icon i {
  font-size: 22px;
  line-height: 1;
  color: var(--ms-teal) !important;
}
.features-item .icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.features-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ms-text);
  margin-bottom: 8px;
}
.features-item p {
  color: var(--ms-text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============== How it works ============== */
#how {
  background: var(--ms-teal-light);
}
.step-card {
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 14px;
  padding: 32px 26px;
  text-align: center;
  height: 100%;
}
.step-num {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ms-teal);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ms-text);
  margin-bottom: 10px;
}
.step-card p {
  color: var(--ms-text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============== Spotlight (two-column features) ============== */
.spotlight { padding: 90px 0; }
.spotlight.alt { background: var(--ms-teal-light); }
.spotlight h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ms-text);
  margin-bottom: 18px;
  line-height: 1.2;
}
.spotlight p.lead {
  color: var(--ms-text-muted);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.65;
}
.spotlight ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spotlight ul.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 14px;
  color: var(--ms-text);
  font-size: 15px;
  line-height: 1.5;
}
.spotlight ul.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ms-teal);
}
.spotlight ul.checklist li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.spotlight .text-col { padding: 30px 0; }

/* ============== Screenshot placeholder ============== */
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #fff;
  border: 2px dashed var(--ms-teal);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ms-teal-dark);
  text-align: center;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(51, 160, 171, 0.08);
}
.screenshot-placeholder i {
  font-size: 44px;
  margin-bottom: 14px;
  opacity: 0.7;
}
.screenshot-placeholder .placeholder-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ms-text);
  margin-bottom: 6px;
}
.screenshot-placeholder .placeholder-sub {
  font-size: 12px;
  color: var(--ms-text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ============== Cluster trades bubbles ============== */
.cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}
.cluster-bubble {
  border-radius: 16px;
  padding: 20px 16px;
  border: 2px solid;
  text-align: center;
  background: #fff;
}
.cluster-bubble h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ms-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cluster-bubble .ticker-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ms-text);
  margin: 3px;
}
.cluster-bubble.b1 { background: rgba(51, 160, 171, 0.06); border-color: rgba(51, 160, 171, 0.45); }
.cluster-bubble.b2 { background: rgba(42, 157, 143, 0.06); border-color: rgba(42, 157, 143, 0.45); }
.cluster-bubble.b3 { background: rgba(140, 110, 200, 0.06); border-color: rgba(140, 110, 200, 0.40); }
.cluster-bubble .return-tag {
  display: inline-block;
  margin-top: 10px;
  background: var(--ms-teal-light);
  color: var(--ms-teal-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ============== Reports card grid ============== */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.report-card {
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 12px;
  padding: 22px;
  border-top: 3px solid var(--ms-teal);
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}
.report-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(51, 160, 171, 0.14);
}
.report-card .report-icon {
  font-size: 22px;
  color: var(--ms-teal);
  margin-bottom: 10px;
}
.report-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ms-text);
  margin-bottom: 6px;
}
.report-card p {
  font-size: 13px;
  color: var(--ms-text-muted);
  margin-bottom: 14px;
  line-height: 1.55;
  flex: 1;
}
.report-card .updated-pill {
  align-self: flex-start;
  background: var(--ms-teal-light);
  color: var(--ms-teal-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============== FAQ ============== */
#faq { background: var(--ms-teal-light); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--ms-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ms-text);
  background: #fff;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 16px;
  transition: 0.2s;
}
.faq-item .faq-question:hover { background: var(--ms-teal-light); }
.faq-item .faq-question:focus { outline: none; box-shadow: 0 0 0 2px rgba(51, 160, 171, 0.25); }
.faq-item .faq-question .chev {
  transition: 0.25s;
  color: var(--ms-teal);
  font-size: 14px;
  margin-left: 16px;
}
.faq-item .faq-question[aria-expanded="true"] { background: var(--ms-teal-light); }
.faq-item .faq-question[aria-expanded="true"] .chev { transform: rotate(180deg); }
.faq-item .faq-answer {
  padding: 8px 22px 14px;
  color: var(--ms-text-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* ============== Final CTA band ============== */
#get-started {
  background: linear-gradient(135deg, #102a3a 0%, #1d4a5a 100%);
  padding: 90px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
#get-started .container { position: relative; z-index: 2; }
#get-started .cta-glow {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: auto;
  opacity: 0.22;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}
#get-started .eyebrow { color: #5fc3cc; }
#get-started h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}
#get-started p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
#get-started .btn-common {
  font-size: 16px;
  padding: 14px 40px;
  background: var(--ms-teal) !important;
  border-color: var(--ms-teal) !important;
}
#get-started .btn-common:hover {
  background: #fff !important;
  color: var(--ms-teal-dark) !important;
  border-color: #fff !important;
}

/* ============== Contact tweaks ============== */
#contact .section-title { color: var(--ms-text); }
.contact-block h2 { color: var(--ms-text); }
/* Note: main.css already styles .contact-right .contact-icon with our teal
   background and white text. Do NOT override the icon color here or the
   envelope glyph will become teal-on-teal and disappear. */
#contact .form-control {
  border-radius: 6px;
  border: 1px solid var(--ms-border);
}
#contact .form-control:focus {
  border-color: var(--ms-teal);
  box-shadow: 0 0 0 3px rgba(51, 160, 171, 0.18);
}

/* ============== Footer ============== */
#footer.footer-area {
  background: var(--ms-navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 60px 0 30px;
}
#footer .footer-logo img {
  max-height: 40px;
  mix-blend-mode: screen;
}
#footer h3 {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer ul li { margin-bottom: 8px; }
#footer ul li a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}
#footer ul li a:hover { color: var(--ms-teal); }
#footer .footer-tag {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 12px 0 0;
  line-height: 1.6;
}
#footer .footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}
#copyright {
  background: var(--ms-navy);
  color: rgba(255, 255, 255, 0.55);
  padding: 16px 0;
  font-size: 13px;
}
#copyright p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}

.back-to-top {
  background: var(--ms-teal) !important;
  color: #fff !important;
}
.back-to-top:hover { background: var(--ms-teal-dark) !important; }

/* ============== Responsive ============== */
@media (max-width: 991px) {
  #hero-area .head-title { font-size: 36px; }
  .spotlight h2 { font-size: 26px; }
}

@media (max-width: 767px) {
  .section-padding { padding: 60px 0; }
  .spotlight { padding: 60px 0; }
  #hero-area .contents { padding: 80px 0 20px; }
  #hero-area .head-title { font-size: 30px; }
  #hero-area .head-sub { font-size: 16px; }
  #get-started h2 { font-size: 26px; }
  .trust-row { justify-content: center; gap: 14px; }
  .trust-pill { font-size: 13px; }
  .hero-signal-card { padding: 18px; }
  .hero-signal-card .signal-tile .value { font-size: 14px; }
  .hero-signal-card .confidence-value { font-size: 22px; }
}
