:root {
  --sub-primary: #0F766E;
  --sub-primary-light: #14B8A6;
  --sub-primary-lighter: #5EEAD4;
  --sub-primary-bg: #F0FDFA;
  --sub-primary-bg-deep: #CCFBF1;
  --sub-primary-10: rgba(20, 184, 166, 0.10);
  --sub-primary-15: rgba(20, 184, 166, 0.15);
  --sub-primary-25: rgba(20, 184, 166, 0.25);
}

.sub-hero {
  background: linear-gradient(160deg, #5EEAD4 0%, #14B8A6 40%, #0F766E 80%, #0A5A54 100%);
}

.sub-hero::before {
  background: radial-gradient(ellipse, rgba(20, 184, 166, 0.2) 0%, transparent 60%);
}

.sub-hero::after {
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.07) 0%, transparent 55%);
}

.sub-hero-title .sub-gradient {
  background: linear-gradient(135deg, #fff 0%, #ccfbf1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sub-hero-badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.sub-section-dark .sub-label {
  color: rgba(94, 234, 212, 0.9) !important;
}

.sub-dark-highlight::before {
  background: linear-gradient(180deg, #14B8A6, #0F766E);
}

.sub-dark-highlight-light::before {
  background: linear-gradient(180deg, #14B8A6, #0F766E);
}

.sub-inline-link {
  color: #0F766E;
  border-bottom-color: rgba(255, 107, 44, 0.35);
}

.sub-inline-link:hover {
  color: #0A5A54;
  border-bottom-color: #0A5A54;
}

.sub-inline-link-light {
  color: #ccfbf1;
  border-bottom-color: rgba(255, 224, 204, 0.35);
}

.sub-inline-link-light:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.sub-aside-box {
  border-color: rgba(255, 107, 44, 0.12);
}

.sub-aside-box-icon svg {
  stroke: #0F766E;
}

.sub-closing {
  border-color: rgba(255, 107, 44, 0.12);
}

.sub-match-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sub-border);
  margin-bottom: 16px;
  table-layout: fixed;
}

.sub-match-table thead th {
  background: #1e293b;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 14px;
  text-align: left;
  letter-spacing: 0.02em;
}

.sub-match-table thead th:first-child {
  width: 42%;
}

.sub-match-table tbody td {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--sub-text);
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
  word-wrap: break-word;
}

.sub-match-table tbody tr:last-child td {
  border-bottom: none;
}

.sub-match-table tbody tr:hover {
  background: var(--sub-primary-10);
}

.sub-match-table tbody td:first-child {
  font-weight: 600;
  color: var(--sub-dark);
}

.sub-section-dark .sub-match-table {
  border-color: rgba(255, 255, 255, 0.1);
  background: transparent;
}

.sub-section-dark .sub-match-table thead th {
  background: rgba(255, 255, 255, 0.1);
}

.sub-section-dark .sub-match-table tbody td {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

.sub-section-dark .sub-match-table tbody td:first-child {
  color: #fff;
}

.sub-section-dark .sub-match-table tbody tr:last-child td {
  border-bottom: none;
}

.sub-section-dark .sub-match-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sub-section-warm {
  background: var(--sub-primary-bg);
}

.sub-route-card {
  border-color: rgba(255, 107, 44, 0.12);
}

.sub-route-card:hover {
  border-color: rgba(255, 107, 44, 0.35);
  box-shadow: 0 8px 24px rgba(255, 107, 44, 0.08);
}

.sub-route-card-icon {
  background: var(--sub-primary-10);
}

.sub-route-card-icon svg {
  stroke: #0F766E;
}

.sub-route-card-arrow svg {
  stroke: #0F766E;
}

.sub-route-card-label {
  color: #0F766E;
}

/* ===================== FUNNEL VISUAL ===================== */

.sub-funnel-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sub-funnel-stage {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 14px;
  transition: all 0.3s ease;
}

.sub-funnel-stage:hover {
  transform: translateX(4px);
}

.sub-funnel-tofu {
  background: rgba(255, 107, 44, 0.06);
  border: 1px solid rgba(255, 107, 44, 0.12);
}

.sub-funnel-mofu {
  background: rgba(255, 107, 44, 0.09);
  border: 1px solid rgba(255, 107, 44, 0.16);
  margin-left: 16px;
}

.sub-funnel-bofu {
  background: rgba(255, 107, 44, 0.13);
  border: 1px solid rgba(255, 107, 44, 0.22);
  margin-left: 32px;
}

.sub-funnel-stage-label {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sub-primary);
}

