/* Extra polish: loader v2, hero 3D stage, crisp images, single footer */

/* ---- Loader v3 — text · images · progress ---- */
.loader-wrap.v2,
.loader-wrap.v3 {
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(34, 130, 58, 0.14), transparent 58%),
    radial-gradient(circle at 20% 80%, rgba(125, 206, 160, 0.12), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(34, 130, 58, 0.08), transparent 35%),
    #ffffff;
}

.loader-wrap.v2::before,
.loader-wrap.v2::after,
.loader-wrap.v3::before,
.loader-wrap.v3::after { display: none; }

.loader-wrap.v3 .preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  max-width: 420px;
}

.loader-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  min-height: 150px;
  perspective: 800px;
}

.loader-stage img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 18px 32px rgba(15, 40, 25, 0.22));
  opacity: 0;
  transform: translateY(28px) scale(0.82) rotate(-6deg);
  animation:
    loaderPop 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    loaderFloat 3.6s ease-in-out 0.85s infinite;
}

.loader-stage img:nth-child(1) { animation-delay: 0.12s, 0.95s; }
.loader-stage img:nth-child(2) {
  width: 128px;
  height: 128px;
  animation-delay: 0.26s, 1.1s;
  z-index: 2;
}
.loader-stage img:nth-child(3) {
  animation-delay: 0.4s, 1.25s;
}

@keyframes loaderPop {
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.loader-bars {
  display: flex;
  gap: 7px;
  height: 30px;
  align-items: flex-end;
  margin-bottom: 1.35rem;
}

.loader-bars span {
  width: 6px;
  border-radius: 99px;
  background: linear-gradient(180deg, #3ecf6a, #145524);
  box-shadow: 0 4px 12px rgba(34, 130, 58, 0.35);
  animation: barPulse 0.85s ease-in-out infinite;
}

.loader-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.loader-bars span:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.loader-bars span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.loader-bars span:nth-child(4) { height: 55%; animation-delay: 0.3s; }
.loader-bars span:nth-child(5) { height: 80%; animation-delay: 0.4s; }

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.55); opacity: 0.55; }
  50% { transform: scaleY(1); opacity: 1; }
}

.loader-brand {
  font-family: var(--font-head, Syne, sans-serif);
  font-weight: 800;
  font-size: clamp(1.75rem, 4.5vw, 2.45rem);
  letter-spacing: 0.18em;
  color: #131615;
  margin-bottom: 0.15rem;
  line-height: 1;
  display: flex;
  justify-content: center;
  gap: 0.12em;
}

.loader-brand .lb-letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
  animation: letterIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.loader-brand .lb-letter.is-green {
  color: #22823a;
}

.loader-brand .lb-space {
  width: 0.35em;
}

@keyframes letterIn {
  to { opacity: 1; transform: none; }
}

.loader-tagline {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6a7a70;
  margin: 0.55rem 0 1.15rem;
  opacity: 0;
  animation: letterIn 0.5s 0.55s forwards;
}

.loader-progress {
  width: min(260px, 72vw);
  height: 6px;
  border-radius: 999px;
  background: rgba(34, 130, 58, 0.12);
  overflow: hidden;
  margin: 0 auto 0.85rem;
  box-shadow: inset 0 1px 2px rgba(15, 40, 25, 0.06);
}

.loader-progress > i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1a6b2e, #3ecf6a, #7dcea0, #1a6b2e);
  background-size: 200% 100%;
  animation: progressFlow 1.4s linear infinite;
  transition: width 0.12s linear;
  box-shadow: 0 0 12px rgba(62, 207, 106, 0.45);
}

@keyframes progressFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.loader-meta {
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3d4a42;
  min-height: 1.2em;
  transition: opacity 0.25s ease;
}

.loader-meta.is-swap {
  opacity: 0.35;
}

