@import url("https://fonts.googleapis.cn/css2?family=Inter:wght@400;500;600&family=Manrope:wght@600;700;800&display=swap");

/* ============ TOKENS ============ */
:root {
  --navy-900: #0b132b;
  --navy-800: #1c2541;
  --navy-700: #283357;
  --gold: #d4af37;
  --gold-soft: #e6c687;
  --emerald: #10b981;
  --emerald-deep: #0a9a6c;
  --mist: #f8fafc;
  --white: #ffffff;
  --slate-900: #1e293b;
  --slate-600: #64748b;
  --slate-400: #94a3b8;
  --line-light: rgba(15, 23, 42, 0.09);
  --line-dark: rgba(255, 255, 255, 0.09);
  --gold-hairline: rgba(212, 175, 55, 0.18);
  --emerald-hairline: rgba(16, 185, 129, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-dark: 0 24px 60px rgba(2, 8, 23, 0.35);
  --shadow-soft: 0 18px 44px rgba(15, 23, 42, 0.09);
  --radius-lg: 16px;
  --radius-md: 12px;
  --section-pad-y: clamp(72px, 10vw, 112px);
}

/* ============ BASE ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-900);
  background: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Manrope", "Inter", sans-serif;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
input,
select {
  font-family: inherit;
  font-size: 1rem;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
img,
video,
svg {
  display: block;
}
.num {
  font-family: "Manrope", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.container {
  width: min(1200px, 100% - clamp(48px, 8vw, 96px));
  margin-inline: auto;
}
.section {
  padding-block: var(--section-pad-y);
}
.section-light {
  background-color: var(--mist);
  background-image:
    linear-gradient(180deg, rgba(248, 250, 252, 0.96) 0%, rgba(248, 250, 252, 0.6) 28%, rgba(248, 250, 252, 0.72) 72%, rgba(248, 250, 252, 0.94) 100%),
    url("../public/bg-section-light.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-dark {
  background-color: var(--navy-900);
  background-image:
    linear-gradient(180deg, rgba(11, 19, 43, 0.92) 0%, rgba(11, 19, 43, 0.82) 45%, rgba(11, 19, 43, 0.94) 100%),
    url("../public/bg-section-dark.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  margin: 14px 0 16px;
}
.section-light .section-head h2 {
  color: var(--slate-900);
}
.section-dark .section-head h2 {
  color: var(--white);
}
.section-head p:not(.kicker) {
  color: var(--slate-600);
  font-size: 1.06rem;
}
.section-dark .section-head p:not(.kicker) {
  color: var(--slate-400);
}
.kicker {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--emerald);
}
.kicker.gold {
  color: var(--gold-soft);
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}
.btn-emerald {
  background: var(--emerald);
  color: #04231a;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.25);
}
.btn-emerald:hover {
  background: #15c98d;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(16, 185, 129, 0.32);
}
.btn-gold-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.04);
}
.btn-gold-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--navy-900);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-dark);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--white);
}
.brand-text small {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--gold-soft);
}
.main-nav {
  display: flex;
  gap: 34px;
  margin-inline: auto;
}
.main-nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover {
  color: var(--white);
}
.main-nav a:hover::after {
  width: 100%;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* language switch */
.lang-switch {
  position: relative;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s var(--ease);
}
.lang-current:hover {
  background: rgba(255, 255, 255, 0.07);
}
.lang-current svg {
  width: 17px;
  height: 17px;
}
.lang-current .caret {
  width: 13px;
  height: 13px;
  transition: transform 0.25s var(--ease);
}
.lang-switch.is-open .caret {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 150px;
  padding: 6px;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.lang-switch.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu li {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.lang-menu li:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}
.lang-menu li.is-active {
  color: var(--gold-soft);
}

/* mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(2, 8, 23, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  width: min(320px, 84vw);
  padding: 88px 28px 32px;
  background: var(--navy-900);
  border-left: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.drawer.is-open {
  transform: translateX(0);
}
.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}
.drawer nav {
  display: flex;
  flex-direction: column;
}
.drawer nav a {
  padding: 14px 4px;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line-dark);
}
.drawer .btn {
  margin-top: 20px;
}
.drawer-lang-label {
  margin-top: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--slate-400);
}
.drawer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.drawer-langs button {
  min-width: 52px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.drawer-langs button:hover,
.drawer-langs button.is-active {
  border-color: var(--gold);
  color: var(--gold-soft);
  background: rgba(212, 175, 55, 0.08);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 130px 70px;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(5,10,26,.92) 0%, rgba(6,12,30,.72) 38%, rgba(8,15,34,.28) 70%, rgba(5,10,26,.45) 100%),
    linear-gradient(180deg, rgba(6,12,30,.45) 0%, rgba(8,15,34,.12) 45%, rgba(5,10,26,.68) 100%),
    url("../public/hero-global-grid.jpg") center 42% / cover no-repeat;
}
.hero-media video {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 19, 43, 0.82) 0%, rgba(11, 19, 43, 0.62) 45%, rgba(11, 19, 43, 0.94) 100%),
    linear-gradient(105deg, rgba(11, 19, 43, 0.88) 0%, rgba(11, 19, 43, 0.35) 60%),
    radial-gradient(900px 500px at 75% 10%, rgba(212, 175, 55, 0.08), transparent 65%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
}
.eyebrow {
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--gold-soft);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--white);
  max-width: 15ch;
}
.hero-sub {
  margin-top: 22px;
  max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: rgba(226, 232, 240, 0.82);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--slate-400);
}
.hero-trust svg {
  width: 17px;
  height: 17px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
  max-width: 720px;
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-lg);
  background: rgba(11, 19, 43, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero-stats .stat {
  padding: 24px 28px;
}
.hero-stats .stat + .stat {
  border-left: 1px solid var(--gold-hairline);
}
.hero-stats dt {
  font-size: 0.78rem;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}
.hero-stats dd {
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
}
.hero-stats .num {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  color: var(--white);
}
.hero-stats .stat:first-child .num {
  color: var(--emerald);
}
.hero-stats .unit {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-400);
  margin-inline: 2px;
}
.hero-stats .unit.lead {
  font-size: clamp(20px, 2.4vw, 30px);
  color: var(--slate-400);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  transform: translateX(-50%);
}
.mouse {
  display: block;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding-top: 6px;
}
.mouse span {
  display: block;
  width: 2px;
  height: 7px;
  margin: 0 auto;
  background: var(--gold-soft);
  border-radius: 2px;
  animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(10px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* ============ PLAN CARDS ============ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.13);
}
.plan-card-featured {
  border-color: var(--gold-hairline);
  position: relative;
  box-shadow: 0 24px 56px rgba(212, 175, 55, 0.14);
}
.plan-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.plan-term {
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--slate-900);
}
.plan-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--slate-600);
  background: rgba(100, 116, 139, 0.12);
}
.plan-badge.gold {
  color: #8a6d1f;
  background: rgba(212, 175, 55, 0.16);
}
.plan-apy {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  margin: 26px 0 22px;
}
.plan-apy .num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--emerald);
}
.plan-apy .unit {
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--emerald);
}
.plan-apy small {
  flex-basis: 100%;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--slate-400);
}
.plan-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  color: var(--slate-600);
  margin-bottom: 10px;
}
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310B981' stroke-width='2.4'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E");
  background-size: contain;
}
.plan-min {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.82rem;
  color: var(--slate-400);
}
.plan-min strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--slate-900);
}
.plan-cta {
  margin-top: 16px;
}

/* ============ CALCULATOR ============ */
.calc-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  overflow: hidden;
}
.calc-controls {
  padding: 40px 36px;
  border-right: 1px solid var(--line-dark);
}
.calc-controls .field + .field {
  margin-top: 34px;
}
.calc-controls label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-400);
  margin-bottom: 14px;
}
.amount-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  color: var(--white);
}
.amount-display .cur {
  font-size: 1.3rem;
  color: var(--gold-soft);
}
.amount-display span:last-child {
  font-size: 2.4rem;
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 18px 0 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) var(--fill, 0%), rgba(255, 255, 255, 0.12) var(--fill, 0%));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid var(--gold);
  box-shadow: 0 4px 14px rgba(2, 8, 23, 0.5);
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}
input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--navy-900);
  border: 3px solid var(--gold);
  cursor: pointer;
}
.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--slate-400);
}
.segmented {
  display: flex;
  gap: 8px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}
