@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Mono:wght@400;500&display=swap");

:root {
  --primary: #4b3cff;
  --primary-dark: #3a2ce0;
  --primary-soft: rgba(75, 60, 255, 0.12);
  --secondary: #7a34ff;
  --bg: #f6f8ff;
  --bg-soft: #eef2ff;
  --surface: #ffffff;
  --surface-alt: #f9fbff;
  --text: #0f172a;
  --muted: #6b7280;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(1200px 600px at 20% -10%, #eef1ff 0%, transparent 60%),
    radial-gradient(900px 500px at 90% -10%, #f0e9ff 0%, transparent 60%),
    var(--bg);
  min-height: 100vh;
}

body.page-call {
  background: linear-gradient(180deg, #f8f9ff 0%, #edebff 70%);
}

body.page-compra {
  background: linear-gradient(180deg, #eaf1ff 0%, #ffffff 70%);
}

body.page-dashboard {
  background: #f2f4fb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Poppins", "Manrope", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand svg {
  width: 30px;
  height: 30px;
  color: var(--primary);
}

.nav-actions,
.nav-user {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 500;
}

.user-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: inherit;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #4f46e5;
  font-weight: 700;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid transparent;
  background: transparent;
  color: #4f46e5;
  position: relative;
}

.icon-button:hover {
  background: #eef2ff;
}

.icon-button svg {
  width: 18px;
  height: 18px;
}

.icon-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -36px;
  right: 0;
  background: #111827;
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.icon-button:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.settings-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 24px;
}

.settings-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef1ff;
  border-radius: 999px;
  padding: 6px;
  width: fit-content;
}

.settings-tab {
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 600;
  color: #6b7280;
  background: transparent;
  border: none;
  cursor: pointer;
}

.settings-tab.active {
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
}

.settings-card header h1 {
  margin: 0 0 6px;
  font-family: "Poppins", "Manrope", sans-serif;
}

.settings-subtitle {
  color: #4b5563;
}

.settings-grid {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 24px;
}

.settings-avatar {
  display: grid;
  gap: 12px;
  align-content: start;
}

.avatar-preview {
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: #eef2ff;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 700;
  color: #4f46e5;
  overflow: hidden;
}

.avatar-click {
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.avatar-click:hover {
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.2);
  transform: translateY(-2px);
}

.avatar-click input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.settings-hint {
  color: #7c3aed;
  font-size: 0.85rem;
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-form label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.settings-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}

.settings-plan {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid #e6e9f5;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
}

.settings-plan h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.plan-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.plan-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.settings-subscription {
  display: grid;
  gap: 18px;
}

.credits-card {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid #e6e9f5;
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.credits-card h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.credits-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.credits-metrics strong {
  font-size: 1.4rem;
  color: #111827;
}

.credits-metrics span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

.credits-bar {
  width: 100%;
  height: 10px;
  background: #eef1ff;
  border-radius: 999px;
  overflow: hidden;
}

.credits-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: inherit;
  transition: width 0.3s ease;
}

.credits-note {
  margin: 0;
  font-size: 0.85rem;
  color: #6b7280;
}

.error-text {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 6px;
  display: inline-block;
}

.status-message {
  background: #ecfdf3;
  color: #16a34a;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
}

.settings-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.settings-divider {
  height: 1px;
  background: #e6e9f5;
}

.settings-divider.large {
  margin: 18px 0;
}

.settings-form .btn {
  justify-self: flex-start;
}

.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  width: 100%;
}

.settings-span {
  grid-column: 1 / -1;
}

.strength-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.strength-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.strength-fill.fraca {
  background: #ef4444;
}

.strength-fill.média {
  background: #f59e0b;
}

.strength-fill.forte {
  background: #22c55e;
}

.strength-label {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 6px;
  display: inline-block;
}

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

.nav-link {
  color: var(--primary);
  font-weight: 600;
}

.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 97, 255, 0.12);
  color: #5a4bff;
  font-weight: 600;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav-back-btn svg {
  width: 16px;
  height: 16px;
}

.nav-back-btn:hover {
  background: rgba(124, 97, 255, 0.18);
  box-shadow: 0 8px 20px rgba(124, 97, 255, 0.3);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(75, 60, 255, 0.24);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.popular {
  background: #ff8a00;
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 138, 0, 0.28);
}

.btn.popular:hover {
  background: #e67600;
  transform: translateY(-1px);
}

.btn.outline {
  background: #fff;
  color: var(--primary);
  border-color: var(--primary-soft);
}

.btn.outline:hover {
  background: #f3f4ff;
  box-shadow: 0 12px 24px rgba(75, 60, 255, 0.18);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
}

