﻿@font-face {
  font-family: "Jungle Hero";
  src: url("Fonts/JungleHeroDemoRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jungle Hero Inline";
  src: url("Fonts/JungleHeroDemoInline.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HUGE CRACK";
  src: url("Fonts/HUGE%20CRACK%20.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bigera-Regular";
  src: url("Fonts/Bigera-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --midnight-blue: #0A1A2F;
  --charcoal-grey: #1F2933;
  --accent-gold: #E0B75A;
  --brand-gold-bright: #F2C55E;
  --soft-white: #F5F7FA;
  --font-brand: "Bigera-Regular", "HUGE CRACK", "Jungle Hero", "Poppins", "Inter", sans-serif;
  --font-brand-alt: "Jungle Hero Inline", "Jungle Hero", "Poppins", "Inter", sans-serif;
  --font-ui: "Inter", "Roboto", sans-serif;
  --ink: #0e1928;
  --line: rgba(201, 162, 77, 0.28);
  --highlight-border: #7ec8ff;
  --highlight-bg-start: rgba(20, 45, 72, 0.94);
  --highlight-bg-end: rgba(12, 31, 52, 0.92);
  --highlight-glow: rgba(126, 200, 255, 0.42);
  --live-chart-height: clamp(280px, 34vw, 420px);
  --live-chart-height-mobile: clamp(180px, 52vw, 260px);
  --live-chart-second-height: clamp(190px, 24vw, 270px);
  --live-chart-second-height-mobile: clamp(150px, 42vw, 210px);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 20px 50px rgba(4, 10, 18, 0.36);
  --container: 1320px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  color: var(--soft-white);
  background:
    radial-gradient(circle at 8% 0%, rgba(201, 162, 77, 0.16), transparent 42%),
    radial-gradient(circle at 90% 22%, rgba(73, 105, 142, 0.22), transparent 45%),
    linear-gradient(160deg, var(--midnight-blue) 0%, #081321 60%, #060f1c 100%);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Allow browser to skip offscreen card rendering for faster first paint on long pages */
.main-long .card,
.content.page-shell .card,
.pricing-showcase .pricing-plan {
  content-visibility: auto;
  contain-intrinsic-size: 720px;
}

img,
svg {
  max-width: 100%;
}

video,
iframe,
canvas {
  max-width: 100%;
  display: block;
}

body.restrict-mode {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 16, 27, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: headerSlideIn 0.55s ease both;
}

.site-header .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: 0.7rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.95rem;
  padding: 0.6rem 0;
  min-height: 72px;
}

.headerlogo {
  width: clamp(104px, 10.2vw, 148px);
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-top: 0;
  animation: logoPulseFloat 3.4s ease-in-out infinite;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  flex-shrink: 0;
  margin-right: 0.6rem;
  line-height: 0;
}

.header-name-mark {
  width: clamp(182px, 15.4vw, 251px);
  height: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  margin-top: 0;
}

.company-name-mark {
  display: block;
}

.brand-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
  min-width: max-content;
}

.brand-title {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.65rem, 2.45vw, 2.36rem);
  letter-spacing: 0.03em;
  color: var(--brand-gold-bright);
  white-space: nowrap;
  line-height: 1;
  display: block;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.brand-tagline {
  margin-top: 0.08rem;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #f3f6fb;
  white-space: nowrap;
  font-family: var(--font-brand-alt);
  line-height: 1;
  display: block;
}

.brand {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 1.35vw, 1.55rem);
  letter-spacing: 0.03em;
  color: var(--accent-gold);
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: clamp(0.8rem, 0.82vw, 0.92rem);
  padding: 0.46rem clamp(0.62rem, 0.75vw, 0.86rem);
  line-height: 1.1;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dee5ef;
  transition: background 0.24s ease, color 0.24s ease, border-color 0.24s ease, transform 0.24s ease, box-shadow 0.24s ease;
  animation: navItemFadeUp 0.42s ease both;
}

@media (max-width: 1700px) and (min-width: 1521px) {
  .headerlogo {
    width: clamp(104px, 10.2vw, 148px);
  }

  .header-name-mark {
    width: clamp(182px, 15.4vw, 251px);
  }

  .nav {
    gap: 0.38rem;
  }

  .nav a {
    min-height: 43px;
    font-size: clamp(0.8rem, 0.74vw, 0.9rem);
    padding: 0.46rem 0.64rem;
  }
}

@media (max-width: 1520px) and (min-width: 1281px) {
  .headerlogo {
    width: clamp(104px, 10.2vw, 148px);
  }

  .header-name-mark {
    width: clamp(182px, 15.4vw, 251px);
  }

  .brand-title {
    font-size: clamp(1.28rem, 1.75vw, 1.78rem);
  }

  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.06em;
  }

  .nav {
    gap: 0.32rem;
  }

  .nav a {
    min-height: 42px;
    font-size: clamp(0.8rem, 0.78vw, 0.9rem);
    padding: 0.44rem 0.66rem;
  }
}

@media (max-width: 1400px) {
  .header-inner {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    flex: 1 1 100%;
  }

  .nav a {
    min-height: 40px;
    font-size: clamp(0.78rem, 0.9vw, 0.88rem);
    padding: 0.42rem 0.6rem;
  }
}

.nav a:nth-child(2) { animation-delay: 0.03s; }
.nav a:nth-child(3) { animation-delay: 0.06s; }
.nav a:nth-child(4) { animation-delay: 0.09s; }
.nav a:nth-child(5) { animation-delay: 0.12s; }
.nav a:nth-child(6) { animation-delay: 0.15s; }
.nav a:nth-child(7) { animation-delay: 0.18s; }
.nav a:nth-child(8) { animation-delay: 0.21s; }
.nav a:nth-child(9) { animation-delay: 0.24s; }
.nav a:nth-child(10) { animation-delay: 0.27s; }
.nav a:nth-child(11) { animation-delay: 0.3s; }
.nav a:nth-child(12) { animation-delay: 0.33s; }

.nav a:focus-visible {
  outline: 2px solid rgba(201, 162, 77, 0.85);
  outline-offset: 2px;
}

.nav a:hover,
.nav a.active {
  background: var(--accent-gold);
  color: var(--ink);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 162, 77, 0.24);
}

.dir-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin-left: 0.45rem;
  padding: 0.24rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 22, 38, 0.7);
}

.dir-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #d7e0ec;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.24rem 0.5rem;
  cursor: pointer;
}

.dir-btn.is-active {
  background: var(--accent-gold);
  color: var(--ink);
}

.site-ai-ticker {
  position: relative;
  z-index: 40;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 77, 0.35);
  background: linear-gradient(90deg, rgba(10, 24, 41, 0.96), rgba(16, 32, 54, 0.96));
}