.seg {
  flex: 1;
  min-height: 48px;
  padding: 8px 6px;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-400);
  transition: background-color 0.22s var(--ease), color 0.22s, box-shadow 0.22s;
}
.seg small {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.seg.is-active {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--gold-hairline);
}
.seg.is-active small {
  color: var(--gold-soft);
}
.calc-result {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  background: radial-gradient(420px 260px at 80% 0%, rgba(16, 185, 129, 0.1), transparent 70%);
}
.result-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.result-label {
  font-size: 0.85rem;
  color: var(--slate-400);
}
.result-value {
  display: flex;
  align-items: baseline;
  font-family: "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}
.result-value .cur {
  font-size: 1rem;
  margin-right: 2px;
}
.result-primary {
  flex-direction: column;
  gap: 6px;
}
.result-primary .result-value {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
}
.gold-text {
  color: var(--gold-soft);
}
.result-rate .rate-pill {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--emerald);
  padding: 5px 14px;
  border: 1px solid var(--emerald-hairline);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.07);
}
.calc-note {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--slate-400);
  margin-top: 4px;
}

/* ============ SECURITY ============ */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.security-card {
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.security-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--emerald-hairline);
  margin-bottom: 20px;
}
.icon-tile.gold {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.09);
  border-color: var(--gold-hairline);
}
.icon-tile svg {
  width: 25px;
  height: 25px;
}
.security-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}
.security-card p {
  font-size: 0.92rem;
  color: var(--slate-600);
}
.compliance-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding: 22px 26px;
  background: var(--navy-900);
  border-radius: var(--radius-lg);
}
.compliance-strip li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}
.compliance-strip svg {
  width: 20px;
  height: 20px;
  color: var(--gold-soft);
  flex-shrink: 0;
}