/* ---- Crisp 3D images (site-wide) ---- */
.img-3d,
.page-hero-art,
.loader-stage img,
.grade-3d,
.spath-3d,
.hero-stage img,
.auth-art img,
.school-hero-3d img,
.cta-3d,
.study-hero-art img,
.types-grid a img {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  object-fit: contain;
  background: transparent !important;
  user-select: none;
  -webkit-user-drag: none;
}

.img-3d {
  max-width: none;
  filter: drop-shadow(0 14px 26px rgba(15, 40, 25, 0.18));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s;
}

.img-3d.float,
.page-hero-art {
  animation: imgBob 4.8s ease-in-out infinite;
}

.img-3d:hover,
.page-hero-art:hover {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 22px 36px rgba(34, 130, 58, 0.28));
}

@keyframes imgBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.account-card .icon-box {
  width: 96px !important;
  height: 96px !important;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(165deg, #f4faf6, #fff);
  border: 1px solid rgba(34, 130, 58, 0.1);
}

.account-card .icon-box .img-3d {
  width: 72px !important;
  height: 72px !important;
}

.trading-card .viz {
  height: 160px !important;
  background: linear-gradient(180deg, #f4f8f5, #ffffff) !important;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.trading-card .viz .img-3d {
  width: 120px !important;
  height: 120px !important;
}

.trading-card .viz svg { display: none; }

.process-visual .img-3d {
  width: min(300px, 78%) !important;
}

.app-mock-art .img-3d {
  width: min(280px, 85%) !important;
}

.video-panel .img-3d {
  filter: drop-shadow(0 18px 30px rgba(15, 40, 25, 0.2));
}

.page-hero-art {
  width: min(240px, 42vw);
  height: auto;
  filter: drop-shadow(0 20px 36px rgba(34, 130, 58, 0.22));
}

@media (max-width: 700px) {
  .page-hero-art { display: none; }
  .loader-stage img { width: 72px; height: 72px; }
  .loader-stage img:nth-child(2) { width: 96px; height: 96px; }
  .loader-brand { letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .loader-stage img,
  .loader-bars span,
  .loader-progress > i,
  .img-3d.float,
  .page-hero-art {
    animation: none !important;
  }
  .loader-stage img { opacity: 1; transform: none; }
}
.hero-stage {
  position: absolute;
  right: clamp(1rem, 4vw, 3.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: min(420px, 46%);
  height: min(360px, 70%);
  pointer-events: none;
}
.hero-stage img {
  position: absolute;
  object-fit: contain;
  background: transparent !important;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.45));
}
.hero-stage .a {
  width: 46%;
  left: 4%;
  top: 8%;
  z-index: 2;
}
.hero-stage .b {
  width: 58%;
  right: 2%;
  top: 18%;
  z-index: 3;
}
.hero-stage .c {
  width: 40%;
  left: 18%;
  bottom: 4%;
  z-index: 1;
  opacity: 0.95;
}
.banner-slide .hero-panel { display: none; }

@media (max-width: 900px) {
  .hero-stage {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 200px;
    margin: 0 auto 1rem;
  }
  .content-box { padding-bottom: 1.5rem; }
}

/* ---- Crisp 3D images (fix compressed look) ---- */
.img-3d {
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  backface-visibility: hidden;
  transform: translateZ(0);
  max-width: none;
}
.account-card .icon-box {
  width: 96px !important;
  height: 96px !important;
}
.account-card .icon-box .img-3d {
  width: 92px !important;
  height: 92px !important;
}
.trading-card .viz {
  height: 160px !important;
  background: linear-gradient(180deg, #f4f8f5, #ffffff) !important;
}
.trading-card .viz .img-3d {
  width: 120px !important;
  height: 120px !important;
}
.trading-card .viz svg { display: none; }
.process-visual .img-3d {
  width: min(300px, 78%) !important;
}
.app-mock-art .img-3d {
  width: min(280px, 85%) !important;
}
.video-panel .img-3d {
  width: min(220px, 48%) !important;
}

/* Hide ugly tiny tags that look compressed */
.account-card .tag {
  letter-spacing: 0.06em;
  font-size: 0.7rem;
  text-transform: none;
  border-radius: 6px;
}

/* ---- Single clean footer ---- */
.main-footer .footer-bottom .social-links,
.main-footer .asset-credit { display: none !important; }
.main-footer .footer-widgets {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.main-footer .footer-bottom {
  border-top: none;
  padding: 1.1rem 0 1.4rem;
}
.main-footer .bottom-inner {
  justify-content: center;
  text-align: center;
}
.main-footer .bottom-inner p {
  max-width: 720px;
  margin: 0 auto;
}

/* Inner page upgrades */
.page-banner {
  position: relative;
  overflow: hidden;
}
.page-banner .banner-art {
  position: absolute;
  right: 6%;
  bottom: -10%;
  width: min(220px, 30%);
  opacity: 0.9;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  pointer-events: none;
}
@media (max-width: 700px) {
  .page-banner .banner-art { display: none; }
}

/* Inner page content polish */
.inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.inner-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.inner-card:hover {
  border-color: rgba(34, 130, 58, 0.35);
  box-shadow: 0 16px 40px rgba(15, 20, 18, 0.08);
  transform: translateY(-3px);
}
.inner-card .viz {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 1rem;
}
.inner-card .viz img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(15, 20, 18, 0.15));
}
.inner-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  color: var(--swa-dark);
}
.inner-card p {
  color: var(--swa-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
}
.desk-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--swa-dark);
}
.desk-form input,
.desk-form textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid rgba(34, 130, 58, 0.18);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--swa-dark);
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.desk-form input:hover,
.desk-form textarea:hover {
  border-color: rgba(34, 130, 58, 0.32);
}
.desk-form input:focus,
.desk-form textarea:focus {
  outline: none;
  border-color: var(--swa-accent-bright);
  box-shadow: 0 0 0 3px rgba(34, 130, 58, 0.14);
  background: #fff;
}
.faq-list details {
  border: 1px solid var(--swa-line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.faq-list summary {
  font-family: var(--font-head);
  font-weight: 650;
  cursor: pointer;
  color: var(--swa-dark);
}
.faq-list details[open] summary { color: var(--swa-accent-bright); }
.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--swa-muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .inner-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .inner-grid { grid-template-columns: 1fr; }
}

/* ---- Homepage extras ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}
.why-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 10px 20px rgba(15, 20, 18, 0.12));
}
.why-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--swa-dark);
}
.why-card p {
  margin: 0;
  color: var(--swa-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.security-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(34, 130, 58, 0.35), transparent 50%),
    linear-gradient(135deg, #0f1a14, #131615 55%, #1a2e22);
  border-radius: 18px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  overflow: hidden;
}
.security-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0.4rem 0 0.75rem;
}
.security-band p { color: rgba(255,255,255,0.72); max-width: 420px; }
.security-band .checks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.security-band .checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
}
.security-band .checks i { color: #3bb961; }
.security-art {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  align-items: flex-end;
}
.security-art img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.35));
}
.security-art img:nth-child(2) {
  width: 130px;
  height: 130px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-color: var(--swa-accent-bright);
  box-shadow: 0 20px 50px rgba(34, 130, 58, 0.15);
  transform: scale(1.02);
}
.price-card .plan {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--swa-accent-bright);
}
.price-card h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  margin: 0.5rem 0 0.25rem;
  color: var(--swa-dark);
}
.price-card .amt {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--swa-dark);
  margin: 0.5rem 0 1rem;
}
.price-card .amt small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--swa-muted);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.price-card ul li {
  padding: 0.4rem 0;
  color: var(--swa-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(15, 20, 18, 0.06);
}
.price-card ul li::before {
  content: "✓ ";
  color: var(--swa-accent-bright);
  font-weight: 700;
}
.price-card .theme-btn { width: 100%; text-align: center; }
.price-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--swa-accent-bright);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.quote-card {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 14px;
  padding: 1.5rem;
}
.quote-card p {
  color: var(--swa-dark);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.15rem;
}
.quote-card .who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.quote-card .who .av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22823a, #145524);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
}
.quote-card .who strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--swa-dark);
}
.quote-card .who span {
  font-size: 0.8rem;
  color: var(--swa-muted);
}

.tools-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.tool-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 14px;
  padding: 1.25rem;
}
.tool-card img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.tool-card h3 {
  font-family: var(--font-head);
  margin: 0 0 0.35rem;
  color: var(--swa-dark);
}
.tool-card p {
  margin: 0 0 0.65rem;
  color: var(--swa-muted);
  font-size: 0.92rem;
}
.tool-card a {
  color: var(--swa-accent-bright);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.cta-strip {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(34, 130, 58, 0.18), transparent 55%),
    #f4f8f5;
  border: 1px solid var(--swa-line);
  border-radius: 18px;
  padding: clamp(2rem, 5vw, 3rem);
}
.cta-strip h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 0.6rem;
  color: var(--swa-dark);
}
.cta-strip p {
  color: var(--swa-muted);
  max-width: 520px;
  margin: 0 auto 1.35rem;
}
.cta-strip .actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.legal-prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--swa-muted);
  line-height: 1.7;
}
.legal-prose h2 {
  font-family: var(--font-head);
  color: var(--swa-dark);
  font-size: 1.25rem;
  margin: 1.75rem 0 0.5rem;
}
.legal-prose p { margin: 0 0 0.85rem; }

.main-footer .footer-widgets {
  grid-template-columns: 1.4fr repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .price-grid, .quote-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .security-band { grid-template-columns: 1fr; }
  .tools-row { grid-template-columns: 1fr; }
  .main-footer .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .tool-card { grid-template-columns: 1fr; text-align: center; }
  .tool-card img { margin: 0 auto; }
}

/* Live finance / forex / quiz */
.live-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}
.yt-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0f1a14;
  border: 1px solid var(--swa-line);
  box-shadow: 0 16px 40px rgba(15, 20, 18, 0.1);
}
.yt-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.live-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.live-item {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border: 1px solid var(--swa-line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
.live-item:hover {
  border-color: rgba(34, 130, 58, 0.4);
  box-shadow: 0 10px 28px rgba(15, 20, 18, 0.08);
}
.live-item .yt-ic {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ff0000;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.live-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--swa-dark);
}
.live-item span {
  font-size: 0.8rem;
  color: var(--swa-muted);
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c62828;
  margin-bottom: 0.5rem;
}
.live-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  animation: livePulse 1.2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
.fx-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.fx-tile {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.fx-tile .pair {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--swa-muted);
}
.fx-tile .price {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--swa-dark);
  margin: 0.25rem 0;
}
.fx-tile .chg.up { color: #22823a; }
.fx-tile .chg.down { color: #c62828; }
.fx-meta {
  color: var(--swa-muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.fx-tile.ready {
  border-color: rgba(34, 130, 58, 0.28);
}
.fx-tile.is-error,
[data-coin].is-error {
  opacity: 0.75;
  border-color: rgba(198, 40, 40, 0.35);
}
.fx-tile .price {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.tv-wrap {
  border: 1px solid var(--swa-line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  min-height: 420px;
}
.tv-wrap .tradingview-widget-container,
.tv-wrap .tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}
.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 16px;
  padding: 1.75rem;
}
.quiz-card h3 {
  font-family: var(--font-head);
  margin: 0 0 1rem;
  color: var(--swa-dark);
}
.quiz-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
  border: 1px solid var(--swa-line);
  border-radius: 10px;
  background: #f7faf8;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--swa-dark);
  transition: 0.2s;
}
.quiz-opt:hover { border-color: var(--swa-accent-bright); background: #fff; }
.quiz-opt.correct {
  border-color: #22823a;
  background: #e8f5ec;
}
.quiz-opt.wrong {
  border-color: #c62828;
  background: #fdecea;
}
.quiz-meta {
  display: flex;
  justify-content: space-between;
  color: var(--swa-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
@media (max-width: 1000px) {
  .live-layout { grid-template-columns: 1fr; }
  .fx-board { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fx-board { grid-template-columns: 1fr; }
}

/* ---- Page hero v2 ---- */
.page-hero {
  padding: 4.75rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(34, 130, 58, 0.35), transparent 55%),
    linear-gradient(145deg, #0f1412 0%, #1a2e22 48%, #131615 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  margin: 0.5rem 0 0.85rem;
  line-height: 1.1;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  max-width: 540px;
  margin: 0;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.35rem;
}
.page-hero .theme-btn.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}
.page-hero .theme-btn.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff !important;
}
.page-hero-art {
  width: min(240px, 34vw);
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}
@media (max-width: 768px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art { display: none; }
}

/* Live desk strip */
.live-desk-strip {
  background: var(--swa-bg-2);
  border-block: 1px solid var(--swa-line);
  padding: 2.5rem 0;
}
.live-desk-head { margin-bottom: 1.5rem; }
.live-desk-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--swa-accent-bright);
}
.live-desk-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0.35rem 0 0.4rem;
}
.live-desk-head p { color: var(--swa-muted); margin: 0; max-width: 560px; }
.live-desk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.live-desk-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.1rem;
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 14px;
  transition: 0.22s;
  text-decoration: none;
  color: inherit;
}
.live-desk-card:hover {
  border-color: rgba(34, 130, 58, 0.45);
  box-shadow: 0 14px 36px rgba(15, 20, 18, 0.08);
  transform: translateY(-2px);
}
.live-desk-card strong {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--swa-dark);
}
.live-desk-card span:last-child {
  font-size: 0.82rem;
  color: var(--swa-muted);
}
.ldc-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--swa-accent-soft);
  color: var(--swa-accent-bright);
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}
.ldc-icon.crypto { background: rgba(247, 147, 26, 0.12); color: #e8940a; }
.ldc-icon.tv { background: rgba(255, 0, 0, 0.08); color: #c62828; }

/* Blog news images */
.news-card .media {
  position: relative;
  min-height: 180px;
  background: #1a2e22;
  overflow: hidden;
}
.news-card .media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.news-card .media .date {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
}

/* Section utilities */
.section-alt { background: var(--swa-bg-2); }
.section-band {
  background: linear-gradient(90deg, #145524, var(--swa-accent-bright));
  color: #fff;
  padding: 2.75rem 0;
  text-align: center;
}
.section-band h2 { font-family: var(--font-head); margin: 0 0 0.5rem; }
.section-band p { opacity: 0.88; margin: 0 auto 1.25rem; max-width: 520px; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid var(--swa-line);
  margin-left: 0.5rem;
  position: relative;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.25rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--swa-accent-bright);
}
.job-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--swa-line);
  flex-wrap: wrap;
}
.job-row:last-child { border-bottom: none; }
.crypto-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.crypto-tile {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.crypto-tile .sym { font-weight: 700; font-family: var(--font-head); font-size: 0.88rem; }
.crypto-tile .px { font-size: 1.15rem; font-weight: 600; margin: 0.25rem 0; }
.crypto-tile .chg { font-size: 0.8rem; }
.crypto-tile .chg.up { color: #22823a; }
.crypto-tile .chg.down { color: #c62828; }

@media (max-width: 1000px) {
  .live-desk-grid { grid-template-columns: 1fr 1fr; }
  .crypto-tiles { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
.faq-list { display: flex; flex-direction: column; gap: 0.65rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--swa-line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
}
.faq-item summary {
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  color: var(--swa-dark);
}
.faq-item p { color: var(--swa-muted); margin: 0.75rem 0 0; font-size: 0.95rem; }