.site-ai-ticker-track {
  display: inline-flex;
  gap: 0;
  width: max-content;
  min-width: max-content;
  white-space: nowrap;
  padding: 0.44rem 0;
  animation: aiTickerScroll 36s linear infinite;
  will-change: transform;
}

.site-ai-ticker-item {
  color: #f1d08a;
  font-family: var(--font-ui);
  font-size: clamp(1.14rem, 1.8vw, 1.5rem);
  letter-spacing: 0.02em;
  font-weight: 600;
  text-transform: uppercase;
  padding-right: 2.2rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 22, 38, 0.9);
  color: #e7eef8;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-line {
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.nav-toggle-line::before {
  top: -6px;
}

.nav-toggle-line::after {
  top: 6px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 88svh;
  padding: 3.8rem 0 2rem;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-right: clamp(190px, 42vw, 660px);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-ai-side {
  position: absolute;
  right: -20%;
  top: 0;
  bottom: 0;
  width: 48vw;
  height: auto;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.72) 18%, #000 36%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.72) 18%, #000 36%, #000 100%);
}

.hero-ai-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 12, 22, 1) 0%, rgba(5, 12, 22, 0.86) 20%, rgba(5, 12, 22, 0.4) 52%, rgba(5, 12, 22, 0) 84%);
}

.hero-ai-side img {
  width: 135%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: 84% center;
  filter: brightness(1.05) contrast(1.04) saturate(1.05);
}

.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 22, 0.38) 0%, rgba(5, 12, 22, 0.6) 100%),
    radial-gradient(circle at 48% 22%, rgba(201, 162, 77, 0.26), transparent 60%);
  animation: heroGlowLoop 8s ease-in-out infinite alternate-reverse;
}

.hero-video-bg video {
  transform: scaleX(-1);
  filter: brightness(1.28) saturate(1.12);
}

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--accent-gold);
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 0.28rem 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 0.22s ease, text-shadow 0.22s ease, transform 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
  main h1:hover,
  main h2:hover,
  main h3:hover,
  main h4:hover {
    color: var(--accent-gold);
    text-shadow: 0 8px 24px rgba(201, 162, 77, 0.26);
    transform: translateY(-1px);
  }
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  margin-top: 1rem;
  max-width: 13ch;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.08rem;
  color: var(--accent-gold);
}

.lead {
  margin-top: 1.1rem;
  max-width: 70ch;
  color: #d4dce8;
}

.content {
  padding: 1.4rem 0 3.3rem;
}

.page-shell {
  padding-top: 2rem;
}

/* Trading Bot */
.rfc-bot-launcher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 77, 0.65);
  background: linear-gradient(160deg, #0e2a4d, #09203a);
  box-shadow: 0 14px 35px rgba(5, 12, 20, 0.55);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 85;
  touch-action: none;
  user-select: none;
  overflow: hidden;
}

.rfc-bot-launcher img {
  width: 180%;
  max-width: none;
  height: 90%;
  object-fit: cover;
  object-position: 80% center;
  filter: saturate(1.03) contrast(1.04);
  image-rendering: auto;
  pointer-events: none;
}

.rfc-bot-launcher.is-dragging {
  cursor: grabbing;
}

.rfc-bot-panel {
  position: fixed;
  right: 18px;
  bottom: 94px;
  width: min(360px, calc(100vw - 24px));
  max-height: min(560px, calc(100vh - 130px));
  max-height: min(560px, calc(100dvh - 130px));
  background: linear-gradient(180deg, rgba(8, 22, 38, 0.96), rgba(5, 14, 27, 0.96));
  border: 1px solid rgba(201, 162, 77, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(5, 12, 20, 0.62);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 85;
}

.rfc-bot-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.rfc-bot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rfc-bot-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #f4f7ff;
}

.rfc-bot-subtitle {
  font-size: 0.75rem;
  color: #a9b7cc;
}

.rfc-bot-close {
  border: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  color: #dce7f6;
  cursor: pointer;
}

.rfc-bot-messages {
  overflow: auto;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rfc-bot-msg {
  max-width: 92%;
  font-size: 0.88rem;
  line-height: 1.45;
  border-radius: 12px;
  padding: 0.55rem 0.65rem;
}

.rfc-bot-msg.is-bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.09);
  color: #e9eef8;
}

.rfc-bot-msg.is-user {
  align-self: flex-end;
  background: rgba(201, 162, 77, 0.24);
  border: 1px solid rgba(201, 162, 77, 0.28);
  color: #f8fbff;
}

.rfc-bot-quick {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0 0.85rem 0.75rem;
}

.rfc-bot-chip {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #dce7f6;
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  font-size: 0.76rem;
  white-space: nowrap;
  cursor: pointer;
}

.rfc-bot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  padding: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rfc-bot-input {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f8ff;
  padding: 0.5rem 0.65rem;
}

.rfc-bot-input::placeholder {
  color: #adc0db;
}

.rfc-bot-send {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  padding: 0 0.9rem;
  background: var(--accent-gold);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 640px) {
  .rfc-bot-launcher {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
  }

  .rfc-bot-panel {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 68px));
    width: calc(100vw - 16px);
    max-height: calc(100vh - 110px);
    max-height: calc(100dvh - 110px);
  }
}
.page-banner {
  position: relative;
  min-height: 68svh;
  display: flex;
  align-items: center;
  padding: 4rem 0 2.2rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 24, 0.2) 0%, rgba(7, 14, 24, 0.86) 75%),
    radial-gradient(circle at 85% 20%, rgba(201, 162, 77, 0.2), transparent 35%);
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.banner-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0.4rem 0 0.55rem;
  text-shadow: 0 8px 26px rgba(2, 8, 15, 0.5);
}

.banner-sub {
  max-width: 70ch;
  color: #dbe4ef;
  text-shadow: 0 4px 18px rgba(2, 8, 15, 0.45);
}

.banner-about::before {
  background-image: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80");
}

.banner-fail::before {
  background-image:
    url("https://yellow.com/_next/image?url=http%3A%2F%2Fyellow-media-ymedia-strapi.ymedia-prod.svc.cluster.local%3A3000%2Fuploads%2Fshutterstock_2088641623_09576e61e1.jpg&w=1600&q=75");
  background-size: cover;
  background-position: center;
}

.banner-math::before {
  background-image: url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80");
}

.banner-ai::before {
  background-image: url("AI-and-ML-as-Game-Changers-Banner.jpg");
  background-size: cover;
  background-position: center center;
  transform: scale(1);
}

/* Keep AI QLM banner image clearer and fully visible than default page-banner overlay */
.banner-ai::after {
  background:
    linear-gradient(180deg, rgba(7, 14, 24, 0.12) 0%, rgba(7, 14, 24, 0.64) 75%),
    radial-gradient(circle at 85% 20%, rgba(201, 162, 77, 0.18), transparent 35%);
}

