:root {
  --bg-0: #edf5fb;
  --bg-1: #e4eef6;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --border: rgba(131, 160, 186, 0.22);
  --text: #1c2b39;
  --muted: #627a8d;
  --blue: #2a97ec;
  --blue-dark: #1b74c7;
  --blue-soft: #d8eeff;
  --gold: #efb743;
  --gold-deep: #cb8f18;
  --shadow-lg: 0 24px 60px rgba(49, 80, 108, 0.18);
  --shadow-md: 0 14px 34px rgba(49, 80, 108, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-image: url('../images/bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

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

button {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow-x: clip;
}

.page-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(105, 136, 164, 0.12) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.7) 0.7px, transparent 0.7px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
  opacity: 0.18;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(65px);
  opacity: 0.6;
  z-index: -2;
}

.orb-left {
  top: 80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: rgba(59, 150, 255, 0.22);
}

.orb-right {
  top: 100px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: rgba(245, 196, 83, 0.18);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  padding-top: 18px;
  position: relative;
  z-index: 20;
}

.topbar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(101, 131, 158, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 230px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 0.9rem;
  color: #627487;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.topbar-actions,
.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mobile-actions {
  display: none;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-btn:hover,
.cta:hover {
  transform: translateY(-1px);
}

.nav-btn-muted {
  border: 1px solid rgba(109, 136, 159, 0.18);
  background: rgba(255, 255, 255, 0.7);
}

.nav-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 10px 24px rgba(42, 151, 236, 0.28);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(109, 136, 159, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

/* Desktop Navbar Display */
@media (min-width: 992px) {
  #mainNav {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
  }
}

/* Premium Mobile Menu Drawer (Athlo Sports Style) */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.mobile-menu-drawer.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
}

.mobile-menu-drawer-logo {
  height: 45px;
}

.mobile-menu-drawer-close {
  background: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.mobile-menu-drawer-close:hover {
  transform: scale(1.1);
}

.mobile-menu-drawer-body {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu-drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-drawer-links li {
  margin-bottom: 25px;
}

.mobile-menu-drawer-links li a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #000033;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  transition: color 0.2s;
}

.mobile-menu-drawer-links li a:hover {
  color: #2cb1ff;
}

.mobile-menu-drawer-auth a {
  transition: all 0.3s ease;
}

.mobile-menu-drawer-auth a:hover {
  background-color: #1c2b39 !important;
  color: #ffffff !important;
  border-color: #1c2b39 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Hide drawer on desktop */
@media (min-width: 992px) {
  .mobile-menu-drawer {
    display: none !important;
  }
}

/* Custom Navbar Effects */
.custom-navbar {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.custom-navbar:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.08);
}

.custom-navbar .nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.custom-navbar .nav-link:hover {
  color: var(--blue) !important;
}

/* Change hamburger to cross when open */
.custom-navbar .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.293 1.293a1 1 0 011.414 0L8 6.586l5.293-5.293a1 1 0 111.414 1.414L9.414 8l5.293 5.293a1 1 0 01-1.414 1.414L8 9.414l-5.293 5.293a1 1 0 01-1.414-1.414L6.586 8 1.293 2.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
}

.custom-navbar .nav-link:hover::after {
  width: 100%;
}

.hero {
  padding: 0;
  display: block;
  overflow: hidden;
}

/* Hero Slider Effects */
.hero-full-slider {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-full-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  pointer-events: none;
  z-index: 1;
  /*display: flex;*/
  align-items: center;
}

.hero-full-slide.active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
  height: auto;
}

/* Fallback for mobile height where flex alignment shifts */
@media (max-width: 991px) {
  .hero-full-slide, .hero-full-slide.active {
    top: 0;
    transform: none;
  }
}

/* Button Hover Effects */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-hover-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.4s ease;
  z-index: -1;
  transform: skewX(-15deg);
}

.btn-hover-effect:hover::before {
  transform: translateX(200%) skewX(-15deg);
}

.btn-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-carousel-shell {
  overflow: hidden;
  border-radius: 0;
  max-width: 100vw;
  min-width: 0;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  min-width: 0;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  width: 100%;
  min-width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: min(78vh, 760px);
  display: flex;
  align-items: center;
  background-color: #0b1f32;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide-one {
  background-image: url("https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=luxury%20fintech%20hero%20banner%2C%20modern%20commodity%20trading%20dashboard%2C%20gold%20bars%2C%20smartphone%20trading%20app%2C%20soft%20blue%20sky%20lighting%2C%20premium%20corporate%20website%20background%2C%20realistic%203d%20render%2C%20wide%20composition&image_size=landscape_16_9");
}

.slide-two {
  background-image: url("https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=realistic%20digital%20asset%20trading%20banner%2C%20premium%20commodity%20platform%2C%20glowing%20mobile%20screen%2C%20gold%20bullion%2C%20cool%20blue%20financial%20interface%2C%20high-end%20website%20hero%20background%2C%20cinematic%20light%2C%20wide%20scene&image_size=landscape_16_9");
}

.slide-three {
  background-image: url("https://coresg-normal.trae.ai/api/ide/v1/text_to_image?prompt=corporate%20commodity%20investment%20hero%20image%2C%20smartphone%20market%20app%2C%20gold%20bars%20and%20digital%20charts%2C%20bright%20sky%20blue%20premium%20fintech%20background%2C%20realistic%203d%20website%20banner%2C%20wide%20layout&image_size=landscape_16_9");
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 18, 32, 0.92) 0%, rgba(7, 24, 40, 0.75) 42%, rgba(7, 24, 40, 0.28) 70%, rgba(7, 24, 40, 0.10) 100%),
    linear-gradient(180deg, rgba(7, 24, 40, 0.18) 0%, rgba(7, 24, 40, 0.45) 100%);
}

.hero-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-top: 88px;
  padding-bottom: 112px;
}

.hero-copy-banner {
  width: 100%;
  max-width: 640px;
  min-width: 0;
  padding: 36px 40px 40px 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.badge-glow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #8ef0ff, #268df2 70%);
  box-shadow: 0 0 0 4px rgba(42, 151, 236, 0.1);
}

