/* =============================================================
   CheckDot Clone - Styles
   Extracted from https://checkdot.io/
   Font: Nunito Sans (Google Fonts)
   Primary brand color: #31f793 (green)
   Background dark: #10101a / #0b0f19
   ============================================================= */

/* =============================================================
   1. CSS RESET & BASE
   ============================================================= */

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

/* Custom scrollbar - matches checkdot.io exactly */
* {
  scrollbar-color: #33f693 #080811;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 3px;
  height: 3px;
  background-color: #080811;
}

*::-webkit-scrollbar-thumb {
  background-color: #33f693;
}

html {
  font-size: 16px;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body,
html {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
    'Segoe UI Symbol';
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #575757;
  text-align: left;
  background-color: #f5f5f5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative !important;
}

/* =============================================================
   2. TYPOGRAPHY
   ============================================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito Sans', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 { font-size: calc(1.375rem + 1.5vw); }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.5rem; line-height: 1.4; }

@media (min-width: 1200px) {
  h1 { font-size: 2.5rem; }
  h4 { font-size: 1.5rem; }
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

b, strong {
  font-weight: 800;
}

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

a:hover {
  opacity: 0.85;
}

/* Display-2 hero heading */
.display-2 {
  font-size: calc(1.575rem + 3.9vw);
  font-weight: 800;
  line-height: 1.3;
}

@media (min-width: 1200px) {
  .display-2 {
    font-size: 4.5rem;
  }
}

/* =============================================================
   3. COLOR UTILITIES
   ============================================================= */

.lbl-dark  { color: #ffffff; }
.lbl-light { color: #000000; }

.text-success { color: #31f793 !important; }
.text-muted   { color: #6b7c93 !important; }
.text-light   { color: #fff !important; }
.text-center  { text-align: center !important; }
.text-md-start { text-align: left !important; }

/* Gradient text */
.text-gradient-primary {
  background: linear-gradient(to right, #1e9d5d, #31f793, #1e9d5d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================================
   4. LAYOUT
   ============================================================= */

.bg-body-light {
  background-color: #f5f5f5;
}

.bg-body-dark {
  background-color: #10101a;
  color: rgba(255, 255, 255, 0.7);
}

.text-body-dark {
  color: rgba(255, 255, 255, 0.7);
}

.main-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #10101a;
  color: rgba(255, 255, 255, 0.7);
  min-height: 100vh;
  padding-bottom: 60px; /* room for mobile bar */
}

@media (min-width: 450px) {
  .main-container {
    padding-bottom: 0;
  }
}

/* Container */
.container {
  --si-gutter-x: 2.5rem;
  --si-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--si-gutter-x) * 0.5);
  padding-left: calc(var(--si-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 500px)  { .container { max-width: 97%; } }
@media (min-width: 768px)  { .container { max-width: 95%; } }
@media (min-width: 992px)  { .container { max-width: 95%; } }
@media (min-width: 1200px) { .container { max-width: 95%; } }
@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
    --si-gutter-x: 10rem;
  }
}

.container-xl {
  width: 100%;
  margin: 0 auto;
}

/* Row */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(-0.5 * 1.5rem);
  margin-right: calc(-0.5 * 1.5rem);
}

.row > * {
  padding-left: calc(1.5rem * 0.5);
  padding-right: calc(1.5rem * 0.5);
}

/* Gaps */
.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; gap: 1rem; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; gap: 1.5rem; }
.gy-4 { --bs-gutter-y: 1.5rem; row-gap: 1.5rem; }

/* Flex utilities */
.d-flex         { display: flex !important; }
.d-inline-flex  { display: inline-flex !important; }
.d-block        { display: block !important; }
.d-none         { display: none !important; }
.d-sm-inline    { display: inline !important; }

.flex-column     { flex-direction: column !important; }
.flex-shrink-0   { flex-shrink: 0 !important; }
.align-items-center   { align-items: center !important; }
.align-items-end      { align-items: flex-end !important; }
.justify-content-center  { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end     { justify-content: flex-end !important; }
.justify-content-md-start { justify-content: flex-start !important; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.zindex-5 { z-index: 5 !important; }
.overflow-hidden { overflow: hidden !important; }

/* Spacing utilities */
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.mx-auto { margin-left: auto; margin-right: auto; }

.mb-md-5  { margin-bottom: 0 !important; }
@media (min-width: 768px) {
  .mb-md-5 { margin-bottom: 3rem !important; }
}

.pt-2  { padding-top: 0.5rem !important; }
.pt-3  { padding-top: 1rem !important; }
.pt-5  { padding-top: 3rem !important; }
.pb-0  { padding-bottom: 0 !important; }
.pb-1  { padding-bottom: 0.25rem !important; }
.pb-2  { padding-bottom: 0.5rem !important; }
.pb-3  { padding-bottom: 1rem !important; }
.pb-4  { padding-bottom: 1.5rem !important; }
.py-5  { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-4   { padding: 1.5rem !important; }
.p-md-5{ padding: 0 !important; }

@media (min-width: 768px) {
  .p-md-5 { padding: 3rem !important; }
}

.min-vh-100 { min-height: 100vh !important; }
.h-100 { height: 100%; }
.border-0 { border: 0 !important; }
.rounded-circle { border-radius: 50% !important; }
.shadow-sm { box-shadow: 0 0.275rem 0.75rem -0.0625rem rgba(11,15,25,0.06), 0 0.125rem 0.4rem -0.0625rem rgba(11,15,25,0.03) !important; }

.order-2 { order: 2 !important; }
@media (min-width: 768px) {
  .order-md-1 { order: 1 !important; }
  .justify-content-md-start { justify-content: flex-start !important; }
  .text-md-start { text-align: left !important; }
  .text-md-end   { text-align: right !important; }
}

/* Grid columns */
.col-lg-2  { flex: 0 0 auto; width: 16.666%; }
.col-lg-3  { flex: 0 0 auto; width: 25%; }
.col-lg-4  { flex: 0 0 auto; width: 33.333%; }
.col-lg-5  { flex: 0 0 auto; width: 41.666%; }
.col-lg-6  { flex: 0 0 auto; width: 50%; }
.col-lg-7  { flex: 0 0 auto; width: 58.333%; }
.col-md-4  { }
.col-md-5  { }
.col-md-6  { }
.col-md-7  { }
.col-md-8  { }
.col-md-12 { flex: 0 0 auto; width: 100%; }
.col-sm-4  { }
.col-sm-12 { flex: 0 0 auto; width: 100%; }
.col-6     { flex: 0 0 50%; max-width: 50%; }
.col-12    { flex: 0 0 100%; max-width: 100%; }

@media (min-width: 576px) {
  .col-sm-4  { flex: 0 0 auto; width: 33.333%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 768px) {
  .col-md-4  { flex: 0 0 auto; width: 33.333%; }
  .col-md-5  { flex: 0 0 auto; width: 41.666%; }
  .col-md-6  { flex: 0 0 auto; width: 50%; }
  .col-md-7  { flex: 0 0 auto; width: 58.333%; }
  .col-md-8  { flex: 0 0 auto; width: 66.666%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-2  { flex: 0 0 auto; width: 16.666%; }
  .col-lg-3  { flex: 0 0 auto; width: 25%; }
  .col-lg-4  { flex: 0 0 auto; width: 33.333%; }
  .col-lg-5  { flex: 0 0 auto; width: 41.666%; }
  .col-lg-6  { flex: 0 0 auto; width: 50%; }
  .col-lg-7  { flex: 0 0 auto; width: 58.333%; }
  .d-lg-flex { display: flex !important; }
  .d-md-flex { display: flex !important; }
}

@media (max-width: 991.98px) {
  .d-none { display: none !important; }
}

/* =============================================================
   5. NAVIGATION - TOP BAR
   ============================================================= */

#navigation-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.navigation-top-dark {
  background-color: #10101a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#navigation-top-bg {
  height: 60px; /* spacer */
  flex-shrink: 0;
}

#bar-container-top {
  display: flex;
  align-items: center;
  flex: 1;
}

.app-icon-wrapper {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.brand-icon {
  display: flex;
  align-items: center;
}

.brand-icon a {
  display: block;
  line-height: 1;
}

.top-logo {
  height: 30px;
  display: block;
}

@media screen and (max-width: 450px) {
  .top-logo { height: 20px; margin-top: 8px; margin-left: -7px; }
}

@media screen and (max-width: 300px) {
  .top-logo { display: none; }
}

/* Desktop nav links in top bar */
.top-bar-button {
  display: none !important;
}

@media screen and (min-width: 900px) {
  .top-bar-button {
    display: flex !important;
    align-items: center;
  }
}

.desktop-nav-links {
  display: flex;
  align-items: center;
  height: 60px;
  padding: 0;
  gap: 0;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  height: 60px;
  text-decoration: none;
  cursor: pointer;
  margin: 0 !important;
}

.top-bar-link span {
  font-family: 'Nunito Sans';
  font-size: 14px;
  font-weight: 900;
  color: #6b7c93;
  transition: color 0.2s;
}

.top-bar-link:hover span,
.top-bar-link-dark:hover span {
  color: #fff;
}

.top-bar-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Nunito Sans';
  font-size: 14px;
  font-weight: 900;
  color: #6b7c93;
  transition: color 0.2s;
}

.top-bar-nav-link img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  opacity: 0.7;
}

.top-bar-nav-link:hover {
  color: #fff;
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 4px;
}

/* =============================================================
   6. NAVIGATION - PHONE/BOTTOM BAR (Mobile)
   ============================================================= */

.bar-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: none; /* hidden by default, shown only on mobile */
}

@media (max-width: 449px) {
  .bar-container {
    display: block;
  }
}

.phone-bar {
  background-color: #080811;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Shared sidebar/bottom nav link styles */
.side-bar-links {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  background-color: #080811;
}

.side-bar-link {
  padding-left: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 20%;
  height: 100%;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.side-bar-link div {
  height: 16px;
  font-family: 'Nunito Sans';
  font-weight: 800;
  color: #6b7c93;
  font-size: 10px;
  margin-top: 2px;
}

.side-bar-link-icon {
  width: 22px;
  height: 22px;
  margin-top: 6px;
  margin-bottom: 2px;
  filter: brightness(0) invert(0.5);
}

.side-bar-link:hover .side-bar-link-icon {
  filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(90deg);
}

.side-bar-link:hover div {
  color: #33f693;
}

/* Active link */
.clicked-link-dark {
  background-color: #10101a;
  filter: brightness(2.5);
}

.clicked-link-dark span {
  color: #fff !important;
}

.clicked-link-dark img,
.clicked-link-dark .side-bar-link-icon {
  filter: invert(0.01) saturate(18) brightness(347.4) hue-rotate(330deg);
  color: #33f693;
}

@media (min-width: 450px) {
  .clicked-link-dark {
    background-color: #10101a;
    filter: brightness(2.5);
  }

  .clicked-link-dark::before {
    top: -26px;
    border-bottom-right-radius: 14px;
    box-shadow: rgb(16, 16, 26) 0px 11px;
  }

  .clicked-link-dark::after,
  .clicked-link-dark::before {
    content: "";
    position: absolute;
    left: 202px;
    width: 26px;
    height: 26px;
    background-color: transparent;
    transition: left 0.25s ease-in-out;
  }

  .clicked-link-dark::after {
    top: 40px;
    border-top-right-radius: 14px;
    box-shadow: rgb(16, 16, 26) 0px -11px;
  }
}

.logo-button-home {
  width: 28px !important;
  height: 28px !important;
  filter: invert(1) !important;
}

/* =============================================================
   7. BUTTONS
   ============================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  background-color: transparent;
}

.btn:hover,
.btn:disabled {
  box-shadow: none !important;
}

.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  border-radius: 0.3rem;
}

.btn-lg {
  padding: 0.785rem 2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.btn-primary {
  background: linear-gradient(90deg, #0b0f19 0%, #31f793 50%, #0b0f19 100%);
  background-size: 200% auto;
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  background-position: right center;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-outline-light {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-transparent,
.transparent-b {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
}

.btn-transparent:hover,
.transparent-b:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-outline-dark {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.7);
}

.block-rounded {
  border-radius: 0.375rem;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.connect-wallet-btn {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wallet-icon {
  width: 16px;
  height: 16px;
  fill: rgba(255, 255, 255, 0.7);
}

.top-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
}

/* Dropdown button */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.dropdown-toggle-no-caret::after {
  display: none;
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
  min-width: 180px;
  padding: 0.5rem 0;
  margin-top: 4px;
  background-color: #1a1b2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.4);
  display: none;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  clear: both;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  transition: color 0.15s ease;
}

.dropdown-item:hover {
  color: #31f793;
  background-color: rgba(255, 255, 255, 0.05);
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =============================================================
   8. CARDS
   ============================================================= */

.card {
  --si-card-spacer-y: 1.5rem;
  --si-card-spacer-x: 1.5rem;
  --si-card-border-radius: 0.5rem;
  --si-card-bg: #161822;
  --si-card-border-color: rgba(255, 255, 255, 0.14);
  --si-card-color: rgba(255, 255, 255, 0.7);

  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: var(--si-card-bg);
  border: 1px solid var(--si-card-border-color);
  border-radius: var(--si-card-border-radius);
  color: var(--si-card-color);
  text-align: center;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--si-card-spacer-y) var(--si-card-spacer-x);
  color: var(--si-card-color);
}

.card-body.pb-0 {
  padding-bottom: 0 !important;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

/* Card hover state */
.card-hover:not(.bg-transparent) {
  transition: transform 0.2s ease-in-out,
              border-color 0.2s ease-in-out,
              background-color 0.2s ease-in-out,
              box-shadow 0.2s ease-in-out;
}

.card-hover:not(.bg-transparent):hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.275rem 0.75rem -0.0625rem rgba(11,15,25,0.06),
              0 0.125rem 0.4rem -0.0625rem rgba(11,15,25,0.03);
  border-color: rgba(255, 255, 255, 0.3);
  background-color: #1e1f35;
}

.card-hover.shadow-sm:hover {
  box-shadow: 0 0.275rem 1.25rem rgba(11,15,25,0.08),
              0 0.25rem 0.5625rem rgba(11,15,25,0.06) !important;
}

/* Card light variant */
.card-light {
  background-color: #fff;
  color: #333;
}

/* Gradient card for contact section */
.bg-gradient-primary {
  background: linear-gradient(90deg, #0b0f19 0%, #31f793 50%, #0b0f19 100%) !important;
}

/* =============================================================
   9. BADGES
   ============================================================= */

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.375rem;
  letter-spacing: 0.05em;
}

.bg-faded-success {
  background-color: rgba(49, 247, 147, 0.12);
}

.text-success {
  color: #31f793 !important;
}

/* =============================================================
   10. SECTION BORDERS & DECORATIVE ELEMENTS
   ============================================================= */

/* Border style for sections */
.border-style {
  border-bottom: 1px solid rgba(39, 46, 112, 0.3);
  border-left: 1px solid rgba(39, 46, 112, 0.3);
  border-right: 1px solid rgba(39, 46, 112, 0.3);
  position: relative;
}

/* Ellipse decorations */
.banner__ellipse {
  position: absolute;
}

.ellipse__vertical {
  display: grid;
  position: absolute;
}

.banner__ellipse__vertical_4--left {
  left: 0;
  transform: translate(-50%);
}

.banner__ellipse__vertical_4--right {
  right: 0;
  transform: translate(50%);
}

.ellipse {
  background-color: #31f793;
  border-radius: 100%;
}

@media screen and (max-width: 3839px) and (min-width: 1439px) {
  .ellipse__vertical_4 { gap: 7px; }
  .ellipse__vertical_2,
  .ellipse__vertical_4 { width: 3px; }
  .banner__ellipse__vertical_4--left { top: 185px; }
  .banner__ellipse__vertical_4--right { top: 700px; }
  .ellipse { width: 3px; }
  .ellipse { height: 3px; }
}

/* =============================================================
   11. SECTION: SECTION COMMON STYLES
   ============================================================= */

.section-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  margin-top: 3rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-badge-subtext {
  color: #6b7c93;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  padding-top: 0.5rem;
}

.section-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  color: #31f793;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.learn-more-link:hover {
  color: #fff;
}

/* =============================================================
   12. SECTION: HERO
   ============================================================= */

.home-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-section {
  min-height: 85vh;
  background-color: #0b0f19;
  position: relative;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0b0f19 0%, #111827 50%, #0f2235 100%);
  z-index: 0;
}

/* Animated noise/grid pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(49, 247, 147, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(15, 89, 209, 0.08) 0%, transparent 40%);
  z-index: 1;
}

.hero-content-container {
  z-index: 5;
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.hero-badge-wrap {
  margin-bottom: 1.5rem;
}

.hero-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5em 1em;
  background: linear-gradient(90deg, #0b0f19 0%, #31f793 50%, #0b0f19 100%);
  color: #fff;
  font-weight: 800;
}

.hero-cta-group {
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: linear-gradient(90deg, #1e9d5d, #31f793);
  color: #0b0f19;
  font-weight: 800;
  border: none;
  padding: 0.875rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(49, 247, 147, 0.3);
  color: #0b0f19;
}

.hero-btn-secondary {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.875rem 2.5rem;
  font-size: 1.05rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
  border-color: #31f793;
  color: #31f793;
  transform: translateY(-2px);
}

.hero-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 600;
}

.hero-discover-wrap {
  font-size: 0.9rem;
}

.hero-discover-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-discover-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.discover-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: background-color 0.2s;
}

.hero-discover-link:hover .discover-circle {
  background-color: rgba(255, 255, 255, 0.2);
}

.hero-card {
  background: transparent;
  border: none;
  overflow: visible;
}

.hero-token-img {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(49, 247, 147, 0.15));
}

/* =============================================================
   13. SECTION: BENEFITS / STATS
   ============================================================= */

.benefits-section {
  padding: 2rem 0;
  background-color: #10101a;
}

/* Swiper */
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
  transform: translateZ(0);
}

.swiper-slide {
  flex-shrink: 0;
  width: 33.333%;
  height: 100%;
  position: relative;
  transition-property: transform;
}

@media (max-width: 700px) {
  .swiper-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .swiper-slide {
    width: 100% !important;
  }
}

.swiper-pagination {
  position: absolute;
  text-align: center;
  transition: 0.3s opacity;
  transform: translateZ(0);
  z-index: 10;
  bottom: 10px;
  left: 0;
  width: 100%;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #000;
  opacity: 0.2;
  margin: 0 4px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #31f793;
}

.benefits-section .card {
  padding: 1.5rem;
}

.benefits-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  padding: 1.5rem 1.5rem 0.25rem;
  margin-bottom: 0.5rem;
}

.benefits-section p {
  color: #6b7c93;
  font-size: 0.9rem;
  padding: 0 1.5rem 1.5rem;
}

/* =============================================================
   14. SECTION: RISK CARDS (DeFi Lending)
   ============================================================= */

.risks-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background-color: #10101a;
}

.risks-main-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 1rem;
  text-align: left;
}

/* 2-column layout: cards left (8 cols), image right (4 cols) */
.risks-main-row .col-lg-8 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 0.75rem;
}

