/* ============================================
   SWA Market Desk — White + Dark Green
   Fortradex-inspired layout, SWA branding
   ============================================ */

:root {
  --swa-accent: #1a6b2e;
  --swa-accent-bright: #22823a;
  --swa-accent-hover: #145524;
  --swa-accent-soft: rgba(34, 130, 58, 0.1);
  --swa-dark: #131615;
  --swa-ink: #0f1412;
  --swa-panel: #ffffff;
  --swa-panel-2: #f4f8f5;
  --swa-text: #131615;
  --swa-muted: #5a6b60;
  --swa-white: #ffffff;
  --swa-bg: #ffffff;
  --swa-bg-2: #f4f8f5;
  --swa-surface: #ffffff;
  --swa-line: #d7e5db;
  --swa-shadow: 0 10px 36px rgba(19, 22, 21, 0.08);
  --swa-shadow-lg: 0 20px 50px rgba(19, 22, 21, 0.12);
  --font-head: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: min(1280px, 92%);
  --header-top: 48px;
  --header-main: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --swa-green: var(--swa-accent);
  --swa-green-bright: var(--swa-accent-bright);
  --swa-green-hover: var(--swa-accent-hover);
  --swa-green-soft: var(--swa-accent-soft);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.swa-desk {
  font-family: var(--font-body);
  background: var(--swa-bg);
  color: var(--swa-text);
  line-height: 1.65;
  overflow-x: hidden;
}

body.swa-desk a { color: inherit; text-decoration: none; }
body.swa-desk ul { list-style: none; }
body.swa-desk img { max-width: 100%; display: block; }
body.swa-desk #particle-canvas { display: none; }

.swa-container { width: var(--container); margin-inline: auto; position: relative; z-index: 1; }
.swa-large { width: min(1400px, 94%); margin-inline: auto; position: relative; z-index: 1; }
.hidden { display: none !important; }

/* ---- Preloader ---- */
.loader-wrap {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff;
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.loader-wrap.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner { text-align: center; }
.preloader-spinner {
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  border: 2px solid rgba(26, 107, 46, 0.15);
  border-top-color: var(--swa-accent-bright);
  animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.txt-loading {
  display: flex;
  justify-content: center;
  gap: 0.08em;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.txt-loading span {
  color: rgba(19, 22, 21, 0.2);
  position: relative;
}
.txt-loading span::before {
  content: attr(data-text-preloader);
  position: absolute;
  inset: 0;
  color: var(--swa-accent-bright);
  opacity: 0;
  animation: letterFlash 2.4s ease-in-out infinite;
}
.txt-loading span:nth-child(1)::before { animation-delay: 0s; }
.txt-loading span:nth-child(2)::before { animation-delay: 0.08s; }
.txt-loading span:nth-child(3)::before { animation-delay: 0.16s; }
.txt-loading span:nth-child(4)::before { animation-delay: 0.24s; }
.txt-loading span:nth-child(5)::before { animation-delay: 0.32s; }
.txt-loading span:nth-child(6)::before { animation-delay: 0.4s; }
.txt-loading span:nth-child(7)::before { animation-delay: 0.48s; }
.txt-loading span:nth-child(8)::before { animation-delay: 0.56s; }
.txt-loading span:nth-child(9)::before { animation-delay: 0.64s; }
.txt-loading span:nth-child(10)::before { animation-delay: 0.72s; }
@keyframes letterFlash {
  0%, 100% { opacity: 0; }
  40%, 60% { opacity: 1; }
}

/* ---- Patterns ---- */
.pattern-dots,
.section-muted,
.section-pad { position: relative; }

.pattern-dots::before,
.section-muted::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: radial-gradient(circle at 1px 1px, rgba(34, 130, 58, 0.14) 1px, transparent 0);
  background-size: 22px 22px;
}

.pattern-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(34, 130, 58, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 130, 58, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pattern-blur-orbs::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 130, 58, 0.14), transparent 70%);
  filter: blur(40px);
  top: -80px;
  right: -60px;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 10s ease-in-out infinite;
}
.pattern-blur-orbs.alt::after {
  left: -80px;
  right: auto;
  bottom: -100px;
  top: auto;
  background: radial-gradient(circle, rgba(34, 130, 58, 0.1), transparent 70%);
  animation-delay: -4s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 18px) scale(1.08); }
}