.banner-backtest::before {
  background-image: url("AI-Powered-Test-Automation2.jpg.jpeg");
  background-size: cover;
  background-position: center center;
  transform: scale(1);
}

.banner-webinar::before {
  background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1800&q=80");
}

.banner-mentorship::before {
  background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1800&q=80");
}

.banner-pathways::before {
  background-image: url("https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1800&q=80");
}

.banner-capital::before {
  background-image: url("Captial hub Banner.jpg");
  background-size: cover;
  background-position: center;
}

.banner-pricing::before {
  background-image: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1800&q=80");
}

.banner-connect::before {
  background-image: url("https://i.pinimg.com/736x/6b/8f/fe/6b8ffec3b8865694a5bde6acbc906768.jpg");
}

.card {
  background: linear-gradient(160deg, rgba(20, 32, 47, 0.8), rgba(11, 22, 35, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.4vw, 2.4rem);
  box-shadow: var(--shadow);
  width: 100%;
  transition: border-color 0.28s ease, box-shadow 0.32s ease, transform 0.32s ease, background 0.32s ease;
  animation: softRiseIn 0.62s ease both;
}

.card:hover {
  border-color: rgba(201, 162, 77, 0.38);
  box-shadow: 0 18px 38px rgba(3, 9, 17, 0.52);
  transform: translateY(-2px);
}

.card p {
  margin-bottom: 0.8rem;
  color: #dce4ee;
  font-size: clamp(1.02rem, 1.1vw, 1.2rem);
  line-height: 1.75;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent-gold);
  font-size: 0.75rem;
  text-transform: none;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.25rem 0.62rem;
  margin-bottom: 0.72rem;
}

.section-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.feature-grid > *,
.grid-2 > *,
.grid-3 > *,
.footer-top > * {
  min-width: 0;
}

.feature-grid--reverse > :first-child {
  order: 2;
}

.feature-grid--reverse > :last-child {
  order: 1;
}

/* Keep media figure border tight to content instead of stretching to neighboring column height */
.feature-grid--top {
  align-items: start;
}

.media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 250px;
  background: #0b1524;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease, filter 0.55s ease;
  filter: saturate(0.94);
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 32%);
  opacity: 0;
  transform: translateX(-18%);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.06) brightness(1.03);
}

.media-card:hover::after {
  opacity: 0.4;
  transform: translateX(0);
}

.media-card.dir-right::after {
  transform: translateX(-24%);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 34%);
}

.media-card.dir-left::after {
  transform: translateX(24%);
  background: linear-gradient(240deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 34%);
}

.media-card.dir-right:hover img {
  transform: translateX(1.1%) scale(1.07);
}

.media-card.dir-left:hover img {
  transform: translateX(-1.1%) scale(1.07);
}

.media-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.8rem;
  font-size: 0.92rem;
  color: #f0f5fb;
  background: linear-gradient(180deg, rgba(6, 14, 24, 0) 0%, rgba(6, 14, 24, 0.86) 88%);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.tile {
  background: rgba(7, 16, 28, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.95rem;
}

.tile p {
  margin: 0.5rem 0 0;
  color: #dae2ed;
}

.card ul,
.pill-list {
  list-style: none;
  display: grid;
  gap: 0.56rem;
  margin-top: 0.7rem;
}

.card li,
.pill-list li {
  position: relative;
  padding-left: 1rem;
  color: #e4ebf4;
}

.card li::before,
.pill-list li::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-gold);
  left: 0;
  top: 0.62em;
}

.callout {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  border-left: 4px solid var(--highlight-border);
  padding: 0.8rem 0.9rem;
  background: linear-gradient(90deg, var(--highlight-bg-start), var(--highlight-bg-end));
  border-radius: 8px;
  color: #edf2f8;
  box-shadow: 0 10px 28px rgba(6, 16, 28, 0.34), inset 0 0 0 1px rgba(126, 200, 255, 0.22);
  transition: background 0.28s ease, border-color 0.28s ease;
  animation: calloutBreath 4.6s ease-in-out infinite, goldGlowPulse 4.8s ease-in-out infinite;
}

.callout::after,
.card p:has(> strong:only-child)::after,
.card p[style*="margin-top:0.9rem"]::after,
.glow-strip::after {
  content: "";
  position: absolute;
  left: -35%;
  right: -35%;
  bottom: -10px;
  height: 26px;
  background: radial-gradient(ellipse at center, var(--highlight-glow) 0%, rgba(126, 200, 255, 0.18) 45%, rgba(126, 200, 255, 0) 78%);
  filter: blur(5px);
  pointer-events: none;
  animation: goldUnderGlowSweep 5.4s ease-in-out infinite;
}

.card p:has(> strong:only-child),
.card p[style*="margin-top:0.9rem"],
.glow-strip {
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
  padding: 0.78rem 0.9rem;
  border-left: 4px solid var(--highlight-border);
  border-radius: 8px;
  background: linear-gradient(90deg, var(--highlight-bg-start), var(--highlight-bg-end));
  box-shadow: 0 10px 28px rgba(6, 16, 28, 0.34), inset 0 0 0 1px rgba(126, 200, 255, 0.22);
  animation: goldGlowPulse 4.8s ease-in-out infinite;
}

