.solutions {
  background: var(--surface);
}

.solutions .section__title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--tertiary), var(--primary-container));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 4;
}

.solutions .section__label {
  position: relative;
  z-index: 4;
}

.solutions-detail {
  background: var(--surface-low);
  justify-content: flex-start;
  padding: 5rem 2rem 0 !important;
}

.sol-detail__content {
  width: 100%;
  max-width: 1100px;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sol-detail__group-title {
  font-family: 'Rubik', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.sol-detail__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.sol-detail__card {
  background: var(--surface-container);
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  padding: 1rem;
}

.sol-detail__card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 0.25rem;
}

.sol-detail__card p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

.sol-detail__card em {
  font-style: normal;
  color: var(--tertiary);
  font-weight: 600;
}

/* ── Diagram (tablet+) ── */
.sol-diagram {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 80vh;
  margin: 1rem auto 0;
}

.sol-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--surface-low);
  border: 2px solid rgba(77, 142, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  animation: hubBreathe 6s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(77, 142, 255, .1), inset 0 0 20px rgba(60, 215, 255, .05);
}

.sol-hub::before,
.sol-hub::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid transparent;
}

.sol-hub::before {
  width: 200px; height: 200px;
  margin-top: -100px; margin-left: -100px;
  border-top-color: rgba(60, 215, 255, .4);
  border-right-color: rgba(60, 215, 255, .1);
  animation: orbitalSpin 20s linear infinite;
}

.sol-hub::after {
  width: 270px; height: 270px;
  margin-top: -135px; margin-left: -135px;
  border-top-color: rgba(77, 142, 255, .3);
  animation: orbitalSpin 30s linear infinite reverse;
}


@keyframes orbitalSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}


.sol-hub__label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nodes */
.sol-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 1.25rem;
  background: var(--surface-low);
  border: 1px solid var(--outline-variant);
  border-radius: 8px;
  z-index: 2;
  width: 280px;
  min-height: 180px;
  transition: border-color .3s, box-shadow .3s;
}

.sol-node:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 30px rgba(77, 142, 255, .1);
}

.sol-node__icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 0.5rem; border-radius: 50%; }

.sol-node__label {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-surface);
  letter-spacing: -0.02em;
}

.sol-node__desc {
  font-size: 1rem;
  color: var(--outline);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.sol-node__desc em {
  font-style: normal;
  color: var(--tertiary);
  font-weight: 600;
}

.sol-node__hint {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tertiary);
  opacity: 0;
  margin-top: auto;
  padding-top: 0.5rem;
  transition: opacity .3s;
}

.sol-node:hover .sol-node__hint { opacity: 1; }

.sol-node-0 { top: 3%;  left: 2%; }
.sol-node-1 { top: 3%;  right: 2%; }
.sol-node-2 { bottom: 10%; right: 2%; }
.sol-node-3 { bottom: 10%; left: 2%; }

/* Lines from hub to nodes */
.sol-line {
  position: absolute;
  top: 50%; left: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(77, 142, 255, .3), rgba(60, 215, 255, .05));
  transform-origin: 0 0;
  z-index: 1;
}

.sol-line::after {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 16px; height: 3px;
  border-radius: 2px;
  background: rgba(60, 215, 255, .5);
  animation: linePulse 5s ease-in-out infinite;
}

.sol-line-0 { }
.sol-line-1 { }
.sol-line-2 { }
.sol-line-3 { }

.sol-line-0::after { animation-delay: 0s; }
.sol-line-1::after { animation-delay: 0.75s; }
.sol-line-2::after { animation-delay: 1.5s; }
.sol-line-3::after { animation-delay: 2.25s; }

@keyframes hubBreathe {
  0%, 100% { box-shadow: 0 0 30px rgba(77, 142, 255, .06), 0 0 60px rgba(60, 215, 255, .03); }
  50%      { box-shadow: 0 0 50px rgba(77, 142, 255, .12), 0 0 90px rgba(60, 215, 255, .06); }
}

@keyframes linePulse {
  0%   { left: 0; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: calc(100% - 16px); opacity: 0; }
}

/* ── Mobile tab+panel (mobile only) ── */
.sol-mobile { display: none; width: 100%; margin-top: 1.5rem; flex: 1; display: none; }

.sol-mobile__tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 0.5rem;
}

.sol-mobile__tab {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface-variant);
  border: 1px solid var(--outline-variant);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.sol-mobile__tab img { width: 28px; height: 28px; object-fit: contain; border-radius: 50%; }

.sol-mobile__tab.active {
  border-color: var(--tertiary);
  color: var(--tertiary);
  background: rgba(60, 215, 255, .08);
}