.page-content {
  padding: 70px 0 90px;
}

.hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-family: "Poppins", "Manrope", sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

body.page-compra .hero p {
  font-size: 1.15rem;
  color: #444;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.section-title {
  text-align: center;
  margin: 80px 0 36px;
  font-family: "Poppins", "Manrope", sans-serif;
  font-size: 1.8rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #f9faff 100%);
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card h3 {
  margin: 18px 0 10px;
  font-size: 1.1rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.plan-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 36px;
  align-items: stretch;
}

.plan-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

body:not(.theme-dark) .plan-card:not(.featured) {
  background: #f9f9fb;
}

.plan-card.featured {
  border-color: rgba(255, 141, 41, 0.45);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  transform: translateY(-10px) scale(1.03);
}

.plan-card.featured:hover {
  transform: translateY(-12px) scale(1.04);
}

.plan-header {
  background: linear-gradient(135deg, #6b68ff 0%, #a28bff 100%);
  color: #fff;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.plan-card.featured .plan-header {
  background: linear-gradient(135deg, #ffb768 0%, #ffe0b2 100%);
  color: #5a2a00;
}

.plan-header h2 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.plan-price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.plan-header strong {
  font-size: 2.3rem;
}

.plan-header span {
  font-size: 1rem;
  opacity: 0.85;
}

.plan-body {
  padding: 28px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-body .muted {
  margin: 18px 0;
}

.plan-body .btn {
  width: 100%;
}

.plan-body h3 {
  margin: 0 0 12px;
  color: #333;
}

.plan-body h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(75, 60, 255, 0.25);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff8a00;
  color: #1f2937;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.plan-lead {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(75, 60, 255, 0.12);
  color: #4b3cff;
  font-weight: 600;
}

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.plan-tags span {
  background: #f3f4ff;
  color: #3b36d1;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.plan-card.featured .plan-tags span {
  background: rgba(255, 255, 255, 0.7);
  color: #7a3900;
}

.plan-footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.plan-footer .muted {
  margin: 0;
}

.microcopy {
  font-size: 0.85rem;
  color: #4b5563;
}

.security-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #4b5563;
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #16a34a;
  font-weight: 600;
}

.info-tooltip {
  position: relative;
  color: #1f2937;
  font-weight: 600;
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.info-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: 140%;
  transform: translateX(-50%);
  width: 220px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform-origin: center;
}

.info-tooltip:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 18px 0 26px;
  display: grid;
  gap: 18px;
}

.checklist li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.checklist svg {
  width: 20px;
  height: 20px;
  color: #16a34a;
}

.compare-section {
  margin-top: 72px;
}

.compare-title {
  text-align: center;
  font-family: "Poppins", "Manrope", sans-serif;
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.compare-subtitle {
  text-align: center;
  color: var(--muted);
  margin: 0 0 26px;
}

.compare-table {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-head {
  background: #f8f9ff;
  font-weight: 700;
  color: #1f2937;
  position: sticky;
  top: 0;
  z-index: 1;
}

.compare-row span:nth-child(3) {
  color: #b45309;
  font-weight: 700;
}

.compare-head span:nth-child(3) {
  color: #b45309;
}

.payment-panel {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.payment-panel-full {
  max-width: 780px;
  margin: 0 auto;
}

.payment-panel h2 {
  margin: 0 0 6px;
  font-family: "Poppins", "Manrope", sans-serif;
  font-size: 1.25rem;
}

.payment-subtitle {
  margin: 0 0 14px;
  color: #4b5563;
}

#paymentBrick_container {
  min-height: 48px;
}

.payment-message {
  margin: 12px 0 0;
  color: #1d4ed8;
  font-weight: 600;
}

.payment-debug {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #0f172a;
  white-space: pre-wrap;
}

.mp-section {
  margin-top: 72px;
  display: grid;
  gap: 22px;
}

.mp-hero {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.3fr minmax(220px, 360px);
  align-items: center;
  gap: 20px;
}

.mp-kicker {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
  color: #2563eb;
}

.mp-hero h2 {
  margin: 0 0 10px;
  font-family: "Poppins", "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.mp-hero p {
  margin: 0;
  color: #334155;
}

.mp-hero img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.mp-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-badges span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  background: #eff6ff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.mp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mp-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.mp-card h3 {
  margin: 0 0 8px;
  font-family: "Poppins", "Manrope", sans-serif;
}

.mp-card p {
  margin: 0;
  color: #4b5563;
}

.mp-list {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: #1f2937;
}

.mp-list-ordered {
  list-style: decimal;
}

.mp-link {
  margin-top: 16px;
  width: fit-content;
}

.mp-card-flow {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.mp-flow {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-flow span {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font-size: 0.88rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .plan-wrapper {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-4px);
  }

  .plan-badge {
    top: 12px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-search {
    width: 100%;
  }

  .mp-hero {
    grid-template-columns: 1fr;
  }

  .mp-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .compare-table {
    overflow-x: auto;
  }

  .compare-row {
    min-width: 520px;
  }

  .admin-table {
    overflow-x: auto;
  }

  .admin-table-row {
    min-width: 640px;
  }
}

@media (max-width: 600px) {
  .plan-header h2 {
    font-size: 1.25rem;
  }

  .plan-header strong {
    font-size: 2rem;
  }

  body.page-compra .hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
  }
}

.login-card {
  max-width: 430px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 6px;
  color: #9ca3af;
  font-size: 0.85rem;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: #e5e7eb;
  flex: 1;
}

.btn.google-btn {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.btn.google-btn svg {
  width: 22px;
  height: 22px;
}

.btn.google-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

.login-card h2 {
  margin-top: 0;
  font-family: "Poppins", "Manrope", sans-serif;
}

.login-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.checkbox-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #4b5563;
}

.checkbox-field input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.login-form label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.login-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
}

.dashboard-hero {
  background:
    linear-gradient(135deg, rgba(76, 29, 149, 0.9) 0%, rgba(109, 40, 217, 0.88) 45%, rgba(37, 99, 235, 0.88) 100%),
    url("imgs/painel.svg");
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.08), 0 20px 60px rgba(88, 28, 135, 0.25);
  position: relative;
  overflow: hidden;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.dashboard-hero h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 8px 0 0;
}

.dashboard-glow {
  position: absolute;
  top: -96px;
  right: 0;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(48px);
  pointer-events: none;
}

.dashboard-wave {
  position: absolute;
  left: 35%;
  bottom: -80px;
  width: 600px;
  height: 224px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(32px);
  transform: rotate(-6deg);
  pointer-events: none;
}

.dashboard-hero p {
  margin: 8px 0 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.76);
}