.metric-box {
  border: 1px solid rgba(201, 162, 77, 0.22);
  background: rgba(10, 19, 33, 0.68);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.metric-box .mono {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 600;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.table th,
.table td {
  text-align: left;
  padding: 0.72rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table th {
  background: rgba(201, 162, 77, 0.16);
}

.table td:last-child {
  color: var(--accent-gold);
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.pricing-card {
  background: rgba(8, 17, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.pricing-card .price {
  font-family: "Poppins", "Inter", sans-serif;
  color: var(--accent-gold);
  font-size: 1.4rem;
  margin: 0.4rem 0;
}

.pricing-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.pricing-plan {
  position: relative;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  overflow: visible;
  perspective: 900px;
  min-height: 420px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.35s ease;
  animation: planCardIn 0.55s ease both;
}

.pricing-plan.featured {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.pricing-showcase:hover .pricing-plan {
  border-color: rgba(255, 255, 255, 0.15);
}

.pricing-showcase .pricing-plan:hover {
  border-color: rgba(201, 162, 77, 0.9);
  box-shadow: 0 18px 40px rgba(2, 8, 15, 0.4);
  transform: translateY(-5px);
}

.pricing-showcase .pricing-plan:nth-child(2) {
  animation-delay: 0.08s;
}

.pricing-showcase .pricing-plan:nth-child(3) {
  animation-delay: 0.16s;
}

.pricing-showcase .pricing-plan::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 13px;
  background: linear-gradient(115deg, rgba(201, 162, 77, 0) 15%, rgba(201, 162, 77, 0.12) 50%, rgba(201, 162, 77, 0) 85%);
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 2;
}

.pricing-showcase .pricing-plan:hover::before {
  animation: planSweep 0.34s linear;
}

.pricing-plan-inner {
  position: relative;
  width: 100%;
  min-height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.24s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pricing-showcase .pricing-plan:hover .pricing-plan-inner {
  transform: rotateY(180deg);
}

.pricing-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  backface-visibility: hidden;
  background: linear-gradient(180deg, rgba(10, 24, 41, 0.95) 0%, rgba(9, 22, 38, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-face::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(201, 162, 77, 0), rgba(201, 162, 77, 0.42), rgba(201, 162, 77, 0));
  pointer-events: none;
}

.pricing-front .plan-head {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-back {
  transform: rotateY(180deg);
}

.pricing-back .plan-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes planCardIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes planSweep {
  from {
    transform: translateX(-130%);
  }
  to {
    transform: translateX(130%);
  }
}

.plan-ribbon {
  position: absolute;
  top: 28px;
  right: -28px;
  background: var(--accent-gold);
  color: #102235;
  padding: 0.28rem 2.05rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.1;
  white-space: nowrap;
  transform: rotate(45deg);
  text-transform: none;
}

.plan-head {
  padding: 1.4rem 1.15rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-head h3 {
  font-size: 1.95rem;
  color: var(--accent-gold);
  margin-bottom: 0.45rem;
}

.plan-subtitle {
  color: #b3c3d8;
  min-height: 2.4em;
}

.plan-price {
  margin-top: 0.95rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.05;
  font-family: "Poppins", "Inter", sans-serif;
  color: #eef3f9;
}

.plan-term {
  margin-top: 0.45rem;
  color: #dbe4ef;
}

.plan-body {
  padding: 1.15rem;
}

.plan-body > p {
  color: #d4deea;
}

.plan-points {
  list-style: none;
  margin-top: 0.9rem;
  display: grid;
  gap: 0.52rem;
}

.plan-points li {
  position: relative;
  padding-left: 1.25rem;
  color: #e9eff7;
}

.plan-points li::before {
  position: absolute;
  left: 0;
  top: 0.03rem;
  font-weight: 700;
}

.plan-points li.yes::before {
  content: "+";
  color: var(--accent-gold);
}

.plan-points li.no::before {
  content: "x";
  color: #ff6b6b;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
  filter: saturate(1.08);
}

.btn.primary {
  background: var(--accent-gold);
  color: var(--ink);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f5f8fb;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.9rem;
}

.contact-tile {
  background: rgba(8, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.contact-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: #091425;
}

.contact-icon svg {
  width: 14px;
  height: 14px;
  display: block;
}

.icon-email {
  background: #f2c66e;
}

.icon-whatsapp {
  background: #25d366;
}

.icon-telegram {
  background: #53a7ff;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.chip {
  padding: 0.38rem 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.86rem;
  color: #e1e9f3;
}

.connect-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.2rem;
  align-items: start;
}

.connect-side {
  display: grid;
  gap: 0.9rem;
}

.connect-side .contact-grid {
  margin-top: 0;
}

.connect-visual {
  min-height: 420px;
}

.application-form {
  background: rgba(8, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.1rem;
}

.application-form h2 {
  margin-bottom: 0.35rem;
}

.application-form h3 {
  margin: 0 0 0.35rem;
  color: var(--accent-gold);
}

.form-note {
  color: #d5dfeb;
  margin-bottom: 0.8rem;
}

.payment-gate {
  border: 1px solid rgba(201, 162, 77, 0.35);
  background: rgba(14, 28, 44, 0.55);
  border-radius: 12px;
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.gateway-box {
  border: 1px dashed rgba(201, 162, 77, 0.45);
  background: rgba(9, 20, 33, 0.72);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 0.85rem;
}

.gateway-box h4 {
  margin: 0 0 0.3rem;
  color: #f2c66e;
  font-size: 0.98rem;
}

.gateway-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.qr-box.is-hidden {
  display: none;
}

.gateway-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d5dfeb;
  font-size: 0.85rem;
}

.gateway-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.28);
}

.registration-downloads {
  margin-top: 1rem;
}

.pay-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.pay-logo {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  overflow: hidden;
  flex: 0 0 26px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.pay-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
  padding: 2px;
}

.qr-box {
  margin-top: 0.7rem;
  display: grid;
  justify-items: start;
  gap: 0.35rem;
}

.qr-img {
  width: clamp(140px, 26vw, 220px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #ffffff;
  padding: 4px;
}

.gate-grid {
  margin-top: 0.4rem;
}

.gate-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.gate-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.gate-status {
  min-height: 1.35rem;
  margin-top: 0.45rem;
  font-size: 0.9rem;
}

.gate-status.is-error {
  color: #ff9a9a;
}

.gate-status.is-success {
  color: #9fe6b2;
}

.application-step--form.is-locked {
  display: none;
}

.application-step--form {
  animation: softRiseIn 0.4s ease both;
}

#submit-application-btn[disabled] {
  opacity: 0.58;
  cursor: not-allowed;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.application-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: #dce6f2;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 14, 24, 0.85);
  color: #f3f7fd;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font: inherit;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  outline: none;
  border-color: rgba(201, 162, 77, 0.85);
  box-shadow: 0 0 0 2px rgba(201, 162, 77, 0.2);
}

.application-form input[type="date"] {
  color-scheme: dark;
}

.application-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) brightness(1.4);
  opacity: 1;
  cursor: pointer;
}

#payment-date {
  color-scheme: dark !important;
  -webkit-appearance: auto;
  appearance: auto;
  padding-right: 2.7rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3f7fd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='3' ry='3'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.05rem 1.05rem;
  background-position: right 0.85rem center;
}

#payment-date::-webkit-calendar-picker-indicator {
  -webkit-filter: none !important;
  filter: none !important;
  background: transparent;
  opacity: 0 !important;
  cursor: pointer;
  display: block;
  width: 2rem;
  height: 100%;
  margin: 0;
}

#payment-date::-webkit-datetime-edit,
#payment-date::-webkit-datetime-edit-fields-wrapper,
#payment-date::-webkit-datetime-edit-text,
#payment-date::-webkit-datetime-edit-month-field,
#payment-date::-webkit-datetime-edit-day-field,
#payment-date::-webkit-datetime-edit-year-field {
  color: #f3f7fd;
}

#payment-date::-moz-focus-inner {
  border: 0;
}

@supports (-moz-appearance: none) {
  #payment-date {
    color: #f3f7fd;
    background-color: rgba(7, 14, 24, 0.85);
  }
}

#payment-date::-ms-clear,
#payment-date::-ms-expand {
  display: none;
}

