/* Features Section */
.features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3rem;
  text-align: left;
}

.feature {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature.expanded {
  border-color: var(--accent);
  transform: none;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  user-select: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: background 0.2s, color 0.2s;
}

.feature.expanded .feature-icon {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-header-text {
  flex: 1;
}

.feature-title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.feature-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.feature-toggle {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.2s;
}

.feature.expanded .feature-toggle {
  transform: rotate(180deg);
  color: var(--accent);
}

.feature-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.feature.expanded .feature-content {
  max-height: 500px;
}

.feature-content-inner {
  padding: 0 1.25rem 1.25rem 1.25rem;
  padding-left: calc(1.25rem + 40px + 1rem);
}

.feature-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.feature-content p:last-child {
  margin-bottom: 0;
}

.feature-content strong {
  color: var(--text-primary);
  font-weight: 500;
}
