/* ═══════════════════════════════════════════════════════════════════
   Posteiro Design System — Stripe-inspired
   Loaded after bootstrap.min.css
   ═══════════════════════════════════════════════════════════════════ */

/* ── Stripe-inspired design tokens ─────────────────────────────── */
:root {
  /* Typography */
  --bs-body-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --bs-body-bg:          #f6f9fc;
  --bs-body-color:       #1a1f36;
  --bs-border-color:     #e3e8ee;
  --bs-border-radius:    0.75rem;
  --bs-border-radius-sm: 0.5rem;
  --bs-border-radius-lg: 1rem;
  --bs-box-shadow:       0 2px 4px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
  --bs-link-color:       #635bff;
  --bs-link-hover-color: #4b45c6;

  /* Stripe palette */
  --po-bg:           #f6f9fc;
  --po-surface:      #ffffff;
  --po-surface-soft: #f8f9fb;
  --po-border:       #e3e8ee;
  --po-text:         #1a1f36;
  --po-text-muted:   #697386;
  --po-text-light:   #8792a2;
  --po-accent:       #635bff;
  --po-accent-hover: #4b45c6;
  --po-accent-light: rgba(99,91,255,0.08);
  --po-success:      #0cce6b;
  --po-success-bg:   rgba(12,206,107,0.08);
  --po-warning:      #f5be58;
  --po-warning-bg:   rgba(245,190,88,0.08);
  --po-danger:       #e25950;
  --po-danger-bg:    rgba(226,89,80,0.08);
  --po-info:         #3297d3;
  --po-info-bg:      rgba(50,151,211,0.08);

  /* Gradients */
  --po-gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --po-gradient-accent: linear-gradient(135deg, #635bff 0%, #7c3aed 100%);
  --po-gradient-surface: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);

  /* Shadows */
  --po-shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --po-shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --po-shadow-lg:  0 8px 24px rgba(0,0,0,0.12);
  --po-shadow-xl:  0 12px 40px rgba(0,0,0,0.16);

  /* Spacing */
  --po-space-xs:  0.25rem;
  --po-space-sm:  0.5rem;
  --po-space-md:  1rem;
  --po-space-lg:  1.5rem;
  --po-space-xl:  2rem;
  --po-space-2xl: 3rem;
  --po-space-3xl: 4rem;
}

/* ── Base ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--bs-body-font-family);
  background-color: var(--po-bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(99,91,255,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(124,58,237,0.03) 0%, transparent 50%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--po-text);
  min-height: 100vh;
  line-height: 1.6;
}

/* ── Accessibility ──────────────────────────────────────────────── */
.skip-link {
  position: absolute; left: .75rem; top: .75rem; z-index: 10000;
  transform: translateY(-140%); transition: transform .2s;
  background: var(--po-accent); color: #fff;
  padding: .5rem .75rem; border-radius: .5rem;
  font-size: .75rem; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* ── Typography ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--po-text);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.display-5 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

/* ── Links ──────────────────────────────────────────────────────── */
a {
  color: var(--po-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--po-accent-hover);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--po-accent);
  border-color: var(--po-accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--po-accent-hover);
  border-color: var(--po-accent-hover);
  box-shadow: 0 4px 12px rgba(99,91,255,0.3);
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-dark {
  background: #1a1f36;
  border-color: #1a1f36;
  color: #fff;
}
.btn-dark:hover, .btn-dark:focus {
  background: #0f1225;
  border-color: #0f1225;
  box-shadow: 0 4px 12px rgba(26,31,54,0.3);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border-color: var(--po-border);
  color: var(--po-text);
}
.btn-outline-secondary:hover {
  background: var(--po-surface);
  border-color: var(--po-border);
  color: var(--po-text);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.75rem;
}

.rounded-3 { border-radius: 0.75rem !important; }
.rounded-4 { border-radius: 1rem !important; }
.rounded-pill { border-radius: 9999px !important; }