#payment-date::-webkit-inner-spin-button {
  display: none;
}

#payment-date::-webkit-clear-button {
  display: none;
}

#payment-date::-webkit-calendar-picker-indicator:hover {
  -webkit-filter: none !important;
  filter: none !important;
  opacity: 0 !important;
}

.application-form textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.ai-qlm-card {
  display: grid;
  gap: 1.1rem;
}

.ai-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.ai-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.ai-visual {
  min-height: 320px;
}

.ai-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ai-module {
  position: relative;
  background: rgba(8, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.ai-module h3 {
  margin-top: 0.45rem;
}

.ai-module p {
  margin: 0.45rem 0 0;
  color: #dae4ef;
}

.ai-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-family: "Poppins", "Inter", sans-serif;
  color: #111f31;
  background: var(--accent-gold);
  font-weight: 700;
}

.ai-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.ai-step {
  background: rgba(12, 22, 36, 0.8);
  border: 1px dashed rgba(201, 162, 77, 0.45);
  border-radius: 12px;
  padding: 0.85rem;
}

.ai-step h4 {
  margin-bottom: 0.4rem;
  color: var(--accent-gold);
}

.ai-step p {
  margin: 0;
  color: #dbe5f1;
  font-size: 0.98rem;
}

.ai-final-media {
  width: 100%;
  margin: 0.8rem 0 !important;
  min-height: auto;
  max-height: none;
}

.ai-final-media img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  background: transparent;
  padding: 0;
}

.ai-final-media::after {
  display: none;
}

.ai-final-media:hover img {
  transform: scale(1.01);
  filter: saturate(1.02) brightness(1.01);
}

.ai-final-media figcaption {
  position: static;
  background: transparent;
  padding: 0.55rem 0 0;
}

.mentorship-card {
  display: grid;
  gap: 1.1rem;
}

.mentor-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.mentor-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.mentor-visual {
  min-height: 320px;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.mentor-module {
  background: rgba(8, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.mentor-module h3 {
  margin-bottom: 0.45rem;
}

.mentor-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.mentor-step {
  background: rgba(12, 22, 36, 0.8);
  border: 1px dashed rgba(201, 162, 77, 0.45);
  border-radius: 12px;
  padding: 0.85rem;
}

.mentor-step h4 {
  margin-bottom: 0.4rem;
  color: var(--accent-gold);
}

.mentor-step p {
  margin: 0;
  color: #dbe5f1;
  font-size: 0.98rem;
}

.pathways-card {
  display: grid;
  gap: 1.1rem;
}

.pathways-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}

.path-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.pathways-visual {
  min-height: 320px;
}

.pathways-visual img {
  transform: scale(1.45);
}

.pathways-visual:hover img {
  transform: scale(2.00);
}

.pathways-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.path-module {
  background: rgba(8, 18, 31, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.path-module h3 {
  margin: 0.45rem 0;
}

.path-badge {
  width: fit-content;
  padding: 0.24rem 0.52rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: "Poppins", "Inter", sans-serif;
  color: #112236;
  background: var(--accent-gold);
  font-weight: 700;
}

.pathway-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.path-step {
  background: rgba(12, 22, 36, 0.8);
  border: 1px dashed rgba(201, 162, 77, 0.45);
  border-radius: 12px;
  padding: 0.85rem;
}

.path-step h4 {
  margin-bottom: 0.4rem;
  color: var(--accent-gold);
}

.path-step p {
  margin: 0;
  color: #dbe5f1;
  font-size: 0.98rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(4, 9, 15, 0.64);
  padding: 1.8rem 0;
}

.site-footer--rich {
  margin-top: 2rem;
  padding: 2.4rem 0 1.4rem;
  background: linear-gradient(180deg, #19293d 0%, #152437 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
}

.footer-branding .logo-line {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 700;
}

.footer-branding .logo-line span {
  color: var(--accent-gold);
}

.footer-logo {
  width: clamp(104px, 10.2vw, 148px);
  height: auto;
  object-fit: contain;
  display: block;
  animation: footerLogoFloat 3.6s ease-in-out infinite;
}

.footer-name-mark {
  width: clamp(182px, 15.4vw, 251px);
  height: auto;
  object-fit: contain;
  display: block;
  animation: footerLogoFloat 3.6s ease-in-out infinite;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.footer-logo-link:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 10px 18px rgba(201, 162, 77, 0.26));
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.12rem;
}

.footer-brand-name {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 1.4vw, 1.46rem);
  color: var(--brand-gold-bright);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.footer-brand-tag {
  font-family: var(--font-brand-alt);
  font-size: 0.72rem;
  color: #f3f6fb;
  letter-spacing: 0.08em;
  text-transform: none;
  line-height: 1.2;
}

.footer-branding p {
  color: #d7e0ea;
  max-width: 44ch;
  margin-top: 1rem;
}

.office-contact-row {
  margin-top: 1rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  justify-items: center;
}

.office-address-panel {
  width: min(100%, 1300px);
  max-width: 1300px;
  margin-inline: auto;
  margin-top: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.2rem 0;
  display: block;
  place-items: initial;
  text-align: left;
  line-height: 1.45;
}

.office-map-wrap {
  margin-top: 0;
  min-height: 520px;
  height: min(66vh, 620px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  width: min(100%, 1300px);
  margin-inline: auto;
  background: rgba(8, 18, 31, 0.8);
}

.office-map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1100px) {
  .office-map-wrap {
    min-height: 380px;
    height: min(58vh, 500px);
  }
}

@media (max-width: 700px) {
  .office-map-wrap {
    min-height: 300px;
    height: min(50vh, 380px);
  }
}

.social-squares {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.social-squares a {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #f4f8fc;
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-squares a svg {
  width: 20px;
  height: 20px;
  display: block;
}

.social-squares a:hover {
  background: rgba(201, 162, 77, 0.2);
  transform: translateY(-2px);
}

.social-squares .social-youtube {
  color: #ff4e45;
}

.social-squares .social-x {
  color: #f5f8ff;
}

.social-squares .social-telegram {
  color: #57a7ff;
}

.social-squares .social-linkedin {
  color: #71b7ff;
}

.social-squares .social-instagram {
  color: #ff7fb0;
}

.social-squares .social-youtube:hover {
  background: rgba(255, 78, 69, 0.2);
}

.social-squares .social-x:hover {
  background: rgba(238, 244, 255, 0.2);
}

.social-squares .social-telegram:hover {
  background: rgba(87, 167, 255, 0.2);
}

.social-squares .social-linkedin:hover {
  background: rgba(113, 183, 255, 0.2);
}

.social-squares .social-instagram:hover {
  background: rgba(255, 127, 176, 0.2);
}

.footer-col h4 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.footer-list a {
  color: #ebf1f8;
}

.footer-list a::before {
  content: ">";
  margin-right: 0.45rem;
  color: var(--accent-gold);
}

.legal-box {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #ff5a5a;
  border-radius: 8px;
  background: rgba(88, 55, 60, 0.45);
  animation: footerEndGlow 5.4s ease-in-out infinite;
}

.legal-box strong {
  display: block;
  margin-bottom: 0.35rem;
}

.footer-bottom-rich {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #dce4ef;
  animation: footerEndFloat 4.8s ease-in-out infinite;
}

.footer-bottom-rich small {
  display: block;
  margin-top: 0.45rem;
  color: #c7d2df;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #122033;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.34);
  z-index: 60;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.disclaimer {
  font-size: 0.9rem;
  color: #d0d8e3;
}

.main-long {
  padding: 1.1rem 0 2.6rem;
}

.main-long .media-card {
  min-height: 320px;
}

.content-block {
  margin-top: 1.1rem;
  position: relative;
  padding-bottom: 1.35rem;
}

.content-block::after {
  content: "";
  position: absolute;
  left: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  bottom: 0.28rem;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(201, 162, 77, 0.22), rgba(201, 162, 77, 0.9), rgba(201, 162, 77, 0.22));
  transform-origin: center;
  animation: sectionLinePulse 2.8s ease-in-out infinite;
}

.backtest-report {
  overflow: hidden;
  isolation: isolate;
}

.backtest-report::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(201, 162, 77, 0.2), transparent 46%),
    radial-gradient(circle at 82% 80%, rgba(64, 131, 213, 0.22), transparent 50%);
  animation: backtestAura 8s ease-in-out infinite alternate;
}

.backtest-report .feature-grid {
  grid-template-columns: 1fr;
}
.backtest-kpis .metric-box {
  animation: kpiFloat 3.2s ease-in-out infinite;
}

.backtest-kpis .metric-box:nth-child(2) {
  animation-delay: 0.25s;
}

.backtest-kpis .metric-box:nth-child(3) {
  animation-delay: 0.5s;
}

.backtest-visual img {
  animation: visualPulse 3.6s ease-in-out infinite;
}

.ai-backtest-visual {
  min-height: 0;
  background: #0a1423;
}

.ai-backtest-visual img {
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center top;
  filter: saturate(1) contrast(1.02);
}

.ai-backtest-visual:hover img {
  transform: none;
  filter: saturate(1.03) contrast(1.03);
}

.ai-backtest-reco-visual {
  min-height: 320px;
}

.tv-chart-shell {
  margin-top: 2.85rem;
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(5, 12, 21, 0.9);
  padding: 0.2rem;
}

#live-chart {
  display: grid;
  gap: 0.8rem;
}

#live-chart > p {
  margin-bottom: 0;
}

#live-chart .live-chart-media,
#live-chart .tv-chart-shell {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#live-chart .tv-chart-shell {
  margin-top: 0;
  padding: 0;
}

#live-chart .tv-chart-shell .tradingview-widget-container {
  line-height: 0;
  height: clamp(340px, 44vw, 520px);
  min-height: clamp(340px, 44vw, 520px);
}