/* ============ PARTNERSHIP ============ */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.advantage-card {
  padding: 34px 30px;
  background: var(--navy-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
}
.advantage-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-hairline);
}
.advantage-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.advantage-card p {
  font-size: 0.92rem;
  color: var(--slate-400);
}
.matrix-wrap {
  margin-top: 56px;
}
.matrix-head {
  text-align: center;
  margin-bottom: 26px;
}
.matrix-head h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--white);
}
.matrix-head p {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--slate-400);
}
.matrix {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.matrix-col,
.matrix-cell,
.matrix-row-label {
  padding: 18px 22px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: 0.9rem;
}
.matrix-corner {
  background: var(--navy-800);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.matrix-col {
  background: var(--navy-800);
  border-bottom: 1px solid var(--line-dark);
  padding-block: 26px;
}
.matrix > :nth-child(4n) {
  border-right: none;
}
.matrix > :nth-last-child(-n + 4) {
  border-bottom: none;
}
.tier-name {
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
}
.tier-sub {
  margin-top: 5px;
  font-size: 0.78rem;
  color: var(--slate-400);
}
.matrix-col-featured {
  position: relative;
  background: linear-gradient(170deg, rgba(212, 175, 55, 0.16), rgba(28, 37, 65, 0.9) 75%);
  box-shadow: inset 0 0 0 1px var(--gold-hairline);
}
.matrix-col-featured .tier-name {
  color: var(--gold-soft);
}
.matrix-row-label {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}
.matrix-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}
.matrix-cell.is-featured {
  background: rgba(212, 175, 55, 0.07);
}
.matrix-cell.strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}
.matrix-cell.muted {
  color: rgba(148, 163, 184, 0.45);
}
.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ============ ACTIVITY ============ */
.activity-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.activity-copy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 14px 0 16px;
  color: var(--slate-900);
}
.activity-copy p:not(.kicker) {
  color: var(--slate-600);
}
.badge-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 999px;
}
.badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}
.live-panel {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.live-panel-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 22px;
  font-family: "Manrope", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate-900);
  border-bottom: 1px solid var(--line-light);
}
.live-dot,
.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.live-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
  scrollbar-width: thin;
}
.live-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  font-size: 0.86rem;
  color: var(--slate-600);
  animation: rowIn 0.4s var(--ease);
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
}
.live-list .li-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
}
.live-list .li-icon svg {
  width: 17px;
  height: 17px;
}
.li-invest {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
}
.li-commission {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.12);
}
.li-withdraw {
  color: var(--navy-700);
  background: rgba(28, 37, 65, 0.08);
}
.live-list .li-text {
  flex: 1;
  min-width: 0;
}
.live-list .li-text b {
  font-weight: 600;
  color: var(--slate-900);
}
.live-list .li-time {
  font-size: 0.72rem;
  color: var(--slate-400);
  white-space: nowrap;
}

