/* Home page - option 1. Author: Sandeep Kapil */

body.home { background: #050c20; color: #b4c3d4; font-family: "Inter", system-ui, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
.home h1, .home h2, .home h3 { font-family: "Sora", "Inter", sans-serif; color: #fff; line-height: 1.12; text-wrap: balance; }
.home p { text-wrap: pretty; }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hm-hero { position: relative; overflow: hidden; padding: 88px 0 120px; background: linear-gradient(180deg, #0a1b4a 0%, #050c20 100%); }
.hm-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000, transparent); }
.hm-glow { position: absolute; width: 720px; height: 720px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(77, 139, 255, .45), transparent 66%); filter: blur(20px); }
.hm-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }

.hm-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px; border: 1px solid rgba(184, 194, 208, .28); border-radius: 999px; background: rgba(255, 255, 255, .05); font-size: .8rem; color: #dbe4f3; }
.hm-pill i { width: 8px; height: 8px; border-radius: 50%; background: #4d8bff; box-shadow: 0 0 0 4px rgba(77, 139, 255, .25); animation: hm-pulse 2.4s infinite; }
@keyframes hm-pulse { 50% { box-shadow: 0 0 0 9px rgba(77, 139, 255, 0); } }

.hm-hero h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; }
.hm-grad { background: linear-gradient(90deg, #e3e9f2, #8fb4ff 50%, #4d8bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-lead { max-width: 520px; margin: 0 0 32px; font-size: 1.15rem; color: #c4d0de; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hm-points { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; font-size: .95rem; color: #dbe4f3; }
.hm-points li { display: flex; align-items: center; gap: 10px; }
.hm-points .i { color: #8fb4ff; flex: none; }
.hm-fine { max-width: 480px; margin: 0; font-size: .8rem; color: #8da0b5; }

/* hero visual */
.hm-visual { position: relative; padding: 0 0 40px 30px; }
.hm-window { border: 1px solid rgba(184, 194, 208, .22); border-radius: 22px; background: linear-gradient(180deg, #0f2540, #091a30); box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(77, 139, 255, .08); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); transform-origin: 100% 50%; }
.hm-bar { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .78rem; color: #9fb0c1; }
.hm-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3b5469; }
.hm-bar b { margin-left: 12px; font-weight: 600; color: #fff; }
.hm-bar em { margin-left: auto; font-style: normal; font-size: .7rem; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.hm-chart-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px 0; }
.hm-chart-head strong { font-family: "Sora", sans-serif; color: #fff; }
.hm-chart-head span { font-size: .75rem; color: #8da0b5; }
.hm-chart-head div { display: flex; gap: 6px; margin-left: auto; }
.hm-chart-head i { font-style: normal; font-size: .72rem; padding: 3px 10px; border-radius: 8px; color: #9fb0c1; }
.hm-chart-head i.on { background: rgba(77, 139, 255, .22); color: #fff; }
.hm-chart { display: block; width: 100%; height: 320px; padding: 10px 14px 18px; }
.hm-trend { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: hm-draw 3.2s .5s ease-out forwards; }
@keyframes hm-draw { to { stroke-dashoffset: 0; } }

.hm-float { position: absolute; border: 1px solid rgba(184, 194, 208, .25); border-radius: 18px; background: rgba(10, 27, 74, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.hm-float-ticket { right: -18px; top: 74px; width: 180px; padding: 16px; animation: hm-bob 7s ease-in-out infinite; }
.hm-float-ticket p { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: .78rem; color: #fff; }
.hm-float-ticket em { font-style: normal; color: #8da0b5; font-size: .68rem; }
.hm-sides { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
.hm-sides span { padding: 8px 0; text-align: center; border-radius: 9px; font-size: .78rem; font-weight: 600; color: #fff; }
.hm-sides .sell { background: rgba(248, 113, 113, .22); }
.hm-sides .buy { background: rgba(77, 139, 255, .35); }
.hm-float-ticket dl { margin: 0; display: grid; gap: 6px; font-size: .74rem; }
.hm-float-ticket dl div { display: flex; justify-content: space-between; }
.hm-float-ticket dt { color: #8da0b5; }
.hm-float-ticket dd { margin: 0; color: #dbe4f3; }
.hm-float-risk { left: 0; bottom: 0; display: flex; gap: 12px; align-items: center; max-width: 250px; padding: 14px 16px; animation: hm-bob 8s 1s ease-in-out infinite reverse; }
.hm-float-risk .i { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #8fb4ff; background: rgba(77, 139, 255, .16); }
.hm-float-risk p { margin: 0; font-size: .76rem; line-height: 1.45; color: #9fb0c1; }
.hm-float-risk b { display: block; color: #fff; font-size: .82rem; }
@keyframes hm-bob { 50% { transform: translateY(-10px); } }

/* ---------- ticker ---------- */
.hm-ticker { overflow: hidden; border-block: 1px solid rgba(184, 194, 208, .14); background: #08132e; }
.hm-ticker-track { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: hm-marquee 40s linear infinite; }
.hm-ticker span { font-family: "Sora", sans-serif; font-size: .85rem; font-weight: 600; letter-spacing: .5px; color: #8da0b5; white-space: nowrap; }
.hm-ticker span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 14px; border-radius: 50%; background: #4d8bff; vertical-align: middle; }
@keyframes hm-marquee { to { transform: translateX(-50%); } }

/* ---------- licence facts ---------- */
.hm-facts { position: relative; z-index: 2; margin-top: -1px; }
.hm-facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; padding: 0; border: 1px solid rgba(184, 194, 208, .16); border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); overflow: hidden; }
.hm-facts-grid div { padding: 28px 30px; }
.hm-facts-grid div + div { border-left: 1px solid rgba(184, 194, 208, .14); }
.hm-facts-grid dt { margin-bottom: 4px; font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: #8da0b5; }
.hm-facts-grid dd { margin: 0; font-family: "Sora", sans-serif; font-size: 1.1rem; font-weight: 600; color: #fff; }

/* ---------- shared section pieces ---------- */
.hm-section { padding: 120px 0 0; }
.hm-section:last-of-type { padding-bottom: 40px; }
.hm-head { max-width: 640px; margin: 0 0 56px; }
.hm-head-center { margin-inline: auto; text-align: center; }
.hm-head h2, .hm-tabs h2, .hm-reg h2 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -.02em; }
.hm-head p:last-child { margin: 0; font-size: 1.05rem; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: .74rem; font-weight: 700; letter-spacing: 2.6px; text-transform: uppercase; color: #8fb4ff; }
.hm-eyebrow::before { content: ""; width: 28px; height: 2px; background: #4d8bff; }
.hm-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-size: .92rem; font-weight: 600; color: #8fb4ff; text-decoration: none; transition: gap .2s; }
.hm-more:hover { gap: 14px; }
.hm-note, .hm-small { font-size: .85rem; color: #8da0b5; }
.hm-note { margin: 26px 0 0; text-align: center; }
.hm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* ---------- markets bento ---------- */
.hm-bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hm-tile { position: relative; display: flex; flex-direction: column; min-height: 280px; padding: 34px; overflow: hidden; border: 1px solid rgba(184, 194, 208, .16); border-radius: 26px; background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); text-decoration: none; transition: transform .35s, border-color .35s, box-shadow .35s; }
.hm-tile-wide { grid-column: span 2; }
.hm-tile:hover { transform: translateY(-6px); border-color: rgba(77, 139, 255, .6); box-shadow: 0 28px 60px rgba(0, 0, 0, .4); }
.hm-tile .i.big { width: 52px; height: 52px; margin-bottom: 26px; padding: 12px; border-radius: 15px; color: #8fb4ff; background: rgba(77, 139, 255, .14); }
.hm-tile h3 { margin: 0 0 10px; font-size: 1.5rem; }
.hm-tile p { max-width: 420px; margin: 0 0 22px; color: #9fb0c1; }
.hm-spark { position: absolute; right: 0; bottom: 0; width: 55%; height: 110px; opacity: .55; pointer-events: none; }
.hm-spark path { fill: none; stroke: #4d8bff; stroke-width: 2.5; stroke-linecap: round; }

/* ---------- platform ---------- */
.hm-devices { position: relative; padding: 0 70px 40px 0; }
.hm-laptop { border: 10px solid #16294d; border-bottom-width: 18px; border-radius: 18px 18px 8px 8px; background: #0a1a30; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.hm-laptop svg { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.hm-phone { position: absolute; right: 0; bottom: 0; width: 130px; padding: 8px; border-radius: 26px; background: #16294d; box-shadow: 0 30px 60px rgba(0, 0, 0, .55); }
.hm-phone svg { display: block; width: 100%; height: 240px; border-radius: 19px; background: #0a1a30; }

.hm-tablist { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 8px 0 26px; padding: 5px; border: 1px solid rgba(184, 194, 208, .18); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.hm-tablist button { padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; font: 600 .86rem "Inter", sans-serif; color: #9fb0c1; cursor: pointer; transition: background .2s, color .2s; }
.hm-tablist button:hover { color: #fff; }
.hm-tablist button[aria-selected="true"] { background: #2f6fe0; color: #fff; }
.hm-panel { display: flex; flex-direction: column; gap: 16px; }
.hm-panel[hidden] { display: none; }
.hm-panel p { margin: 0; font-size: 1.05rem; }
.hm-panel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hm-panel li { position: relative; padding-left: 28px; color: #dbe4f3; }
.hm-panel li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid #4d8bff; border-bottom: 2px solid #4d8bff; transform: rotate(-45deg) translateY(-3px); }
.hm-panel .hm-more { margin-top: 6px; }

/* ---------- why ---------- */
.hm-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hm-why li { padding: 32px 28px; border: 1px solid rgba(184, 194, 208, .14); border-radius: 22px; background: rgba(255, 255, 255, .03); transition: border-color .3s, transform .3s; }
.hm-why li:hover { border-color: rgba(77, 139, 255, .5); transform: translateY(-4px); }
.hm-why .i.big { width: 46px; height: 46px; margin-bottom: 22px; padding: 10px; border-radius: 13px; color: #8fb4ff; background: rgba(77, 139, 255, .14); }
.hm-why h3 { margin: 0 0 10px; font-size: 1.1rem; }
.hm-why p { margin: 0; font-size: .93rem; color: #9fb0c1; }

/* ---------- steps ---------- */
.hm-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hm-steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 30px; height: 1px; background: linear-gradient(90deg, #4d8bff, rgba(77, 139, 255, .1)); }
.hm-steps li { position: relative; }
.hm-steps span { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border: 1px solid rgba(77, 139, 255, .6); border-radius: 50%; background: #0a1b4a; font: 700 1.1rem "Sora", sans-serif; color: #fff; }
.hm-steps h3 { margin: 0 0 8px; font-size: 1.15rem; }
.hm-steps p { margin: 0; font-size: .93rem; color: #9fb0c1; }
.hm-steps a { color: #8fb4ff; }

/* ---------- learning ---------- */
.hm-learn { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hm-learn a { display: block; height: 100%; padding: 34px; border: 1px solid rgba(184, 194, 208, .16); border-radius: 24px; background: linear-gradient(160deg, rgba(77, 139, 255, .12), rgba(255, 255, 255, .02)); text-decoration: none; transition: transform .3s, border-color .3s; }
.hm-learn a:hover { transform: translateY(-5px); border-color: rgba(77, 139, 255, .6); }
.hm-chip { display: inline-block; margin-bottom: 40px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .72rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: #cfe0ff; }
.hm-learn h3 { margin: 0 0 8px; font-size: 1.3rem; }
.hm-learn p { margin: 0; color: #9fb0c1; }

/* ---------- regulation ---------- */
.hm-reg .hm-split { padding: 56px; border: 1px solid rgba(184, 194, 208, .16); border-radius: 32px; background: radial-gradient(600px 300px at 100% 0, rgba(77, 139, 255, .2), transparent 70%), rgba(255, 255, 255, .03); }
.hm-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.hm-links a { display: inline-block; padding: 8px 16px; border: 1px solid rgba(184, 194, 208, .25); border-radius: 999px; font-size: .86rem; color: #dbe4f3; text-decoration: none; transition: background .2s, border-color .2s; }
.hm-links a:hover { background: rgba(77, 139, 255, .18); border-color: #4d8bff; }
.hm-credential { padding: 34px; border: 1px solid rgba(184, 194, 208, .3); border-radius: 24px; background: linear-gradient(150deg, #12307a, #0a1b4a); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.hm-credential .i.big { width: 46px; height: 46px; margin-bottom: 18px; padding: 10px; border-radius: 13px; color: #cfe0ff; background: rgba(255, 255, 255, .1); }
.hm-cred-title { margin: 0; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; color: #b8c2d0; }
.hm-cred-no { margin: 4px 0 22px; font: 800 2.1rem "Sora", sans-serif; letter-spacing: 2px; color: #fff; }
.hm-credential dl { margin: 0; display: grid; gap: 12px; font-size: .88rem; }
.hm-credential dl div { display: flex; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hm-credential dt { color: #9fb0c1; }
.hm-credential dd { margin: 0; text-align: right; color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hm-hero { padding: 56px 0 80px; }
  .hm-hero-grid, .hm-split { grid-template-columns: 1fr; gap: 48px; }
  .hm-visual { padding-left: 0; }
  .hm-window { transform: none; }
  .hm-float-ticket { right: 8px; }
  .hm-facts-grid { grid-template-columns: 1fr 1fr; }
  .hm-facts-grid div:nth-child(3) { border-left: 0; }
  .hm-facts-grid div:nth-child(n+3) { border-top: 1px solid rgba(184, 194, 208, .14); }
  .hm-bento { grid-template-columns: 1fr 1fr; }
  .hm-why, .hm-steps { grid-template-columns: 1fr 1fr; }
  .hm-steps::before { display: none; }
  .hm-learn { grid-template-columns: 1fr; }
  .hm-reg .hm-split { padding: 32px 24px; }
}
@media (max-width: 620px) {
  .hm-section { padding-top: 84px; }
  .hm-bento, .hm-why, .hm-steps { grid-template-columns: 1fr; }
  .hm-tile-wide { grid-column: auto; }
  .hm-float-risk { display: none; }
  .hm-devices { padding-right: 40px; }
  .hm-phone { width: 100px; }
  .hm-phone svg { height: 180px; }
  .hm-tablist { border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-ticker-track, .hm-float, .hm-pill i { animation: none; }
  .hm-trend { animation: none; stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