#live-chart .tv-chart-shell .tradingview-widget-container > div,
#live-chart .tv-chart-shell .tradingview-widget-container iframe {
  height: clamp(340px, 44vw, 520px) !important;
  min-height: clamp(340px, 44vw, 520px) !important;
}

.tv-chart-shell .tradingview-widget-container {
  width: 100%;
  height: var(--live-chart-height);
  min-height: var(--live-chart-height);
}

.tv-chart-shell #tradingview-home-chart {
  width: 100%;
  height: 100%;
}

.tv-chart-shell .tradingview-widget-container > div,
.tv-chart-shell .tradingview-widget-container iframe {
  width: 100% !important;
  height: var(--live-chart-height) !important;
  min-height: var(--live-chart-height) !important;
}

.live-chart-media {
  margin: 1.5rem 0;
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(5, 12, 21, 0.86);
}

.live-chart-media img {
  width: 100%;
  height: var(--live-chart-height);
  display: block;
  object-fit: cover;
}

.global-live-chart {
  padding-top: 0.2rem;
}

@media (max-width: 600px) {
  .tv-chart-shell .tradingview-widget-container,
  .live-chart-media img {
    height: var(--live-chart-height-mobile);
  }

  .tv-chart-shell .tradingview-widget-container {
    min-height: var(--live-chart-height-mobile);
  }

  .tv-chart-shell .tradingview-widget-container > div,
  .tv-chart-shell .tradingview-widget-container iframe {
    height: var(--live-chart-height-mobile) !important;
    min-height: var(--live-chart-height-mobile) !important;
  }

  #live-chart .tv-chart-shell .tradingview-widget-container {
    height: clamp(240px, 62vw, 340px);
    min-height: clamp(240px, 62vw, 340px);
  }

  #live-chart .tv-chart-shell .tradingview-widget-container > div,
  #live-chart .tv-chart-shell .tradingview-widget-container iframe {
    height: clamp(240px, 62vw, 340px) !important;
    min-height: clamp(240px, 62vw, 340px) !important;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal.d1 {
  transition-delay: 0.08s;
}

.reveal.d2 {
  transition-delay: 0.16s;
}

.reveal.d3 {
  transition-delay: 0.24s;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform, opacity;
}

.cursor-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #f7fbff 0%, #d9e4f3 70%, rgba(217, 228, 243, 0) 100%);
  box-shadow: 0 0 16px rgba(236, 244, 255, 0.92);
  transform: translate(-50%, -50%);
  animation: cursorDotPulse 1.25s ease-in-out infinite;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(223, 231, 243, 0.85);
  background: radial-gradient(circle, rgba(233, 241, 252, 0.12) 0%, rgba(233, 241, 252, 0.03) 58%, rgba(233, 241, 252, 0) 100%);
  box-shadow: 0 0 22px rgba(171, 186, 206, 0.46);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  animation: cursorRingBreath 1.9s ease-in-out infinite;
}

.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor .btn {
  cursor: none !important;
}

.has-custom-cursor input,
.has-custom-cursor select,
.has-custom-cursor textarea,
.has-custom-cursor label {
  cursor: auto !important;
}

.cursor-hover .cursor-ring {
  transform: translate(-50%, -50%) scale(1.58);
  background: radial-gradient(circle, rgba(226, 235, 247, 0.22) 0%, rgba(226, 235, 247, 0.06) 62%, rgba(226, 235, 247, 0) 100%);
  border-color: rgba(244, 249, 255, 0.95);
}