/* ---- Buttons ---- */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.7rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.btn-one,
a.theme-btn.btn-one,
button.theme-btn.btn-one {
  background: var(--swa-accent-bright);
  color: #ffffff;
  border: 1px solid var(--swa-accent-bright);
  box-shadow: 0 10px 28px rgba(34, 130, 58, 0.28);
}
.btn-two,
a.theme-btn.btn-two,
button.theme-btn.btn-two {
  background: transparent;
  color: var(--swa-accent-bright);
  border: 1px solid var(--swa-accent-bright);
  box-shadow: none;
}
.btn-ghost,
a.theme-btn.btn-ghost,
button.theme-btn.btn-ghost {
  background: transparent;
  color: var(--swa-accent-bright);
  border: 1px solid var(--swa-line);
  box-shadow: none;
}
.btn-ghost:hover { background: var(--swa-accent-soft); border-color: var(--swa-accent-bright); }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e53935;
  display: inline-block;
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.btn-one::before,
.btn-two::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}
.btn-one:hover {
  background: var(--swa-accent-hover);
  border-color: var(--swa-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(34, 130, 58, 0.35);
  color: #fff;
}
.btn-two:hover {
  background: var(--swa-accent-bright);
  color: #fff;
  transform: translateY(-3px);
}
.btn-one:hover::before,
.btn-two:hover::before { transform: translateX(120%); }

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Header ---- */
.main-header { position: relative; z-index: 1000; }

.header-top {
  background: var(--swa-accent-bright);
  height: var(--header-top);
}
.top-inner {
  height: var(--header-top);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.support-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.support-box i { color: #fff; }
.support-box a { color: rgba(255,255,255,0.92); }
.support-box a:hover { color: #fff; }

.option-block { display: none; gap: 0.55rem; }
@media (max-width: 1100px) {
  .option-block { display: flex; }
}
.option-block .theme-btn { padding: 0.42rem 1rem; font-size: 0.78rem; }
.option-block .btn-one,
.option-block .btn-two {
  background: #fff;
  color: var(--swa-accent-bright);
  border-color: #fff;
  box-shadow: none;
}
.option-block .btn-one:hover,
.option-block .btn-two:hover {
  background: #e8f5ec;
  color: var(--swa-accent-hover);
  border-color: #e8f5ec;
}

.header-lower {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--swa-line);
  box-shadow: 0 4px 24px rgba(19, 22, 21, 0.04);
}
.header-lower .outer-box {
  min-height: var(--header-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-box a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--swa-accent-bright), var(--swa-accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  box-shadow: 0 8px 22px rgba(34, 130, 58, 0.3);
}
.logo-box .brand { color: var(--swa-dark); }

.main-menu .navigation {
  display: flex;
  align-items: center;
  gap: 0.05rem;
}
.main-menu .navigation > li { position: relative; }
.main-menu .navigation > li > a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1.6rem 0.95rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--swa-muted);
  transition: color 0.2s;
}
.main-menu .navigation > li > a:hover,
.main-menu .navigation > li.current > a {
  color: var(--swa-accent-bright);
}

.main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 6px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s var(--ease);
  z-index: 50;
  box-shadow: var(--swa-shadow-lg);
}
.main-menu .navigation > li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-menu .sub-menu a {
  display: block;
  padding: 0.65rem 1.1rem;
  color: var(--swa-muted);
  font-size: 0.9rem;
}
.main-menu .sub-menu a:hover {
  color: var(--swa-accent-bright);
  background: var(--swa-accent-soft);
}

.menu-area { display: flex; align-items: center; gap: 0.75rem; }

.mobile-nav-toggler {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--swa-line);
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.mobile-nav-toggler span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--swa-accent-bright);
}

/* ---- Sticky header — no empty black gap ---- */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  min-height: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--swa-line);
  transform: translateY(-100%);
  transition: transform 0.3s var(--ease);
  z-index: 1001;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.sticky-header.active {
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(19, 22, 21, 0.08);
}
.sticky-header .outer-box {
  min-height: 64px;
  max-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
}
.sticky-header .main-menu .navigation > li > a {
  padding: 1rem 0.75rem;
}

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu .menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 22, 21, 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-menu.open .menu-backdrop { opacity: 1; }
.mobile-menu .menu-box {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: #fff;
  border-left: 1px solid var(--swa-line);
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open .menu-box { transform: translateX(0); }
.mobile-menu .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--swa-line);
  background: transparent;
  color: var(--swa-text);
  border-radius: 6px;
  cursor: pointer;
}
.mobile-menu .nav-logo { margin: 0.5rem 0 1.5rem; }
.mobile-menu .navigation a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--swa-line);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--swa-muted);
}
.mobile-menu .navigation a:hover { color: var(--swa-accent-bright); }