.dashboard-hero .btn {
  background: #fff;
  color: #4c1d95;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
}

.dashboard-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  min-width: 260px;
}

.dashboard-actions .btn {
  width: 100%;
}

.dashboard-hero .btn.secondary {
  background: transparent;
  color: #f5f3ff;
  border: 1px solid rgba(199, 210, 254, 0.8);
  box-shadow: none;
}

.dashboard-hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.hero-btn {
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(59, 130, 246, 0.35);
  filter: brightness(1.02);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 32px 0 34px;
}

.stat-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.5s ease both;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stat-top svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.stat-card h3 {
  margin: 10px 0 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: #111827;
}

.stat-value {
  animation: statPulse 0.9s ease both;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.16);
}

.stat-card:nth-child(1) .stat-top svg {
  color: #f59e0b;
}

.stat-card:nth-child(2) .stat-top svg {
  color: #2563eb;
}

.stat-card:nth-child(3) .stat-top svg {
  color: #8b5cf6;
}

.section-divider {
  height: 1px;
  background: #e6e9f5;
  margin: 8px 0 24px;
}

.history-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding-bottom: 20px;
}

.history-card header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  font-family: "Poppins", "Manrope", sans-serif;
  font-size: 1.2rem;
}

.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.history-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px 26px 4px;
}

.history-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.history-chip {
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid #e2e8f0;
  background: #f8f9ff;
  color: #4b5563;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.history-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.12);
}

.history-chip.active {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.35);
  color: #4338ca;
  box-shadow: 0 10px 18px rgba(79, 70, 229, 0.2);
}

.tab-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #eef1ff;
  border-radius: 999px;
  padding: 6px;
}

.tab-button {
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  color: #6b7280;
  background: transparent;
}

.tab-button.active {
  background: #ffffff;
  color: #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
}

.history-item {
  padding: 22px 26px;
  margin: 18px 22px 0;
  border-radius: 18px;
  background: #f9fafb;
  border: 1px solid #eef0fa;
  animation: fadeUp 0.5s ease both;
}

.history-item:last-child {
  margin-bottom: 22px;
}

.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.history-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.history-title-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.history-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.14);
  padding: 3px 8px;
  border-radius: 999px;
  width: fit-content;
}

.flag-pill {
  width: 30px;
  height: 22px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  border-radius: 10px;
  font-size: 0.95rem;
}

.history-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