.sol-mobile__panel { display: none; text-align: center; margin-top: 1.5rem; flex-direction: column; align-items: center; justify-content: center; flex: 1; }
.sol-mobile__panel.active { display: flex; }

.sol-mobile__icon { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; margin-bottom: auto; }
.sol-mobile__title { font-size: 1.25rem; font-weight: 700; color: var(--on-surface); margin-bottom: 0.5rem; }
.sol-mobile__desc { font-size: 0.875rem; color: var(--on-surface-variant); line-height: 1.7; padding: 0 1rem; margin-bottom: 1rem; }
.sol-mobile__desc em { font-style: normal; color: var(--tertiary); font-weight: 600; }

.sol-mobile__detail-btn {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tertiary);
  background: rgba(60, 215, 255, .08);
  border: 1px solid rgba(60, 215, 255, .2);
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: background .2s;
}

.sol-mobile__detail-btn:hover { background: rgba(60, 215, 255, .15); }

/* ── Laptop ≤ 1366px ── */
@media (max-width: 1366px) {
  .solutions { justify-content: flex-start; padding-top: 6rem; }
  .sol-hub::before { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .sol-hub::after { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
}

/* ── Tablet ≤ 768px ── */
@media (max-width: 768px) {
  .solutions { justify-content: flex-start; }
  .solutions .section__title { margin-top: auto; margin-bottom: auto; }
  .sol-diagram { margin-top: 0; }
  .sol-node__label { font-size: 0.875rem; }
  .sol-node__desc { font-size: 0.875rem; }
  .sol-hub { width: 90px; height: 90px; }
  .sol-hub__label { font-size: 0.7rem; }
  .sol-hub::before { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
  .sol-hub::after { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
}

.sol-label--mobile { display: none; }

/* ── Mobile ≤ 480px: hide diagram, show grid ── */
@media (max-width: 480px) {
  .sol-label--desktop { display: none; }
  .sol-label--mobile { display: block; }
  .sol-diagram { display: none; }
  .sol-mobile { display: flex; flex-direction: column; flex: 1; }
  .solutions { padding: 6rem 1rem 2rem; justify-content: flex-start; align-items: center; }
  .solutions .section__title { font-size: 1.5rem; margin: 0 0 1rem; }
  .sol-mobile__tab img { display: none; }
  .sol-mobile__icon { width: 180px; height: 180px; margin-top: 3rem; margin-bottom: 4rem; background: radial-gradient(circle, rgba(255,255,255,.18) 0%, transparent 70%); padding: 1.5rem; }
  .sol-mobile__panel { margin-bottom: 2rem; }
}

/* ── Full HD ≥ 1920px ── */
@media (min-width: 1920px) {
  .solutions .section__title { font-size: 3rem; margin-top: 2rem; }
  .solutions { justify-content: flex-start; padding-top: 5rem; padding-bottom: 4rem; }
  .sol-diagram { max-width: 1200px; height: 78vh; margin-top: 1rem; }
  .sol-node { width: 380px; min-height: 160px; padding-top: 1rem; padding-bottom: 1rem; }
  .sol-node__icon { width: 56px; height: 56px; margin-bottom: 0.5rem; }
  .sol-node__label { font-size: 1.25rem; }
  .sol-node__desc { font-size: 1.125rem; margin-top: 0.5rem; }
  .sol-hub { width: 160px; height: 160px; }
  .sol-hub__label { font-size: 1rem; }
  .sol-hub::before { width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .sol-hub::after { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .sol-node-0 { top: 3%;  left: 2%; }
  .sol-node-1 { top: 3%;  right: 2%; }
  .sol-node-2 { bottom: 10%; right: 2%; }
  .sol-node-3 { bottom: 10%; left: 2%; }
}

/* ── Ultrawide ≥ 2560px ── */
@media (min-width: 2560px) {
  .solutions .section__title { font-size: 3.5rem; }
  .solutions { padding-top: 6rem; padding-bottom: 5rem; }
  .sol-diagram { max-width: 1600px; height: 70vh; margin-top: 4rem; }
  .sol-node { width: 450px; min-height: 300px; padding-top: 2rem; padding-bottom: 2rem; }
  .sol-node__icon { width: 96px; height: 96px; margin-bottom: 1rem; }
  .sol-node__label { font-size: 1.5rem; }
  .sol-node__desc { font-size: 1.25rem; line-height: 1.7; margin-top: 0.5rem; }
  .sol-hub { width: 180px; height: 180px; }
  .sol-hub__label { font-size: 1.125rem; }
  .sol-hub::before { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  .sol-hub::after { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
  .sol-node-0 { top: 3%;  left: 2%; }
  .sol-node-1 { top: 3%;  right: 2%; }
  .sol-node-2 { bottom: 10%; right: 2%; }
  .sol-node-3 { bottom: 10%; left: 2%; }
}