.sub-funnel-stage-desc {
  font-size: 12px;
  color: var(--sub-muted, #64748b);
}

/* ===================== INTERLINK DIAGRAM ===================== */

.sub-interlink {
  position: relative;
  padding: 18px 16px;
  background: var(--sub-dark, #1e293b);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.sub-interlink-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sub-primary-lighter, #5EEAD4);
  margin-bottom: 14px;
  text-align: center;
}

.sub-interlink-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sub-interlink-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 8px;
  width: 100%;
  max-width: 240px;
  transition: all 0.3s ease;
}

.sub-interlink-node:hover {
  transform: scale(1.03);
}

.sub-interlink-node-pillar {
  background: linear-gradient(135deg, var(--sub-primary-light), var(--sub-primary));
  box-shadow: 0 4px 16px rgba(255, 107, 44, 0.3);
}

.sub-interlink-node-support {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-interlink-node-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sub-interlink-node-pillar .sub-interlink-node-dot {
  background: #fff;
}

.sub-interlink-node-support .sub-interlink-node-dot {
  background: var(--sub-primary-lighter, #5EEAD4);
}

.sub-interlink-node-text {
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  flex: 1;
}

.sub-interlink-node-support .sub-interlink-node-text {
  color: rgba(255, 255, 255, 0.7);
}

.sub-interlink-node-tag {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.sub-interlink-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 0;
}

.sub-interlink-arrow-line {
  width: 1px;
  height: 5px;
  background: rgba(255, 176, 136, 0.3);
}

.sub-interlink-arrow svg {
  width: 10px;
  height: 10px;
  color: var(--sub-primary-lighter, #5EEAD4);
  opacity: 0.5;
}

.sub-interlink-return {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  background: rgba(255, 176, 136, 0.06);
  border: 1px dashed rgba(255, 176, 136, 0.2);
  border-radius: 6px;
  width: 100%;
  max-width: 240px;
}

.sub-interlink-return-text {
  font-size: 10px;
  color: rgba(255, 176, 136, 0.6);
  font-weight: 600;
}

.sub-interlink-return svg {
  width: 12px;
  height: 12px;
  color: var(--sub-primary-lighter, #5EEAD4);
  opacity: 0.4;
  flex-shrink: 0;
}

/* ===================== CALLOUT STEPS ===================== */

.sub-callout-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sub-callout-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sub-callout-step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--sub-primary-light, #14B8A6), var(--sub-primary, #0F766E));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ===================== SEO TECH GRID ===================== */

.sub-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sub-seo-item {
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.sub-seo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border-color: rgba(255, 132, 75, 0.2);
}

.sub-seo-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.sub-seo-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 132, 75, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sub-seo-item-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--sub-primary-light, #14B8A6);
  fill: none;
}

.sub-seo-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--sub-dark, #1e293b);
  margin: 0;
}

.sub-seo-item p {
  font-size: 12px;
  line-height: 1.5;
  color: var(--sub-muted, #64748b);
  margin: 0;
}

@media (max-width: 600px) {
  .sub-match-table {
    font-size: 12px;
  }

  .sub-match-table thead th,
  .sub-match-table tbody td {
    padding: 10px 10px;
    font-size: 12px;
  }

  .sub-funnel-mofu { margin-left: 0; }
  .sub-funnel-bofu { margin-left: 0; }
  .sub-seo-grid { grid-template-columns: 1fr; }
}