.history-score {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff7ed;
  color: #f59e0b;
  font-weight: 600;
}

.history-score svg {
  width: 16px;
  height: 16px;
}

.history-score.score-good {
  background: #dcfce7;
  color: #15803d;
}

.history-score.score-bad {
  background: #ffe4e6;
  color: #e11d48;
}

.history-feedback {
  margin-top: 14px;
  background: #f3f5ff;
  padding: 14px;
  border-radius: 12px;
  color: #4b5563;
  line-height: 1.6;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.score-trend {
  font-size: 0.9rem;
  margin-left: 4px;
}

.feedback-icon {
  font-size: 1rem;
}

.history-list {
  padding: 0 0 10px;
}

@media (max-width: 720px) {
  .history-toolbar {
    padding: 16px 18px 4px;
  }
}

.admin-card {
  margin-top: 28px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  gap: 22px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-header strong {
  font-family: "Poppins", "Manrope", sans-serif;
  font-size: 1.2rem;
}

.admin-pill {
  background: #111827;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 999px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 24px;
  align-items: start;
}

.admin-form {
  background: #f8f9ff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
}

.admin-form h3 {
  margin: 0;
  font-size: 1.05rem;
}

.admin-field label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.admin-field input,
.admin-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-family: inherit;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.admin-table {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 18px;
  display: grid;
  gap: 14px;
}

.admin-table-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-table-header h3 {
  margin: 0;
}

.admin-search {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f9fafb;
  min-width: 220px;
}

.admin-table-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr 0.8fr;
  gap: 12px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid #eef0fa;
  font-size: 0.95rem;
}

.admin-table-row:last-of-type {
  border-bottom: none;
}

.admin-table-head {
  font-weight: 700;
  color: #1f2937;
  background: #f8f9ff;
  border-radius: 12px;
  padding: 12px 10px;
}

.client-meta {
  display: grid;
  gap: 4px;
}

.client-meta span {
  color: var(--muted);
  font-size: 0.85rem;
}

.plan-pill {
  display: inline-flex;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e5e7eb;
  color: #374151;
}

.plan-gratuito {
  background: #e5e7eb;
  color: #374151;
}

.plan-normal {
  background: #fff4e6;
  color: #b45309;
}

.plan-premium {
  background: #ede9fe;
  color: #6d28d9;
}

.status-pill {
  display: inline-flex;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #e5e7eb;
  color: #374151;
}

.status-ativo {
  background: #dcfce7;
  color: #16a34a;
}

.status-em-teste {
  background: #fef3c7;
  color: #b45309;
}

.status-pausado {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-empty {
  text-align: center;
  padding: 10px 0 6px;
}

.score-panel {
  padding: 22px 26px 28px;
}

.score-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.score-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.score-select {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-weight: 600;
}

.score-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #16a34a;
  font-weight: 600;
}

.score-chip svg {
  width: 16px;
  height: 16px;
}

.score-chart {
  margin-top: 22px;
}

.score-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 600;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 999px;
}

.legend-item.active {
  color: #111827;
  background: #eef2ff;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.line-chart {
  margin-top: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #eef0fa;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  animation: fadeUp 0.5s ease both;
}

.fade-in {
  animation: fadeUp 0.6s ease both;
}

.line-chart svg {
  width: 100%;
  height: auto;
  display: block;
}

.line-muted {
  opacity: 0.25;
}

.chart-tooltip {
  position: absolute;
  transform: translate(-50%, -120%);
  background: #111827;
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  display: grid;
  gap: 4px;
  pointer-events: none;
  min-width: 140px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.25);
}

.chart-tooltip strong {
  font-size: 0.85rem;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes statPulse {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
  }
}

.theme-dark {
  background: #0b1020;
  color: #e5e7eb;
}

.theme-dark .navbar {
  background: #0f172a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.theme-dark .stat-card,
.theme-dark .history-card,
.theme-dark .history-item,
.theme-dark .line-chart,
.theme-dark .feature-card,
.theme-dark .plan-card,
.theme-dark .login-card,
.theme-dark .admin-card,
.theme-dark .admin-form,
.theme-dark .admin-table,
.theme-dark .selection-card,
.theme-dark .call-card {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.2);
}

.theme-dark .history-feedback {
  background: #1f2937;
}

.theme-dark .admin-table-head {
  background: #0f172a;
  color: #e5e7eb;
}