/* ---- Banner — flush under header, no empty black band ---- */
.banner-section {
  position: relative;
  padding: 0;
  margin: 0;
  background: var(--swa-dark);
}
.banner-section .swa-large {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.banner-slide {
  display: none;
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  border-radius: 0;
  overflow: hidden;
}
.banner-slide.active { display: block; animation: fadeSlide 0.7s var(--ease); }
@keyframes fadeSlide {
  from { opacity: 0.4; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}
.banner-slide .bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.banner-slide .bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(15, 20, 18, 0.88) 0%, rgba(15, 20, 18, 0.45) 52%, rgba(15, 20, 18, 0.25) 100%),
    linear-gradient(0deg, rgba(15, 20, 18, 0.55), transparent 42%);
}
.content-box {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: clamp(3rem, 8vw, 5.5rem) clamp(1.5rem, 4vw, 3.5rem);
}
.content-box h2 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #fff;
}
.content-box p {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 1.75rem;
}
.banner-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: 0.25s;
}
.banner-dots button.active {
  background: var(--swa-accent-bright);
  width: 28px;
  border-radius: 6px;
}

/* ---- Clients ---- */
.clients-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--swa-line);
  background: #fff;
}
.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  align-items: center;
}
.clients-list li {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(19, 22, 21, 0.28);
  transition: color 0.25s;
}
.clients-list li:hover { color: var(--swa-accent-bright); }

/* ---- Sections ---- */
.section-pad { padding: 5rem 0; }
.section-muted { background: var(--swa-bg-2); }

.sec-title {
  text-align: center;
  margin-bottom: 2.75rem;
}
.sec-title.left { text-align: left; }
.sec-title .sub-title,
h6.sub-title {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--swa-accent-bright);
  margin-bottom: 0.65rem;
}
.sec-title h2 {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--swa-dark);
}

/* ---- Account cards ---- */
.account-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.account-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 4px;
  padding: 1.85rem 1.4rem;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.account-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 130, 58, 0.35);
  box-shadow: var(--swa-shadow);
}
.account-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--swa-accent-soft);
  color: var(--swa-accent-bright);
  font-size: 1.25rem;
  margin-bottom: 1.15rem;
  transition: background 0.3s, color 0.3s;
}
.account-card:hover .icon-box {
  background: var(--swa-accent-bright);
  color: #fff;
}
.account-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}
.account-card h3 a:hover { color: var(--swa-accent-bright); }
.account-card p { color: var(--swa-muted); font-size: 0.92rem; }

/* ---- About + accordion ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.accordion-box .accordion {
  border-bottom: 1px solid var(--swa-line);
}
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: var(--swa-dark);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.acc-btn .icon-box {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--swa-line);
  display: grid;
  place-items: center;
  color: var(--swa-accent-bright);
  flex-shrink: 0;
  transition: 0.25s;
}
.accordion.active .acc-btn .icon-box {
  background: var(--swa-accent-bright);
  color: #fff;
  border-color: var(--swa-accent-bright);
}
.accordion.active .acc-btn .icon-box i { transform: rotate(45deg); }
.acc-btn .icon-box i { transition: transform 0.25s; }
.acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion.active .acc-content { max-height: 160px; }
.acc-content p {
  color: var(--swa-muted);
  padding: 0 0 1.15rem 2.9rem;
  font-size: 0.95rem;
}

.video-panel {
  position: relative;
  min-height: 380px;
  border-radius: 4px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(34, 130, 58, 0.35), transparent 50%),
    linear-gradient(160deg, #1a2e22, #0f1412);
  border: 1px solid var(--swa-line);
  display: grid;
  place-items: center;
}
.video-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(34, 130, 58, 0.35), transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='%2322823a' stroke-opacity='0.12'/%3E%3C/svg%3E");
}
.video-btn {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--swa-accent-bright);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: 0 0 0 0 rgba(34, 130, 58, 0.45);
  animation: pulseRing 2.4s ease-out infinite;
  transition: transform 0.3s;
}
.video-btn:hover { transform: scale(1.08); }
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(34, 130, 58, 0.45); }
  70% { box-shadow: 0 0 0 22px rgba(34, 130, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 130, 58, 0); }
}

/* ---- Funfacts ---- */
.funfact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.funfact-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--swa-line);
}
.funfact-card:last-child { border-right: none; }
.funfact-card .count {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--swa-accent-bright);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.funfact-card .label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.funfact-card p { color: var(--swa-muted); font-size: 0.9rem; }

