/* ==========================================================================
   LEARN MORE DATA - Formation en Data
   Design System & Core Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Theme: Dark (Default) */
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: #60a5fa;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #2563eb;
  --brand-600: #1d4ed8;
  --brand-900: #1e3a8a;
  --brand-950: #172554;
  --brand-text: #60a5fa;

  --success: #059669;
  --success-light: #34d399;
  --warning: #d97706;
  --warning-light: #fbbf24;
  --danger: #dc2626;
  --danger-light: #f87171;

  --bg: #040b24;
  --cursor-x: 50%;
  --cursor-y: 20%;
  --bg-image: radial-gradient(ellipse 65% 50% at var(--cursor-x) var(--cursor-y), rgba(37, 99, 235, 0.32), transparent 70%),
              radial-gradient(ellipse 50% 40% at 85% 90%, rgba(96, 165, 250, 0.16), transparent 60%);

  --surface: rgba(13, 30, 75, 0.7);
  --surface-solid: #0b1a45;
  --surface-muted: rgba(13, 30, 75, 0.55);
  --surface-elevated: rgba(25, 50, 110, 0.7);

  --text: #f1f5f9;
  --text-muted: #a9bde6;
  --text-faint: #6f87bd;
  --border: rgba(147, 197, 253, 0.18);
  --border-focus: rgba(37, 99, 235, 0.6);

  --input-bg: rgba(10, 24, 62, 0.85);
  --input-border: rgba(147, 197, 253, 0.25);

  --btn-secondary-bg: rgba(37, 70, 150, 0.5);
  --btn-secondary-bg-hover: rgba(50, 90, 180, 0.65);
  --btn-secondary-text: #e2e8f0;

  --glass-bg: rgba(13, 30, 75, 0.7);
  --glass-border: rgba(147, 197, 253, 0.2);
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 4px 10px -3px rgba(0, 0, 0, 0.4);
  --glow: 0 0 25px rgba(37, 99, 235, 0.22);
}

/* ==========================================================================
   Base Elements
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  background-image: var(--bg-image);
  background-attachment: fixed;
  transition: background-color 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
  position: relative;
}

/* Cursor glow layer */
.ambient-glow-top {
  position: absolute;
  top: -15%;
  left: -10%;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: rgba(96, 165, 250, 0.14);
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
}

/* App container */
.app-container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(var(--bg), 0.7);
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .site-header {
    padding: 1.25rem 3.5rem;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  padding: 2px;
  background: var(--surface-muted);
}

.lang-btn {
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  color: var(--text-muted);
  transition: all 0.15s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn.active {
  background: var(--brand-600);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(29, 78, 216, 0.35);
}

/* ==========================================================================
   Glass Cards & UI Containers
   ========================================================================== */

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--card-shadow);
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.glass-highlight {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
  border-radius: inherit;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */

.text-emerald-400 { color: #34d399; }
.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  background: var(--accent-hover);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--btn-secondary-bg-hover);
  border-color: rgba(148, 163, 184, 0.3);
}

.input-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.input,
.select {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text);
  border-radius: 0.75rem;
  outline: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.input:focus,
.select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.input::placeholder {
  color: var(--text-faint);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-section {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 4.5rem 2rem 3rem;
  }
}

.hero-left {
  text-align: center;
}

@media (min-width: 860px) {
  .hero-left {
    text-align: left;
  }
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: var(--text);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

@media (min-width: 860px) {
  .hero-subtitle {
    margin: 0 0 1.75rem 0;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
}

@media (min-width: 860px) {
  .hero-badges {
    justify-content: flex-start;
  }
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.check-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* Get started Card */
.get-started-card {
  padding: 2rem;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.get-started-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.get-started-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.get-started-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hint-text {
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--text-faint);
  text-align: center;
  margin-top: 1rem;
}

/* ==========================================================================
   Checkout & African Mobile Money Simulator
   ========================================================================== */

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.checkout-overlay.active {
  opacity: 1;
  visibility: visible;
}

.checkout-modal {
  width: 100%;
  max-width: 640px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  position: relative;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.checkout-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-muted);
}

.checkout-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.checkout-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease;
}

.checkout-close-btn:hover {
  color: var(--text);
}

.checkout-body {
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

/* Step Bar */
.step-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 0.5rem;
}

.step-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 1;
  transform: translateY(-50%);
}