.hero-title {
  margin: 18px 0 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.7rem, 4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: #ffffff;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.hero-title span {
  display: block;
  margin-top: 4px;
  color: #8bd6ff;
}

.hero-description {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(235, 245, 255, 0.84);
  font-size: 1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-carousel-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  transform: none;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(112, 141, 166, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(49, 80, 108, 0.12);
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(112, 141, 166, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(49, 80, 108, 0.1);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-arrow:hover,
.hero-dot:hover {
  transform: translateY(-1px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(94, 129, 157, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.hero-dot.is-active {
  width: 30px;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}

.feature-strip-section {
  position: relative;
  z-index: 3;
  margin-top: -22px;
  padding: 0 0 64px;
}

.feature-strip-shell {
  padding: 8px 6px 12px;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
}

/* ===== STATS BAR SECTION ===== */
.stats-bar-section {
  /*padding: 28px 0 32px;*/
  background: linear-gradient(135deg, rgba(235, 246, 253, 0.9), rgba(218, 236, 248, 0.95));
  border-bottom: 1px solid rgba(148, 196, 228, 0.2);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(148, 196, 228, 0.35);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(20, 60, 120, 0.09), 0 2px 8px rgba(20, 60, 120, 0.04);
  padding: 0 8px;
  overflow: hidden;
}

.stats-bar-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  transition: background 0.25s ease;
  cursor: default;
  border-radius: 16px;
}

.stats-bar-card:hover {
  background: rgba(20, 66, 195, 0.04);
}

.stats-bar-divider {
  width: 1.5px;
  height: 56px;
  background: rgba(148, 196, 228, 0.4);
  flex-shrink: 0;
  border-radius: 2px;
}

.stats-bar-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.stats-bar-card:hover .stats-bar-icon {
  transform: scale(1.08) rotate(-3deg);
}

.stats-bar-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.stats-icon-orange { background: linear-gradient(135deg, #fff3e8, #ffe0c4); }
.stats-icon-blue   { background: linear-gradient(135deg, #e8f0ff, #c9d9ff); }
.stats-icon-cyan   { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.stats-icon-teal   { background: linear-gradient(135deg, #e0faf0, #b2e8d4); }

.stats-bar-info h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.stats-bar-info p {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #5a738a;
  font-weight: 500;
  line-height: 1.3;
}

/* ===== FEATURE CARDS SECTION ===== */
.feature-cards-section {
  padding: 72px 0 80px;
  background: linear-gradient(180deg, rgba(235, 246, 253, 0.6) 0%, rgba(255,255,255,1) 100%);
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #dbeeff, #c5e0ff);
  border: 1px solid #a8ccf5;
  color: #1742c3;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -1px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.6rem;
  color: #5a738a;
  max-width: 960px;
  margin: 0 auto;
  line-height: 1.65;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feat-card {
  background: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(148, 196, 228, 0.28);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 8px 28px rgba(20, 60, 120, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(20, 60, 120, 0.14);
  border-color: rgba(23, 66, 195, 0.25);
}

.feat-card-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.feat-card:hover .feat-card-icon-wrap {
  transform: scale(1.1) rotate(-4deg);
}

.feat-card-icon-wrap img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.feat-icon-blue   { background: linear-gradient(135deg, #e8f0ff, #c9d9ff); }
.feat-icon-orange { background: linear-gradient(135deg, #fff3e8, #ffe0c4); }
.feat-icon-cyan   { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); }
.feat-icon-green  { background: linear-gradient(135deg, #e8faf0, #b2e8d4); }
.feat-icon-purple { background: linear-gradient(135deg, #f0e8ff, #d9c4ff); }

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.3;
}

.feat-card p {
  font-size: 1rem;
  color: #5a738a;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.feat-card-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 196, 228, 0.25);
}

.feat-card-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1742c3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.25s ease, color 0.25s ease;
}

.feat-card-link:hover {
  color: #0d2ea8;
  gap: 10px;
}

/* Responsive for feature cards */
@media (min-width: 1400px) {
  .feature-cards-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 1200px) {
  .feature-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .stats-bar-grid {
    grid-template-columns: 1fr 1fr;
    padding: 8px;
    gap: 4px;
  }
  .stats-bar-divider {
    display: none;
  }
  .stats-bar-card {
    padding: 16px 14px;
    gap: 12px;
  }
  .stats-bar-icon {
    width: 48px;
    height: 48px;
  }
  .stats-bar-icon img {
    width: 32px;
    height: 32px;
  }
  .stats-bar-info h3 {
    font-size: 1.1rem;
  }
  .feature-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-bar-grid {
    grid-template-columns: 1fr;
  }
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

.feature-top-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1.5px solid rgba(50, 68, 85, 0.45);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(62, 91, 116, 0.18);
}

.feature-top-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 16px 18px;
  color: #11181f;
  background: transparent;
}

.feature-top-card + .feature-top-card {
  border-left: 1px solid rgba(119, 145, 167, 0.35);
}

.feature-top-card h3,
.feature-card h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.02em;
}

.feature-top-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.feature-top-card p,
.feature-card p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  line-height: 1.38;
  color: #202a32;
}

.feature-top-icon-image {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: contain;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.feature-card {
  min-height: 302px;
  padding: 20px 16px 18px;
  border: 1.5px solid rgba(50, 68, 85, 0.38);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 26px rgba(62, 91, 116, 0.14);
}

.feature-card h3 {
  margin-top: 16px;
  font-size: 0.98rem;
  line-height: 1.22;
  color: #1666b4;
}

.feature-card p {
  font-size: 0.82rem;
  line-height: 1.35;
}

.feature-card-icon {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
}

/* ===== NEW STAKING PACKAGES ===== */
.staking-packages-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}

.staking-pkg-card {
  position: relative;
  background: #fff;
  border: 2px solid rgba(148, 196, 228, 0.3);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 8px 28px rgba(20, 60, 120, 0.08);
}

.staking-pkg-card:hover,
.staking-pkg-card.is-active {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(20, 60, 120, 0.18);
}

.staking-pkg-silver.is-active   { border-color: #8dafc7; }
.staking-pkg-golden.is-active   { border-color: #d4a017; box-shadow: 0 24px 56px rgba(212, 160, 23, 0.22); }
.staking-pkg-diamond.is-active  { border-color: #1742c3; box-shadow: 0 24px 56px rgba(23, 66, 195, 0.22); }

.staking-pkg-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.4);
}

.staking-pkg-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.staking-pkg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.staking-pkg-card:hover .staking-pkg-image {
  transform: scale(1.05);
}

.staking-pkg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5,10,30,0.65) 0%, rgba(5,10,30,0.1) 60%, transparent 100%);
}

.staking-pkg-label {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.5);
}

.staking-pkg-label::after {
  content: "";
  display: block;
  width: 120px;
  height: 5px;
  border-radius: 999px;
  background: #ffffff;
  margin: 10px auto 0;
  box-shadow: 0 2px 10px rgba(255,255,255,0.6);
}

.staking-pkg-silver .staking-pkg-label::after  { background: linear-gradient(90deg, transparent, #c8e0f5, #ffffff, #c8e0f5, transparent); }
.staking-pkg-golden .staking-pkg-label::after  { background: linear-gradient(90deg, transparent, #ffd700, #ffffff, #ffd700, transparent); }
.staking-pkg-diamond .staking-pkg-label::after { background: linear-gradient(90deg, transparent, #60aaff, #ffffff, #60aaff, transparent); }

.staking-pkg-silver .staking-pkg-label,
.staking-pkg-golden .staking-pkg-label,
.staking-pkg-diamond .staking-pkg-label { color: #ffffff; }

.staking-pkg-body {
  padding: 22px 22px 20px;
}

.staking-pkg-rate {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.staking-pkg-rate-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1px;
}

.staking-pkg-silver .staking-pkg-rate-value  { color: #4a7fa5; }
.staking-pkg-golden .staking-pkg-rate-value  { color: #c97d0a; }
.staking-pkg-diamond .staking-pkg-rate-value { color: #1742c3; }

.staking-pkg-rate-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #7a92a8;
}

.staking-pkg-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staking-pkg-perks li {
  font-size: 0.92rem;
  color: #334155;
  font-weight: 500;
}

.staking-pkg-cta {
  width: 100%;
  padding: 12px 0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  color: #fff;
  transition: opacity 0.2s ease;
  font-family: 'Outfit', sans-serif;
}

.staking-pkg-card:hover .staking-pkg-cta { opacity: 0.85; }

.staking-pkg-silver  .staking-pkg-cta { background: linear-gradient(135deg, #5b8fae, #3a6f90); }
.staking-pkg-golden  .staking-pkg-cta { background: linear-gradient(135deg, #e4a11b, #c47c0a); }
.staking-pkg-diamond .staking-pkg-cta { background: linear-gradient(135deg, #1742c3, #0d2ea8); }

@media (max-width: 768px) {
  .staking-packages-new {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== NEW STAKING CALCULATOR ===== */
/* ===== NEW STAKING CALCULATOR ===== */
.staking-calculator-block-new {
  margin: 60px auto 10px;
  max-width: 1000px;
}

.staking-calculator-block-new .section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #000;
  letter-spacing: 1px;
}
.staking-calculator-block-new .section-subtitle {
  font-size: 0.95rem;
  color: #333;
}

.staking-calc-container {
  display: flex;
  background: #ffffff;
  border: 1.5px solid #2e2e2e; /* Dark border like in screenshot */
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding: 10px; /* Outer padding to create space around inner elements */
}

.staking-calc-left {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
}

.staking-calc-right {
  flex: 0 0 320px;
  padding: 20px;
  display: flex;
  align-items: stretch;
}

.staking-calc-field-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.staking-calc-label {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}

.staking-calc-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d4ed8;
}

.staking-calc-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #1d4ed8 50%, #dbeafe 50%);
  border-radius: 4px;
  outline: none;
  margin-bottom: 20px;
}
.staking-calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1d4ed8;
  cursor: pointer;
  box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0,0,0,0.3);
}

.staking-calc-range-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 35px;
}
.staking-calc-meta-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
}

.staking-calc-duration-wrap {
  margin-bottom: 0; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.staking-calc-duration-wrap .staking-calc-label {
  margin-bottom: 12px;
}
.staking-calc-pill {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid #111;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
  background: #fff;
}

.staking-calc-cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -30px; /* Align with pill */
}
.staking-calc-register-btn {
  background: #048227;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  padding: 6px 20px 6px 6px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(4, 130, 39, 0.3);
}
.staking-calc-register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(4, 130, 39, 0.4);
}
.staking-calc-register-btn .btn-icon-circle {
  background: #fff;
  color: #048227;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.staking-calc-register-btn .btn-icon-circle i {
  margin-left: 2px;
}

/* Inner Light Cyan Card on the Right */
.staking-est-card {
  width: 100%;
  background: #f0fdfaf0;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.staking-est-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1d4ed8;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.staking-est-divider {
  height: 2px;
  background: #bfdbfe;
  width: 100%;
  margin-bottom: 24px;
}
.staking-est-sub {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 10px;
}
.staking-est-amount {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.staking-est-package {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, #8b5cf6, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .staking-calc-container {
    flex-direction: column;
    padding: 0;
  }
  .staking-calc-left {
    padding: 20px;
  }
  .staking-calc-cta-row {
    justify-content: flex-start;
    margin-top: 20px;
  }
  .staking-calc-right {
    padding: 20px;
    border-top: 1px solid rgba(148, 196, 228, 0.3);
  }
}

.markets-section {
  padding: 10px 0 20px;
}

.markets-wrap {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.markets-shell {
  position: relative;
  padding: 38px 26px 26px;
  border: 1px solid rgba(156, 182, 203, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 251, 255, 0.95) 100%);
  box-shadow: 0 24px 50px rgba(64, 92, 116, 0.12);
}

.markets-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at right center, rgba(183, 221, 247, 0.22), transparent 34%),
    radial-gradient(circle at left top, rgba(190, 230, 255, 0.14), transparent 26%);
  pointer-events: none;
}

.markets-heading,
.markets-subtitle,
.markets-toolbar,
.markets-table-shell {
  position: relative;
  z-index: 1;
}

.markets-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.markets-heading h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  letter-spacing: -0.03em;
}

.markets-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(70, 206, 133, 0.12);
  color: #0b9d5d;
  font-size: 0.74rem;
  font-weight: 700;
}

.markets-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #20d676;
  box-shadow: 0 0 0 4px rgba(32, 214, 118, 0.14);
  animation: pulse-live 1.8s infinite;
}

.markets-subtitle {
  max-width: 560px;
  margin: 10px auto 0;
  text-align: center;
  color: #8394a3;
  font-size: 0.84rem;
  line-height: 1.55;
}

.markets-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
  color: #8a99a9;
  font-size: 0.75rem;
  font-weight: 700;
}

.markets-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(164, 188, 206, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.markets-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.markets-tab {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #8092a2;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.markets-tab.is-active {
  background: #daf2ff;
  color: #1480d5;
}

.markets-search {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 250px;
}

.markets-search input {
  width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(168, 191, 208, 0.34);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: #40515f;
  font: inherit;
  font-size: 0.78rem;
}

.markets-table-shell {
  margin-top: 16px;
  border: 1px solid rgba(164, 188, 206, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  overflow: auto;
}

.markets-table {
  min-width: 860px;
  padding: 8px 10px 10px;
}

.markets-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(110px, 1fr) repeat(3, minmax(88px, 0.9fr)) 78px;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(212, 226, 236, 0.9);
}

.markets-row:last-child {
  border-bottom: 0;
}

.markets-head {
  min-height: 42px;
  color: #8da0af;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.markets-item {
  font-size: 0.8rem;
  color: #314452;
}

.market-asset {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.market-asset strong,
.market-price {
  display: block;
  font-size: 0.84rem;
  font-weight: 800;
  color: #1b2b39;
}

.market-asset small {
  display: block;
  margin-top: 2px;
  color: #8599aa;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.coin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.coin-btc { background: linear-gradient(135deg, #ffb13c, #f28a00); }
.coin-paxg { background: linear-gradient(135deg, #efd46c, #ba8f17); }
.coin-eth { background: linear-gradient(135deg, #646cfa, #8b93ff); }
.coin-bnb { background: linear-gradient(135deg, #ffd45a, #d79a00); color: #5b4100; }
.coin-sol { background: linear-gradient(135deg, #111827, #5d28ff); }
.coin-silver { background: linear-gradient(135deg, #d9e2ea, #97a9b8); color: #284055; }
.coin-link { background: linear-gradient(135deg, #2d8cff, #1f62df); }
.coin-xrp { background: linear-gradient(135deg, #909ca7, #5c6770); }
.coin-usdt { background: linear-gradient(135deg, #1cbf83, #0f9464); }
.coin-apt { background: linear-gradient(135deg, #262626, #6e6e6e); }
.coin-ena { background: linear-gradient(135deg, #111827, #7c8592); }
.coin-gold { background: linear-gradient(135deg, #f6c84a, #c08a00); color: #593d00; }

.market-change {
  font-size: 0.76rem;
  font-weight: 800;
}

.market-change.up {
  color: #18ab63;
}

.market-change.down {
  color: #ef5a5a;
}

.market-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2ca5f2, #2083da);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
}

.staking-section {
  padding: 4px 0 10px;
}

.staking-shell {
  position: relative;
  padding: 26px 0 0;
}

.staking-shell::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 10px;
  width: 280px;
  height: 280px;
  opacity: 0.22;
  border-radius: 999px;
  border: 3px solid rgba(190, 222, 241, 0.9);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  pointer-events: none;
}

.staking-heading,
.staking-calculator-heading {
  text-align: center;
}

.staking-heading h2,
.staking-calculator-heading h3 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  letter-spacing: -0.03em;
}

.staking-heading h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
}

.staking-heading p,
.staking-calculator-heading p {
  max-width: 740px;
  margin: 10px auto 0;
  color: #384856;
  font-size: 0.96rem;
  line-height: 1.5;
}

.staking-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.staking-package-card {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(56, 78, 97, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staking-package-card:hover,
.staking-package-card.is-active {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(46, 70, 92, 0.18);
}

.staking-package-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid rgba(48, 67, 87, 0.75);
}

.staking-package-title {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #fff;
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.staking-calculator-block {
  margin-top: 8px;
}

.staking-calculator-heading h3 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
}

.staking-calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 24px;
  margin-top: 4px;
  padding: 16px;
  border: 1.5px solid rgba(50, 68, 85, 0.45);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(62, 91, 116, 0.12);
}

.staking-calculator-form {
  padding: 10px 2px 0;
}

.staking-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #2a3744;
}

.staking-field-head strong {
  color: #2464de;
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
}

.staking-slider {
  width: 100%;
  margin-top: 18px;
  accent-color: #1d86db;
}

.staking-range-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #3e4b57;
  font-size: 0.92rem;
  font-weight: 700;
}

.staking-duration-wrap {
  margin-top: 18px;
  color: #2f3f4d;
  font-size: 0.96rem;
  font-weight: 700;
}

.staking-duration-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid rgba(79, 95, 111, 0.28);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(79, 95, 111, 0.14);
  font-size: 0.94rem;
}

.staking-cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.staking-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fa13d, #0c7e23);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(20, 122, 39, 0.22);
}

.staking-estimate-box {
  padding: 18px 18px 20px;
  border: 1px solid rgba(173, 204, 210, 0.8);
  border-radius: 18px;
  background: linear-gradient(180deg, #dff6f2 0%, #d0f0ea 100%);
}

.staking-estimate-label {
  display: inline-block;
  color: #2456c9;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.staking-estimate-divider {
  height: 2px;
  margin: 12px 0 14px;
  background: rgba(58, 122, 170, 0.2);
}

.staking-estimate-sub {
  display: block;
  color: #7a8e9b;
  font-size: 0.96rem;
  font-weight: 700;
}

.staking-estimate-amount {
  display: block;
  margin-top: 10px;
  color: #0ab160;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.staking-estimate-package {
  display: block;
  margin-top: 12px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  background: linear-gradient(90deg, #8d46ff, #67a8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.simple-earn-section {
  padding: 8px 0 10px;
}

.simple-earn-shell {
  position: relative;
  padding-top: 8px;
}

.simple-earn-shell::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 34px;
  width: 290px;
  height: 290px;
  border-radius: 999px;
  border: 3px solid rgba(200, 228, 242, 0.82);
  opacity: 0.26;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  pointer-events: none;
}

.simple-earn-heading {
  text-align: center;
}

.simple-earn-heading h2 {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 3.3vw, 3rem);
  letter-spacing: -0.03em;
}

.simple-earn-heading p {
  max-width: 760px;
  margin: 10px auto 0;
  color: #384856;
  font-size: 0.96rem;
  line-height: 1.5;
}

.simple-earn-illustration-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

.simple-earn-illustration {
  display: block;
  width: min(100%, 360px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(89, 112, 138, 0.18));
}

.simple-earn-calculator-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
  gap: 24px;
  margin-top: -18px;
  padding: 16px;
  border: 1.5px solid rgba(50, 68, 85, 0.45);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(62, 91, 116, 0.12);
}

.simple-earn-form {
  padding: 10px 2px 0;
}

.simple-earn-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #2a3744;
  font-size: 1rem;
  font-weight: 700;
}

.simple-earn-field-head strong {
  color: #2464de;
  font-family: "Archivo", sans-serif;
  font-size: 1.1rem;
}

.simple-earn-slider {
  width: 100%;
  margin-top: 18px;
  accent-color: #1d86db;
}

.simple-earn-range-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #3e4b57;
  font-size: 0.92rem;
  font-weight: 700;
}

.simple-earn-duration-wrap {
  margin-top: 18px;
  color: #2f3f4d;
  font-size: 0.96rem;
  font-weight: 700;
}

.simple-earn-duration-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  margin-top: 10px;
  padding: 0 16px;
  border: 1px solid rgba(79, 95, 111, 0.28);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(79, 95, 111, 0.14);
  color: #3aa550;
  font-size: 0.94rem;
}

.simple-earn-cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.simple-earn-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1fa13d, #0c7e23);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(20, 122, 39, 0.22);
  cursor: pointer;
}

.simple-earn-estimate-box {
  padding: 18px 18px 20px;
  border: 1px solid rgba(173, 204, 210, 0.8);
  border-radius: 18px;
  background: linear-gradient(180deg, #dff6f2 0%, #d0f0ea 100%);
}

.simple-earn-estimate-label {
  display: inline-block;
  color: #2456c9;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.simple-earn-estimate-divider {
  height: 2px;
  margin: 12px 0 14px;
  background: rgba(58, 122, 170, 0.2);
}

.simple-earn-estimate-sub {
  display: block;
  color: #6f8592;
  font-size: 0.96rem;
  font-weight: 700;
}

.simple-earn-estimate-sub em {
  font-style: normal;
  color: #7a8eb0;
  margin-left: 4px;
}

.simple-earn-estimate-amount,
.simple-earn-estimate-monthly {
  display: block;
  margin-top: 10px;
  color: #0ab160;
  font-family: "Archivo", sans-serif;
  line-height: 1.05;
}

.simple-earn-estimate-amount {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.monthly-sub {
  margin-top: 14px;
}

.simple-earn-estimate-monthly {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.simple-earn-footer {
  margin: -6px 0 0;
  text-align: center;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

@keyframes pulse-live {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.8;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-primary {
  color: #fff;
  background: linear-gradient(135deg, #2b9df1, #227fe1);
}

.cta-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .hero-copy {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero-slide-inner {
    padding-top: 76px;
    padding-bottom: 110px;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-carousel-controls {
    bottom: 18px;
  }

  .feature-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .feature-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .markets-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .markets-search {
    width: 100%;
    flex: 1 1 auto;
  }

  .staking-packages {
    gap: 16px;
  }

  .staking-calculator-shell {
    grid-template-columns: 1fr;
  }

  .simple-earn-calculator-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .topbar-actions {
    display: none;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .menu-btn {
    display: inline-block;
    margin-left: auto;
  }

  .nav.open {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 10px;
    padding: 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(115, 143, 170, 0.16);
    box-shadow: var(--shadow-lg);
  }

  .nav.open .nav-mobile-actions {
    display: flex;
    width: 100%;
    padding-top: 4px;
  }

  .nav.open .nav-mobile-actions .nav-btn {
    flex: 1;
  }

  .feature-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staking-packages {
    grid-template-columns: 1fr;
  }

  .simple-earn-shell::after {
    right: 10px;
    top: 70px;
    width: 220px;
    height: 220px;
  }
}

@media (max-width: 820px) {
  .orb-right,
  .orb-left {
    display: none !important;
  }

  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding-top: 22px;
    align-items: flex-start;
  }

  .topbar-inner {
    min-height: 66px;
    padding: 10px 12px;
  }

  .hero-slide {
    min-height: 560px;
    background-position: 68% center;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(180deg, rgba(7, 24, 40, 0.72) 0%, rgba(7, 24, 40, 0.58) 42%, rgba(7, 24, 40, 0.68) 100%);
  }

  .hero-slide-inner {
    padding-top: 54px;
    padding-bottom: 120px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 10vw, 3rem);
    line-height: 1.02;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-inline: 4px;
  }

  .hero-copy-banner {
    width: 100%;
    max-width: 100%;
  }

  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta {
    width: 100%;
    max-width: 100%;
  }

  .hero-carousel-controls {
    gap: 10px;
    padding: 8px 10px;
    bottom: 14px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .feature-strip-section {
    margin-top: -20px;
    padding-bottom: 48px;
  }

  .feature-strip-shell {
    padding: 8px 0 6px;
    border-radius: 22px;
  }

  .feature-top-grid {
    grid-template-columns: 1fr;
  }

  .feature-top-card + .feature-top-card {
    border-left: 0;
    border-top: 1px solid rgba(119, 145, 167, 0.35);
  }

  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .markets-section {
    padding-bottom: 56px;
  }

  .markets-shell {
    padding: 26px 14px 16px;
    border-radius: 22px;
  }

  .markets-toolbar {
    padding: 12px;
    border-radius: 16px;
  }

  .markets-meta {
    gap: 8px;
    font-size: 0.72rem;
  }

  .markets-tabs {
    width: 100%;
  }

  .markets-tab {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .markets-table {
    min-width: 760px;
  }

  .staking-section {
    padding-bottom: 56px;
  }

  .staking-shell::after {
    display: none;
  }

  .staking-heading h2 {
    font-size: 2rem;
  }

  .staking-heading p,
  .staking-calculator-heading p {
    font-size: 0.92rem;
  }

  .staking-calculator-shell {
    padding: 14px;
    border-radius: 18px;
  }

  .staking-field-head,
  .staking-range-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .staking-cta-row {
    justify-content: stretch;
  }

  .staking-register-btn {
    width: 100%;
  }

  .simple-earn-section {
    padding-bottom: 60px;
  }

  .simple-earn-shell::after {
    display: none;
  }

  .simple-earn-heading h2 {
    font-size: 2rem;
  }

  .simple-earn-heading p {
    font-size: 0.92rem;
  }

  .simple-earn-illustration {
    width: min(100%, 300px);
  }

  .simple-earn-calculator-shell {
    margin-top: -6px;
    padding: 14px;
    border-radius: 18px;
  }

  .simple-earn-field-head,
  .simple-earn-range-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .simple-earn-cta-row {
    justify-content: stretch;
  }

  .simple-earn-register-btn {
    width: 100%;
  }

  .simple-earn-footer {
    margin-top: 12px;
    font-size: 1.5rem;
  }
}

/* How It Works Section */
/* ===== NEW HOW IT WORKS ===== */
.hiw-steps-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.hiw-step-card-new {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(148, 196, 228, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-step-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.hiw-step-icon-wrap {
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-step-icon-wrap img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.hiw-step-card-new h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hiw-step-card-new p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1200px) {
  .hiw-steps-grid-new {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hiw-steps-grid-new {
    grid-template-columns: 1fr;
  }
  .hiw-eco-grid-new {
    grid-template-columns: 1fr !important;
  }
  .hiw-eco-card-new {
    flex-direction: column !important;
    text-align: center !important;
  }
  .hiw-eco-card-new p {
    padding-left: 0 !important;
  }
}

.how-it-works-section {
  padding: 60px 0 10px;
  position: relative;
  z-index: 2;
}

.how-it-works-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(42, 151, 236, 0.05) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 10 L90 90 M90 10 L10 90' stroke='rgba(131, 160, 186, 0.1)' stroke-width='1' fill='none'/%3E%3Ccircle cx='50' cy='50' r='2' fill='rgba(131, 160, 186, 0.2)'/%3E%3C/svg%3E");
  background-size: cover, 120px 120px;
  z-index: -1;
  opacity: 0.8;
}

.hiw-heading {
  text-align: center;
  margin-bottom: 40px;
}

.hiw-heading h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #11181f;
  margin: 0 0 10px;
  letter-spacing: -0.03em;
}

.hiw-heading p {
  font-size: 1.1rem;
  color: #4b5a68;
  margin: 0;
}

.hiw-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.hiw-step-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(49, 80, 108, 0.08), inset 0 2px 4px rgba(255,255,255,0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(49, 80, 108, 0.12), inset 0 2px 4px rgba(255,255,255,0.8);
}

.hiw-step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hiw-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.hiw-step-card h3 {
  font-family: "Archivo", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #11181f;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.hiw-step-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #4b5a68;
  margin: 0;
}

.hiw-eco-heading {
  text-align: center;
  margin: 50px 0 30px;
}

.hiw-eco-heading h3 {
  font-family: "Archivo", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #11181f;
  margin: 0;
  letter-spacing: -0.02em;
}

.hiw-eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hiw-eco-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: 0 14px 34px rgba(49, 80, 108, 0.08), inset 0 2px 4px rgba(255,255,255,0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hiw-eco-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(49, 80, 108, 0.12), inset 0 2px 4px rgba(255,255,255,0.8);
}

.hiw-eco-icon {
  flex-shrink: 0;
  text-align: center;
  width: 140px;
}

.hiw-eco-icon img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  mix-blend-mode: multiply;
  margin-bottom: 12px;
}

.hiw-eco-icon h4 {
  font-family: "Archivo", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: #11181f;
  margin: 0;
  letter-spacing: -0.02em;
}

.hiw-eco-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5a68;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hiw-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hiw-steps-grid {
    grid-template-columns: 1fr;
  }
  
  .hiw-eco-grid {
    grid-template-columns: 1fr;
  }
  
  .hiw-eco-card {
    flex-direction: column;
    text-align: center;
  }
}

/* News Section */
@media (max-width: 1200px) {
  .news-grid-new {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .news-grid-new {
    grid-template-columns: 1fr !important;
  }
}

.news-section {
  padding: 40px 0 30px;
  position: relative;
  z-index: 2;
}

.news-heading {
  text-align: center;
  margin-bottom: 50px;
}

.news-heading h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #11181f;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.news-heading p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4b5a68;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(49, 80, 108, 0.08), inset 0 2px 4px rgba(255,255,255,0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(49, 80, 108, 0.12), inset 0 2px 4px rgba(255,255,255,0.8);
}

.news-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card h3 {
  font-family: "Archivo", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #11181f;
  margin: 0 0 14px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.news-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #4b5a68;
  margin: 0 0 24px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.news-card-time {
  font-size: 0.85rem;
  color: #627a8d;
  font-weight: 600;
}

.news-card-arrow {
  color: #11181f;
  font-weight: 800;
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.news-card:hover .news-card-arrow {
  transform: translateX(4px);
}

.news-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #627a8d;
  font-weight: 600;
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section */
.faq-section {
  padding: 60px 0 100px;
  position: relative;
  z-index: 2;
}

.faq-heading {
  text-align: center;
  margin-bottom: 50px;
}

.faq-heading h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #11181f;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.faq-heading p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4b5a68;
  margin: 0;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* New FAQ Static Cards */
.faq-list-new {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card-new {
  background: #ffffff;
  border-radius: 40px;
  padding: 25px 40px;
  box-shadow: 0 15px 35px rgba(148, 196, 228, 0.25);
  border: 1px solid rgba(148, 196, 228, 0.6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  opacity: 1;
}

/* Hover effect for all cards */
.faq-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(148, 196, 228, 0.35);
}

.faq-card-new h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: #000;
  margin-top: 0;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.faq-card-new:hover h3 {
  color: #1d4ed8;
}

.faq-card-new p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-card-new {
    padding: 25px !important;
    border-radius: 25px !important;
  }
}

.faq-item {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(49, 80, 108, 0.08), inset 0 2px 4px rgba(255,255,255,0.8);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 20px 40px rgba(49, 80, 108, 0.12), inset 0 2px 4px rgba(255,255,255,0.8);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 30px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #11181f;
  transition: color 0.2s;
}

.faq-question:hover {
  color: #2a97ec;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: #11181f;
  border-radius: 2px;
  transition: transform 0.3s ease, background 0.2s;
}

.faq-icon::before {
  top: 11px;
  left: 4px;
  right: 4px;
  height: 2px;
}

.faq-icon::after {
  top: 4px;
  bottom: 4px;
  left: 11px;
  width: 2px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
  background: #2a97ec;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 30px 24px;
}

.faq-answer-inner p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5a68;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 20px;
    font-size: 1.15rem;
  }
  .faq-answer-inner {
    padding: 0 20px 20px;
  }
}

/* Footer & Newsletter Section */
.site-footer {
  position: relative;
  z-index: 3;
}

.newsletter-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  margin-bottom: 40px;
}

.newsletter-box {
  background: #ffffff;
  border-radius: 40px;
  padding: 50px 60px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(200, 210, 220, 0.5);
  max-width: 950px;
  margin: 0 auto;
}

.newsletter-box h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 900;
  color: #000;
  margin: 0 0 12px;
  letter-spacing: 1.5px;
}

.newsletter-box p {
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  color: #333;
  margin: 0 0 35px;
}

.newsletter-form {
  display: flex;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 16px 24px;
  border-radius: 8px;
  border: 1px solid #d1d9e2;
  font-size: 1.05rem;
  font-family: "Outfit", sans-serif;
  outline: none;
  transition: border-color 0.2s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.newsletter-form input:focus {
  border-color: #23c7d6;
}

.newsletter-form button {
  background: #23c7d6;
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  background: #1ebbc9;
}

.footer-main {
  background: #8b793f;
  padding: 60px 0 40px;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 0px;
}

.footer-col h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.footer-col ul li::before {
  content: "•";
  color: #ffffff;
  margin-right: 8px;
  font-size: 1.2rem;
}

.footer-col ul li a {
  color: #f8fafc;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-label {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  transition: transform 0.2s;
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.05);
}

.footer-disclaimer {
  background: #2cb1ff;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-family: "Outfit", sans-serif;
  line-height: 1.5;
  font-weight: 500;
}

.footer-copyright {
  background: #f1f5f9;
  padding: 5px 0;
  text-align: center;
  color: #11181f;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-social {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Theme Toggle & Dark Mode */
.theme-toggle {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(49, 80, 108, 0.08);
  color: #11181f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 16px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: #fff;
}

body.dark-mode {
  --bg-0: #0b0f19;
  --bg-1: #111827;
  --surface: rgba(17, 24, 39, 0.85);
  --surface-strong: rgba(3, 7, 18, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --muted: #9ca3af;
  background-color: #0b0f19 !important;
  background-image: none !important;
  color: #f3f4f6;
}

body.dark-mode::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #0b0f19;
  pointer-events: none;
  z-index: -3;
}

body.dark-mode .theme-toggle {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255,255,255,0.1);
  color: #e2e8f0;
}
body.dark-mode .theme-toggle:hover {
  background: rgba(30, 41, 59, 1);
}

body.dark-mode .topbar {
  background: rgba(15, 23, 42, 0.75);
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode .hero-value {
  color: #f8fafc;
}

body.dark-mode p, body.dark-mode .hero-subtitle, body.dark-mode .market-action-link, body.dark-mode .market-asset small, body.dark-mode .market-asset-type {
  color: #94a3b8;
}

body.dark-mode .section-title {
  color: #f8fafc !important;
}

body.dark-mode .section-subtitle {
  color: #cbd5e1 !important;
}

body.dark-mode .markets-heading h2 {
  color: #f8fafc !important;
}

body.dark-mode .markets-subtitle {
  color: #cbd5e1 !important;
}

body.dark-mode .nav a, body.dark-mode .faq-question {
  color: #cbd5e1;
}

body.dark-mode .nav a:hover, body.dark-mode .faq-question:hover {
  color: #2a97ec;
}

body.dark-mode .nav-btn-muted {
  color: #e2e8f0;
}

body.dark-mode .nav-btn-muted:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .stats-card,
body.dark-mode .market-table-shell,
body.dark-mode .staking-card,
body.dark-mode .hiw-step-card,
body.dark-mode .hiw-eco-card,
body.dark-mode .news-card,
body.dark-mode .faq-item,
body.dark-mode .faq-card-new,
body.dark-mode .newsletter-box,
body.dark-mode .simple-earn-calculator-shell,
body.dark-mode .staking-calculator-shell,
body.dark-mode .features-grid > div {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255,255,255,0.05);
  color: #e2e8f0;
}

body.dark-mode .faq-card-new h3 {
  color: #f8fafc !important;
}

body.dark-mode .faq-card-new p {
  color: #cbd5e1 !important;
}

body.dark-mode .news-card h3,
body.dark-mode .hiw-step-card h4,
body.dark-mode .hiw-eco-card h4,
body.dark-mode .news-card-arrow,
body.dark-mode .market-price {
  color: #f8fafc;
}

body.dark-mode .market-table th,
body.dark-mode .staking-card-header,
body.dark-mode .staking-card-body,
body.dark-mode .staking-card {
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

body.dark-mode .market-asset strong {
  color: #f8fafc;
}

body.dark-mode .market-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .page-noise {
  opacity: 0.2;
}

body.dark-mode .faq-icon::before,
body.dark-mode .faq-icon::after {
  background: #cbd5e1;
}

body.dark-mode .newsletter-form input,
body.dark-mode .market-search-box,
body.dark-mode input,
body.dark-mode select {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.dark-mode .stat-number,
body.dark-mode .stat-label,
body.dark-mode .section-tag,
body.dark-mode .feature-card h3,
body.dark-mode .feature-card p,
body.dark-mode .earn-calc-box label,
body.dark-mode .earn-result h4,
body.dark-mode .earn-result .result-value,
body.dark-mode .earn-result p,
body.dark-mode .reward-item strong,
body.dark-mode .reward-item span,
body.dark-mode .staking-calculator-shell label,
body.dark-mode .market-table td,
body.dark-mode .faq-answer-inner,
body.dark-mode .newsletter-box h2,
body.dark-mode .newsletter-box p,
body.dark-mode .market-asset-name,
body.dark-mode .market-asset-symbol {
  color: #f8fafc;
}

/* Feature cards dark */
body.dark-mode .feature-top-grid,
body.dark-mode .feature-card {
  background: rgba(20, 30, 48, 0.85);
  border-color: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

body.dark-mode .feature-top-card {
  color: #e2e8f0;
}

body.dark-mode .feature-top-card p,
body.dark-mode .feature-card p {
  color: #94a3b8;
}

body.dark-mode .feature-top-card + .feature-top-card {
  border-left-color: rgba(255,255,255,0.08);
}

body.dark-mode .feature-card h3 {
  color: #7ec8ff;
}

/* Staking & Calculator dark */
body.dark-mode .staking-calculator-shell,
body.dark-mode .simple-earn-calculator-shell {
  background: rgba(20, 30, 48, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .staking-field-head,
body.dark-mode .simple-earn-field-head {
  color: #cbd5e1;
}

body.dark-mode .staking-field-head strong,
body.dark-mode .simple-earn-field-head strong {
  color: #7ec8ff;
}

body.dark-mode .staking-range-meta,
body.dark-mode .simple-earn-range-meta {
  color: #94a3b8;
}

body.dark-mode .staking-duration-wrap,
body.dark-mode .simple-earn-duration-wrap {
  color: #cbd5e1;
}

body.dark-mode .staking-duration-pill,
body.dark-mode .simple-earn-duration-pill {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(255,255,255,0.1);
  color: #4ade80;
}

body.dark-mode .staking-estimate-box,
body.dark-mode .simple-earn-estimate-box {
  background: linear-gradient(180deg, rgba(15,40,65,0.9) 0%, rgba(10,30,55,0.9) 100%);
  border-color: rgba(78, 170, 255, 0.2);
}

body.dark-mode .staking-estimate-label,
body.dark-mode .simple-earn-estimate-label {
  color: #7ec8ff;
}

body.dark-mode .staking-estimate-sub,
body.dark-mode .simple-earn-estimate-sub {
  color: #94a3b8;
}

body.dark-mode .simple-earn-estimate-sub em {
  color: #7ea4c8;
}

body.dark-mode .staking-heading p,
body.dark-mode .staking-calculator-heading p,
body.dark-mode .simple-earn-heading p {
  color: #94a3b8;
}

/* How It Works dark */
body.dark-mode .hiw-step-card p,
body.dark-mode .hiw-eco-card p {
  color: #94a3b8;
}

body.dark-mode .hiw-step-number {
  background: rgba(30, 41, 59, 0.7);
  color: #7ec8ff;
}

/* Markets section dark */
body.dark-mode .market-filter-btn {
  background: rgba(30, 41, 59, 0.7);
  color: #94a3b8;
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .market-filter-btn.is-active,
body.dark-mode .market-filter-btn:hover {
  background: rgba(42, 151, 236, 0.2);
  color: #7ec8ff;
}

body.dark-mode .market-search-box {
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  border-color: rgba(255,255,255,0.1);
}

body.dark-mode .market-search-box::placeholder {
  color: #64748b;
}

body.dark-mode .market-table th {
  color: #64748b;
}

body.dark-mode .market-price {
  color: #f8fafc;
}

/* News section dark */
body.dark-mode .news-section-heading,
body.dark-mode .news-card-excerpt {
  color: #94a3b8;
}

body.dark-mode .news-card-meta span {
  color: #64748b;
}

/* FAQ dark */
body.dark-mode .faq-question {
  color: #e2e8f0;
}

body.dark-mode .faq-answer-inner p,
body.dark-mode .faq-answer-inner li {
  color: #94a3b8;
}

/* Hero stat cards dark */
body.dark-mode .stats-card h3 {
  color: #f8fafc;
}

body.dark-mode .stats-card p {
  color: #94a3b8;
}

/* Footer dark */
body.dark-mode .footer-copyright {
  background: rgba(15, 23, 42, 0.98);
  color: #64748b;
}

body.dark-mode .footer-disclaimer {
  background: rgba(30, 41, 59, 0.95);
  color: #cbd5e1;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: #1c2b39;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #1c2b39;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(28, 43, 57, 0.2);
}

body.dark-mode .scroll-top-btn {
  background: #1e293b;
  color: #f3f4f6;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .scroll-top-btn:hover {
  background: #2cb1ff;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(44, 177, 255, 0.3);
}

@media (max-width: 860px) {
  .theme-toggle {
    margin-right: 20px;
    margin-left: auto;
  }
}
