/* Cryptrion brand colors */
:root {
  --cryptrion-green: #30b2b1;
  --cryptrion-violet: #3e2cce;
}
.text-cryptrion-green  { color: var(--cryptrion-green) !important; }
.text-cryptrion-violet { color: var(--cryptrion-violet) !important; }
.bg-cryptrion-green    { background-color: var(--cryptrion-green) !important; }
.bg-cryptrion-violet   { background-color: var(--cryptrion-violet) !important; }

/* Work mode colors (LIVE / PAPER) */
:root {
  --mode-live: #2fb344;
  --mode-paper: #f76707;
}
.text-mode-live   { color: var(--mode-live) !important; }
.text-mode-paper  { color: var(--mode-paper) !important; }
.bg-mode-live     { background-color: var(--mode-live) !important; }
.bg-mode-paper    { background-color: var(--mode-paper) !important; }

body {
  background-color: #f9fafb;
}

.navbar-brand-image {
  height: 45px;
}

/* Public navbar links hover */
.navbar .public-nav .nav-link {
  transition: background-color 0.2s, color 0.2s;
  border-radius: 4px;
  padding: 6px 12px;
}
.navbar .public-nav .nav-link:hover {
  background-color: var(--cryptrion-violet) !important;
  color: #fff !important;
}

/* Hero rows */
.hero-row, [id^="hero-"], .section-how-it-works {
  overflow: hidden;
}

/* Cursor pointer utility */
.cursor-pointer { cursor: pointer; }

/* Timeline Roadmap */
.timeline-simple .timeline-event::before { display:none !important; }
.timeline-simple .timeline-event-card h3 { font-size:1.2rem; }

/* =========================================================================== */
/* MATRIX BACKGROUND (body-level)                                              */
/* =========================================================================== */

#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

#matrix-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.page {
  position: relative;
  z-index: 1;
}

/* =========================================================================== */
/* MATRIX HERO SECTION (legacy)                                                */
/* =========================================================================== */

.hero-matrix {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-matrix #matrix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-matrix-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(0, 0, 0, 0.75);
}

.hero-matrix-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

.hero-matrix .hero-crypto-text h1 {
  color: #fff;
}

.hero-matrix .hero-crypto-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
  .hero-matrix {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  .hero-matrix {
    min-height: 350px;
  }
}


/* =========================================================================== */
/* DOCUMENTATION NAV                                                           */
/* =========================================================================== */

#doc-nav .doc-nav-item {
  border-left: 3px solid transparent;
  margin-left: -2px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

#doc-nav .doc-nav-item.active {
  border-left-color: var(--cryptrion-green);
  color: var(--cryptrion-green);
  font-weight: 600;
  background: rgba(48, 178, 177, 0.06);
}

#doc-nav .doc-nav-item:hover:not(.active) {
  border-left-color: rgba(48, 178, 177, 0.4);
  color: var(--tblr-body-color);
}

.hidden { display: none; }

.bo-settings-button {
  position: static !important;
}



/* --------------------------------------------------------------------------- */
/* ChatBox */
/* --------------------------------------------------------------------------- */


/*
#skdChat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: sans-serif;
} /**/

#skdChatToggle {
  background: #0d6efd;
  color: white;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
} /**/

#skdChatWindow {
  width: auto;
  height: 420px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  margin-bottom: 10px;
} /**/

#skdChatMessages {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
} /**/

#skdChatInputWrapper {
  display: flex;
  border-top: 1px solid #ccc;
} /**/

#skdChatInput {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
  outline: none;
} /**/
/*
#skdChatSend {
  background: #0d6efd;
  color: white;
  border: none;
  width: 50px;
  cursor: pointer;
  font-size: 16px;
} /**/

/* Bouton d'envoi (thème Skedra / Tabler primary) */
#skdChatSend {
  background: var(--tblr-primary) !important;
  border: none;
  color: white;
  border-radius: 10px;
  width: 48px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.25);
}


/* --------------------------- */
/* Bulles modernes             */
/* --------------------------- */

.bubble-user,
.bubble-bot {
  padding: 10px 10px; margin: 8px 0; 
  display: inline-block;
  border-radius: 10px;
  max-width: 75%;
  font-size: 14px; line-height: 1.4;
  clear: both;
} /**/