.theme-dark .admin-table-row {
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

.theme-dark .admin-search {
  background: #0f172a;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.2);
}

.theme-dark .admin-field input,
.theme-dark .admin-field select {
  background: #0f172a;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.2);
}

.theme-dark .plan-pill,
.theme-dark .status-pill {
  background: rgba(148, 163, 184, 0.2);
  color: #e5e7eb;
}

.theme-dark .plan-normal {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.theme-dark .plan-premium {
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

.theme-dark .status-ativo {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.theme-dark .status-em-teste {
  background: rgba(245, 158, 11, 0.2);
  color: #facc15;
}

.theme-dark .status-pausado {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.theme-dark .tab-group {
  background: rgba(99, 102, 241, 0.15);
}

.theme-dark .tab-button.active {
  background: #111827;
  color: #e5e7eb;
}

.theme-dark .score-select {
  background: #111827;
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.2);
}

.call-page-title {
  text-align: center;
  margin-bottom: 36px;
}

.call-page-title h1 {
  font-family: "Poppins", "Manrope", sans-serif;
  margin-bottom: 10px;
}

.voice-title h1 {
  font-weight: 700;
  text-shadow: 0 4px 12px rgba(90, 75, 255, 0.2);
}

.voice-subtitle {
  color: #6b6b6b;
  line-height: 1.7;
}

.voice-note {
  margin-top: 6px;
  color: #6b7280;
  font-size: 0.9rem;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.voice-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.voice-carousel-centered {
  justify-content: center;
}

.voice-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 4px;
  scroll-behavior: smooth;
}

.voice-track-centered {
  grid-auto-columns: minmax(220px, 260px);
  justify-content: center;
  overflow-x: visible;
}

.voice-track::-webkit-scrollbar {
  height: 8px;
}

.voice-track::-webkit-scrollbar-thumb {
  background: #d1d5f5;
  border-radius: 999px;
}

.voice-card {
  scroll-snap-align: center;
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  border: none;
  cursor: pointer;
}

.carousel-btn:hover {
  background: #e0e7ff;
}

.voice-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: grid;
  gap: 12px;
  transform: scale(0.92);
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.voice-card.active {
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.16);
  border-color: rgba(124, 97, 255, 0.5);
}

.voice-card:hover {
  box-shadow: 0 16px 36px rgba(124, 97, 255, 0.16);
  border-color: rgba(124, 97, 255, 0.35);
}

.voice-visual {
  position: relative;
  width: 72px;
  height: 72px;
}

.voice-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #eef2ff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #4f46e5;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.voice-selected {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7b61ff;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  box-shadow: 0 8px 16px rgba(124, 97, 255, 0.35);
}

.voice-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.play-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.voice-progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #edf0ff;
  overflow: hidden;
}

.voice-progress-fill {
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 0.2s ease;
}

.voice-desc {
  color: #6b6b6b;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 6px;
}

.voice-tone {
  font-size: 0.9rem;
}

.voice-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.voice-config-note {
  text-align: center;
  margin-top: 10px;
}

.voice-confirm-btn {
  background: linear-gradient(90deg, #7b61ff 0%, #5a4bff 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(90, 75, 255, 0.3);
  padding: 14px 26px;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.voice-confirm-btn:active {
  transform: scale(0.98);
}

.voice-confirm-btn:hover {
  box-shadow: 0 16px 36px rgba(90, 75, 255, 0.35);
}

.page-content {
  position: relative;
}

.page-content::before {
  content: "";
  position: absolute;
  inset: -40px 0 auto 0;
  height: 320px;
  background-image: radial-gradient(rgba(123, 97, 255, 0.2) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.4;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(124, 97, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 24px rgba(124, 97, 255, 0.35);
  }
  100% {
    box-shadow: 0 0 0 rgba(124, 97, 255, 0.3);
  }
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 620px;
  margin: 0 auto;
}

.selection-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.selection-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.feature-card:hover,
.plan-card:hover,
.login-card:hover,
.call-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.selection-card .flag {
  font-size: 2.2rem;
}

.country-carousel {
  position: relative;
  max-width: 980px;
  margin: 24px auto 0;
  height: 320px;
  padding: 6px 48px 10px;
  perspective: 1200px;
  --country-card-size: 250px;
  --country-step-1: 220px;
  --country-step-2: 360px;
  --country-step-3: 500px;
}

.country-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(75, 60, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  color: #2b2f38;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 3;
}

.country-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.country-nav.left {
  left: 0;
}

.country-nav.right {
  right: 0;
}

.country-stage {
  position: relative;
  width: 100%;
  height: 100%;
  outline: none;
}

.country-stage:focus-visible {
  outline: 3px solid rgba(75, 60, 255, 0.5);
  outline-offset: 6px;
}

.country-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.country-card-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translateY(-18px);
}

.country-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(75, 60, 255, 0.35);
}


.country-name {
  color: #111827;
  font-weight: 700;
  margin: 8px 0 0;
}

.country-subtitle {
  font-weight: 400;
  color: #374151;
  margin-top: 4px;
}

.country-subtitle-strong {
  font-weight: 600;
  color: #374151;
}

.theme-dark .country-name {
  color: #f8fafc;
}

.theme-dark .country-subtitle,
.theme-dark .country-context,
.theme-dark .country-hints {
  color: #d1d5f0;
}

.country-context {
  margin-top: 10px;
  color: #374151;
}

.training-note-small {
  font-size: 0.92rem;
  margin-top: 10px;
}

.country-hints {
  margin-top: 20px;
  text-align: center;
  color: #374151;
  font-weight: 500;
}

.country-hints .hint-mobile {
  display: none;
}

.country-hints .hint-arrows {
  display: inline-flex;
  gap: 8px;
  margin-right: 8px;
  animation: hint-pulse 1.8s ease-in-out infinite;
}

.country-instruction {
  color: #374151;
  font-weight: 400;
}

.country-selected {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.country-confirm .btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(75, 99, 255, 0.32);
}

@keyframes arrow-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(6px); opacity: 1; }
}