.risks-main-row .risks-img-col {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 1rem;
}

@media (min-width: 992px) {
  .risks-main-row .col-lg-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
  }
  .risks-main-row .risks-img-col {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    display: flex !important;
  }
}

.risks-intro-text {
  text-align: left !important;
  max-width: none !important;
  margin: 0 0 1rem 0 !important;
}

.risks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

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

.risk-card {
  min-height: 140px;
  text-align: center;
}

.risk-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0.5rem auto 0.5rem;
  display: block;
  /* tint green to match original */
  filter: invert(1) sepia(1) saturate(2) hue-rotate(100deg) brightness(1.2);
}

.risk-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.risks-hero-img {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 10px 30px rgba(49, 247, 147, 0.1));
}

.risks-ellipse-right {
  top: 300px;
}

/* =============================================================
   15. SECTION: TOKEN ($CDT)
   ============================================================= */

.token-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background-color: #10101a;
}

.token-text {
  padding: 2rem 0;
  text-align: left;
}

.token-text .section-desc {
  margin: 0 0 1.25rem 0;
  max-width: none;
  text-align: left;
}

.token-text .learn-more-link {
  margin-top: 1rem;
}

.token-card {
  background: transparent;
  border: none;
  overflow: visible;
  max-width: 340px;
}

.token-img {
  max-width: 300px;
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(49, 247, 147, 0.12));
}

