.features-section {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 56px 48px 96px;
}

.features-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.features-header .section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.features-header h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
  color: #ffffff;
  text-wrap: balance;
  margin-bottom: 16px;
}

.features-header p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.features-layout {
  display: flex;
  gap: 24px;
}

.features-tabs {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 260px;
}

.features-content {
  flex: 1;
  position: relative;
}

.feature-panel {
  display: none;
  width: 100%;
  min-height: 320px;
  border-radius: var(--radius-md);
  background-color: var(--surface-950);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.feature-panel.active {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.feature-panel-inner {
  padding: 48px;
  text-align: left;
}

.feature-panel-inner h3 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #ffffff;
}

.feature-panel-inner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 520px;
}

.feature-panel-inner ul {
  text-align: left;
  max-width: 400px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 2;
  list-style: none;
  padding: 0;
}

.feature-panel-inner ul li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--atlas-c-start);
  margin-right: 12px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .features-section {
    padding: 56px 32px 64px;
  }
  .features-layout {
    flex-direction: column;
  }
  .features-tabs {
    flex-direction: row;
    overflow-x: auto;
    min-width: auto;
    gap: 8px;
  }
  .tab-btn {
    white-space: nowrap;
  }
  .features-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 640px) {
  .features-section {
    padding: 40px 12px 48px;
  }
  .features-header h2 {
    font-size: 26px;
  }
  .feature-panel {
    aspect-ratio: auto;
    min-height: 280px;
  }
  .feature-panel-inner {
    padding: 24px;
  }
}