:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-alt: #ecf2f8;
  --ink: #0b1b2b;
  --muted: #496176;
  --primary: #0f7d7f;
  --primary-deep: #0b6566;
  --accent: #0ea463;
  --danger: #d14343;
  --line: #d5e2ee;
  --shadow: 0 10px 26px rgba(8, 26, 45, 0.08), 0 2px 8px rgba(8, 26, 45, 0.06);
  --shadow-strong: 0 20px 46px rgba(8, 26, 45, 0.12), 0 8px 18px rgba(8, 26, 45, 0.08);
  --shadow-soft: 0 8px 18px rgba(8, 26, 45, 0.07), 0 2px 6px rgba(8, 26, 45, 0.04);
  --radius: 18px;
  --topbar-height: 76px;
  --header-ticker-height: 36px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "IBM Plex Sans", "Sora", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, #eaf6ff 0%, transparent 38%),
    radial-gradient(circle at 85% 20%, #ffffff 0%, transparent 36%),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5.2rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #f3f7fc 100%);
  padding-top: clamp(7.2rem, 11vw, 9.4rem);
}

.home-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(14, 164, 99, 0.16) 0%, transparent 32%),
    radial-gradient(circle at 15% 0%, rgba(15, 125, 127, 0.14) 0%, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #f3f7fc 100%);
}

.alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(237, 244, 251, 0.85) 100%);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  font-family: "Sora", sans-serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 15ch;
}

h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.5rem);
}

p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.45rem;
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--primary-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.section-head {
  margin-bottom: 2.2rem;
  max-width: 70ch;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  background: transparent;
  box-shadow: none;
  backdrop-filter: blur(0);
  transition: background 0.28s ease, box-shadow 0.28s ease, backdrop-filter 0.28s ease;
}

body.has-header-ticker .topbar {
  top: var(--header-ticker-height);
}

body.has-header-ticker #home {
  padding-top: calc(var(--topbar-height) + var(--header-ticker-height));
}

.topbar.scrolled,
body.menu-open .topbar {
  backdrop-filter: blur(10px);
  background: rgba(243, 247, 251, 0.78);
  box-shadow: 0 8px 20px rgba(7, 25, 45, 0.06);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.site-brand-logo {
  max-width: 180px;
  width: auto;
  height: 42px;
  object-fit: contain;
  border-radius: 0.35rem;
}

.nav-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #17324a;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #d7e4ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #1a405d;
  border-radius: 999px;
}

.menu-toggle:hover {
  background: #f7fbff;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: calc(var(--topbar-height) + 0.45rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 1120px);
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #d8e5f0;
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(7, 25, 45, 0.1);
  padding: 0.95rem;
  backdrop-filter: blur(10px);
  max-height: calc(100dvh - var(--topbar-height) - 1.4rem);
  overflow-y: auto;
  z-index: 39;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.78rem 0.8rem;
  margin-bottom: 0.2rem;
  border-radius: 10px;
  color: #17324a;
  font-weight: 600;
}

.mobile-menu a:not(.btn):first-child {
  margin-top: 0.35rem;
}

.mobile-menu a:not(.btn):hover {
  background: #eef4fa;
}

.mobile-menu .btn {
  margin-top: 0.75rem;
}

.mobile-menu .btn.btn-solid {
  width: 100%;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 125, 127, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  box-shadow: 0 12px 24px rgba(15, 125, 127, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.2rem;
  align-items: center;
}

.home-hero-grid {
  display: block;
}

.home-hero-copy {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(0.35rem, 1vw, 0.75rem) 0;
  text-align: center;
}

.home-hero-copy h1 {
  max-width: 13ch;
  margin-left: auto;
  margin-right: auto;
}

.home-hero-copy .lead {
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.04rem, 2vw, 1.22rem);
}

.lead {
  max-width: 60ch;
  font-size: 1.05rem;
}

.cta-row {
  margin: 1.3rem 0 0.75rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.signal-hero-actions {
  gap: 0.55rem;
}

.home-hero-actions {
  gap: 0.55rem;
  justify-content: center;
}

.signal-hero-actions .btn {
  border-radius: 8px;
  padding: 0.48rem 0.72rem;
  box-shadow: none;
  font-size: 0.88rem;
  line-height: 1.2;
}

.signal-hero-actions .btn-solid {
  background: var(--primary);
}

.signal-hero-actions .btn-ghost {
  background: #fff;
}

.btn-with-icon {
  gap: 0.38rem;
}

.btn-with-icon svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  fill: currentColor;
}