/* ── Cards ──────────────────────────────────────────────────────── */
.card {
  background: var(--po-surface);
  border: 1px solid var(--po-border);
  border-radius: 0.75rem;
  box-shadow: var(--po-shadow-sm);
  transition: all 0.2s ease;
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--po-shadow-lg);
  border-color: rgba(99,91,255,0.2);
}

/* ── Hero section ───────────────────────────────────────────────── */
.public-hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.public-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(99,91,255,0.05) 0%, transparent 70%);
  z-index: -1;
}

/* ── Section titles ─────────────────────────────────────────────── */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--po-text);
  margin: 0 0 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--po-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 40rem;
}

/* ── Badges ─────────────────────────────────────────────────────── */
.badge {
  font-weight: 500;
  letter-spacing: 0;
}

.badge-primary {
  background: var(--po-accent-light);
  color: var(--po-accent);
  border: 1px solid rgba(99,91,255,0.2);
}

.badge-success {
  background: var(--po-success-bg);
  color: var(--po-success);
  border: 1px solid rgba(12,206,107,0.2);
}

/* ── Feature cards ──────────────────────────────────────────────── */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

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

/* ── Pricing cards ──────────────────────────────────────────────── */
.pricing-card {
  background: var(--po-surface);
  border: 1px solid var(--po-border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--po-shadow-xl);
}

.pricing-card.featured {
  background: var(--po-gradient-surface);
  border-color: var(--po-accent);
  box-shadow: 0 8px 32px rgba(99,91,255,0.15);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--po-gradient-accent);
  border-radius: 1rem 1rem 0 0;
}

/* ── Steps ──────────────────────────────────────────────────────── */
.step-number {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ── FAQ accordion ──────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--po-border) !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 500;
  color: var(--po-text);
  padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: var(--po-accent-light);
  color: var(--po-accent);
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23697386'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1rem 1.25rem;
  color: var(--po-text-muted);
}

/* ── Header ─────────────────────────────────────────────────────── */
header {
  background: rgba(255,255,255,0.8) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(227,232,238,0.5) !important;
}

header .nav-link, header a {
  color: var(--po-text-muted);
  font-weight: 500;
  transition: color 0.15s ease;
}

header .nav-link:hover, header a:hover {
  color: var(--po-text);
}

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--po-surface);
  border-top: 1px solid var(--po-border);
}

footer a {
  color: var(--po-text-muted);
  transition: color 0.15s ease;
}

footer a:hover {
  color: var(--po-text);
}

/* ── Form controls ──────────────────────────────────────────────── */
.form-control, .form-select {
  border-color: var(--po-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--po-accent);
  box-shadow: 0 0 0 3px rgba(99,91,255,0.1);
}

.form-label {
  font-weight: 500;
  color: var(--po-text);
  margin-bottom: 0.5rem;
}

/* ── KPI cards ──────────────────────────────────────────────────── */
.kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--po-text-muted);
  margin-bottom: 0.5rem;
}

.kpi-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--po-text);
  letter-spacing: -0.02em;
}

/* ── Hero panel mockup ──────────────────────────────────────────── */
.hero-panel {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--po-border);
  background: var(--po-surface);
  box-shadow: var(--po-shadow-xl);
}

.hero-panel .sidebar {
  background: #fafbfc;
  border-right: 1px solid var(--po-border);
  padding: 1.5rem;
}

.hero-panel .sidebar-item {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--po-text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  transition: all 0.15s ease;
}

.hero-panel .sidebar-item.active {
  background: var(--po-accent);
  color: #fff;
}

.hero-panel .content {
  padding: 1.5rem;
}

/* ── Chart bars ─────────────────────────────────────────────────── */
.chart-bars {
  display: grid;
  grid-template-columns: repeat(14, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 1rem;
  background: var(--po-surface-soft);
  border: 1px solid var(--po-border);
  border-radius: 0.75rem;
  min-height: 8rem;
  align-items: end;
}

.chart-bar {
  border-radius: 0.25rem 0.25rem 0 0;
  background: var(--po-gradient-accent);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.chart-bar:hover {
  opacity: 1;
}

/* ── Cookie banner ──────────────────────────────────────────────── */
#cookie-banner {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--po-border);
  box-shadow: var(--po-shadow-xl);
}

/* ── Modal ──────────────────────────────────────────────────────── */
#modal-backdrop {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#modal-backdrop.visible {
  opacity: 1;
}