/* ============ APPLY FORM ============ */
.apply-section {
  background-color: var(--navy-900);
  background-image:
    radial-gradient(820px 440px at 85% 0%, rgba(212, 175, 55, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.85) 100%),
    url("../public/bg-section-dark.jpg");
  background-size: auto, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
}
.apply-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.apply-copy h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  color: var(--white);
  margin: 14px 0 16px;
}
.apply-copy p:not(.kicker) {
  color: var(--slate-400);
}
.apply-points {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apply-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}
.apply-points svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.form-card {
  position: relative;
  padding: 38px 34px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
}
.form-card .field {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-400);
  margin-bottom: 9px;
}
.intent-segmented .seg {
  flex-direction: row;
  gap: 6px;
  font-size: 0.9rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-card input[type="text"],
.form-card input[type="email"],
.form-card select {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, background-color 0.2s;
}
.form-card input::placeholder {
  color: rgba(148, 163, 184, 0.55);
}
.form-card input:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}
.form-card select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  padding-right: 38px;
}
.form-card select option {
  color: var(--slate-900);
  background: var(--white);
}
.field.invalid input,
.field.invalid select {
  border-color: #f87171;
}
.field-error {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: #f87171;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 20px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--slate-400);
  cursor: pointer;
}
.consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.form-success {
  text-align: center;
  padding: 24px 10px;
  animation: fadeUp 0.5s var(--ease);
}
.success-mark {
  display: inline-flex;
  margin-bottom: 18px;
}
.success-mark svg {
  width: 60px;
  height: 60px;
}
.form-success h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
.form-success p {
  color: var(--slate-400);
  font-size: 0.94rem;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ============ FOOTER ============ */
.site-footer {
  background: #060c1e;
  color: var(--slate-400);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-block: 64px 48px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  margin-bottom: 14px;
}
.footer-brand .brand-mark svg {
  width: 100%;
  height: 100%;
}
.footer-brand strong {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.12em;
  color: var(--white);
  font-size: 0.95rem;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.65;
  max-width: 320px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.87rem;
  color: var(--slate-400);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--gold-soft);
}
.footer-risk {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-block: 28px;
}
.footer-risk h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}
.footer-risk p {
  font-size: 0.78rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.7);
  max-width: 980px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a:hover {
  color: var(--gold-soft);
}