@keyframes hint-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.country-card-content .country-avatar {
  width: 140px;
  height: 140px;
  margin: 4px auto 2px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  transition: box-shadow 0.6s ease;
}

.country-card-content .flag {
  margin-bottom: 4px;
}

.country-card-content .country-avatar::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.05));
  z-index: 0;
}

.theme-dark .country-card-content .country-avatar {
  background: rgba(255, 255, 255, 0.1);
}

.country-card-content .country-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center var(--avatar-focus, 50%);
  border-radius: 999px;
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: -6px;
  filter: brightness(1.04) saturate(1.06);
  transition: transform 0.6s ease, filter 0.6s ease;
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .country-carousel {
    --country-card-size: 220px;
    --country-step-1: 170px;
    --country-step-2: 300px;
    --country-step-3: 420px;
    height: 300px;
    padding: 6px 36px 10px;
  }

  .country-nav {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .country-hints .hint-desktop {
    display: none;
  }

  .country-hints .hint-mobile {
    display: inline;
  }

  .country-card-content .country-avatar {
    width: 124px;
    height: 124px;
  }

  .country-card-content .country-avatar img {
    object-position: center var(--avatar-focus, 50%);
  }
}

@keyframes avatar-pop {
  0% {
    opacity: 0.8;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


@media (prefers-reduced-motion: reduce) {
  .product-card.carousel-card {
    transition: none;
  }
}

.country-confirm {
  margin-top: 18px;
  text-align: center;
}

.country-confirm .btn {
  margin-top: 10px;
}

.training-note {
  text-align: center;
  margin-top: 8px;
}

.difficulty-subtitle {
  color: #4b5563;
  margin-top: 6px;
}

.difficulty-grid {
  max-width: 840px;
  margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  justify-items: center;
}

.difficulty-card .difficulty-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.difficulty-card {
  position: relative;
  min-height: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.difficulty-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.difficulty-card.is-selected {
  border-color: rgba(75, 60, 255, 0.5);
  box-shadow: 0 0 0 2px var(--primary-soft),
    0 24px 56px rgba(15, 23, 42, 0.18);
}

.difficulty-detail {
  font-size: 0.92rem;
  color: #5b6472;
  margin-top: 8px;
}

.difficulty-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(75, 60, 255, 0.35);
}

.difficulty-actions {
  margin-top: 22px;
  text-align: center;
}

.difficulty-actions .btn {
  min-width: 240px;
}

.difficulty-actions .muted {
  margin-top: 10px;
}

.product-grid {
  max-width: 980px;
  margin-top: 26px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: center;
  row-gap: 28px;
}

.product-carousel {
  position: relative;
  max-width: 980px;
  margin: 24px auto 0;
  height: 320px;
  padding: 6px 48px 10px;
  perspective: 1200px;
  --product-card-size: 250px;
  --product-step-1: 220px;
  --product-step-2: 360px;
  --product-step-3: 500px;
}

.product-stage {
  position: relative;
  width: 100%;
  height: 100%;
  outline: none;
}

.product-stage:focus-visible {
  outline: 3px solid rgba(75, 60, 255, 0.5);
  outline-offset: 6px;
}

.product-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(75, 60, 255, 0.2);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  color: #2b2f38;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 3;
}

.product-nav:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
}

.product-nav.left {
  left: 0;
}