.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.step-circle {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.step-circle.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.step-circle.completed {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.step-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Payment Rail Choice Cards (RDC vs Autres pays) */
.payment-rail-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

@media (min-width: 520px) {
  .payment-rail-container {
    grid-template-columns: 1fr 1fr;
  }
}

.payment-rail-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
}

.payment-rail-card:hover {
  border-color: rgba(37, 99, 235, 0.5);
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-1px);
}

.payment-rail-card.selected {
  border-color: var(--brand-500) !important;
  background: rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.25);
}

.rail-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rail-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.rail-card-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.2);
  color: var(--brand-300);
}

.rail-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Country Selector Wrapper */
.country-dropdown-container {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  animation: fadeIn 0.25s ease-out;
}

/* Chariow CTA Button */
.chariow-pay-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.95rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
  transition: all 0.2s ease;
  margin: 0.75rem 0;
}

.chariow-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.5);
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
}

/* Screenshot Proof Preview */
.proof-preview-wrapper {
  margin-top: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: var(--surface-muted);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.proof-preview-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

.proof-preview-info {
  flex: 1;
  font-size: 0.8rem;
  line-height: 1.4;
}

.proof-preview-name {
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.proof-preview-size {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.proof-remove-btn {
  background: transparent;
  border: none;
  color: var(--danger-light);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}

/* Selection Cards (Payment Rail, Operator) */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.selection-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.selection-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.05);
}

.selection-card.selected {
  border-color: var(--brand-500) !important;
  background: rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 0 14px rgba(37, 99, 235, 0.25);
}

/* Summary Box */
.order-summary-box {
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 0.65rem;
  margin-top: 0.25rem;
}

/* Direct Transfer Details box */
.direct-transfer-box {
  background: #172554;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 0.75rem;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.transfer-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transfer-label {
  font-size: 0.8rem;
  color: #93c5fd;
}

.transfer-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-btn {
  background: transparent;
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: #93c5fd;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background: rgba(147, 197, 253, 0.2);
  color: #fff;
}

.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--surface-muted);
}

.upload-dropzone:hover {
  border-color: var(--brand-500);
  background: rgba(37, 99, 235, 0.05);
}

/* Loading / Polling state */
.polling-state-card {
  text-align: center;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(37, 99, 235, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
}

@keyframes spinner-rotate {
  to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-500);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 0.85rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-faint);
  position: relative;
  z-index: 10;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

/* ==========================================================================
   Software Section
   ========================================================================== */

.software-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.software-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.software-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.software-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .software-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .software-grid { grid-template-columns: repeat(3, 1fr); }
}

.software-card {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.software-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
}

.software-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
}

.software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.software-tag {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  color: var(--brand-text);
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

/* Payment number: large, clear and easy to read */
.transfer-field {
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.transfer-value {
  flex-wrap: wrap;
  font-family: var(--font-sans);
}

.payment-number {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  line-height: 1.2;
}

.payment-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #93c5fd;
}

.copy-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.contact-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.contact-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.4rem;
}

.contact-intro {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.25rem;
  border-radius: 0.85rem;
  background: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: var(--text);
  text-decoration: none;
  text-align: left;
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: rgba(37, 99, 235, 0.28);
  transform: translateY(-1px);
}

.contact-icon {
  font-size: 1.6rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.contact-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-section {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 860px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial-card {
  padding: 1.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.testimonial-stars {
  color: #fbbf24;
  letter-spacing: 0.15em;
  font-size: 1rem;
}

.testimonial-card blockquote {
  flex: 1;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
}

.testimonial-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card figcaption strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-card figcaption small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
  flex-shrink: 0;
}

/* Drag & drop + keyboard focus */
.upload-dropzone.dragover {
  border-color: var(--brand-400);
  background: rgba(37, 99, 235, 0.15);
}

[role="button"]:focus-visible,
a:focus-visible,
button:focus-visible,
.input:focus-visible,
.select:focus-visible {
  outline: 2px solid var(--brand-400);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *:not(.spinner) {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