/* ============ LIVE TOAST ============ */
.live-toast {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 340px;
  padding: 13px 18px;
  background: rgba(11, 19, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--gold-hairline);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dark);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.live-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.live-toast p {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.9);
}
.live-toast b {
  color: var(--gold-soft);
  font-weight: 600;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .mouse span,
  .live-dot,
  .toast-dot {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ RTL ============ */
[dir="rtl"] .main-nav a::after,
[dir="rtl"] .btn svg {
  transform: scaleX(-1);
}
[dir="rtl"] .btn:hover svg {
  transform: translateX(-3px) scaleX(-1);
}
[dir="rtl"] .plan-list li {
  padding-left: 0;
  padding-right: 24px;
}
[dir="rtl"] .plan-list li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .hero-stats .stat + .stat {
  border-left: none;
  border-right: 1px solid var(--gold-hairline);
}
[dir="rtl"] .form-card select {
  background-position: left 13px center;
  padding-right: 15px;
  padding-left: 38px;
}
[dir="rtl"] .apply-points li,
[dir="rtl"] .consent,
[dir="rtl"] .live-list li,
[dir="rtl"] .live-toast {
  flex-direction: row-reverse;
}
[dir="rtl"] .live-toast {
  left: auto;
  right: 24px;
}
[dir="rtl"] .hero-scroll,
[dir="rtl"] .lang-menu {
  left: 0;
  right: auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .main-nav {
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-partner {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .plan-grid,
  .security-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .calc-card {
    grid-template-columns: 1fr;
  }
  .calc-controls {
    border-right: none;
    border-bottom: 1px solid var(--line-dark);
  }
  .calc-result {
    order: -1;
  }
  .activity-layout,
  .apply-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .hero-stats .stat + .stat {
    border-left: none;
    border-top: 1px solid var(--gold-hairline);
  }
  [dir="rtl"] .hero-stats .stat + .stat {
    border-right: none;
  }

  /* matrix -> stacked tier cards */
  .matrix {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    gap: 16px;
  }
  .matrix-col,
  .matrix-cell,
  .matrix-row-label {
    border: none;
  }
  .matrix-col {
    order: var(--order, 0);
    padding: 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-dark);
  }
  .matrix-col-featured {
    border-color: var(--gold);
  }
  .matrix-corner,
  .matrix-row-label {
    display: none;
  }
  .matrix-cell {
    order: var(--order, 0);
    justify-content: space-between;
    text-align: start;
    padding: 11px 22px;
    font-size: 0.86rem;
  }
  .matrix-cell::before {
    content: attr(data-label);
    color: var(--slate-400);
    font-size: 0.8rem;
  }
  .matrix-cell.is-featured {
    background: transparent;
  }
  .matrix-cell.muted {
    opacity: 0.5;
  }
  .live-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
  [dir="rtl"] .live-toast {
    right: 16px;
    left: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 32px, 1200px);
  }
  .hero {
    padding-block: 110px 60px;
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.72) 50%, rgba(11, 19, 43, 0.96) 100%),
      radial-gradient(700px 420px at 70% 5%, rgba(212, 175, 55, 0.08), transparent 65%);
  }
  .hero-cta .btn {
    flex: 1 1 100%;
  }
  .hero-stats {
    margin-top: 40px;
  }
  .hero-stats .stat {
    padding: 18px 22px;
  }
  .compliance-strip {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .form-card {
    padding: 28px 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .lang-current {
    padding-inline: 8px;
  }
  .brand-text small {
    letter-spacing: 0.18em;
  }
  .hero-scroll {
    display: none;
  }
}

/* ---------------------------------------------------------------
   Mobile sticky action bar (phone only)
   --------------------------------------------------------------- */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: flex;
    gap: 10px;
    padding: 10px calc(14px + env(safe-area-inset-right, 0px))
      calc(10px + env(safe-area-inset-bottom, 0px))
      calc(14px + env(safe-area-inset-left, 0px));
    background: rgba(11, 19, 43, 0.94);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(212, 175, 55, 0.16);
    box-shadow: 0 -14px 34px rgba(2, 8, 23, 0.45);
  }
  .mobile-cta-bar .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    max-height: 52px;
    padding: 8px 10px;
    font-size: 0.78rem;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    overflow: hidden;
  }
  /* toast floats above the sticky bar */
  .live-toast {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

/* hide sticky bar on larger screens and tablets landscape */
@media (min-width: 761px) {
  .mobile-cta-bar {
    display: none;
  }
}

/* keep in-page anchors clear of the fixed header */
section[id] {
  scroll-margin-top: 84px;
}

/* ================================================================
   REDESIGN · V2 · richer atmosphere & depth
   ================================================================ */

:root {
  --ease: cubic-bezier(.22, .61, .36, 1);
  --sheen: linear-gradient(90deg, rgba(212,175,55,0) 0%, #E6C687 45%, #D4AF37 100%);
}

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3vw, 4vh, 0) scale(1.12); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes sheen {
  0%   { transform: translateX(-130%); }
  60%, 100% { transform: translateX(230%); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

/* ---------------- Hero atmosphere ---------------- */
.hero-media { overflow: hidden; }
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(6,12,30,.72) 0%, rgba(8,15,34,.5) 40%, rgba(5,10,26,.88) 100%),
    linear-gradient(100deg, rgba(11,19,43,.28) 0%, transparent 55%);
  z-index: 2;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(212,175,55,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 32%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 32%, #000 30%, transparent 78%);
}
.hero-orb {
  position: absolute; z-index: 1; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none;
}
.hero-orb-a {
  width: 46vw; height: 46vw; min-width: 460px; min-height: 460px;
  top: -18%; right: -9%;
  background: radial-gradient(circle at 32% 32%, rgba(212,175,55,.34), rgba(212,175,55,0) 66%);
  animation: drift 16s var(--ease) infinite;
}
.hero-orb-b {
  width: 42vw; height: 42vw; min-width: 420px; min-height: 420px;
  bottom: -20%; left: -12%;
  background: radial-gradient(circle at 60% 40%, rgba(16,185,129,.26), rgba(16,185,129,0) 66%);
  animation: drift 20s var(--ease) infinite reverse;
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 18%, transparent 46%, rgba(2,8,23,.7) 100%);
}
.hero-content { position: relative; z-index: 3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  letter-spacing: .42em; text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
  content: ""; height: 1px; width: 2.4rem;
  background: linear-gradient(90deg, transparent, #D4AF37);
}
.eyebrow::after { transform: scaleX(-1); }
@media (max-width: 560px) {
  .eyebrow { letter-spacing: .3em; }
  .eyebrow::before, .eyebrow::after { width: 1.1rem; }
}

.hero-title {
  text-shadow: 0 12px 60px rgba(2, 8, 23, .55);
  background: linear-gradient(180deg, #ffffff 10%, #eef2fa 55%, #c3cede 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub { position: relative; max-width: 58rem; }
.hero-sub::before {
  content: ""; position: absolute; left: 0; bottom: -1.15rem;
  width: 9rem; height: 2px; border-radius: 2px; overflow: hidden;
  background: rgba(212,175,55,.2);
}
.hero-sub::after {
  content: ""; position: absolute; left: 0; bottom: -1.15rem;
  width: 9rem; height: 2px; border-radius: 2px;
  background: var(--sheen);
  animation: sheen 5.5s var(--ease) infinite;
}

.hero-cta { margin-top: 3.4rem; }
.hero-cta .btn-emerald {
  box-shadow: 0 18px 44px rgba(16,185,129,.32), inset 0 1px 0 rgba(255,255,255,.18);
}

.hero-trust { margin-top: 2.4rem; }

.hero-stats {
  margin-top: 3.6rem; gap: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.035);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 70px rgba(2,8,23,.4);
}
.hero-stats .stat {
  position: relative; padding: 1.7rem 2.1rem; background: transparent;
}
.hero-stats .stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 18%; bottom: 18%;
  width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.14), transparent);
}
@media (max-width: 800px) {
  .hero-stats { border-radius: 16px; }
  .hero-stats .stat { padding: 1.35rem 1.2rem; }
}
@media (max-width: 560px) {
  .hero-cta { margin-top: 2.6rem; }
  .hero-stats { margin-top: 2.8rem; }
}