.cursor-form-input .cursor-dot,
.cursor-form-input .cursor-ring {
  opacity: 0 !important;
}

.cursor-sparkle {
  position: fixed;
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  background: radial-gradient(circle, #ffffff 0%, #dde4ef 62%, rgba(221, 228, 239, 0) 100%);
  box-shadow: 0 0 12px rgba(235, 241, 250, 0.95);
  transform: translate(-50%, -50%);
  animation: cursorSparkle 0.58s ease-out forwards;
}

@keyframes cursorDotPulse {
  0% {
    opacity: 0.78;
    box-shadow: 0 0 10px rgba(236, 244, 255, 0.6);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(236, 244, 255, 0.95);
  }
  100% {
    opacity: 0.78;
    box-shadow: 0 0 10px rgba(236, 244, 255, 0.6);
  }
}

@keyframes cursorRingBreath {
  0% {
    opacity: 0.76;
    border-color: rgba(223, 231, 243, 0.68);
    box-shadow: 0 0 12px rgba(171, 186, 206, 0.28);
  }
  50% {
    opacity: 1;
    border-color: rgba(244, 249, 255, 0.92);
    box-shadow: 0 0 26px rgba(171, 186, 206, 0.56);
  }
  100% {
    opacity: 0.76;
    border-color: rgba(223, 231, 243, 0.68);
    box-shadow: 0 0 12px rgba(171, 186, 206, 0.28);
  }
}

@keyframes cursorSparkle {
  0% {
    opacity: 0.92;
    transform: translate(-50%, -50%) scale(1.08);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--sparkle-x, 0px)), calc(-50% + var(--sparkle-y, 0px))) scale(0.18);
  }
}

@keyframes headerSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGlowLoop {
  0% {
    filter: brightness(1.02);
  }
  100% {
    filter: brightness(1.18);
  }
}

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

@keyframes logoPulseFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(201, 162, 77, 0));
  }
  50% {
    transform: translateY(-1px) scale(1.015);
    filter: drop-shadow(0 8px 14px rgba(201, 162, 77, 0.22));
  }
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(201, 162, 77, 0));
  }
}

@keyframes aiTickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

@keyframes sectionLinePulse {
  0% {
    opacity: 0.55;
    transform: scaleX(0.94);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.55;
    transform: scaleX(0.94);
  }
}

@keyframes backtestAura {
  0% {
    transform: translate3d(-1.5%, -1.5%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.5%, 1.5%, 0) scale(1.05);
  }
}

@keyframes kpiFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes visualPulse {
  0% {
    transform: scale(1);
    filter: brightness(1.02);
  }
  50% {
    transform: scale(1.02);
    filter: brightness(1.14);
  }
  100% {
    transform: scale(1);
    filter: brightness(1.02);
  }
}

@keyframes calloutBreath {
  0% {
    background: rgba(201, 162, 77, 0.07);
    border-left-color: rgba(201, 162, 77, 0.82);
  }
  50% {
    background: rgba(201, 162, 77, 0.12);
    border-left-color: rgba(201, 162, 77, 1);
  }
  100% {
    background: rgba(201, 162, 77, 0.07);
    border-left-color: rgba(201, 162, 77, 0.82);
  }
}

@keyframes goldGlowPulse {
  0% {
    box-shadow: 0 8px 22px rgba(6, 14, 24, 0.3), inset 0 0 0 1px rgba(201, 162, 77, 0.1);
  }
  50% {
    box-shadow: 0 10px 30px rgba(6, 14, 24, 0.38), inset 0 0 0 1px rgba(201, 162, 77, 0.26);
  }
  100% {
    box-shadow: 0 8px 22px rgba(6, 14, 24, 0.3), inset 0 0 0 1px rgba(201, 162, 77, 0.1);
  }
}

@keyframes goldUnderGlowSweep {
  0% {
    transform: translateX(-10%);
    opacity: 0.45;
  }
  50% {
    transform: translateX(10%);
    opacity: 0.9;
  }
  100% {
    transform: translateX(-10%);
    opacity: 0.45;
  }
}

@keyframes footerLogoFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(201, 162, 77, 0));
  }
  50% {
    transform: translateY(-1px) scale(1.012);
    filter: drop-shadow(0 8px 14px rgba(201, 162, 77, 0.2));
  }
  100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(201, 162, 77, 0));
  }
}

@keyframes footerEndFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes footerEndGlow {
  0% {
    box-shadow: 0 0 0 rgba(201, 162, 77, 0);
  }
  50% {
    box-shadow: 0 0 18px rgba(201, 162, 77, 0.16);
  }
  100% {
    box-shadow: 0 0 0 rgba(201, 162, 77, 0);
  }
}

@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .headerlogo,
  .footer-logo,
  .callout,
  .card p:has(> strong:only-child),
  .card p[style*="margin-top:0.9rem"],
  .glow-strip,
  .card,
  .nav a,
  .content-block::after,
  .backtest-report::before,
  .backtest-kpis .metric-box,
  .backtest-visual img,
  .hero-video-bg::after,
  .pricing-plan,
  .pricing-showcase .pricing-plan:hover::before,
  .site-ai-ticker-track,
  .legal-box,
  .footer-bottom-rich,
  .cursor-dot,
  .cursor-ring,
  .cursor-sparkle {
    animation: none !important;
  }

  .callout::after,
  .card p:has(> strong:only-child)::after,
  .card p[style*="margin-top:0.9rem"]::after,
  .glow-strip::after {
    animation: none !important;
  }

  .nav a,
  .footer-logo-link,
  .btn,
  .card {
    transition: none !important;
  }
}