.microcopy {
  color: #184e50;
  font-weight: 600;
}

.hero-benefit {
  margin: 0.35rem 0 0;
  color: #184e50;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-badges span {
  border: 1px solid #c5d9e9;
  background: #fff;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #214866;
}

.hero-visual {
  position: relative;
}

.hero-visual > img {
  min-height: 460px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 16px;
  padding: 1rem;
  background: rgba(10, 30, 50, 0.84);
  color: #fff;
  box-shadow: 0 16px 30px rgba(3, 14, 25, 0.38);
}

.floating-card h3,
.floating-card li,
.floating-card p {
  color: #fff;
}

.chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
}

.intelligence-card {
  background: rgba(13, 31, 48, 0.88);
}

.coinlib-ticker {
  width: 100vw;
  margin: clamp(2rem, 5vw, 3.5rem) calc(50% - 50vw) 0;
  padding: 0;
}

.coinlib-ticker {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.coinlib-ticker iframe {
  display: block;
}

.header-coinlib-ticker {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 45;
  width: 100%;
  height: var(--header-ticker-height);
  margin: 0;
  box-shadow: 0 8px 18px rgba(7, 25, 45, 0.05);
}

.header-coinlib-ticker iframe {
  height: var(--header-ticker-height);
}

.instrument-tool-section {
  padding-top: clamp(1rem, 2vw, 1.75rem);
}

.instrument-dashboard {
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(15, 125, 127, 0.12) 0%, transparent 30%),
    rgba(255, 255, 255, 0.36);
  padding: clamp(1rem, 3vw, 1.6rem);
}

.instrument-dashboard-head {
  display: block;
  margin-bottom: 1rem;
  text-align: center;
}

.instrument-dashboard-copy {
  max-width: 760px;
  margin: 0 auto;
}

.instrument-dashboard-head h2 {
  margin-bottom: 0.45rem;
}

.instrument-select-wrap {
  display: grid;
  gap: 0.35rem;
  flex: 0 0 190px;
  color: #38576f;
  font-size: 0.76rem;
  font-weight: 800;
}

.instrument-select-wrap select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.54rem 0.75rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.instrument-status-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.instrument-status-row .instrument-select-wrap {
  margin-left: auto;
}

.instrument-status-row .instrument-select-wrap span {
  display: none;
}

.instrument-status-row .market-status-badge {
  display: inline-flex;
  border: 1px solid rgba(15, 125, 127, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: #f5fbfb;
  color: #214866;
  font-size: 0.84rem;
  font-weight: 700;
}

.instrument-status-row .market-open {
  border-color: rgba(15, 138, 75, 0.18);
  background: rgba(237, 253, 245, 0.82);
  color: #21b96f;
}

.instrument-status-row .market-closed {
  border-color: rgba(201, 60, 49, 0.18);
  background: rgba(255, 245, 243, 0.86);
  color: #ef6b61;
}

.instrument-status-row .market-monitoring {
  border-color: rgba(23, 100, 167, 0.18);
  background: rgba(237, 246, 255, 0.86);
  color: #1764a7;
}

.instrument-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 0;
}

.instrument-tabs-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.instrument-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.82rem;
  background: #fff;
  color: #23465f;
  font-weight: 800;
  cursor: pointer;
}

.instrument-tabs button.active {
  border-color: transparent;
  background: #0d1f30;
  color: #fff;
}

.instrument-panel {
  display: none;
}

.instrument-panel.active {
  display: block;
}

.instrument-metrics,
.instrument-bias-grid,
.instrument-level-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.instrument-bias-grid,
.instrument-level-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.instrument-bias-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.instrument-panel .instrument-level-grid {
  margin-top: 0.9rem;
}

.instrument-level-grid-full {
  grid-template-columns: 1fr;
}

.instrument-bias-inline {
  margin-top: 0.8rem;
}

.instrument-metrics article,
.instrument-bias-card,
.instrument-level-grid article {
  border: 1px solid rgba(34, 82, 112, 0.1);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--shadow-soft);
}

.instrument-level-grid .level-briefing-card {
  grid-column: 1 / -1;
}

.instrument-metrics span,
.instrument-bias-card span {
  display: block;
  color: #60798f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.instrument-metrics strong,
.instrument-bias-card strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
}