.product-nav.right {
  right: 0;
}

.product-card {
  position: relative;
  min-height: 260px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card.carousel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--product-card-size);
  height: 250px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease, box-shadow 0.6s ease;
}

.product-card.carousel-card.center {
  transform: translate(-50%, -50%) scale(1.04);
  filter: blur(0);
  opacity: 1;
  z-index: 4;
}

.product-card.carousel-card.left-1 {
  transform: translate(-50%, -50%) translateX(calc(var(--product-step-1) * -1))
    scale(0.9) rotateY(12deg);
  filter: blur(1.6px);
  opacity: 0.8;
  z-index: 3;
}

.product-card.carousel-card.left-2 {
  transform: translate(-50%, -50%) translateX(calc(var(--product-step-2) * -1))
    scale(0.75) rotateY(20deg);
  filter: blur(3px);
  opacity: 0.6;
  z-index: 2;
}

.product-card.carousel-card.right-1 {
  transform: translate(-50%, -50%) translateX(var(--product-step-1))
    scale(0.9) rotateY(-12deg);
  filter: blur(1.6px);
  opacity: 0.8;
  z-index: 3;
}

.product-card.carousel-card.right-2 {
  transform: translate(-50%, -50%) translateX(var(--product-step-2))
    scale(0.75) rotateY(-20deg);
  filter: blur(3px);
  opacity: 0.6;
  z-index: 2;
}

.product-card.carousel-card.hidden-left {
  transform: translate(-50%, -50%) translateX(calc(var(--product-step-3) * -1))
    scale(0.5) rotateY(28deg);
  filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.product-card.carousel-card.hidden-right {
  transform: translate(-50%, -50%) translateX(var(--product-step-3))
    scale(0.5) rotateY(-28deg);
  filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.18);
  border-color: var(--product-color, rgba(75, 60, 255, 0.5));
}

.product-card.carousel-card.center:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.product-card.is-selected {
  border-color: var(--product-color, rgba(75, 60, 255, 0.6));
  background: linear-gradient(180deg, #e7e5ff, #ffffff);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.18),
    0 28px 60px rgba(15, 23, 42, 0.24);
}

.product-icon {
  font-size: 2.45rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.18));
}

.product-detail {
  font-size: 0.92rem;
  color: #5b6472;
  margin-top: 8px;
  line-height: 1.5;
}

.product-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(75, 60, 255, 0.35);
}

.product-actions {
  margin-top: 30px;
  text-align: center;
}

.product-actions .btn {
  min-width: 240px;
}

.product-actions .muted {
  margin-top: 10px;
}

.product-card h3 {
  font-weight: 600;
}

.product-card .muted {
  color: #4b5563;
}

.product-subtitle {
  color: #374151;
}

.product-context {
  margin-top: 8px;
  color: #3b4251;
}

.product-actions .btn.primary {
  background: linear-gradient(135deg, #6d5dfc 0%, #4b7bff 100%);
  box-shadow: 0 12px 30px rgba(75, 99, 255, 0.28);
}

.product-card:focus-visible {
  outline: 3px solid rgba(75, 60, 255, 0.5);
  outline-offset: 4px;
}

.step-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.step-back {
  padding: 8px 16px;
  font-size: 0.92rem;
  gap: 8px;
}

.step-back svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 720px) {
  .product-carousel {
    height: 300px;
    padding: 6px 36px 10px;
    --product-card-size: 220px;
    --product-step-1: 170px;
    --product-step-2: 300px;
    --product-step-3: 420px;
  }

  .product-nav {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }
}

.selection-card:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(75, 60, 255, 0.5);
  outline-offset: 3px;
}

.call-meta {
  margin-top: 6px;
  font-size: 0.9rem;
}

.call-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.call-card h3 {
  margin: 16px 0 6px;
}

.call-premium {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 48px 28px 42px;
  background: linear-gradient(135deg, #0b1120 0%, #0f172a 45%, #111827 100%);
  color: #fff;
  box-shadow: 0 40px 120px rgba(10, 14, 39, 0.45);
}

.call-premium * {
  font-family: "Space Grotesk", sans-serif;
}

.call-premium-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.call-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  opacity: 0;
  filter: blur(80px);
}

.call-glow.glow-a {
  top: -120px;
  left: 10%;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
}

.call-glow.glow-b {
  bottom: -140px;
  right: 12%;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
}

.call-glow.glow-c {
  top: 40%;
  right: -140px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
}

.call-premium-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.call-premium-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
}

.call-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

.call-status-dot.is-off {
  background: #f87171;
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.6);
}