.hero-scroll .mouse span { animation: floaty 1.8s ease-in-out infinite; }

/* ---------------- Section rhythm ---------------- */
.section { position: relative; }
.section::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.28), transparent);
}
.section-light { position: relative; }
.section-light::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11,19,43,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 72%);
          mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 72%);
}
.section-light > .container { position: relative; z-index: 2; }

.section-dark { position: relative; }
.section-dark::after { /* subtle gold top sheen on dark blocks */
  content: ""; position: absolute; left: 10%; right: 10%; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(230,198,135,.5), transparent);
  opacity: .6;
}
.section-dark > .container { position: relative; z-index: 2; }

.kicker { display: inline-flex; align-items: center; gap: .65rem; }
.kicker::before {
  content: ""; width: 2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #D4AF37, transparent);
}
.kicker.gold { color: #E6C687; }

.section-head h2 {
  position: relative;
}
.section-head h2::after {
  content: ""; display: block; margin-top: 1.1rem;
  width: 4.5rem; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, rgba(212,175,55,.9), rgba(212,175,55,0));
}

/* ---------------- Card depth & polish ---------------- */
.plan-card,
.security-card,
.advantage-card,
.calc-card,
.form-card {
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* soft top highlight */
.plan-card::after,
.security-card::after,
.advantage-card::after,
.calc-card::after,
.form-card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  pointer-events: none;
}