.instrument-price-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.instrument-price-icon {
  display: inline-grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background-color: #0d1f30;
  background-image: linear-gradient(135deg, #0d1f30, var(--primary));
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.instrument-price-row strong {
  margin-top: 0;
  line-height: 1.05;
}

.metric-change {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.metric-change::before {
  display: inline-block;
  font-size: 0.8em;
  line-height: 1;
}

.metric-change.change-positive {
  color: #0f8a4b;
}

.metric-change.change-positive::before {
  content: "\2191";
}

.metric-change.change-negative {
  color: #c93c31;
}

.metric-change.change-negative::before {
  content: "\2193";
}

.metric-change.change-neutral {
  color: var(--ink);
}

.instrument-metrics em {
  display: block;
  margin-top: 0.28rem;
  color: #60798f;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.instrument-metrics .metric-previous {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  text-align: right;
}

.instrument-metrics .metric-previous.change-positive {
  color: #0f8a4b;
}

.instrument-metrics .metric-previous.change-negative {
  color: #c93c31;
}

.instrument-metrics .metric-previous.change-neutral {
  color: #7890a4;
}

.instrument-bias-card p {
  margin: 0.55rem 0 0;
}

.trend-meter {
  overflow: hidden;
  height: 0.65rem;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: #e6eef5;
}

.trend-meter span,
.pressure-meter span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.pressure-bias-card {
  background:
    radial-gradient(circle at 88% 12%, rgba(15, 125, 127, 0.14) 0%, transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.pressure-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.pressure-card-head > span {
  min-width: 0;
}

.pressure-timeframes {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.2rem;
  border: 1px solid rgba(34, 82, 112, 0.08);
  border-radius: 999px;
  padding: 0.16rem;
  background: rgba(255, 255, 255, 0.82);
}

.pressure-timeframes button {
  border: 0;
  border-radius: 999px;
  padding: 0.24rem 0.38rem;
  background: transparent;
  color: #60798f;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.pressure-timeframes button.active {
  background: #0d1f30;
  color: #fff;
}

.pressure-meter {
  overflow: hidden;
  position: relative;
  display: flex;
  height: 0.68rem;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7f9ef 0%, #eef3f7 50%, #ffe9e6 100%);
}

.pressure-meter::after {
  content: "";
  position: absolute;
  top: -0.18rem;
  bottom: -0.18rem;
  left: 50%;
  width: 2px;
  background: rgba(13, 31, 48, 0.18);
}

.pressure-meter span {
  position: relative;
  z-index: 1;
  transition: width 0.35s ease;
}

.pressure-meter.pressure-buy {
  justify-content: flex-start;
}

.pressure-meter.pressure-buy span {
  background: linear-gradient(90deg, #0f8a4b, #39c77a);
}

.pressure-meter.pressure-sell {
  justify-content: flex-end;
}

.pressure-meter.pressure-sell span {
  background: linear-gradient(90deg, #ff8a7e, #c93c31);
}

.pressure-meter.pressure-neutral {
  justify-content: center;
}

.pressure-meter.pressure-neutral span {
  background: linear-gradient(90deg, #9db0bf, #7890a4);
}

.instrument-level-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.instrument-level-grid dl {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.instrument-level-grid dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(34, 82, 112, 0.08);
  padding-bottom: 0.45rem;
}

.instrument-level-grid .pivot-level-row {
  border-bottom: 0;
  border-radius: 13px;
  padding: 0.72rem 0.85rem;
}

.instrument-level-grid .pivot-resistance {
  background: #fff0ee;
}

.instrument-level-grid .pivot-resistance dt,
.instrument-level-grid .pivot-resistance dd {
  color: #b8322a;
}

.instrument-level-grid .pivot-middle {
  background: #edf6ff;
}

.instrument-level-grid .pivot-middle dt,
.instrument-level-grid .pivot-middle dd {
  color: #1764a7;
}

.instrument-level-grid .pivot-support {
  background: #edfdf5;
}

.instrument-level-grid .pivot-support dt,
.instrument-level-grid .pivot-support dd {
  color: #0f7a46;
}

.instrument-level-grid .fib-level-row {
  border-bottom: 1px solid rgba(34, 82, 112, 0.08);
  padding-bottom: 0.45rem;
}

.instrument-level-grid .fib-bullish-row dt,
.instrument-level-grid .fib-bearish-row dt {
  color: #5a7288;
}

.instrument-level-grid .fib-bullish-row dd {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: #edfdf5;
  color: #0f7a46;
}

.instrument-level-grid .fib-bearish-row dd {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: #fff0ee;
  color: #b8322a;
}

.instrument-level-grid .fib-bias-row dt,
.instrument-level-grid .fib-bias-row dd {
  color: #1764a7;
}

.instrument-level-grid .fib-bias-row dd {
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  background: #f7fbff;
}

.instrument-level-grid .session-range-row {
  border-bottom: 0;
  border-radius: 12px;
  padding: 0.62rem 0.78rem;
  background: #f7fbff;
}

.instrument-level-grid .session-high-row {
  background: #fff5f3;
}

.instrument-level-grid .session-high-row dt,
.instrument-level-grid .session-high-row dd {
  color: #b8322a;
}

.instrument-level-grid .session-low-row {
  background: #f0fbf5;
}

.instrument-level-grid .session-low-row dt,
.instrument-level-grid .session-low-row dd {
  color: #0f7a46;
}

.instrument-level-grid dt {
  color: #5a7288;
  font-weight: 700;
}

.instrument-level-grid dd {
  margin: 0;
  color: #12324a;
  font-weight: 900;
  text-align: right;
}

.snd-dashboard {
  display: grid;
  gap: 0.9rem;
}

.snd-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(34, 82, 112, 0.1);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f3f9fb 100%);
  box-shadow: var(--shadow-soft);
}

.snd-head span {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.snd-head h3 {
  margin-bottom: 0.35rem;
}

.snd-head p {
  max-width: 680px;
  margin: 0;
  color: #60798f;
  font-size: 0.9rem;
}

.snd-timeframes {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.3rem;
  background: #eaf2f6;
}

.snd-timeframes button {
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.68rem;
  background: transparent;
  color: #38576f;
  font-weight: 900;
  cursor: pointer;
}

.snd-timeframes button.active {
  background: #0d1f30;
  color: #fff;
}

.snd-context-strip {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.snd-context-strip span {
  border: 1px solid rgba(34, 82, 112, 0.1);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  background: rgba(255, 255, 255, 0.78);
  color: #466277;
  font-size: 0.78rem;
  font-weight: 800;
}

.snd-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.snd-zone-card,
.snd-empty-card {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(34, 82, 112, 0.1);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.snd-zone-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
}

.snd-demand-card::before {
  background: linear-gradient(180deg, #49c883, #0f7a46);
}

.snd-supply-card::before {
  background: linear-gradient(180deg, #ff887c, #b8322a);
}

.snd-zone-card-head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.snd-zone-card-head span {
  color: #60798f;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.snd-zone-card-head strong {
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

.snd-zone-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.snd-badge {
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  background: #edf3f7;
  color: #38576f;
  font-size: 0.72rem;
  font-weight: 900;
}

.snd-badge.is-positive {
  background: #edfdf5;
  color: #0f7a46;
}

.snd-badge.is-warning {
  background: #fff4e5;
  color: #a45b10;
}

.snd-badge.is-active {
  background: #edf6ff;
  color: #1764a7;
}

.snd-zone-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0;
}

.snd-zone-details div {
  border-radius: 12px;
  padding: 0.62rem;
  background: #f7fbff;
}

.snd-zone-details dt {
  color: #6b8498;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.snd-zone-details dd {
  margin: 0.2rem 0 0;
  color: #12324a;
  font-weight: 900;
}

.snd-strength-meter {
  overflow: hidden;
  height: 0.48rem;
  margin-top: 0.85rem;
  border-radius: 999px;
  background: #e6eef5;
}

.snd-strength-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.snd-zone-empty,
.snd-empty-card p {
  margin: 0;
  color: #60798f;
}

.snd-empty-card {
  grid-column: 1 / -1;
}

.level-briefing {
  margin-top: 0;
}

.level-briefing h4 {
  margin-bottom: 0.4rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.level-briefing p {
  margin: 0;
  color: #5b7286;
  font-size: 0.88rem;
  line-height: 1.55;
}

.level-briefing .briefing-note {
  margin-top: 0.75rem;
}

.level-guide-option {
  display: block;
  margin-top: 0.95rem;
}

.level-guide-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0.9rem;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(7, 25, 45, 0.08);
}

.instrument-empty-state {
  border: 1px dashed rgba(15, 125, 127, 0.28);
  border-radius: 18px;
  padding: 1.2rem;
  background: #f7fcfc;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trust-grid article {
  background: var(--surface);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.broker-section {
  padding-top: 3rem;
}

.broker-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 125, 127, 0.14);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 90% 10%, rgba(14, 164, 99, 0.16) 0%, transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #edf7f8 100%);
  box-shadow: var(--shadow-strong);
}

.broker-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.broker-benefits span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 125, 127, 0.16);
  border-radius: 999px;
  padding: 0.46rem 0.72rem;
  background: rgba(255, 255, 255, 0.72);
  color: #12324a;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(8, 26, 45, 0.05);
}

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

.broker-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  border: 1px solid rgba(15, 125, 127, 0.12);
  border-radius: 20px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.broker-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  background: transparent;
  color: #5a7185;
  font-size: 0.86rem;
  font-weight: 800;
}

.broker-logo-wrap img {
  width: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  border-radius: 0;
}

.problem-solution-grid,
.how-grid,
.pricing-grid,
.guides-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.problem-solution-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.price-card,
.guide-card,
.media-card,
.table-wrap,
.final-cta .container {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.price-card,
.media-card,
.table-wrap,
.final-cta .container {
  padding: 1.2rem;
}

.problem {
  box-shadow: 0 14px 30px rgba(209, 67, 67, 0.12), 0 4px 10px rgba(8, 26, 45, 0.06);
}

.solution {
  box-shadow: 0 14px 30px rgba(14, 164, 99, 0.13), 0 4px 10px rgba(8, 26, 45, 0.06);
}

.how-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.steps {
  list-style: none;
  padding: 0;
}

.steps li {
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.8rem;
  border-left: 4px solid var(--primary);
  background: #f7fbff;
  border-radius: 10px;
}

.media-card img {
  min-height: 360px;
  object-fit: cover;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
}

.price-card .plan {
  font-weight: 700;
  color: #1a3750;
}

.price {
  margin: 0.35rem 0 1rem;
  color: var(--ink);
  font-size: 2rem;
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.price span {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.featured {
  box-shadow: var(--shadow-strong);
  transform: translateY(-6px);
}

.pill {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #ddfbfb;
  color: #0a686a;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem;
  text-align: left;
  color: #1f3f5a;
}

th {
  font-family: "Sora", sans-serif;
}

.compare-table {
  min-width: 920px;
  background: #fff;
}

.compare-table thead th {
  vertical-align: bottom;
  background: #f6fbff;
  border-bottom: 1px solid #c8ddee;
}

.compare-table th.feature-col {
  width: 28%;
}

.compare-table th.cozy-col,
.compare-table td:nth-child(2) {
  background: linear-gradient(180deg, #f2fcf8 0%, #ecf9ff 100%);
}

.col-title {
  display: block;
  font-weight: 800;
  color: #113550;
}

.col-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a6d86;
}

.feature-name {
  font-weight: 700;
  color: #183a56;
}

.compare-table tbody tr:hover td {
  background: #f8fcff;
}

.compare-table tbody tr:hover td:nth-child(2) {
  background: linear-gradient(180deg, #e9fbf4 0%, #e4f5ff 100%);
}

.indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #1f3f5a;
  white-space: nowrap;
}

.icon-badge {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.indicator.yes .icon-badge {
  background: #d9f9e8;
  color: #0a8e52;
}

.indicator.partial .icon-badge {
  background: #fff1d8;
  color: #ac6f00;
}

.indicator.no .icon-badge {
  background: #ffe1e1;
  color: #c43636;
}

.table-note {
  margin-top: 0.85rem;
  font-size: 0.84rem;
  color: #567086;
}

.setup-cta-section {
  grid-column: 1 / -1;
  padding: 0.75rem 0 1.25rem;
}

.setup-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 249, 249, 0.96)),
    #fff;
  box-shadow: 0 18px 38px rgba(8, 26, 45, 0.08);
}

.setup-cta-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  letter-spacing: 0;
}

.setup-cta-panel .eyebrow {
  margin-bottom: 0.35rem;
}

.setup-cta-panel .btn {
  flex: 0 0 auto;
  min-width: 132px;
}

.guides-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  overflow: hidden;
}

.guide-card img {
  border-radius: 0;
  min-height: 170px;
  object-fit: cover;
}

.guide-card div {
  padding: 1rem;
}

.center {
  margin-top: 1.5rem;
  text-align: center;
}

.cta-row.center {
  justify-content: center;
  align-items: center;
}

.blog-center-spacer {
  margin-top: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1rem;
  box-shadow: var(--shadow-soft);
}

summary {
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin-top: 0.6rem;
}

.final-cta .container {
  text-align: center;
  padding: 2.2rem 1.2rem;
  background: linear-gradient(135deg, #eefcfc, #f4fff8);
}

.site-footer {
  background: #0d1f30;
  color: #d6e5f4;
  padding-top: 3rem;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.8fr 1.2fr;
  padding-bottom: 1.2rem;
}

.site-footer h4,
.site-footer .brand {
  color: #fff;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: #b8ccdf;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.disclaimer {
  font-size: 0.87rem;
  line-height: 1.5;
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.1rem;
}

.sticky-cta {
  display: none;
}

.telegram-live-chat {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.telegram-live-chat a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background-color: #01a5e2;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(1, 165, 226, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.telegram-live-chat a:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(1, 165, 226, 0.42);
}

.telegram-live-chat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
}

.telegram-live-chat__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.telegram-live-chat__bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: min(250px, calc(100vw - 6.5rem));
  padding: 0.95rem 2.35rem 0.95rem 1rem;
  border-radius: 18px;
  background: #ffffff;
  color: #14213d;
  font-family: "Sora", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
}

.telegram-live-chat.is-tooltip-hidden .telegram-live-chat__bubble {
  display: none;
}

.telegram-live-chat__close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border: 0;
  border-radius: 999px;
  background: #eef5f8;
  color: #587386;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.telegram-live-chat__close:hover {
  background: #dbeaf1;
  color: #14213d;
}

.telegram-live-chat__bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 16px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  transform: rotate(45deg);
  box-shadow: 8px -8px 18px rgba(15, 23, 42, 0.04);
}

.telegram-live-chat::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid #01a5e2;
  animation: telegramPulse 2.4s ease-out infinite;
  z-index: -1;
}

@keyframes telegramPulse {
  0% {
    opacity: 0.65;
    transform: scale(1);
  }
  80%,
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .hero-grid,
  .how-grid,
  .pricing-grid,
  .guides-grid,
  .broker-grid,
  .instrument-metrics,
  .instrument-bias-grid,
  .instrument-level-grid,
  .snd-zone-grid,
  .footer-grid,
  .problem-solution-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .instrument-tabs-row {
    align-items: stretch;
    flex-direction: column;
  }

  .instrument-select-wrap {
    width: min(220px, 100%);
    flex-basis: auto;
  }

  .featured {
    transform: none;
  }

  .topbar .btn {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

  .hero-visual > img,
  .media-card img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .site-brand-logo {
    height: 36px;
    max-width: 150px;
  }

  .section {
    padding: 2.75rem 0;
  }

  .instrument-tool-section {
    padding-top: 0.65rem;
  }

  .hero {
    padding-top: 6.2rem;
  }

  .home-hero {
    padding-bottom: 0;
  }

  .home-hero-copy {
    padding-bottom: 0.25rem;
  }

  .setup-cta-section {
    padding: 1rem 0 0.5rem;
  }

  .setup-cta-panel {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .setup-cta-panel .btn {
    width: 100%;
    min-width: 0;
  }

  .coinlib-ticker {
    margin-top: 1.15rem;
  }

  .header-coinlib-ticker {
    margin: 0;
  }

  .instrument-dashboard {
    padding-top: 0.9rem;
  }

  .instrument-tabs-row {
    align-items: end;
    flex-direction: row;
    gap: 0.55rem;
  }

  .instrument-status-row {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .instrument-status-row .market-status-badge {
    flex: 0 1 auto;
    white-space: nowrap;
  }

  .instrument-tabs {
    min-width: 0;
    flex: 1 1 auto;
    gap: 0.35rem;
  }

  .instrument-tabs button {
    padding: 0.48rem 0.62rem;
    font-size: 0.78rem;
  }

  .instrument-select-wrap {
    width: clamp(112px, 36vw, 150px);
    flex: 0 0 clamp(112px, 36vw, 150px);
    font-size: 0.68rem;
  }

  .instrument-select-wrap select {
    padding: 0.48rem 0.58rem;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .pressure-card-head {
    gap: 0.4rem;
  }

  .pressure-timeframes {
    gap: 0.12rem;
    padding: 0.12rem;
  }

  .pressure-timeframes button {
    padding: 0.22rem 0.32rem;
    font-size: 0.62rem;
  }

  .snd-head {
    align-items: stretch;
    flex-direction: column;
    padding: 0.85rem;
  }

  .snd-timeframes {
    justify-content: space-between;
    width: 100%;
    border-radius: 14px;
  }

  .snd-timeframes button {
    flex: 1 1 0;
    padding: 0.44rem 0.38rem;
    font-size: 0.78rem;
  }

  .snd-zone-grid,
  .snd-zone-details {
    grid-template-columns: 1fr;
  }

  .snd-zone-card,
  .snd-empty-card {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .table-wrap {
    overflow: visible;
    box-shadow: none;
    background: transparent;
    padding: 0;
  }

  .compare-table {
    min-width: 100%;
    background: transparent;
  }

  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    border: 0;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    margin: 0 0 0.8rem;
    padding: 0.9rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .compare-table td {
    border-bottom: 0;
    padding: 0.5rem 0;
  }

  .compare-table td:first-child {
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    padding-bottom: 0.7rem;
    margin-bottom: 0.4rem;
    border-bottom: 1px solid rgba(34, 82, 112, 0.12);
  }

  .compare-table td:not(:first-child) {
    position: relative;
    padding-left: 8.9rem;
    min-height: 2rem;
  }

  .compare-table td:nth-child(2)::before,
  .compare-table td:nth-child(3)::before,
  .compare-table td:nth-child(4)::before {
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #4a6d86;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .compare-table td:nth-child(2)::before {
    content: "COZY AI";
  }

  .compare-table td:nth-child(3)::before {
    content: "Regular";
  }

  .compare-table td:nth-child(4)::before {
    content: "AI Bots";
  }

  .indicator {
    white-space: normal;
  }

  .broker-benefits {
    display: grid;
    grid-template-columns: 1fr;
  }

  .broker-benefits span {
    width: 100%;
  }

  .sticky-cta {
    position: fixed;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.75rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    color: #fff;
    font-weight: 700;
    padding: 0.8rem 1rem;
    box-shadow: 0 14px 32px rgba(9, 72, 74, 0.35);
    z-index: 45;
  }

  .telegram-live-chat {
    right: 0.9rem;
    bottom: 5.35rem;
    gap: 0.55rem;
  }

  .telegram-live-chat a,
  .telegram-live-chat__icon {
    width: 52px;
    height: 52px;
  }

  .telegram-live-chat::before {
    width: 52px;
    height: 52px;
  }

  .telegram-live-chat__bubble {
    max-width: min(220px, calc(100vw - 5.8rem));
    padding: 0.68rem 0.82rem;
    border-radius: 15px;
    font-size: 0.76rem;
  }

  body {
    padding-bottom: 4.5rem;
  }
}

/* Trading Room landing page */
.trading-room-page {
  overflow: hidden;
}

.trading-room-hero {
  position: relative;
  min-height: 680px;
  padding-top: clamp(5.8rem, 8vw, 7.2rem);
  background:
    radial-gradient(circle at 14% 22%, rgba(15, 125, 127, 0.12) 0%, transparent 33%),
    radial-gradient(circle at 82% 8%, rgba(14, 164, 99, 0.14) 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 64%, #eef5fb 100%);
}

.trading-room-hero::after {
  content: none;
}

.trading-room-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.54fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.trading-room-hero h1 {
  max-width: 18ch;
  letter-spacing: -0.055em;
}

.trading-room-hero .lead {
  max-width: 62ch;
}

.trading-room-hero-copy {
  max-width: 860px;
}

.trading-room-hero-aside {
  align-self: center;
  display: block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.trading-room-hero-image {
  width: 100%;
  max-height: min(72vh, 680px);
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  filter: drop-shadow(0 24px 34px rgba(8, 26, 45, 0.14));
}

.trading-room-actions .btn {
  padding: 0.85rem 1.18rem;
}

.trading-room-proof {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.trading-room-proof span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  background: rgba(255, 255, 255, 0.78);
  color: #1b405c;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.trading-room-proof span::before {
  content: "";
  width: 0.44rem;
  height: 0.44rem;
  margin-right: 0.46rem;
  border-radius: 999px;
  background: var(--accent);
}

.trading-room-hero-card {
  border-radius: 28px;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(14px);
}

.room-card-header {
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  margin-bottom: 1rem;
  color: #244a66;
  font-weight: 800;
}

.room-status-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(14, 164, 99, 0.12);
}

.room-mini-chart {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  height: 250px;
  padding: 1.2rem;
  border-radius: 22px;
  background:
    linear-gradient(90deg, transparent 0 24%, rgba(18, 51, 75, 0.05) 24% 25%, transparent 25% 49%, rgba(18, 51, 75, 0.05) 49% 50%, transparent 50% 74%, rgba(18, 51, 75, 0.05) 74% 75%, transparent 75%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.room-mini-chart span {
  flex: 1 1 0;
  min-width: 18px;
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, #12a37c, #087b72);
  box-shadow: 0 10px 22px rgba(8, 123, 114, 0.16);
}

.room-mini-chart span.down {
  background: linear-gradient(180deg, #ff6b6b, #d83f3f);
  box-shadow: 0 10px 22px rgba(216, 63, 63, 0.14);
}

.room-bias-card {
  margin-top: 1rem;
  border-radius: 20px;
  padding: 1.05rem;
  background: #0d1f30;
}

.room-bias-card span {
  display: block;
  color: #8aa6bb;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-bias-card strong {
  display: block;
  margin-top: 0.3rem;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.room-bias-card p {
  margin-top: 0.42rem;
  margin-bottom: 0;
  color: #b6c7d5;
}

.trading-room-preview-section {
  position: relative;
  z-index: 2;
  padding-top: clamp(4.2rem, 7vw, 6rem);
  background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 54%, #f3f7fb 100%);
}

.trading-room-preview {
  margin: 0;
  border-radius: 30px;
  padding: clamp(0.55rem, 1.8vw, 1rem);
  background: #ffffff;
  box-shadow: 0 24px 58px rgba(8, 26, 45, 0.16);
}

.trading-room-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(34, 82, 112, 0.08);
}

.trading-room-preview figcaption {
  padding: 0.9rem 0.45rem 0.25rem;
  color: #557188;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.room-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.room-feature-card,
.room-workflow article,
.room-conversion-panel,
.room-price-box {
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.room-feature-card {
  padding: 1.2rem;
}

.room-feature-card span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: #e7f7f3;
  color: var(--primary-deep);
  font-weight: 900;
}

.room-feature-card h3,
.room-workflow h3 {
  font-size: 1.02rem;
}

.trading-room-how {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.room-workflow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.room-workflow article {
  padding: 1.15rem;
}

.room-workflow strong {
  display: inline-grid;
  place-items: center;
  width: 2.05rem;
  height: 2.05rem;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  background: #0d1f30;
  color: #fff;
}

.room-conversion-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 1.3rem;
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.2rem);
}

.room-price-box {
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #eefaf6 100%);
}

.room-price-box span {
  color: #5b7489;
  font-weight: 800;
}

.room-price-box strong {
  display: block;
  margin: 0.15rem 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.room-price-box .btn {
  width: 100%;
  margin-top: 0.45rem;
}

@media (max-width: 1020px) {
  .trading-room-hero {
    min-height: auto;
    padding-top: 7.6rem;
  }

  .trading-room-hero-grid,
  .trading-room-how,
  .room-conversion-panel {
    grid-template-columns: 1fr;
  }

  .trading-room-hero-aside {
    align-content: start;
  }

  .room-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trading-room-preview-section {
    padding-top: 3.4rem;
  }
}

@media (max-width: 680px) {
  .trading-room-hero {
    padding-top: 5.4rem;
  }

  .trading-room-hero h1 {
    max-width: 100%;
  }

  .trading-room-actions,
  .trading-room-actions .btn,
  .trading-room-proof span {
    width: 100%;
  }

  .trading-room-actions .btn {
    min-height: 3.15rem;
  }

  .trading-room-proof {
    gap: 0.5rem;
  }

  .trading-room-hero-card {
    border-radius: 22px;
  }

  .room-mini-chart {
    height: 180px;
    gap: 0.32rem;
    padding: 0.9rem;
  }

  .room-mini-chart span {
    min-width: 10px;
  }

  .trading-room-preview {
    width: calc(100vw - 1.25rem);
    margin-left: calc(50% - 50vw + 0.625rem);
    border-radius: 20px;
    padding: 0.38rem;
  }

  .trading-room-preview img {
    border-radius: 16px;
  }

  .trading-room-preview figcaption {
    padding: 0.75rem 0.6rem 0.25rem;
    font-size: 0.78rem;
  }

  .room-feature-grid,
  .room-workflow {
    grid-template-columns: 1fr;
  }

  .room-feature-card,
  .room-workflow article,
  .room-conversion-panel,
  .room-price-box {
    border-radius: 18px;
  }
}