.token-ellipse-right {
  top: 200px;
}

/* =============================================================
   16. SECTION: LENDING & BORROWING (Protocol cards)
   ============================================================= */

.lending-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background-color: #10101a;
}

.lending-cards-wrap {
  margin-top: 2rem;
}

/* 3-column grid for lending protocol cards */
.lending-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

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

.lending-card {
  min-height: 180px;
  text-align: center;
}

.lending-protocol-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0.5rem auto;
  display: block;
}

.lending-protocol-img--lido {
  width: 44px;
  height: 60px;
}

.lending-risk-label {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* =============================================================
   17. SECTION: ACTIVE INVOLVEMENT
   ============================================================= */

.involvement-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background-color: #10101a;
}

/* 2-column layout: 1 large card left + 2 stacked right */
.involvement-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .involvement-layout {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.involvement-card-large {
  /* Takes up full height in the grid */
}

.involvement-card-large .involvement-card {
  height: 100%;
}

.involvement-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.involvement-cards-stack .involvement-card {
  flex: 1;
  min-height: 160px;
}

.involvement-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-align: center;
}

.involvement-card:hover {
  transform: translateY(-3px);
}

.involvement-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

/* "Earn Yield arrow" — hide "arrow" text but show via :after */
.involvement-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.involvement-arrow-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #31f793;
  border-radius: 50%;
  color: #0b0f19;
  font-size: 0;
  flex-shrink: 0;
}