@media (max-width: 1280px) {
  .hero .container {
    padding-right: clamp(120px, 36vw, 360px);
  }

  .hero-ai-side {
    display: block;
    right: -12%;
    top: 0;
    bottom: 0;
    width: 46vw;
    opacity: 0.82;
  }

  .header-inner {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    min-height: 64px;
  }

  .logo-link {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    flex: 1 1 auto;
    min-height: clamp(48px, 6vw, 64px);
    padding-left: 56px;
    padding-right: 56px;
    margin-right: 0;
    gap: 0.44rem;
  }

  .headerlogo {
    position: static;
    transform: none;
    width: clamp(78px, 9.2vw, 106px);
  }

  .header-name-mark {
    position: static;
    transform: none;
    width: clamp(160px, 22vw, 245px);
    max-width: calc(100vw - 180px);
    margin-top: 0;
  }

  .brand {
    justify-self: start;
  }

  .dir-switch {
    margin-left: 0;
    margin-right: 0.2rem;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  .nav {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-start;
    padding-bottom: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .site-header.menu-open .nav {
    max-height: 80svh;
    opacity: 1;
    pointer-events: auto;
    padding-bottom: 0.2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav a {
    width: 100%;
    white-space: normal;
    font-size: 0.92rem;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
  }

  .feature-grid,
  .grid-2,
  .grid-3,
  .pricing-grid,
  .pricing-showcase,
  .connect-layout,
  .ai-hero-grid,
  .ai-kpi-row,
  .ai-module-grid,
  .ai-flow,
  .mentor-hero-grid,
  .mentor-kpi-row,
  .mentor-grid,
  .mentor-timeline,
  .pathways-hero-grid,
  .path-kpi-row,
  .pathways-grid,
  .pathway-flow,
  .form-grid,
  .contact-grid,
  .footer-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .page-banner {
    min-height: 56svh;
    padding-top: 3.8rem;
  }

  .connect-visual {
    min-height: 260px;
  }

  .main-long .media-card {
    min-height: 230px;
  }

  .ai-visual {
    min-height: 240px;
  }

  .mentor-visual {
    min-height: 240px;
  }

  .pathways-visual {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 68px;
    gap: 0.3rem;
  }

  .hero {
    min-height: 76svh;
    padding-top: 3.2rem;
  }

  .hero .container {
    padding-right: clamp(90px, 34vw, 190px);
  }

  .hero-ai-side {
    right: -18%;
    width: 52vw;
    opacity: 0.76;
  }

  .hero-ai-side img {
    width: 142%;
    object-position: 86% center;
  }

  .ai-backtest-visual img {
    max-height: 320px;
  }

  .brand {
    font-size: 1rem;
  }

  .headerlogo {
    width: min(88px, 24vw);
    transform: none;
    animation: none;
  }

  .logo-link {
    min-height: 52px;
    width: 100%;
    flex: 1 1 100%;
    position: relative;
    justify-content: flex-start;
    margin: 0;
    padding-left: 10px;
    padding-right: 54px;
    gap: 0.34rem;
  }

  .nav-toggle {
    right: 0;
  }

  .header-name-mark {
    width: min(172px, 47vw);
    max-width: calc(100vw - 150px);
    margin-top: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand-title {
    font-size: 1.23rem;
    letter-spacing: 0.04em;
  }

  .brand-tagline {
    font-size: 0.56rem;
  }

  .nav a {
    font-size: 0.86rem;
    padding: 0.56rem 0.72rem;
  }

  .dir-switch {
    transform: scale(0.94);
    transform-origin: right center;
  }

  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .site-header.menu-open .nav {
    background: rgba(7, 16, 27, 0.98);
    border: 1px solid rgba(201, 162, 77, 0.2);
    border-radius: 10px;
    padding: 0.35rem;
  }

  .container {
    width: min(var(--container), calc(100% - 1rem));
  }

  h1, h2, h3, p, li, figcaption {
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .site-ai-ticker {
    overflow: hidden;
  }

  .site-ai-ticker-track {
    animation: aiTickerScroll 36s linear infinite;
    min-width: max-content;
    padding: 0.34rem 0;
  }

  .site-ai-ticker-item {
    font-size: clamp(0.8rem, 3.9vw, 0.98rem);
    letter-spacing: 0.01em;
    padding-right: 1rem;
  }
}

@media (max-width: 1024px) and (orientation: landscape) {
  .header-inner {
    min-height: 76px;
    padding: 0.45rem 0;
  }

  .logo-link {
    min-height: 66px;
    padding-left: 56px;
    padding-right: 50px;
  }

  .headerlogo {
    width: min(84px, 13vw);
    height: auto;
    max-height: 56px;
    z-index: 1;
  }

  .header-name-mark {
    width: min(260px, 44vw);
    max-height: 52px;
    max-width: calc(100vw - 170px);
    z-index: 1;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .site-ai-ticker-track {
    padding: 0.3rem 0;
  }

  .site-ai-ticker-item {
    font-size: clamp(0.82rem, 1.8vw, 1.02rem);
    padding-right: 1.2rem;
  }
}

/* Mobile/tablet drawer-nav fix: keep toggle clickable and slide menu from right in portrait + landscape */
@media (max-width: 1280px) {
  .site-header {
    z-index: 1300;
  }

  .header-inner {
    position: relative;
    z-index: 1302;
  }

  .nav-toggle {
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1303;
  }

  /* Fixed drawer avoids grid/max-height conflicts in landscape and tablets */
  .site-header .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100dvh;
    margin: 0;
    padding: calc(var(--mobile-header-height, 88px) + 10px) 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(8, 20, 35, 0.99), rgba(8, 18, 30, 0.99));
    border-left: 1px solid rgba(201, 162, 77, 0.28);
    box-shadow: -14px 0 36px rgba(0, 0, 0, 0.4);
    transform: translateX(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: none;
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0s linear 0.28s;
    z-index: 1301;
  }

  .site-header.menu-open .nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0s;
  }

  .site-header .nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    border-radius: 10px;
    padding: 0.62rem 0.72rem;
    transform: translateX(14px);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  }

  .site-header.menu-open .nav a {
    transform: translateX(0);
    opacity: 1;
  }

  .site-header.menu-open .nav a:nth-child(1) { transition-delay: 0.02s; }
  .site-header.menu-open .nav a:nth-child(2) { transition-delay: 0.04s; }
  .site-header.menu-open .nav a:nth-child(3) { transition-delay: 0.06s; }
  .site-header.menu-open .nav a:nth-child(4) { transition-delay: 0.08s; }
  .site-header.menu-open .nav a:nth-child(5) { transition-delay: 0.1s; }
  .site-header.menu-open .nav a:nth-child(6) { transition-delay: 0.12s; }
  .site-header.menu-open .nav a:nth-child(7) { transition-delay: 0.14s; }
  .site-header.menu-open .nav a:nth-child(8) { transition-delay: 0.16s; }
  .site-header.menu-open .nav a:nth-child(9) { transition-delay: 0.18s; }
  .site-header.menu-open .nav a:nth-child(10) { transition-delay: 0.2s; }
  .site-header.menu-open .nav a:nth-child(11) { transition-delay: 0.22s; }
  .site-header.menu-open .nav a:nth-child(12) { transition-delay: 0.24s; }

  .site-header .nav a:hover {
    transform: translateX(2px);
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 10, 19, 0.56);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0s linear 0.22s;
    z-index: 1200;
  }

  .mobile-nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.22s ease, visibility 0s;
  }

  body.nav-lock {
    overflow: hidden;
  }

  /* Animate burger to "X" for open state */
  .site-header.menu-open .nav-toggle-line {
    background: transparent;
  }

  .site-header.menu-open .nav-toggle-line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .site-header.menu-open .nav-toggle-line::after {
    top: 0;
    transform: rotate(-45deg);
  }
}