/* ---- Trading cards ---- */
.trading-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.trading-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 4px;
  padding: 1.6rem 1.1rem 1.4rem;
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}
.trading-card:hover {
  transform: translateY(-10px);
  border-color: rgba(34, 130, 58, 0.35);
  box-shadow: var(--swa-shadow);
}
.trading-card .viz {
  height: 110px;
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--swa-accent-bright);
  margin-bottom: 0.75rem;
  background: radial-gradient(circle at 50% 60%, rgba(34, 130, 58, 0.12), transparent 65%);
}
.trading-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.trading-card p {
  color: var(--swa-muted);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
  min-height: 2.6em;
}
.trading-card .theme-btn {
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  width: 100%;
}

/* ---- Process ---- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.process-step {
  display: flex;
  gap: 1.15rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--swa-line);
}
.process-step .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--swa-accent-bright);
  line-height: 1;
  min-width: 2.2rem;
}
.process-step h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.process-step p { color: var(--swa-muted); font-size: 0.92rem; }
.process-visual {
  position: relative;
  min-height: 360px;
  border-radius: 4px;
  background:
    linear-gradient(160deg, rgba(34, 130, 58, 0.18), transparent 50%),
    linear-gradient(200deg, #e8f5ec, #f4f8f5);
  border: 1px solid var(--swa-line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.process-visual::before {
  content: "";
  position: absolute;
  width: 220%;
  height: 220%;
  background: conic-gradient(from 180deg, transparent, rgba(34, 130, 58, 0.1), transparent 40%);
  animation: spin 18s linear infinite;
}
.center-badge {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--swa-accent-bright);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: var(--swa-dark);
  box-shadow: 0 0 40px rgba(34, 130, 58, 0.18);
}

/* ---- Awards ---- */
.award-table {
  width: 100%;
  border-collapse: collapse;
}
.award-table tr {
  border-bottom: 1px solid var(--swa-line);
  transition: background 0.25s;
}
.award-table tr:hover { background: rgba(34, 130, 58, 0.04); }
.award-table td {
  padding: 1.25rem 0.75rem;
  vertical-align: middle;
}
.award-table td:first-child {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--swa-accent-bright);
  width: 3rem;
}
.award-table h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
}
.award-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--swa-accent-soft);
  color: var(--swa-accent-bright);
}
.award-table .year {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--swa-muted);
  text-align: right;
  width: 4.5rem;
}

/* ---- App banner ---- */
.app-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 6px;
  background:
    linear-gradient(120deg, rgba(34, 130, 58, 0.1), transparent 45%),
    linear-gradient(160deg, #eef7f1, #ffffff);
  border: 1px solid var(--swa-line);
}
.app-stores {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.app-stores a {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid var(--swa-line);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--swa-text);
  background: #fff;
  transition: 0.25s;
}
.app-stores a:hover {
  background: var(--swa-accent-bright);
  color: #fff;
  border-color: var(--swa-accent-bright);
}
.app-mock {
  min-height: 260px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #1a2e22, #131615);
  border: 1px solid var(--swa-line);
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-head);
  font-weight: 600;
  padding: 2rem;
  box-shadow: var(--swa-shadow);
}

