/* about.css */
.solar-system {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .solar-system { height: 400px; transform: scale(0.8); }
}

.solar-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), var(--accent-bright));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  box-shadow: 0 0 40px rgba(26, 140, 255, 0.7);
  z-index: 10;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed var(--border-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: spin linear infinite;
}

.orbit-inner {
  width: 190px;
  height: 190px;
  animation-duration: 10s;
}

.orbit-mid {
  width: 270px;
  height: 270px;
  animation-duration: 16s;
}

.orbit-outer {
  width: 340px;
  height: 340px;
  animation-duration: 22s;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.planet {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-primary);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px var(--accent-glow);
}

.planet i {
  color: var(--accent);
}

.three-nodes {
  padding: var(--section-py) 0;
  background: var(--bg-secondary);
  position: relative; overflow: hidden;
}
.three-nodes::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(26,140,255,0.05) 0%, transparent 70%);
}
.nodes-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 64px 0;
}

.nodes-orbit-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  animation: orbitSpin 12s linear infinite;
}

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

/* SVG lines sit behind everything */
.nodes-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.node-line {
  stroke: var(--accent);
  stroke-width: 2px;
  opacity: 0.35;
  filter: drop-shadow(0 0 6px var(--accent));
}

.signal-dot {
  fill: var(--accent-bright);
  filter: drop-shadow(0 0 6px var(--accent-bright)) drop-shadow(0 0 12px var(--accent));
}

/* Triangle layout — top, bottom-left, bottom-right */
.nodes-triangle {
  position: absolute;
  inset: 0;
}

.node-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* counter-rotate so labels stay upright while wrapper spins */
  animation: orbitCounterSpin 12s linear infinite;
}

@keyframes orbitCounterSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Top node */
.node-item:nth-child(1) { top: 6%; left: 50%; }
/* Bottom-left node */
.node-item:nth-child(2) { top: 78%; left: 14%; }
/* Bottom-right node */
.node-item:nth-child(3) { top: 78%; left: 86%; }

.node-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(26,140,255,0.1);
  transition: box-shadow var(--t-med);
}

.node-item:hover .node-circle {
  box-shadow: 0 0 30px rgba(26,140,255,0.5), 0 0 60px rgba(26,140,255,0.2);
}

.node-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
}

.node-sublabel {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .nodes-orbit-wrapper { width: 280px; height: 280px; }
  .node-circle { width: 58px; height: 58px; font-size: 1.3rem; }
  .node-sublabel { display: none; }
}

.services-detail { padding: var(--section-py) 0; }
.svc-detail-item {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 72px 0; border-bottom: 1px solid var(--border);
}
.svc-detail-item:last-child { border-bottom: none; }
.svc-detail-item:nth-child(even) .svc-text { order: 2; }
.svc-detail-item:nth-child(even) .svc-visual { order: 1; }
.svc-text {}
.svc-icon-lg {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--accent-glow); border: 1px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
}
.svc-text h3 {
  font-family: var(--font-display); font-size: 1.8rem;
  font-weight: 700; margin-bottom: 16px; letter-spacing: -0.02em;
}
.svc-text p {
  font-size: 1rem; color: var(--text-secondary); line-height: 1.8;
  margin-bottom: 16px;
}
.svc-features {
  display: flex; flex-direction: column; gap: 8px; margin-top: 20px;
}
.svc-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--text-secondary);
}
.svc-feature::before {
  content: ''; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.svc-visual {
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 40px; min-height: 260px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.svc-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 60%);
}
.svc-visual .big-icon {
  font-size: 5rem; position: relative; z-index: 1;
  filter: drop-shadow(0 0 30px rgba(26,140,255,0.4));
}
@media (max-width: 768px) {
  .svc-detail-item { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail-item:nth-child(even) .svc-text,
  .svc-detail-item:nth-child(even) .svc-visual { order: unset; }
  .svc-visual { min-height: 180px; }
}