.plan-card {
  box-shadow: 0 22px 55px rgba(15,23,42,.08);
}
.plan-card-featured {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(212,175,55,.14), 0 22px 55px rgba(15,23,42,.1);
}
@media (max-width: 1024px) {
  .plan-card-featured { transform: none; }
}

@media (hover: hover) and (pointer: fine) {
  .plan-card:hover, .security-card:hover, .advantage-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 34px 80px rgba(2,8,23,.16);
  }
  .plan-card-featured:hover { box-shadow: 0 38px 90px rgba(212,175,55,.2), 0 30px 70px rgba(2,8,23,.16); }
  .btn { transform: translateY(0); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
  .btn:hover { transform: translateY(-2px); }
}

/* ---------------- Calculator ---------------- */
.calc-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)) ,
    var(--navy-800);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 80px rgba(2,8,23,.5);
}
.calc-result { position: relative; }
.calc-result::before {
  content: ""; position: absolute; left: -1.6rem; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(transparent, rgba(212,175,55,.4), transparent);
}
@media (max-width: 900px) { .calc-result::before { display: none; } }

/* ---------------- Matrix ---------------- */
.matrix-wrap { position: relative; }
.matrix-col-featured {
  box-shadow: inset 0 1px 0 rgba(230,198,135,.35), 0 20px 50px rgba(2,8,23,.4);
}
.tier-name { letter-spacing: .01em; }

/* ---------------- Badge wall ---------------- */
.badge-wall .badge { transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .badge-wall .badge:hover { transform: translateY(-3px); border-color: rgba(212,175,55,.45); box-shadow: 0 10px 24px rgba(212,175,55,.12); }
}

/* ---------------- Apply ---------------- */
.apply-section::before { opacity: .8; }
.apply-layout { position: relative; z-index: 2; }
.form-card {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(212,175,55,.07), transparent 45%),
    var(--navy-800);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 30px 90px rgba(2,8,23,.55);
}
.form-card .btn-emerald { box-shadow: 0 16px 40px rgba(16,185,129,.3); }

/* ---------------- Live panel ---------------- */
.live-panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 60px rgba(15,23,42,.18);
}
.live-dot { animation: pulseGlow 2s ease-in-out infinite; }

/* ---------------- RTL adjustments ---------------- */
[dir="rtl"] .eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .hero-sub::before,
[dir="rtl"] .hero-sub::after { left: auto; right: 0; }
[dir="rtl"] .section-head h2::after { margin-left: auto; }
[dir="rtl"] .kicker { flex-direction: row-reverse; }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-sub::after, .hero-scroll .mouse span,
  .live-dot { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
