:root {
  --brand-primary: #8a05be;
  --brand-secondary: #1a0f2f;
  --brand-accent: #b517fc;
  --surface-soft: #f9f3ff;
  --surface-contrast: #f3ecff;
  color-scheme: light;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top, #faf5ff 0%, #ffffff 45%, #fff9ff 100%);
  color: #120b24;
  min-height: 100vh;
  overflow-x: hidden;
}

.dark body {
  background: radial-gradient(circle at top, #faf5ff 0%, #ffffff 45%, #fff9ff 100%);
  color: #120b24;
}

.brand-gradient {
  background: linear-gradient(135deg, #8a05be 0%, #aa0ee5 45%, #cf2bfd 100%);
  box-shadow: 0 12px 26px rgba(138, 5, 190, 0.35);
}

.brand-gradient:hover {
  filter: brightness(1.05);
}

.card-glass {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.dark .card-glass {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

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

.section-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 240, 255, 0.95));
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 1.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #0f172a;
}

.section-soft h2,
.section-soft h3 {
  color: #0f172a;
}

.section-soft p {
  color: #1f2933;
}

.dark .section-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 251, 0.95));
  border-color: rgba(226, 232, 240, 0.8);
  color: #0f172a;
}

.dark .section-soft h2,
.dark .section-soft h3 {
  color: #0f172a;
}

.dark .section-soft p {
  color: #1f2933;
}

.image-panel {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  min-height: 320px;
  color: #fff;
  isolation: isolate;
}

.image-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
  z-index: -2;
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(5, 12, 25, 0.85), rgba(11, 34, 60, 0.6));
  z-index: -1;
}

.image-panel:hover img {
  transform: scale(1.05);
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.fade-up:nth-child(2) {
  animation-delay: 0.15s;
}

.fade-up:nth-child(3) {
  animation-delay: 0.3s;
}

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

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 280px;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(138, 5, 190, 0.12), rgba(207, 43, 253, 0.25));
  color: #8a05be;
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: #f8fafc;
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.08);
}

.nav-icon:hover {
  background: #0f172a;
  color: #ffffff;
}

.dark .feature-icon {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  color: #ffe3b5;
}

.dark .feature-card {
  background: #ffffff;
  border-color: rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.dark .feature-card p,
.dark .feature-card h3 {
  color: inherit;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eef3ff, #ffffff);
  color: #1d3b6f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dark .faq-icon {
  background: linear-gradient(135deg, #eef3ff, #ffffff);
  color: #1d3b6f;
}

body .text-slate-500 {
  color: #475467;
}

body .text-slate-600 {
  color: #1f2933;
}

body .text-slate-300 {
  color: #94a3b8;
}

.dark .text-slate-500 {
  color: #475467;
}

.dark .text-slate-600 {
  color: #1f2933;
}

.dark .text-slate-700 {
  color: #0f172a;
}

.dark .text-slate-900 {
  color: #0f172a;
}

.dark .text-slate-300 {
  color: #94a3b8;
}

.dark .text-white,
.dark .text-slate-50,
.dark .text-slate-100,
.dark .text-slate-200 {
  color: #0f172a;
}

.dark .bg-white {
  background-color: #ffffff !important;
  color: #0f172a;
}

.dark .border-slate-200,
.dark .border-slate-100,
.dark .border-slate-300,
.dark .border-slate-700 {
  border-color: rgba(226, 232, 240, 0.8) !important;
}

.dark details {
  background: #ffffff;
  border-color: rgba(226, 232, 240, 0.9);
}