#modal-container {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#modal-container.visible {
  opacity: 1;
  display: flex !important;
}

#modal-box {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.2), 0 8px 24px rgba(0,0,0,0.1);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow: hidden;
}

#modal-container.visible #modal-box {
  transform: scale(1) translateY(0);
}

#modal-box .modal-header {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--po-border);
  background: var(--po-surface);
}

#modal-box .modal-header h2 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--po-text);
  margin: 0;
}

#modal-box .modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--po-border) transparent;
}

#modal-box .modal-body::-webkit-scrollbar {
  width: 6px;
}

#modal-box .modal-body::-webkit-scrollbar-track {
  background: transparent;
}

#modal-box .modal-body::-webkit-scrollbar-thumb {
  background-color: var(--po-border);
  border-radius: 3px;
}

/* ── Modal close button ─────────────────────────────────────────── */
.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--po-surface-soft);
  border: 1px solid var(--po-border);
  color: var(--po-text-muted);
  transition: all 0.2s ease;
  opacity: 0.6;
  padding: 0;
}

.btn-close-modal:hover {
  opacity: 1;
  background: var(--po-border);
  color: var(--po-text);
  transform: rotate(90deg);
}

.btn-close-modal svg {
  width: 14px;
  height: 14px;
}

/* ── Modal body scroll ───────────────────────────────────────────── */
#modal-box .modal-body {
  max-height: 60vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--po-border) transparent;
}

#modal-box .modal-body::-webkit-scrollbar {
  width: 6px;
}

#modal-box .modal-body::-webkit-scrollbar-track {
  background: transparent;
}

#modal-box .modal-body::-webkit-scrollbar-thumb {
  background-color: var(--po-border);
  border-radius: 3px;
}

#modal-box .modal-body::-webkit-scrollbar-thumb:hover {
  background-color: var(--po-text-light);
}

/* ── Modal form styles ──────────────────────────────────────────── */
#modal-box .form-control,
#modal-box .form-select {
  border-color: var(--po-border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#modal-box .form-control:focus,
#modal-box .form-select:focus {
  border-color: var(--po-accent);
  box-shadow: 0 0 0 3px rgba(99,91,255,0.1);
}

#modal-box .form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--po-text);
  margin-bottom: 0.5rem;
}

/* ── Modal alert styles ─────────────────────────────────────────── */
#modal-box .alert {
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  border: none;
}

#modal-box .alert-success {
  background: var(--po-success-bg);
  color: #0a6847;
  border: 1px solid rgba(12,206,107,0.2);
}

#modal-box .alert-danger {
  background: var(--po-danger-bg);
  color: #b42318;
  border: 1px solid rgba(226,89,80,0.2);
}

/* ── Modal plan info card ───────────────────────────────────────── */
#modal-box .plan-info {
  background: var(--po-accent-light);
  border: 1px solid rgba(99,91,255,0.15);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ── Modal legal content ────────────────────────────────────────── */
#modal-box .legal-content {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--po-text-muted);
}

#modal-box .legal-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--po-text);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

#modal-box .legal-content p {
  margin-bottom: 1rem;
}

/* ── Modal input group ──────────────────────────────────────────── */
#modal-box .input-group .btn {
  border-color: var(--po-border);
  background: var(--po-surface);
  color: var(--po-text-muted);
  transition: all 0.2s ease;
}

#modal-box .input-group .btn:hover {
  background: var(--po-surface-soft);
  color: var(--po-text);
}

/* ── Modal checkbox ─────────────────────────────────────────────── */
#modal-box .form-check-input {
  width: 1.125rem;
  height: 1.125rem;
  border-color: var(--po-border);
  border-radius: 0.25rem;
}

#modal-box .form-check-input:checked {
  background-color: var(--po-accent);
  border-color: var(--po-accent);
}