/* ---- News ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}
.news-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 4px;
  padding: 1.6rem 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.3s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 130, 58, 0.35);
}
.news-card .date {
  font-size: 0.8rem;
  color: var(--swa-accent-bright);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.news-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.news-card h3 a:hover { color: var(--swa-accent-bright); }
.news-card p {
  color: var(--swa-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1rem;
}
.news-card .link {
  color: var(--swa-accent-bright);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}
.news-card .author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--swa-line);
  font-size: 0.85rem;
  color: var(--swa-muted);
}
.news-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--swa-accent-bright), var(--swa-accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
}

/* ---- Subscribe ---- */
.subscribe-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2.25rem 2rem;
  border-radius: 6px;
  background: linear-gradient(105deg, #1a6b2e, #22823a 55%, #2a9a48);
  border: 1px solid transparent;
}
.subscribe-bar h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  max-width: 360px;
  color: #fff;
}
.subscribe-form {
  display: flex;
  gap: 0.65rem;
  flex: 1;
  max-width: 480px;
}
.subscribe-form input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  border-radius: 2px;
  border: none;
  background: #fff;
  color: var(--swa-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.subscribe-form input:focus {
  outline: 2px solid rgba(255,255,255,0.6);
}
.subscribe-bar .btn-one {
  background: #fff;
  color: var(--swa-accent-bright);
  border-color: #fff;
  box-shadow: none;
}
.subscribe-bar .btn-one:hover {
  background: #e8f5ec;
  color: var(--swa-accent-hover);
}

/* ---- Footer ---- */
.main-footer {
  background: #131615;
  border-top: none;
  padding-top: 3.5rem;
}
.footer-widgets {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand { color: #fff !important; -webkit-text-fill-color: #fff; }
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  margin: 0.85rem 0 1.15rem;
  max-width: 280px;
}
.footer-widgets h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-widgets a {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-widgets a:hover { color: #fff; }
/* Beat body.swa-desk a { color: inherit } on dark footer */
body.swa-desk .main-footer .footer-widgets a {
  color: rgba(255,255,255,0.82) !important;
}
body.swa-desk .main-footer .footer-widgets a:hover {
  color: #fff !important;
}
body.swa-desk .main-footer .footer-brand p {
  color: rgba(255,255,255,0.65);
}
body.swa-desk .main-footer .footer-widgets h3 {
  color: #fff;
}
body.swa-desk .main-footer .bottom-inner p {
  color: rgba(255,255,255,0.55);
}
.social-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255,255,255,0.08);
  padding: 0 !important;
  font-size: 0.95rem;
  line-height: 1;
  transition: 0.25s;
}
.social-links a i {
  color: #fff !important;
  font-size: 1rem;
}
.social-links a:hover {
  background: var(--swa-accent-bright);
  color: #fff !important;
  border-color: var(--swa-accent-bright);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.bottom-inner p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

/* ---- Page banner ---- */
.page-banner {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(120deg, rgba(15, 20, 18, 0.9), rgba(15, 20, 18, 0.65)),
    linear-gradient(160deg, #1a2e22, #0f1412);
  border-bottom: none;
}
.page-banner h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0.4rem 0 0.75rem;
  color: #fff;
}
.page-banner p {
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  font-size: 1.05rem;
}
.page-banner .sub-title { color: #7dcea0 !important; }

/* ---- Scroll top ---- */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--swa-line);
  background: #fff;
  color: var(--swa-accent-bright);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.3s;
  z-index: 900;
  box-shadow: var(--swa-shadow);
}
.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover {
  background: var(--swa-accent-bright);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .account-grid { grid-template-columns: repeat(2, 1fr); }
  .trading-row { grid-template-columns: repeat(3, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-menu { display: none; }
  .mobile-nav-toggler { display: flex; }
  .sticky-header .main-menu { display: none; }
  .about-grid,
  .process-grid,
  .app-banner { grid-template-columns: 1fr; }
  .funfact-row { grid-template-columns: 1fr; }
  .funfact-card { border-right: none; border-bottom: 1px solid var(--swa-line); }
  .news-grid { grid-template-columns: 1fr; }
  .subscribe-bar { flex-direction: column; align-items: stretch; }
  .subscribe-form { max-width: none; flex-direction: column; }
}
@media (max-width: 640px) {
  .account-grid,
  .trading-row,
  .footer-widgets { grid-template-columns: 1fr; }
  .content-box { padding: 2.5rem 1.25rem; }
  .banner-slide { min-height: 420px; }
  .support-box span { display: none; }
}

/* CMS blog posts from admin panel */
.cms-cover {
  height: 160px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #e8f5ee, #d4ebe0);
  color: #1a7a4c;
  font-size: 2rem;
  border-radius: 4px 4px 0 0;
}
.cms-media { position: relative; overflow: hidden; }
.cms-body { margin-top: 0.75rem; }
.cms-body summary {
  cursor: pointer;
  color: var(--swa-accent-bright, #1a7a4c);
  font-weight: 600;
}
.cms-body-text {
  margin-top: 0.75rem;
  line-height: 1.65;
  color: var(--swa-text, #243028);
}