.involvement-arrow-inline::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #0b0f19;
  border-top: 2px solid #0b0f19;
  transform: rotate(45deg);
  margin-left: -2px;
}

.involvement-card:hover .involvement-arrow-inline {
  background-color: #1e9d5d;
}

.involvement-ellipse-right { top: 250px; }
.involvement-ellipse-left  { top: 150px; }

/* =============================================================
   18. SECTION: ATTRACTIVE YIELDS
   ============================================================= */

.yields-section {
  padding-top: 2rem;
  padding-bottom: 3rem;
  background-color: #10101a;
}

/* 2-column grid with images in the cards (matches original) */
.yields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.yields-card {
  min-height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.yields-img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

/* =============================================================
   19. SECTION: PARTNERS
   ============================================================= */

.partners-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #10101a;
}

/* Row for partners */
.row-partners {
  --si-gutter-x: 1.5rem;
  --si-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: 0;
  margin-right: calc(-0.5 * var(--si-gutter-x));
  margin-left: calc(-0.5 * var(--si-gutter-x));
  align-items: center;
  justify-content: center;
}

.row-partners > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--si-gutter-x) * 0.5);
  padding-left: calc(var(--si-gutter-x) * 0.5);
  margin-top: 1.5em;
}

.partners-heading {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.partner-img {
  max-height: 40px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* No filter — show logos in their original colors like the original */
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (min-width: 500px) {
  .row-partners .col-6 { flex: 0 0 50%; max-width: 50%; }
  .row-partners .col-sm-4 { flex: 0 0 33.33%; max-width: 33.33%; }
}

@media (min-width: 768px) {
  .row-partners .col-md-3 { flex: 0 0 25%; max-width: 25%; }
}

@media (min-width: 992px) {
  .row-partners .col-lg-2 { flex: 0 0 16.666%; max-width: 16.666%; }
}

/* =============================================================
   20. SECTION: CONTACT CTA
   ============================================================= */

.contact-section-wrap {
  background-color: #10101a;
  margin-top: 1rem;
}

.bg-secondary {
  background-color: transparent !important;
}

/* Full-width green gradient card — matches original exactly */
.contact-card {
  border-radius: 1rem;
  overflow: hidden;
  border: none !important;
}

.contact-card-body {
  padding: 4rem 2rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  /* Green gradient overlay to match original */
  background-color: #1e9d5d;
  border-radius: 1rem;
}

/* The curved SVG lines background creates a nice effect */
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.contact-subtitle {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  margin-bottom: 0;
}

.contact-email-big {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0;
  color: #fff;
}

.contact-email-big-link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-email-big-link:hover {
  opacity: 0.8;
}

.contact-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 0.875rem 2.5rem;
  font-weight: 800;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
  color: #fff;
}

.bg-size-cover {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* =============================================================
   21. FOOTER
   ============================================================= */

.footer {
  background-color: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
}

.footer-logo {
  height: 30px;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
  margin-bottom: 1rem;
}

.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.3);
}

