﻿.voicepad-section {
  padding: 72px 20px 34px;
}

.voicepad-wrap {
  max-width: 1180px;
  margin: 0 auto;
  background:
    radial-gradient(circle at top right, rgba(54, 161, 227, 0.1), transparent 28%),
    radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 30%),
    #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.06);
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.voicepad-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 28px;
  align-items: center;
}

.voicepad-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0f172a;
  font-weight: 800;
}

.voicepad-copy p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.72;
}

.voicepad-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.voicepad-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.voicepad-note {
  margin-top: 16px;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.65;
}

.voicepad-visual {
  position: relative;
}

.voicepad-card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid #e6eef7;
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.07);
}

.voicepad-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.voicepad-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.voicepad-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.12);
  animation: voicePulse 1.8s infinite ease-in-out;
  flex: 0 0 auto;
}

@keyframes voicePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.16);
    opacity: 0.75;
  }
}

.voicepad-listening {
  color: #0f172a;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

.voicepad-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.voicepad-pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  border: 1px solid #dbe7f3;
  color: #334155;
  background: #fff;
}

.voicepad-pill.active {
  background: #e8f4ff;
  border-color: #b9ddff;
  color: #0369a1;
}

.voicepad-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.voicepad-bubble {
  background: #ffffff;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  padding: 14px 15px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.voicepad-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.voicepad-lang {
  color: #0369a1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.voicepad-tag {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 9px;
  border-radius: 999px;
}

.voicepad-bubble p {
  margin: 0;
  color: #0f172a;
  font-size: 0.96rem;
  line-height: 1.68;
}

.voicepad-arrow {
  text-align: center;
  font-size: 1.15rem;
  color: #94a3b8;
  font-weight: 700;
  line-height: 1;
  margin: 2px 0;
}

.voicepad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.voicepad-credits {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}

.voicepad-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.voicepad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  border-radius: 12px;
  border: 1px solid #dbe7f3;
  background: #fff;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 14px;
}

.voicepad-btn.primary {
  background: linear-gradient(90deg, #36a1e3, #4f46e5);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.18);
}

@media (max-width: 1024px) {
  .voicepad-grid {
    grid-template-columns: 1fr;
  }

  .voicepad-wrap {
    padding: 28px 22px;
  }
}

@media (max-width: 768px) {
  .voicepad-section {
    padding: 56px 14px 22px;
  }

  .voicepad-wrap {
    border-radius: 22px;
    padding: 22px 16px;
  }

  .voicepad-copy h2 {
    font-size: 1.72rem;
  }

  .voicepad-copy p {
    font-size: 0.95rem;
  }

  .voicepad-card {
    padding: 14px;
    border-radius: 18px;
  }

  .voicepad-bubble {
    padding: 12px;
    border-radius: 15px;
  }

  .voicepad-bubble p {
    font-size: 0.92rem;
  }

  .voicepad-pills {
    gap: 7px;
  }

  .voicepad-pill {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .voicepad-btn {
    min-width: 78px;
    font-size: 0.83rem;
    padding: 9px 12px;
  }
}

@media (max-width: 520px) {
  .voicepad-toolbar,
  .voicepad-row-top,
  .voicepad-footer {
    align-items: flex-start;
  }

  .voicepad-copy h2 {
    font-size: 1.55rem;
  }

  .voicepad-badge {
    font-size: 0.84rem;
    padding: 8px 12px;
  }

  .voicepad-note {
    font-size: 0.88rem;
  }

  .voicepad-listening {
    font-size: 0.9rem;
  }

  .voicepad-lang {
    font-size: 0.76rem;
  }

  .voicepad-tag,
  .voicepad-credits {
    font-size: 0.76rem;
  }

  .voicepad-actions {
    width: 100%;
  }

  .voicepad-actions .voicepad-btn,
  .voicepad-actions .voicepad-btn.primary {
    flex: 1 1 0;
  }
}