/* Bulle BOT - relief en surépaisseur */
.bubble-bot {
  background: #f1f3f5; /* gris moderne */
  float: left; text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.7);
} /**/

/* Bulle USER - relief en profondeur */
.bubble-user {
  background: var(--tblr-primary); /* thème */
  color: white;
  float: right; text-align: left;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.25);
} /**/

/* --------------------------- */
/* Typing indicator */
/* --------------------------- */

/* La bulle de typing est stylisée comme une bulle bot + tweaks */
.bubble-bot.bubble-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  background: #f1f3f5;
  border-radius: 12px;
  width: fit-content;
  max-width: 75%;
  margin: 6px 0;
  /* pas besoin de float ici si .bubble-bot gère déjà l’alignement */
  /* float: left;  <-- à ne mettre que si tes bulles bot utilisent float */
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.15);
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: var(--tblr-primary);
  border-radius: 50%;
  animation: typingBlink 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBlink {
  0%   { opacity: .2; transform: translateY(0px); }
  50%  { opacity: 1;  transform: translateY(-3px); }
 100%  { opacity: .2; transform: translateY(0px); }
}


/* =========================================================================== */
/* HERO CRYPTO SECTION - Style cryptoMaster adapté                             */
/* =========================================================================== */

.hero-crypto {
  min-height: 600px;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero-crypto-text {
  padding-top: 40px;
}

.hero-crypto-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #20509e;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-crypto-text h1 span {
  color: #16d0c5;
}

.hero-crypto-subtitle {
  color: #4a5568;
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Slider profils traders */
.hero-row {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 0 1.5rem;
}

.hero-trader-slider {
  margin-bottom: 1rem;
  padding: 1.25rem;
}

.hero-trader-question {
  font-size: 1.25rem;
  color: var(--tblr-body-color);
  margin-bottom: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-trader-slides {
  position: relative;
  min-height: 140px;
}

.hero-trader-slide {
  display: none;
  animation: heroFadeIn 0.5s ease;
}

.hero-trader-slide.active {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.hero-trader-conclusion.active {
  display: block;
}

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

.hero-trader-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tblr-primary);
  margin-bottom: 0.25rem;
}

.hero-trader-desc {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 0;
}

.hero-trader-illustration {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  order: -1;
}

.hero-trader-dots {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}

.hero-trader-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tblr-border-color);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.hero-trader-dot.active {
  background: var(--tblr-primary);
  transform: scale(1.2);
}

.hero-trader-progress {
  height: 3px;
  margin-top: 0.75rem;
  border: none;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}
.hero-trader-progress::-webkit-progress-bar {
  background: transparent;
}
.hero-trader-progress::-webkit-progress-value {
  background: var(--cryptrion-green);
}
.hero-trader-progress::-moz-progress-bar {
  background: var(--cryptrion-green);
}

.hero-trader-dot:hover {
  background: var(--tblr-primary);
}