.footer .nav-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  font-weight: 600;
  display: block !important;
  padding: 0.2rem 0;
  transition: color 0.2s;
  text-decoration: none;
}

.footer .nav-link:hover {
  color: #31f793;
}

.footer .lbl-dark {
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.25);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1rem;
}

.fs-xs {
  font-size: 0.8rem !important;
}

.navbar-brand {
  text-decoration: none;
  display: block;
}

/* =============================================================
   22. ANIMATIONS
   ============================================================= */

@keyframes animation-of-token {
  0%   { margin-left: 0; margin-top: 0; }
  50%  { margin-left: 20px; margin-top: 20px; }
  100% { margin-left: 0; margin-top: 0; }
}

@media screen and (min-width: 700px) {
  .animated-token {
    animation: animation-of-token 5s infinite linear;
  }
}

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

@keyframes animation-of-editing {
  0%   { transform: rotate3d(1, 1, 1, 0deg); }
  25%  { transform: rotate3d(1, 1, 1, 1deg); }
  50%  { transform: rotate3d(1, 1, 1, 0deg); }
  75%  { transform: rotate3d(1, 1, 1, -1deg); }
  100% { transform: rotate3d(1, 1, 1, 0deg); }
}

/* =============================================================
   23. MEDIA QUERIES - RESPONSIVE
   ============================================================= */

