:root {
  color-scheme: light;
  --bg: #f8f9fa;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #f1f5f9;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --white: #ffffff;
  --brand: #1237ff;
  --brand-dark: #0f2ed6;
  --indigo: var(--brand);
  --indigo-dark: var(--brand-dark);
  --amber: var(--brand);
  --rose: var(--brand);
  --teal: var(--brand);
  --green: var(--brand);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.08);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header,
.detail-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(18, 55, 255, 0.12);
  backdrop-filter: blur(14px);
}

.header-inner {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.detail-header-inner {
  max-width: 1400px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
}

.brand strong {
  color: var(--brand);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.18s ease;
}

.top-nav a:hover {
  color: var(--ink);
}

.top-nav .nav-cta {
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow-sm);
}

.top-nav .nav-cta:hover {
  color: var(--white);
  background: #1e293b;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
}

.mobile-nav {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  color: #334155;
  font-size: 18px;
  font-weight: 800;
}

main {
  flex: 1;
  padding-top: 80px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
}

.hero-bg,
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-indigo {
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.94), #0f172a 42%, #020617);
}

.hero-bg-teal {
  background: linear-gradient(135deg, rgba(19, 78, 74, 0.94), #042f2e 42%, #020617);
}

.hero-bg-rose {
  background: linear-gradient(135deg, rgba(136, 19, 55, 0.9), #581c87 42%, #020617);
}

.hero-glow {
  left: auto;
  width: 78%;
  background: radial-gradient(ellipse at top right, rgba(129, 140, 248, 0.22), transparent 62%);
}

.hero-glow-teal {
  background: radial-gradient(ellipse at top right, rgba(45, 212, 191, 0.2), transparent 62%);
}

.hero-glow-rose {
  background: radial-gradient(ellipse at top right, rgba(251, 113, 133, 0.22), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px 128px;
}

.hero-text {
  max-width: 880px;
  min-width: 0;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 700;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(244, 63, 94, 0.32);
  border-radius: 999px;
  padding: 5px 12px;
  color: #1237ff;
  background: rgba(244, 63, 94, 0.18);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hero-tag.is-teal {
  color: #1237ff;
  border-color: rgba(20, 184, 166, 0.3);
  background: rgba(20, 184, 166, 0.18);
}

.hero-tag.is-amber {
  color: #1237ff;
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.18);
}

.hero-text h1 {
  margin: 0;
  max-width: 980px;
  color: var(--white);
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.mobile-break {
  display: none;
}

.hero-text p {
  max-width: 680px;
  margin: 24px 0 40px;
  color: #cbd5e1;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 999px;
  padding: 0 28px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.hero-controls {
  position: absolute;
  right: max(24px, calc((100vw - 1400px) / 2 + 48px));
  bottom: 48px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-dots {
  display: flex;
  gap: 8px;
  margin-right: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  padding: 0;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: var(--white);
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.tools-section,
.watch-section,
.listings-section,
.submit-section,
.coaching-section,
.advertise-section {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.tools-section {
  padding: 32px 0 44px;
}

.tools-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.tools-main {
  min-width: 0;
  flex: 1;
}

.tools-sidebar {
  width: 320px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

.filter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--white);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}

.category-tabs {
  min-width: 0;
  flex: 1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs button {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #475569;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.category-tabs button:hover {
  background: #f8fafc;
}

.category-tabs button.is-active {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-left: 12px;
  border-left: 1px solid var(--line-soft);
}

.discount-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.discount-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--indigo);
}

.sort-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.sort-button.is-active {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(18,55,255,0.05);
  color: #1237ff;
}

.search-panel {
  margin-bottom: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.search-panel label {
  display: block;
  margin-bottom: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-row input,
.submit-card input,
.submit-card textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  transition: border 0.18s ease, box-shadow 0.18s ease;
}

.search-row input:focus,
.submit-card input:focus,
.submit-card textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

.search-row button,
.submit-card button {
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 0 22px;
  font-size: 14px;
  font-weight: 850;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.quick-tags button {
  border: 1px solid rgba(18,55,255,0.12);
  border-radius: 999px;
  background: rgba(18,55,255,0.06);
  color: #1237ff;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.tool-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--white);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tool-card:hover {
  transform: translateY(-1px);
  border-color: rgba(18,55,255,0.18);
  box-shadow: var(--shadow-md);
}

.tool-card.has-discount {
  border-color: rgba(18,55,255,0.18);
}

.tool-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.tool-title {
  min-width: 0;
  flex: 1;
}

.tool-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.tool-title h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.badge,
.alt-chip,
.tool-tag,
.watch-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.badge-sponsored {
  background: #f1f5f9;
  color: #64748b;
}

.badge-discount {
  border: 1px solid rgba(18,55,255,0.18);
  background: rgba(18,55,255,0.05);
  color: var(--amber);
}

.tool-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.tool-price {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  text-align: right;
}

.tool-price strong {
  color: var(--ink);
  font-size: 14px;
}

.roi {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.stars {
  display: inline-flex;
  gap: 1px;
  letter-spacing: -1px;
}

.stars span {
  color: #1237ff;
}

.stars span.is-empty {
  color: #e2e8f0;
}

.official-link {
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
}

.tool-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #f8fafc;
}

.alternatives {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.alternatives > span:first-child {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.alt-chip {
  border: 1px solid rgba(18,55,255,0.16);
  background: rgba(238, 242, 255, 0.68);
  color: var(--indigo);
  cursor: pointer;
}

.discount-text {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
}

.tool-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -2px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.tool-detail-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tool-detail-row a,
.tool-detail-row b {
  flex: none;
  font-size: 12px;
  font-weight: 850;
}

.tool-detail-row a {
  color: var(--indigo);
}

.tool-detail-row b {
  border-radius: 999px;
  background: rgba(18,55,255,0.08);
  color: var(--amber);
  padding: 4px 8px;
}

.tool-tags {
  display: flex;
  gap: 8px;
}

.tool-tag {
  border: 1px solid var(--line-soft);
  background: #f8fafc;
  color: var(--muted);
  font-size: 10px;
}

.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.promo-panel {
  border-color: rgba(253, 230, 138, 0.72);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.78), rgba(255, 251, 235, 0.1));
}

.side-panel h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #1237ff;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.sponsored-panel h2 {
  color: var(--ink);
}

.promo-list,
.sponsored-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-item,
.sponsored-item {
  border: 1px solid rgba(18,55,255,0.18);
  border-radius: 16px;
  background: var(--white);
  padding: 15px;
  box-shadow: var(--shadow-sm);
}

.sponsored-item {
  border-color: var(--line-soft);
  background: rgba(248, 250, 252, 0.7);
}

.promo-item-head,
.sponsored-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.promo-item strong,
.sponsored-item strong {
  color: var(--ink);
  font-size: 14px;
}

.promo-item a,
.sponsored-item a {
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.sponsored-item a {
  color: var(--indigo);
}

.promo-item p,
.sponsored-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.side-empty {
  margin: 0;
  color: #1237ff;
  font-size: 12px;
  font-weight: 800;
}

.ad-label {
  border-radius: 4px;
  background: #e2e8f0;
  color: var(--muted);
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 800;
}

.panel-link {
  display: block;
  padding-top: 13px;
  border-top: 1px solid var(--line-soft);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.dark-notice {
  position: relative;
  overflow: hidden;
  border: 1px solid #1e293b;
  border-radius: 28px;
  background: var(--ink);
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.18);
}

.dark-notice::after {
  content: "";
  position: absolute;
  top: -32px;
  right: -32px;
  width: 128px;
  height: 128px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.32);
  filter: blur(28px);
}

.dark-notice a {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.dark-notice strong {
  color: var(--white);
  font-size: 16px;
}

.dark-notice span {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

.dark-notice b {
  margin-top: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
}

.watch-section,
.listings-section,
.submit-section,
.coaching-section,
.advertise-section {
  padding: 48px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title h2,
.submit-intro h2,
.coaching-copy h2,
.advertise-hero h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-title p,
.submit-intro p,
.coaching-copy p,
.advertise-hero p {
  max-width: 680px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.listing-search {
  min-width: 260px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: var(--white);
  color: #94a3b8;
  padding: 11px 18px;
  font-size: 14px;
}

.price-watch-grid,
.playbook-list,
.ad-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.watch-card,
.playbook-card,
.ad-plans article {
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--white);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.watch-card.is-risk {
  border-color: rgba(253, 230, 138, 0.85);
  background: rgba(18,55,255,0.05);
}

.watch-status {
  background: #eef2ff;
  color: var(--indigo);
  margin-bottom: 12px;
}

.watch-card.is-risk .watch-status {
  background: rgba(18,55,255,0.08);
  color: var(--amber);
}

.watch-card h3,
.playbook-card h3,
.ad-plans strong {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.watch-card p,
.playbook-card p,
.ad-plans p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.watch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.watch-meta div {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: #f8fafc;
  padding: 10px;
}

.watch-meta small {
  display: block;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.watch-meta strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
}

.playbook-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.playbook-rank {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--indigo);
  font-weight: 900;
}

.playbook-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.playbook-card li {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.playbook-card li b {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
}

.playbook-card .card-actions {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.card-actions a,
.card-actions button {
  border: 0;
  background: transparent;
  color: var(--indigo);
  padding: 0;
  font-size: 14px;
  font-weight: 850;
}

.submit-section {
  max-width: 900px;
  text-align: center;
}

.submit-intro {
  margin-bottom: 40px;
}

.section-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(18,55,255,0.16);
  border-radius: 18px;
  background: #eef2ff;
  color: var(--indigo);
  font-size: 34px;
}

.submit-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--white);
  padding: 40px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.submit-card label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 850;
}

.submit-card textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  border: 1px solid rgba(18,55,255,0.18);
  border-radius: 14px;
  background: #eef2ff;
  color: #3730a3;
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.submit-card button {
  min-height: 56px;
  font-size: 18px;
}

.form-status {
  margin: -4px 0 0;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 750;
}

.form-status[data-state="success"] {
  background: #ecfdf5;
  color: #047857;
}

.form-status[data-state="error"] {
  background: #fef2f2;
  color: #b91c1c;
}

.form-status[data-state="pending"] {
  background: rgba(18,55,255,0.05);
  color: #1237ff;
}

.coaching-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 64px;
  align-items: center;
}

.coaching-copy > span {
  display: inline-flex;
  margin-bottom: 24px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #1e293b;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 900;
}

.coaching-copy a {
  display: inline-flex;
  margin-top: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  padding: 16px 30px;
  font-size: 18px;
  font-weight: 850;
}

.testimonial-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  min-height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(18,55,255,0.16), #fff1f2);
  padding: 32px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}

.testimonial-stack::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(6px);
}

.testimonial-stack article {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stack strong {
  color: var(--ink);
  font-size: 14px;
}

.testimonial-stack p {
  margin: 12px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
}

.advertise-section {
  width: 100%;
  max-width: none;
  padding-bottom: 80px;
}

.advertise-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 128px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.advertise-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100%, 900px);
  height: 100%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at top, rgba(99, 102, 241, 0.22), transparent 70%);
}

.advertise-hero h2,
.advertise-hero p {
  position: relative;
  z-index: 1;
  margin-left: auto;
  margin-right: auto;
}

.advertise-hero h2 {
  max-width: 760px;
  color: var(--white);
}

.advertise-hero p {
  color: #94a3b8;
}

.ad-plans {
  width: min(1280px, calc(100% - 48px));
  margin: -64px auto 0;
  position: relative;
  z-index: 2;
}

.ad-plans article {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.ad-plans span {
  display: block;
  margin-bottom: 16px;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 900;
}

.ad-plans strong {
  display: block;
  font-size: 30px;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 24px;
  background: var(--white);
  color: var(--muted);
  padding: 80px 24px;
}

.empty-state strong {
  color: #334155;
}

.site-footer,
.detail-footer {
  margin-top: auto;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
  padding: 48px 24px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer > div {
  max-width: 1280px;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.site-footer span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: #475569;
  font-size: 14px;
  font-weight: 650;
}

/* Static detail pages keep a simple readable shell. */
.content-detail-page {
  background: var(--bg);
}

.detail-site-header {
  position: sticky;
}

.static-detail-shell {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
}

.static-detail-hero,
.static-detail-section,
.static-detail-cta {
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.static-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: center;
}

.static-article-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  min-height: 360px;
}

.static-detail-hero h1 {
  max-width: 880px;
  margin: 16px 0;
  color: var(--ink);
  font-size: clamp(38px, 4.4vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.static-detail-hero p,
.static-detail-section p,
.static-detail-section li {
  color: var(--muted);
}

.static-detail-hero p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.85;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.sponsor-tag,
.risk-tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef2ff;
  color: var(--indigo);
  font-size: 12px;
  font-weight: 800;
}

.sponsor-tag,
.risk-tag {
  background: rgba(18,55,255,0.05);
  color: var(--amber);
}

.static-detail-grid,
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.static-detail-grid > div,
.detail-grid > div {
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--white);
  padding: 14px;
}

.static-detail-grid small,
.detail-grid small {
  display: block;
  color: #94a3b8;
  font-size: 12px;
}

.static-detail-grid strong,
.detail-grid strong {
  display: block;
  margin-top: 6px;
}

.static-detail-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 20px 0;
}

.static-detail-figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.static-detail-figure:first-child {
  grid-column: 1 / -1;
}

.static-detail-figure img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: #f8fafc;
}

.static-detail-figure:first-child img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.static-article-hero-image {
  overflow: hidden;
  height: 300px;
  margin: 0;
  border: 1px solid rgba(18,55,255,0.12);
  border-radius: 24px;
  background: #f8faff;
}

.static-article-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.static-detail-figure figcaption {
  padding: 10px 14px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.static-detail-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--white);
}

.static-detail-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.static-detail-table th,
.static-detail-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.65;
}

.static-detail-table th {
  color: var(--ink);
  background: var(--soft);
  font-weight: 900;
}

.static-detail-table td {
  color: var(--muted);
}

.static-detail-table tr:last-child td {
  border-bottom: 0;
}

.detail-back-link,
.static-detail-section a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.footer-links a {
  padding: 0 6px;
}

.detail-modal[hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .tools-layout,
  .coaching-section {
    flex-direction: column;
    display: flex;
  }

  .tools-sidebar {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .price-watch-grid,
  .playbook-list,
  .ad-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: 80px;
  }

  .top-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-carousel {
    height: 520px;
  }

  .hero-content {
    padding: 0 24px 92px;
  }

  .hero-text {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero-text p {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text p {
    font-size: 17px;
    margin-bottom: 28px;
  }

  .hero-controls {
    left: 24px;
    right: 24px;
    bottom: 28px;
    justify-content: flex-end;
  }

  .filter-card {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-actions {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding: 10px 8px 0;
    justify-content: space-between;
  }

  .tool-top,
  .tool-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .tool-price {
    align-items: flex-start;
    text-align: left;
  }

  .tools-sidebar {
    grid-template-columns: 1fr;
  }

  .price-watch-grid,
  .playbook-list,
  .ad-plans,
  .form-grid,
  .static-detail-media-grid,
  .static-detail-grid,
  .detail-grid,
  .static-detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-header-inner {
    height: auto;
    min-height: 80px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 24px;
  }

  .detail-site-header .top-nav {
    display: flex;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .static-detail-shell {
    width: min(100% - 28px, 1400px);
    padding: 28px 0;
  }

  .static-detail-hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .static-article-hero-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .static-detail-figure:first-child {
    grid-row: auto;
  }

  .section-title,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-search {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .tools-section,
  .watch-section,
  .listings-section,
  .submit-section,
  .coaching-section {
    width: min(100% - 28px, 1400px);
  }

  .hero-carousel {
    height: 560px;
  }

  .hero-content {
    padding: 0 18px 86px;
  }

  .hero-text {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text h1,
  .hero-text p {
    word-break: break-all;
  }

  .mobile-break {
    display: inline;
  }

  .hero-meta {
    flex-wrap: wrap;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row button {
    min-height: 46px;
  }

  .submit-card {
    padding: 24px;
  }

  .testimonial-stack {
    min-height: 460px;
    border-radius: 30px;
    padding: 22px;
  }

  .ad-plans {
    width: min(100% - 28px, 1280px);
  }
}