/* Réponse hero (sous le slider) */
.hero-trader-answer {
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.hero-trader-answer h1 {
  color: #3e2cce;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* Formulaire inline */
.hero-crypto-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.hero-crypto-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  border: 1px solid #ebebeb;
  background: #fff;
  height: 48px;
  padding: 0 25px;
  border-radius: 50px;
  font-size: 1rem;
}

.hero-crypto-form input[type="email"]:focus {
  outline: none;
  border-color: #16d0c5;
  box-shadow: 0 0 0 3px rgba(22, 208, 197, 0.15);
}

.btn-gradient {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 24px;
  border-radius: 50px;
  min-width: 160px;
  text-align: center;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(to right, #3e2bce 0%, #2dd3aa 100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

.hero-crypto-privacy {
  font-size: 0.8rem;
  color: #a0aab4;
}

/* Image laptop */
.hero-crypto-laptop {
  width: 100%;
  max-width: 520px;
}

@media (max-width: 991px) {
  .hero-crypto {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
    background-position: right 30% top;
  }

  .hero-crypto-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero-crypto {
    padding-top: 40px;
    padding-bottom: 40px;
    background-position: right 50% top;
  }

  .hero-crypto-text h1 {
    font-size: 2rem;
  }

  .hero-crypto-subtitle {
    font-size: 1rem;
  }

  .hero-crypto-form {
    flex-direction: column;
  }

  .hero-crypto-form input[type="email"] {
    width: 100%;
  }

  .btn-gradient {
    width: 100%;
  }
}


/* =========================================================================== */
/* HERO MAP SECTION - Page d'accueil                                           */
/* =========================================================================== */

.hero-map-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

/* La carte Leaflet en fond */
#hero-minimap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Overlay sombre semi-transparent */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenu du hero */
.hero-content {
  max-width: 700px;
  padding: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

/* Barre de recherche */
.hero-search-form {
  max-width: 600px;
  margin: 0 auto;
}

.hero-search-form .input-group {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-search-form .form-control,
.hero-search-form .form-select {
  border: none;
  background: transparent;
}

.hero-search-form .form-control:focus,
.hero-search-form .form-select:focus {
  box-shadow: none;
  outline: none;
}

.hero-search-form .btn-primary {
  border-radius: 0 8px 8px 0;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Boutons recherche rapide */
.quick-search-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.quick-search-buttons .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}

.quick-search-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-map-section {
    height: 100vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-search-form .input-group {
    flex-direction: column;
    border-radius: 8px;
    gap: 0;
  }

  .hero-search-form .form-control,
  .hero-search-form .form-select,
  .hero-search-form .btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    min-height: 48px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .hero-search-form .form-control {
    border-radius: 8px 8px 0 0;
  }

  .hero-search-form .btn-primary {
    border-radius: 0 0 8px 8px;
    border-bottom: none;
  }

  .hero-search-form .form-select {
    -webkit-appearance: menulist;
    appearance: menulist;
  }
}


/* =========================================================================== */
/* BLOG SECTION                                                                 */
/* =========================================================================== */

.blog-section {
  background: var(--tblr-bg-surface, #fff);
}

.blog-section .card-link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  height: 100%;
}

.blog-section .card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-section .card-img-top {
  height: 180px;
  object-fit: cover;
}

.blog-section .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}


/* =========================================================================== */
/* FOOTER                                                                       */
/* =========================================================================== */

footer.footer {
  background: #fff;
}

footer.footer .copyright {
  font-weight: 700;
}

footer.footer .list-inline-item a {
  transition: color 0.2s ease;
}

footer.footer .list-inline-item a:hover {
  color: var(--tblr-primary) !important;
}


/* =========================================================================== */
/* MAP PAGE - Carte pleine page avec sidebar overlay                            */
/* =========================================================================== */

.map-page-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 115px); /* 100vh moins les navbars */
  overflow: hidden;
}

/* Carte en pleine largeur */
.map-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#main-map {
  width: 100%;
  height: 100%;
}

/* Sidebar de recherche en overlay */
.map-sidebar {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: 10px;
  width: 350px;
  max-width: calc(100% - 20px);
  background: var(--tblr-bg-surface, #fff);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}

.map-sidebar-header {
  padding: 1rem;
  border-bottom: 1px solid var(--tblr-border-color, #e6e7e9);
  flex-shrink: 0;
}

.map-sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Boutons recherche sur la même ligne (desktop + mobile) */
.map-search-buttons {
  display: flex;
  gap: 0.5rem;
}

.map-search-buttons .btn {
  flex: 1;
}

/* Liste des résultats */
.map-results-list {
  flex: 1;
  overflow-y: auto;
}

.result-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--tblr-border-color, #e6e7e9);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.result-item:hover {
  background-color: var(--tblr-bg-surface-secondary, #f8f9fa);
}

.result-name {
  font-weight: 600;
  color: var(--tblr-body-color);
  margin-bottom: 0.25rem;
}

.result-address {
  line-height: 1.4;
}

.result-distance {
  font-weight: 500;
}

/* Bouton voir fiche dans résultats */
.result-item .btn-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: none;
  background: transparent;
  color: var(--tblr-secondary, #667382);
  transition: all 0.15s ease;
}

.result-item .btn-icon:hover {
  background-color: var(--tblr-primary, #0054a6);
  color: #fff;
  border: none;
}

.result-item .btn-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Markers personnalisés */
.custom-marker {
  background: transparent;
  border: none;
}

.marker-pin {
  color: var(--tblr-primary, #0054a6);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.marker-pin svg {
  width: 30px;
  height: 40px;
}

/* Position utilisateur */
.user-marker {
  background: transparent;
  border: none;
}

.user-pin {
  width: 20px;
  height: 20px;
  background: var(--tblr-blue, #206bc4);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Popup style */
.business-popup {
  min-width: 200px;
}

.business-popup strong {
  font-size: 1rem;
  color: var(--tblr-body-color);
}

/* Responsive mobile - Bottom sheet avec formulaire */
@media (max-width: 576px) {
  .map-sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 50%;
    right: auto;
    width: calc(100% - 20px);
    max-width: 400px;
    height: 450px; /* Hauteur totale : formulaire + résultats */
    max-height: 80vh;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateX(-50%) translateY(230px); /* Centrage horizontal + décalage vertical */
    transition: transform 0.3s ease;
  }

  .map-sidebar.expanded {
    transform: translateX(-50%) translateY(0); /* Centré horizontalement + tout visible */
  }

  /* Handle visible sur mobile */
  .map-drawer-handle {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 12px 0 8px 0;
    cursor: grab;
  }

  .map-drawer-handle-bar {
    width: 36px;
    height: 4px;
    background: #c0c0c0;
    border-radius: 2px;
  }

  /* Cacher le titre sur mobile */
  .map-sidebar-header h3 {
    display: none;
  }

  .map-sidebar-header {
    padding: 0 0.75rem 0.75rem 0.75rem;
  }

  /* Boutons compacts */
  .map-search-buttons .btn {
    padding: 0.5rem;
    font-size: 0.875rem;
  }

  .map-search-buttons .btn svg {
    width: 16px;
    height: 16px;
  }

  /* Bouton toggle liste visible */
  .map-toggle-list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.25rem;
    width: 100%;
    padding: 0.5rem;
    background: var(--tblr-bg-surface-secondary, #f8f9fa);
    border: none;
    border-top: 1px solid var(--tblr-border-color, #e6e7e9);
    color: var(--tblr-primary);
    font-size: 0.875rem;
    cursor: pointer;
    text-align: center;
  }

  /* Résultats scrollables */
  .map-results-list {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Cacher le handle sur desktop */
.map-drawer-handle {
  display: none;
}

/* Cacher le bouton toggle sur desktop */
.map-toggle-list {
  display: none;
}


/* =========================================================================== */
/* COLLAPSIBLE CARDS - Blocs repliables avec hauteur max                       */
/* =========================================================================== */

/* Container du contenu repliable - REPLIÉ par défaut */
.collapsible-card-content {
  max-height: 200px;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

/* État étendu - DÉPLIÉ au clic */
.collapsible-card-content.expanded {
  max-height: 2000px;
  overflow-y: auto;
}

/* Header cliquable */
.collapsible-card-header {
  cursor: pointer;
  user-select: none;
}

.collapsible-card-header:hover {
  background-color: var(--tblr-bg-surface-secondary, #f8f9fa);
}

/* Icône toggle - flèche vers le bas par défaut (replié) */
.collapsible-card-header .toggle-icon {
  transition: transform 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

/* Icône tournée quand déplié */
.collapsible-card-header.expanded .toggle-icon {
  transform: rotate(180deg);
}

/* Hero mascot */
.hero-mascot {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin-top: -40px;
  margin-bottom: -40px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.2));
}

/* ============================================== */
/* HOW IT WORKS SECTION                           */
/* ============================================== */
.section-how-it-works {
  padding: 4rem 0;
  background: var(--tblr-bg-surface-secondary, #f8f9fa);
  border-top: 1px solid var(--tblr-border-color);
  border-bottom: 1px solid var(--tblr-border-color);
}
.section-how-it-works .section-title {
  font-size: 1.75rem;
  font-weight: 700;
}
.section-how-it-works .section-subtitle {
  font-size: 1.05rem;
}
.card-how-step {
  border: 1px solid var(--tblr-border-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.card-how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.how-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tblr-primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}