@media screen and (max-width: 899px) {
  .top-bar-button { display: none !important; }
}

@media screen and (max-width: 768px) {
  .hide-on-mobile { display: none !important; }
  .swiper-slide { width: 100% !important; }
  .swiper-wrapper { flex-direction: column; }
}

@media (max-width: 768px) {
  .max-search-width-xs { width: 120px !important; }
  .connect-wallet-btn .d-none.d-sm-inline { display: none !important; }

  .hero-section { min-height: 70vh; }
  .hero-content-container { padding-top: 3rem !important; }

  .lending-cards-row .col-sm-4 { flex: 0 0 50%; max-width: 50%; }

  .contact-card-body {
    padding: 2rem 1.5rem;
    flex-direction: column;
  }

  .contact-heading { font-size: 1.4rem; }
  .contact-btn { margin-top: 1.5rem; }
}

@media (max-width: 576px) {
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .risk-cards-row { gap: 0.75rem; }
  .risk-card { min-height: 130px; }

  .lending-cards-row .col-sm-4 { flex: 0 0 100%; max-width: 100%; }
  .lending-cards-row .col-6 { flex: 0 0 50%; max-width: 50%; }

  .involvement-cards-row .col-lg-4 { flex: 0 0 100%; max-width: 100%; }

  .yields-cards-row .col-lg-6 { flex: 0 0 100%; max-width: 100%; }
}

@media screen and (max-width: 450px) {
  .top-logo { height: 20px; margin-top: 8px; margin-left: -7px; }
}

@media screen and (max-width: 300px) {
  .top-logo { display: none; }
}

/* =============================================================
   24. MISC / UTILITIES
   ============================================================= */

.stretched-link::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
}

.jarallax {
  position: relative;
  z-index: 0;
}

.d-sm-inline { display: inline; }

.mr-2 { margin-right: 0.5rem; }

/* Custom for sections that need extra spacing */
.py-xl-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

@media (min-width: 1200px) {
  .py-xl-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .pb-xl-5 { padding-bottom: 3rem !important; }
}

/* Nav utilities */
.nav-link {
  display: inline-block;
  padding: 0.25rem 0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease-in-out;
}

/* Stats numbers */
.benefits-section .swiper-slide .card-body h2 {
  font-size: 2.25rem;
  color: #fff;
}
