:root {
  --primary-color: #764DF0;
  --primary-color-rgb: 118, 77, 240;
  --secondary-color: #442490;
  --secondary-color-rgb: 68, 36, 144;
}

.dark-scheme .accordion-section-title::before, .text-light .accordion-section-title::before {
    content: "";
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" id="Outline" viewBox="0 0 24 24" width="25" height="25"><path fill="%23FFFFFF" d="M18.71,8.21a1,1,0,0,0-1.42,0l-4.58,4.58a1,1,0,0,1-1.42,0L6.71,8.21a1,1,0,0,0-1.42,0,1,1,0,0,0,0,1.41l4.59,4.59a3,3,0,0,0,4.24,0l4.59-4.59A1,1,0,0,0,18.71,8.21Z"/></svg>');
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.accordion-section-title.active::before {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  #section-hero h1 span.accent {
      font-size: 10vw;
  }
}
.ico-white {
  filter: invert(1);
  margin-right: 10px;
}

.robot-container {
  position: relative;
  width: 300px; /* настройте под себя */
}
.robot-head-wrapper {
  position: absolute;
  top: 10%; /* примерное положение головы */
  transition: transform 0.1s ease-out;
  will-change: transform;
}
.eye {
  position: absolute;
  background: radial-gradient(circle, #00f2ff, #0044ff);
  border-radius: 50%;
  width: 20px; height: 20px;
}

.form-control {
  background-color: #3b2678;
}
.form-control:focus {
  background-color: #9479e4;
}
.modal .btn-close {
  background-color: #444a7e;
}
textarea.form-control {
  height: 185px;
}

.filter-violet {
  filter: hue-rotate(48deg);
}
.filter-green {
  filter: hue-rotate(227deg);
}


/* AUDIO */

:root {
  --primary: #764df0;
  --primary-hover: #1d4ed8;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
}

.role-icon { font-size: 1.5rem; line-height: 1; }

.player-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.play-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, transform 0.1s;
  flex-shrink: 0;
  padding-left: 10px;
}

.play-btn:hover { background: var(--primary-hover); }
.play-btn:active { transform: scale(0.95); }
.play-btn.playing { 
  background: #009688; 
  padding-left: 7px;
}

.progress-container {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.1s linear;
}

.time-display {
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 75px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Accessibility */
.play-btn:focus-visible,
.progress-container:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .voice-assistants { padding: 1rem; gap: 1rem; }
  .audio-card { padding: 1.25rem; }
}