.call-status-text {
  color: #a7f3d0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.call-badge-divider {
  width: 1px;
  height: 14px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.call-badge-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.12em;
}

.call-avatar-stack {
  position: relative;
  margin: 10px 0 6px;
}

.call-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(99, 102, 241, 0.15));
}

.call-ring.ring-one {
  margin: -26px;
  animation: call-ring 3s ease-out infinite;
}

.call-ring.ring-two {
  margin: -52px;
  animation: call-ring-delayed 3s ease-out infinite 0.5s;
}

.call-avatar {
  width: 190px;
  height: 190px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 40%, #6366f1 100%);
  box-shadow: 0 30px 80px rgba(168, 85, 247, 0.5),
    inset -2px -2px 40px rgba(0, 0, 0, 0.3),
    inset 2px 2px 40px rgba(255, 255, 255, 0.1);
  animation: call-float 4s ease-in-out infinite;
}

.call-avatar svg {
  width: 88px;
  height: 88px;
}

.call-assistant-name {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0;
}

.call-assistant-title {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.call-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  height: 40px;
  margin-top: 4px;
}

.call-wave-bar {
  width: 6px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #a855f7 0%, #6366f1 60%, #ec4899 100%);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
  animation: call-wave 1.2s ease-in-out infinite;
}

.call-wave-bar:nth-child(2) { animation-delay: 0.12s; }
.call-wave-bar:nth-child(3) { animation-delay: 0.24s; }
.call-wave-bar:nth-child(4) { animation-delay: 0.36s; }
.call-wave-bar:nth-child(5) { animation-delay: 0.48s; }

.call-wave.is-paused .call-wave-bar {
  animation: none;
  height: 8px;
  opacity: 0.6;
}

.call-timer-card {
  padding: 18px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.3);
  backdrop-filter: blur(18px);
  display: grid;
  gap: 8px;
  place-items: center;
}

.call-timer {
  font-family: "DM Mono", monospace;
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  -webkit-background-clip: text;
  color: transparent;
}

.call-meta-line {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.call-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.call-control {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.call-control svg {
  width: 26px;
  height: 26px;
}

.call-control:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.25);
}

.call-control.is-off {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fecaca;
}

.call-end {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 20px 60px rgba(239, 68, 68, 0.5);
  display: grid;
  place-items: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.call-end svg {
  width: 36px;
  height: 36px;
}

.call-end:hover {
  transform: translateY(-2px);
}

.call-hint {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.call-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.call-info-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

@keyframes call-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes call-ring-delayed {
  0% { transform: scale(0.98); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 0.2; }
  100% { transform: scale(0.98); opacity: 0.6; }
}

@keyframes call-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes call-wave {
  0%, 100% { height: 6px; }
  50% { height: 28px; }
}

@media (max-width: 720px) {
  .call-premium {
    padding: 40px 20px 36px;
  }

  .call-avatar {
    width: 160px;
    height: 160px;
  }

  .call-assistant-name {
    font-size: 2.2rem;
  }

  .call-controls {
    gap: 18px;
  }

  .call-control {
    width: 56px;
    height: 56px;
  }

  .call-end {
    width: 80px;
    height: 80px;
  }
}

.timer-card {
  margin: 24px 0;
  padding: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4b3cff 0%, #912bff 100%);
  color: #fff;
}

.timer-contrast {
  box-shadow: 0 12px 30px rgba(75, 60, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.timer-card strong {
  display: block;
  font-size: 2.2rem;
  letter-spacing: 1px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.timer-card span {
  font-size: 0.95rem;
  opacity: 0.8;
}

.end-call {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.end-call svg {
  width: 18px;
  height: 18px;
}

.end-call:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(239, 68, 68, 0.3);
}

.call-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.inline-icon svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  color: #8b5cf6;
}

.call-centered {
  margin-top: 12px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: grid;
  place-items: center;
  z-index: 999;
  padding: 24px;
}

.modal-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  width: min(420px, 100%);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
  text-align: center;
  animation: floatIn 0.4s ease both;
}

.modal-card h3 {
  margin-top: 0;
  font-family: "Poppins", "Manrope", sans-serif;
}

.modal-score {
  display: grid;
  gap: 6px;
  margin: 16px 0;
}

.modal-score strong {
  font-size: 2.4rem;
  color: #4f46e5;
}

.modal-feedback {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.muted {
  color: var(--muted);
}

.footer {
  text-align: center;
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-actions {
    width: 100%;
    align-items: flex-start;
  }

  .page-content {
    padding: 50px 0 70px;
  }

  .container {
    padding: 0 24px;
  }
}
