:root {
  --bg: #f6f9ff;
  --bg-deep: #06152d;
  --panel: #ffffff;
  --panel-soft: #eef6ff;
  --panel-glass: rgba(255, 255, 255, 0.78);
  --ink: #0d1728;
  --muted: #637188;
  --line: #dce7f5;
  --line-strong: #b9d0ea;
  --accent: #1267e8;
  --accent-strong: #0a3d89;
  --accent-soft: #e2efff;
  --accent-cyan: #20d6ff;
  --accent-glow: rgba(32, 214, 255, 0.34);
  --warning: #8a6400;
  --warning-soft: #fff4cc;
  --shadow: 0 24px 70px rgba(13, 33, 62, 0.1);
  --shadow-soft: 0 12px 34px rgba(13, 33, 62, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% -8%, rgba(32, 214, 255, 0.2), transparent 30%),
    radial-gradient(circle at 84% 4%, rgba(18, 103, 232, 0.16), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 42%, #eef5ff 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 61, 137, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 61, 137, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(32, 214, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #081c3a 0%, #06152d 100%);
  border-right: 1px solid rgba(185, 208, 234, 0.2);
  box-shadow: 18px 0 60px rgba(6, 21, 45, 0.12);
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: auto -80px 8% 36px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 214, 255, 0.18), transparent 68%);
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 0;
  filter: drop-shadow(0 10px 18px rgba(32, 214, 255, 0.18));
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand-li {
  background: linear-gradient(135deg, #ffffff 0%, #9beeff 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-plus {
  margin: 0 1px 0 2px;
  color: #20d6ff;
  font-size: 0.88em;
  font-weight: 900;
  text-shadow: 0 0 16px rgba(32, 214, 255, 0.58);
  transform: translateY(-0.14em);
}

.brand-atlas {
  margin-left: 3px;
  color: rgba(236, 248, 255, 0.96);
  font-weight: 740;
  letter-spacing: 0.035em;
}

.brand-subtitle {
  margin-top: 2px;
  color: rgba(224, 240, 255, 0.74);
  font-size: 13px;
}

.brand-slogan {
  max-width: 205px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid rgba(224, 240, 255, 0.14);
  color: rgba(125, 234, 255, 0.86);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.nav-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.nav-item {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  color: rgba(224, 240, 255, 0.7);
  text-align: left;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.nav-item:hover,
.nav-item.active {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(32, 214, 255, 0.34);
  color: #ffffff;
}

.sidebar-note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.note-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #7deaff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-note p {
  margin: 0;
  color: rgba(224, 240, 255, 0.76);
  font-size: 13px;
  line-height: 1.55;
}

.workspace {
  min-width: 0;
  padding: 28px 32px 42px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin: -8px -6px 24px;
  padding: 12px 12px 14px;
  border: 1px solid rgba(220, 231, 245, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.topbar h1 {
  max-width: 860px;
  margin: 4px 0 0;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: 0;
}

.topbar-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(185, 208, 234, 0.74);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.sidebar-language {
  position: relative;
  z-index: 1;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.lang-button {
  flex: 1;
  min-width: 54px;
  min-height: 34px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

.lang-button.active {
  background: linear-gradient(135deg, var(--accent), #0ba6ff);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(18, 103, 232, 0.22);
}

.sidebar-language .lang-button {
  color: rgba(224, 240, 255, 0.72);
}

.sidebar-language .lang-button.active {
  color: #ffffff;
}

.access-preview-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 4px 5px 4px 10px;
  border: 1px solid rgba(13, 99, 232, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(13, 99, 232, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.access-preview-control select {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  outline: none;
}

.access-preview-control[data-plan="pro"] select,
.access-preview-control[data-plan="team"] select {
  background: linear-gradient(135deg, rgba(13, 99, 232, 0.16), rgba(32, 214, 255, 0.2));
}

.access-preview-control.is-hidden {
  display: none;
}

.account-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.account-actions.is-hidden {
  display: none;
}

.eyebrow,
.panel-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-button,
.ghost-button {
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary-button {
  background: linear-gradient(135deg, #0d5fe8 0%, #16a3ff 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(18, 103, 232, 0.24);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0849ba 0%, #0d8ee8 100%);
  box-shadow: 0 18px 36px rgba(18, 103, 232, 0.3);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-strong);
}

.ghost-button:hover {
  transform: translateY(-1px);
  border-color: var(--accent-strong);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.full-width {
  width: 100%;
}

.view {
  display: none;
}

.active-view {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.hero-panel,
.section-block,
.cta-panel,
.pricing-card,
.results-panel,
.estimator-form,
.rfq-form,
.rfq-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 32px;
}

.image-hero {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(5, 19, 43, 0.96) 0%, rgba(7, 28, 61, 0.9) 48%, rgba(5, 21, 47, 0.34) 100%),
    url("./assets/home-hero-factory.webp") center / cover no-repeat;
  border-color: rgba(63, 147, 255, 0.34);
  box-shadow: 0 30px 90px rgba(6, 21, 45, 0.24);
}

.image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(125, 234, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 234, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), transparent 78%);
}

.image-hero::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 214, 255, 0.32), rgba(22, 103, 217, 0));
  animation: pulseGlow 4.8s ease-in-out infinite;
}

.image-hero > * {
  position: relative;
  z-index: 1;
}

.hero-panel h2 {
  max-width: 860px;
  margin: 10px 0 12px;
  color: #ffffff;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-panel p {
  max-width: 760px;
  color: rgba(224, 240, 255, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.hero-panel .panel-kicker {
  color: #7deaff;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-proof span {
  padding: 7px 10px;
  border: 1px solid rgba(125, 234, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(224, 247, 255, 0.9);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.metric-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(63, 147, 255, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 10%, rgba(32, 214, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #0b2345, #07182f);
  box-shadow: 0 24px 70px rgba(6, 21, 45, 0.2);
}

.metric-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 234, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 234, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.metric-card {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(125, 234, 255, 0.36);
  background: rgba(255, 255, 255, 0.11);
}

.metric-value {
  color: #ffffff;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 0;
}

.metric-label {
  color: rgba(224, 240, 255, 0.72);
  line-height: 1.4;
}

.workflow-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.workflow-card {
  padding: 18px;
  border: 1px solid rgba(220, 231, 245, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.workflow-card:hover {
  transform: translateY(-2px);
  border-color: #9dc9ff;
  box-shadow: 0 20px 42px rgba(13, 33, 62, 0.12);
}

.workflow-index {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

.workflow-card h3 {
  margin: 10px 0 8px;
}

.workflow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.96);
  }

  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.news-section {
  margin: 18px 0;
  padding: 22px;
  border: 1px solid rgba(220, 231, 245, 0.9);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(32, 214, 255, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.news-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.news-date {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(13, 99, 232, 0.22);
  border-radius: 999px;
  background: rgba(13, 99, 232, 0.09);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

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

.news-visual {
  position: relative;
  height: 300px;
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid rgba(13, 99, 232, 0.14);
  border-radius: 8px;
  background: var(--panel-soft);
  box-shadow: inset 0 -80px 80px rgba(6, 21, 45, 0.14);
}

.news-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 45, 0) 48%, rgba(6, 21, 45, 0.28) 100%),
    radial-gradient(circle at 18% 20%, rgba(32, 214, 255, 0.18), transparent 32%);
  pointer-events: none;
}

.news-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowPan 14s ease-in-out infinite alternate;
}

.news-card {
  display: grid;
  gap: 10px;
  min-height: 260px;
  padding: 15px;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 28px rgba(13, 33, 62, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 103, 232, 0.28);
  box-shadow: 0 18px 42px rgba(13, 33, 62, 0.12);
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-meta span {
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
}

.news-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.news-why {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.news-actions {
  display: grid;
  gap: 8px;
  align-self: end;
}

.news-actions .small-button {
  width: 100%;
  border-color: rgba(13, 99, 232, 0.24);
  background: rgba(13, 99, 232, 0.07);
  color: var(--accent-strong);
  text-align: left;
}

.news-actions a {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.visual-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
  margin: 20px 0;
}

.visual-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 245, 0.88);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.visual-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 64px rgba(6, 21, 45, 0.16);
}

.visual-card.large {
  min-height: 390px;
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(32, 214, 255, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(6, 25, 53, 0) 36%, rgba(6, 25, 53, 0.72) 100%);
}

.visual-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  color: #ffffff;
}

.visual-card span {
  display: block;
  margin-bottom: 6px;
  color: #d9f4ff;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.visual-card strong {
  display: block;
  max-width: 520px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.12;
}

.path-section {
  margin: 20px 0;
  padding: 26px;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0%, rgba(32, 214, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.path-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 230px;
  padding: 18px;
  border: 1px solid rgba(13, 99, 232, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9));
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.path-card:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 99, 232, 0.42);
  box-shadow: 0 18px 44px rgba(11, 42, 74, 0.12);
}

.path-card > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

.path-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.18;
}

.path-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.path-card button {
  width: fit-content;
  margin-top: auto;
}

.learning-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(63, 147, 255, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 10%, rgba(32, 214, 255, 0.22), transparent 30%),
    linear-gradient(135deg, #081c3a 0%, #0b2a55 48%, #06152d 100%);
  box-shadow: 0 28px 80px rgba(6, 21, 45, 0.22);
}

.learning-hero h2 {
  max-width: 860px;
  margin: 10px 0 12px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.07;
}

.learning-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(224, 240, 255, 0.78);
  line-height: 1.7;
}

.learning-hero .eyebrow {
  color: #7deaff;
}

.learning-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.learning-badges span {
  padding: 7px 10px;
  border: 1px solid rgba(125, 234, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(224, 247, 255, 0.9);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(14px);
}

.learning-map {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: stretch;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px);
}

.map-node {
  padding: 14px 16px;
  border: 1px solid rgba(125, 234, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(224, 240, 255, 0.82);
  font-weight: 850;
}

.map-node.active {
  border-color: rgba(125, 234, 255, 0.46);
  background: linear-gradient(135deg, rgba(18, 103, 232, 0.46), rgba(32, 214, 255, 0.22));
  color: #ffffff;
}

.map-line {
  width: 2px;
  min-height: 18px;
  margin-left: 18px;
  background: linear-gradient(180deg, rgba(125, 234, 255, 0.5), rgba(125, 234, 255, 0.06));
}

.learning-commercial,
.free-learning-kit {
  margin: 20px 0;
  padding: 24px;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(32, 214, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.9));
  box-shadow: var(--shadow-soft);
}

.learning-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.learning-tier-card,
.free-lesson-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(13, 33, 62, 0.07);
}

.learning-tier-card::before,
.free-lesson-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.12), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.learning-tier-card:hover::before,
.free-lesson-card:hover::before {
  opacity: 1;
}

.learning-tier-card > *,
.free-lesson-card > * {
  position: relative;
  z-index: 1;
}

.learning-tier-card.free-tier {
  border-color: rgba(32, 214, 255, 0.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 214, 255, 0.18), transparent 34%),
    #ffffff;
}

.tier-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tier-card-top strong {
  color: var(--ink);
  font-size: 20px;
}

.tier-price {
  color: var(--accent-strong);
  font-size: 24px;
  font-weight: 850;
}

.learning-tier-card p,
.free-lesson-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.learning-tier-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.learning-tier-card button {
  width: fit-content;
  margin-top: auto;
}

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

.free-lesson-card {
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 0.55fr);
  align-items: stretch;
  min-height: 360px;
  padding: 0;
}

.free-video-panel {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 100%;
  padding: 18px;
  background:
    linear-gradient(rgba(125, 234, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 234, 255, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 76% 10%, rgba(32, 214, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #081c3a, #06152d);
  background-size: 32px 32px, 32px 32px, auto, auto;
  color: #ffffff;
}

.free-lesson-animation {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  overflow: hidden;
  border: 1px solid rgba(125, 234, 255, 0.18);
  border-radius: 8px;
  background: #06152d;
  box-shadow: 0 16px 42px rgba(6, 21, 45, 0.2);
}

.free-video-panel span:not(.play-dot) {
  display: block;
  color: #7deaff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.free-video-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  line-height: 1.12;
}

.play-dot {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(125, 234, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 34px rgba(32, 214, 255, 0.2);
}

.play-dot::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #ffffff;
}

.free-lesson-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.lesson-audio {
  width: 100%;
  height: 34px;
}

.free-lesson-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.lesson-script,
.slide-outline {
  display: grid;
  gap: 8px;
}

.lesson-script strong,
.slide-outline strong {
  color: var(--accent-strong);
  font-size: 13px;
}

.lesson-script ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

.slide-outline div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.slide-outline span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(226, 239, 255, 0.78);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 750;
}

.learning-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.learning-roadmap {
  position: sticky;
  top: 110px;
}

.learning-roadmap h3 {
  margin: 8px 0 16px;
  font-size: 24px;
  line-height: 1.16;
}

.learning-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: learning-step;
}

.learning-steps li {
  position: relative;
  padding: 12px 12px 12px 42px;
  border: 1px solid rgba(185, 208, 234, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.learning-steps li::before {
  counter-increment: learning-step;
  content: counter(learning-step);
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.learning-steps strong,
.learning-steps span {
  display: block;
}

.learning-steps span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.lesson-card {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 340px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
  box-shadow: 0 12px 34px rgba(13, 33, 62, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lesson-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.12), transparent 36%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.lesson-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 103, 232, 0.32);
  box-shadow: 0 20px 48px rgba(13, 33, 62, 0.13);
}

.lesson-card:hover::before {
  opacity: 1;
}

.lesson-card > * {
  position: relative;
  z-index: 1;
}

.lesson-card-wide {
  grid-column: 1 / -1;
  min-height: auto;
  border-color: rgba(32, 214, 255, 0.3);
  background:
    radial-gradient(circle at 96% 0%, rgba(32, 214, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff, #f3f9ff);
}

.lesson-index {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(226, 239, 255, 0.78);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
}

.lesson-card h3 {
  margin: 0;
  font-size: 23px;
  line-height: 1.18;
}

.lesson-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.lesson-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.45;
}

@keyframes slowPan {
  from {
    transform: scale(1.02) translateX(-0.6%);
  }

  to {
    transform: scale(1.06) translateX(0.8%);
  }
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 22px;
  align-items: start;
  margin: 18px 0;
  padding: 28px;
  overflow: hidden;
  border-color: rgba(18, 103, 232, 0.18);
  background:
    radial-gradient(circle at 92% 8%, rgba(32, 214, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff, #f4f9ff);
}

.cta-panel h2 {
  margin: 8px 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.cta-panel p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.brief-form {
  padding: 18px;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.brief-output {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.pricing-section {
  margin: 18px 0;
}

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

.pricing-card {
  position: relative;
  padding: 20px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.1), transparent 38%);
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.pricing-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 103, 232, 0.28);
  box-shadow: 0 22px 54px rgba(13, 33, 62, 0.12);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card.featured {
  border-color: rgba(32, 214, 255, 0.42);
  background:
    radial-gradient(circle at 92% 4%, rgba(32, 214, 255, 0.16), transparent 30%),
    #ffffff;
  box-shadow: 0 24px 62px rgba(22, 103, 217, 0.17);
}

.plan-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.plan-name {
  color: var(--accent-strong);
  font-weight: 850;
}

.plan-price {
  margin: 10px 0;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: 0;
}

.plan-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.pricing-card p {
  min-height: 66px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.45;
}

.service-entry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.service-entry-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 252px;
  padding: 20px;
  border: 1px solid rgba(185, 208, 234, 0.7);
  border-radius: 8px;
  background:
    radial-gradient(circle at 96% 0%, rgba(32, 214, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.92));
  box-shadow: 0 18px 46px rgba(13, 33, 62, 0.08);
}

.service-entry-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
}

.service-entry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feedback-form {
  display: grid;
  gap: 8px;
}

.feedback-form textarea {
  min-height: 88px;
  resize: vertical;
}

.feedback-output {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(13, 99, 232, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.section-block {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 6px 0 6px;
  font-size: 26px;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.assumption-list {
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.assumption-list strong {
  color: var(--ink);
}

.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-tags span,
.tag,
.readiness,
.confidence-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(226, 239, 255, 0.78);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
}

.estimator-layout,
.rfq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 18px;
}

.rfq-layout {
  grid-template-columns: minmax(360px, 500px) minmax(0, 1fr);
  align-items: start;
}

.estimator-form,
.rfq-form,
.rfq-preview,
.results-panel {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(185, 208, 234, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 11px 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(32, 214, 255, 0.18);
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(18, 103, 232, 0.12);
}

.field-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.input-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 246, 255, 0.86), rgba(255, 255, 255, 0.72));
}

.model-internal {
  display: none !important;
}

.input-group-title {
  grid-column: 1 / -1;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
}

.result-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.result-header h3 {
  margin: 4px 0 0;
  font-size: 22px;
}

.capex-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.capex-band div {
  padding: 16px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(226, 239, 255, 0.86), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(185, 208, 234, 0.68);
}

.capex-band span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.capex-band strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 32px);
}

.breakdown {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.breakdown-row {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef8;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
}

.model-notes {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(13, 99, 232, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(13, 99, 232, 0.06), rgba(32, 214, 255, 0.07));
  color: var(--muted);
  line-height: 1.5;
}

.supplier-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 190px;
  gap: 12px;
  margin-bottom: 12px;
}

.supplier-summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 750;
}

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

.supplier-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 270px;
  padding: 16px;
  border: 1px solid rgba(220, 231, 245, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92));
  box-shadow: 0 10px 28px rgba(13, 33, 62, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.supplier-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.12), transparent 36%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.supplier-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 103, 232, 0.32);
  box-shadow: 0 20px 44px rgba(13, 33, 62, 0.12);
}

.supplier-card:hover::before {
  opacity: 1;
}

.supplier-card > * {
  position: relative;
  z-index: 1;
}

.supplier-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.supplier-official-name {
  font-size: 13px;
  font-weight: 750;
}

.supplier-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.supplier-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.supplier-products {
  display: -webkit-box;
  min-height: 44px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supplier-score-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.supplier-score-row span {
  padding: 4px 7px;
  border: 1px solid rgba(185, 208, 234, 0.74);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(248, 250, 252, 0.82);
}

.access-tag {
  border-color: rgba(13, 99, 232, 0.28);
  background: rgba(13, 99, 232, 0.08);
  color: var(--accent-strong);
}

.locked-supplier-panel {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed rgba(13, 99, 232, 0.26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 214, 255, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), #ffffff);
}

.subscriber-supplier-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(13, 99, 232, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 214, 255, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(245, 250, 255, 0.98), #ffffff);
}

.supplier-detail-list {
  display: grid;
  gap: 8px;
}

.supplier-detail-list div {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(185, 208, 234, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.supplier-detail-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.supplier-detail-list strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.source-link {
  width: fit-content;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.locked-supplier-panel strong {
  color: var(--ink);
  font-size: 14px;
}

.locked-list {
  display: grid;
  gap: 7px;
  margin-top: 2px;
}

.locked-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(13, 99, 232, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.locked-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.locked-list strong {
  white-space: nowrap;
  color: var(--accent-strong);
  font-size: 11px;
}

.lock-badge {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lock-badge.unlocked {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.supplier-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.small-button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(185, 208, 234, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 750;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.small-button:hover {
  transform: translateY(-1px);
  border-color: rgba(18, 103, 232, 0.32);
  box-shadow: 0 10px 22px rgba(13, 33, 62, 0.1);
}

.small-button.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.small-button a {
  color: inherit;
  text-decoration: none;
}

.form-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.form-section-title:not(:first-child) {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.form-section-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.check-option,
.sor-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px;
  border: 1px solid rgba(185, 208, 234, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.check-option:hover,
.sor-option:hover {
  border-color: rgba(18, 103, 232, 0.3);
  background: #ffffff;
}

.check-option input,
.sor-option input {
  width: auto;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.scope-toolbar,
.rfq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rfq-conversion-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rfq-conversion-strip span {
  padding: 8px 11px;
  border: 1px solid rgba(13, 99, 232, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 99, 232, 0.09), rgba(32, 214, 255, 0.08));
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
}

.sor-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 430px;
  padding: 10px;
  overflow: auto;
  border: 1px solid rgba(185, 208, 234, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 246, 255, 0.9), rgba(255, 255, 255, 0.72));
}

.sor-option {
  min-width: 0;
}

.sor-option span:last-child {
  min-width: 0;
}

.sor-option strong,
.sor-option small {
  display: block;
}

.sor-option strong {
  overflow: hidden;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.sor-option small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 600;
}

.sor-number {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 850;
}

.loading-state {
  grid-column: 1 / -1;
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

.rfq-preview {
  position: sticky;
  top: 18px;
  border-color: rgba(18, 103, 232, 0.18);
}

.rfq-actions {
  margin-bottom: 12px;
}

.rfq-access-note {
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(13, 99, 232, 0.22);
  border-radius: 8px;
  background: rgba(13, 99, 232, 0.07);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.55;
}

.locked-action::after {
  content: "Pro";
  margin-left: 8px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sanitization-note {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #ead990;
  border-radius: 8px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 13px;
  line-height: 1.5;
}

.rfq-preview pre {
  min-height: 520px;
  max-height: calc(100vh - 260px);
  margin: 0;
  padding: 18px;
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(125, 234, 255, 0.12);
  background:
    radial-gradient(circle at 90% 0%, rgba(32, 214, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #0c1c34, #071426);
  color: #edf6ff;
  white-space: pre-wrap;
  line-height: 1.6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .nav-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .hero-grid,
  .two-column,
  .visual-showcase,
  .path-grid,
  .service-entry-grid,
  .learning-hero,
  .learning-layout,
  .cta-panel,
  .estimator-layout,
  .rfq-layout {
    grid-template-columns: 1fr;
  }

  .learning-roadmap {
    position: static;
  }

  .supplier-grid,
  .news-grid,
  .learning-modules,
  .learning-tier-grid,
  .free-lesson-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .free-lesson-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .workspace,
  .sidebar {
    padding: 18px;
  }

  .app-shell {
    overflow-x: hidden;
  }

  .sidebar {
    gap: 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .sidebar-note {
    display: none;
  }

  .topbar {
    position: static;
    display: grid;
    margin: 0 0 18px;
    padding: 14px;
  }

  .topbar h1 {
    font-size: 26px;
  }

  .topbar-actions,
  .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .topbar-actions > *,
  .hero-actions > * {
    max-width: 100%;
  }

  .topbar-actions .primary-button,
  .topbar-actions .ghost-button,
  .hero-actions .primary-button,
  .hero-actions .ghost-button {
    width: 100%;
    white-space: normal;
  }

  .news-heading {
    display: grid;
  }

  .workflow-row,
  .news-grid,
  .metric-grid,
  .visual-showcase,
  .path-grid,
  .learning-modules,
  .learning-tier-grid,
  .free-lesson-grid,
  .supplier-tools,
  .supplier-grid,
  .pricing-grid,
  .capex-band {
    grid-template-columns: 1fr;
  }

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

  .learning-hero {
    padding: 22px;
  }

  .learning-hero h2 {
    font-size: 30px;
  }

  .learning-modules,
  .learning-tier-grid,
  .free-lesson-grid,
  .learning-layout {
    grid-template-columns: 1fr;
  }

  .free-lesson-card {
    grid-template-columns: 1fr;
  }

  .free-video-panel {
    min-height: 220px;
  }

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

  .input-group {
    grid-template-columns: 1fr;
  }

  .checkbox-grid,
  .sor-checklist {
    grid-template-columns: 1fr;
  }

  .rfq-preview {
    position: static;
  }
}