#modal-box .form-check-label {
  font-size: 0.875rem;
  color: var(--po-text-muted);
}

/* ── Modal footer note ──────────────────────────────────────────── */
#modal-box .modal-note {
  font-size: 0.75rem;
  color: var(--po-text-light);
  text-align: center;
  margin-top: 1rem;
}

/* ── Animations ─────────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease forwards;
}

/* ── Scroll animations ──────────────────────────────────────────── */
[data-animate] {
  opacity: 1;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="fade-left"] {
  transform: translateX(-30px);
}

[data-animate="fade-right"] {
  transform: translateX(30px);
}

[data-animate="scale"] {
  transform: scale(0.9);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered animations for children */
[data-animate-children] > * {
  opacity: 1;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate-children].visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
[data-animate-children].visible > *:nth-child(2) { transition-delay: 80ms; opacity: 1; transform: translateY(0); }
[data-animate-children].visible > *:nth-child(3) { transition-delay: 160ms; opacity: 1; transform: translateY(0); }
[data-animate-children].visible > *:nth-child(4) { transition-delay: 240ms; opacity: 1; transform: translateY(0); }
[data-animate-children].visible > *:nth-child(5) { transition-delay: 320ms; opacity: 1; transform: translateY(0); }
[data-animate-children].visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* ── Enhanced card effects ──────────────────────────────────────── */
.card {
  will-change: transform, box-shadow;
}

.card-hover {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(99,91,255,0.15);
  border-color: rgba(99,91,255,0.3);
}

/* ── Feature icon effects ───────────────────────────────────────── */
.feature-icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── Button effects ─────────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: visible;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(99,91,255,0.35);
  transform: translateY(-2px);
}

.btn-dark:hover {
  box-shadow: 0 8px 24px rgba(26,31,54,0.35);
  transform: translateY(-2px);
}

/* ── Pricing card effects ───────────────────────────────────────── */
.pricing-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(99,91,255,0.2);
}

.pricing-card.featured:hover {
  box-shadow: 0 24px 80px rgba(99,91,255,0.3);
}

/* ── Chart bar animation ────────────────────────────────────────── */
.chart-bar {
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.3s ease,
              transform 0.2s ease;
  transform-origin: bottom;
}

.chart-bar:hover {
  transform: scaleY(1.05);
  opacity: 1;
}

.chart-bars.animate .chart-bar {
  animation: barGrow 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes barGrow {
  from { height: 0; }
}

/* ── Step number effects ────────────────────────────────────────── */
.step-number {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ── Hero panel floating effect ─────────────────────────────────── */
.hero-panel {
  animation: float 6s ease-in-out infinite;
}

/* ── Gradient text effect ───────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #635bff 0%, #7c3aed 50%, #a78bfa 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* ── Glow effect on hover ───────────────────────────────────────── */
.glow-hover {
  transition: box-shadow 0.3s ease;
}

.glow-hover:hover {
  box-shadow: 0 0 30px rgba(99,91,255,0.3), 0 0 60px rgba(99,91,255,0.1);
}

/* ── Smooth scroll ──────────────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

/* ── Stats counter animation ────────────────────────────────────── */
.stat-number {
  display: inline-block;
  transition: transform 0.3s ease;
}

.stat-number:hover {
  transform: scale(1.05);
}

/* ── Badge pulse effect ─────────────────────────────────────────── */
.badge-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ── Loading shimmer ────────────────────────────────────────────── */
.shimmer {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── Utilities ──────────────────────────────────────────────────── */
.text-accent { color: var(--po-accent) !important; }
.text-muted { color: var(--po-text-muted) !important; }
.bg-accent-light { background: var(--po-accent-light) !important; }
.border-accent { border-color: rgba(99,91,255,0.2) !important; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .public-hero {
    padding: 3rem 0 2rem;
  }

  .hero-panel .sidebar {
    display: none;
  }

  .chart-bars {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .section-title {
    font-size: 1.5rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .btn-lg {
    width: 100%;
  }
}
