/* OrbiTags website: home page (index.php) and guide pages (guide.php).
   Animations use only transform and opacity, and switch off with prefers-reduced-motion. */
:root {
  --ink: #0f0d2a; --ink-2: #3b3860; --muted: #6a678a; --line: #e7e5f3; --bg: #ffffff; --soft: #f6f5fd;
  --brand: #5b45ff; --brand-2: #3d22d9; --violet: #8b5cf6; --orange: #ff9f43; --ok: #16a34a;
  --dark: #0b0a1f; --dark-line: rgba(255,255,255,.1); --on-dark: #e9e7ff; --on-dark-muted: #a9a6cf;
  --radius: 18px; --shadow: 0 30px 70px -30px rgba(27, 18, 99, .45), 0 10px 24px -12px rgba(27, 18, 99, .2);
  --ease: cubic-bezier(.2, .7, .2, 1); --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------------------------ buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 650; white-space: nowrap; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease; cursor: pointer; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16.5px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #6b55ff 0%, #4a2ff0 55%, #3a1fc9 100%); box-shadow: 0 12px 30px -10px rgba(91, 69, 255, .75), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 38px -12px rgba(91, 69, 255, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); }
.btn-primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn-ghost { color: var(--on-dark); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { color: #fff; background: rgba(255,255,255,.12); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; margin-top: 22px; }
.link .ic, .more .ic, .m-go .ic, .btn .ic { transition: transform .2s var(--ease); }
.link:hover .ic, a:hover .more .ic, a:hover .m-go .ic, .btn:hover .ic:last-child { transform: translateX(3px); }

/* ------------------------------------------------------------------ navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 10, 31, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--dark-line); transition: background-color .3s ease, box-shadow .3s ease; }
.nav.scrolled { background: rgba(11, 10, 31, .94); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: #fff; }
.brand:hover { color: #fff; }
.brand img { border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { position: relative; color: var(--on-dark-muted); font-size: 15px; font-weight: 550; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: #a99bff; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; margin-left: 4px; background: none; border: 1px solid var(--dark-line); color: #fff; border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }

/* ------------------------------------------------------------------ hero */
.hero, .ghero { position: relative; overflow: hidden; background: linear-gradient(180deg, #0b0a1f 0%, #110f2e 100%); color: var(--on-dark); }
.hero { padding: 84px 0 0; }
.ghero { padding: 40px 0 88px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 25%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); will-change: transform; }
.o1 { width: 640px; height: 640px; right: -120px; top: -260px; background: radial-gradient(closest-side, rgba(124, 92, 255, .55), transparent); animation: drift1 18s ease-in-out infinite alternate; }
.o2 { width: 460px; height: 460px; left: -160px; bottom: -220px; background: radial-gradient(closest-side, rgba(255, 159, 67, .18), transparent); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(-120px, 80px, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(140px, -60px, 0) scale(1.15); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; color: #fff; letter-spacing: -0.035em; }
.ghero h1 { font-size: clamp(34px, 4.2vw, 50px); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.mark { position: relative; white-space: nowrap; color: #fff; }
.mark svg { position: absolute; left: 0; right: 0; bottom: -0.14em; width: 100%; height: .32em; overflow: visible; }
.mark path { fill: none; stroke: #ff9f43; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lead, .ghero .lead { margin-top: 22px; font-size: 19px; line-height: 1.6; color: var(--on-dark-muted); max-width: 600px; }
.lead strong { color: #fff; font-weight: 650; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-cta.center { justify-content: center; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--on-dark-muted); font-size: 14.5px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: #34d399; }
.mobile-note { display: none; }
.hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > h1 { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; padding: 10px 0 60px; perspective: 1600px; }
.ghero .hero-visual { padding-bottom: 0; }
.hero-frame { transform: rotateY(-9deg) rotateX(3deg); transform-origin: left center; animation: settle 1.2s var(--ease) both; }
@keyframes settle { from { transform: rotateY(-20deg) rotateX(8deg) translateY(30px); } to { transform: rotateY(-9deg) rotateX(3deg); } }
.hero-panel { position: absolute; right: -14px; bottom: 6px; width: 34%; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.1); animation: panelIn 1s .45s var(--ease) both, float 7s 1.5s ease-in-out infinite; }
@keyframes panelIn { from { opacity: 0; transform: translate3d(40px, 30px, 0); } to { opacity: 1; transform: none; } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); font-size: 13.5px; font-weight: 550; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); white-space: nowrap; }
.chip b { font-weight: 750; }
.chip .ic { color: var(--brand); }
.chip-a { left: -26px; top: 18%; animation: pop .6s .9s var(--ease) both, float 8s 1.6s ease-in-out infinite; }
.chip-b { left: 6%; bottom: 8%; animation: pop .6s 1.1s var(--ease) both, float 9s 1.8s ease-in-out infinite; }
.chip-c { right: 26%; top: -4px; animation: pop .6s 1.3s var(--ease) both, float 7.5s 2s ease-in-out infinite; }
.chip .ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #dcfce7; }
.chip .ok .ic { color: var(--ok); width: 14px; height: 14px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* marketplace marquee */
.marquee { position: relative; z-index: 1; display: flex; align-items: center; gap: 28px; max-width: var(--wrap); margin: 26px auto 0; padding: 26px 24px 34px; border-top: 1px solid var(--dark-line); }
.marquee-label { flex: none; color: var(--on-dark-muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.marquee-track { flex: 1; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track ul { flex: none; display: flex; gap: 44px; list-style: none; margin: 0; padding: 0 22px; animation: marquee 26s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee-track li, .marquee-track a { color: #fff; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; opacity: .88; }
.marquee-track a:hover { color: #c9bfff; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------------ frame */
.frame { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(15, 13, 42, .08); }
.frame picture { display: block; }
.hero .frame, .ghero .frame { border-color: rgba(255,255,255,.12); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.06); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f1f0f7; border-bottom: 1px solid #e4e2ef; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d6e6; }
.frame-bar i:nth-child(1) { background: #ff6159; } .frame-bar i:nth-child(2) { background: #ffbd2e; } .frame-bar i:nth-child(3) { background: #28c941; }
.frame-bar span { margin-left: 12px; flex: 1; max-width: 340px; padding: 3px 12px; border-radius: 7px; background: #fff; color: #7b7896; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------------ sections */
.section { padding: 104px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: linear-gradient(180deg, #0b0a1f, #14123a); color: var(--on-dark); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2, .trust-grid h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.section-head p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 18.5px; }
.dark .section-head h2 { color: #fff; }
.kicker { display: inline-block; margin-bottom: 14px; color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.dark .kicker { color: #a99bff; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
.pillar::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 69, 255, .08), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.pillar:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar:hover::before { opacity: 1; }
.pillar h3 { font-size: 22px; font-weight: 750; margin-top: 6px; }
.pillar p { color: var(--muted); flex: 1; }
.pill-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; transition: transform .4s var(--ease); }
.pillar:hover .pill-ic { transform: rotate(-6deg) scale(1.06); }
.pill-ic .ic { width: 24px; height: 24px; }
.p1 { background: linear-gradient(135deg, #6b55ff, #3a1fc9); }
.p2 { background: linear-gradient(135deg, #a855f7, #6d28d9); }
.p3 { background: linear-gradient(135deg, #ffb15c, #f97316); }
.more, .m-go { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 650; font-size: 15px; }

/* feature showcase (tabs) */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 40px; padding: 6px; width: max-content; max-width: 100%; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -22px rgba(27, 18, 99, .4); }
.tab { flex: none; position: relative; overflow: hidden; padding: 11px 20px; border: 0; border-radius: 999px; background: none; font: 600 15px/1 "Inter", system-ui, sans-serif; color: var(--muted); cursor: pointer; transition: color .2s ease, background-color .25s ease; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-on { color: #fff; background: var(--ink); }
.tab .bar { position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.5); transform: scaleX(0); transform-origin: left; }
.tab.is-on.run .bar { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.showcase { position: relative; }
.panel { display: none; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.panel.is-on { display: grid; }
.panel h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; }
.panel-copy > p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.js .panel.is-on .panel-copy > * { animation: rise .55s var(--ease) both; }
.js .panel.is-on .panel-copy > :nth-child(2) { animation-delay: .05s; } .js .panel.is-on .panel-copy > :nth-child(3) { animation-delay: .1s; } .js .panel.is-on .panel-copy > :nth-child(4) { animation-delay: .15s; }
.js .panel.is-on .panel-media { animation: swap .7s var(--ease) both; }
@keyframes swap { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: #ece9ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%235b45ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }

/* stats */
.stats-band { position: relative; padding: 64px 0; background: linear-gradient(120deg, #3a1fc9, #5b45ff 45%, #8b5cf6); color: #fff; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: -50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent 70%); animation: drift1 16s ease-in-out infinite alternate; pointer-events: none; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stats-grid b { display: block; font-size: clamp(40px, 5vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats-grid span { display: block; margin-top: 10px; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.45; max-width: 230px; }

.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.market { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
a.market:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.m-name { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.m-text { color: var(--muted); font-size: 15px; flex: 1; }
.m-go { font-size: 14px; margin-top: 6px; }
.market-grid.compact { grid-template-columns: repeat(2, 1fr); margin-top: 10px; }

/* steps with a connecting line that draws in */
.steps { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 51px; height: 2px; background: linear-gradient(90deg, #6b55ff, #a855f7, #ff9f43); transform-origin: left; transition: transform 1.2s .3s var(--ease); }
.js .steps:not(.in)::before { transform: scaleX(0); }
.steps li { position: relative; padding: 30px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); transition: transform .3s var(--ease), background-color .3s ease; }
.steps li:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.steps h3 { color: #fff; font-size: 21px; margin: 18px 0 10px; }
.steps p { color: var(--on-dark-muted); }
.n { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #6b55ff, #a855f7); color: #fff; font-weight: 800; box-shadow: 0 0 0 6px #110f2e; }
.panel-row { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; margin-top: 64px; padding: 40px; border-radius: 24px; background: rgba(255,255,255,.03); border: 1px solid var(--dark-line); }
.panel-row img { border-radius: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.panel-row h3 { color: #fff; font-size: 22px; margin-bottom: 10px; }
.panel-row p { color: var(--on-dark-muted); margin-bottom: 26px; }

.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card > .ic { width: 28px; height: 28px; color: var(--brand); }
.card h3 { font-size: 19px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }

.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.trust-grid > div > p:not(.kicker) { margin-top: 18px; color: var(--muted); font-size: 18px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.trust-list li { display: flex; gap: 16px; padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease); }
.trust-list li:hover { transform: translateX(4px); }
.trust-list .ic { width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.trust-list b { display: block; font-size: 17px; }
.trust-list span { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: box-shadow .3s ease, border-color .3s ease; }
.faq details:hover { border-color: #d6d1f5; }
.faq details[open] { box-shadow: 0 16px 40px -28px rgba(27, 18, 99, .45); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17.5px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.4; }
.plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--soft); transition: background-color .2s ease, transform .3s var(--ease); }
details[open] .plus { transform: rotate(180deg); background: #ece9ff; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--brand); border-radius: 2px; transition: transform .3s var(--ease); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }
details[open] .faq-a { animation: rise .35s var(--ease) both; }

.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s ease; }
.guide:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.g-kick { color: var(--brand); font-size: 13px; font-weight: 700; }
.g-title { font-weight: 750; font-size: 18.5px; line-height: 1.3; letter-spacing: -0.015em; flex: 1; }

.cta-band { position: relative; overflow: hidden; padding: 100px 0; background: #0b0a1f; color: var(--on-dark); text-align: center; }
.cta-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 560px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 69, 255, .7), transparent); filter: blur(20px); animation: breathe 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes breathe { to { transform: scale(1.15) translateY(30px); opacity: .75; } }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-in img { border-radius: 18px; margin-bottom: 26px; box-shadow: 0 20px 50px -20px rgba(107, 85, 255, .9); }
.cta-in h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.cta-in p { margin-top: 16px; color: var(--on-dark-muted); font-size: 18.5px; max-width: 560px; }

/* ------------------------------------------------------------------ guide pages */
.ghero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.crumbs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); } .crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #fff; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 64px 0 18px; }
.prose > h2:first-child { margin-top: 0; }
.prose section > p, .prose section li { font-size: 17.5px; }
.prose p + p { margin-top: 14px; }
.prose .note { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--soft); color: var(--ink-2); font-size: 15.5px; }
.gsteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.gsteps li { display: flex; gap: 18px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.gsteps li:hover { transform: translateX(4px); box-shadow: 0 16px 40px -30px rgba(27, 18, 99, .5); }
.gsteps .n { box-shadow: none; flex: none; }
.gsteps h3 { font-size: 18.5px; margin: 6px 0 6px; }
.gsteps p { color: var(--muted); }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mini-grid > div { padding: 22px; border-radius: 16px; background: var(--soft); }
.mini-grid h3 { font-size: 18px; margin-bottom: 8px; }
.mini-grid p { color: var(--ink-2); font-size: 15.5px; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 64px; padding: 26px 28px; border-radius: 20px; background: linear-gradient(120deg, #f1eeff, #fff4e8); border: 1px solid #e6e0ff; }
.inline-cta b { display: block; font-size: 19px; }
.inline-cta span { color: var(--muted); }
.guide-grid.three { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------------ footer */
.foot { background: #08071a; color: var(--on-dark-muted); padding: 72px 0 30px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr 1.1fr; gap: 36px; }
.foot-brand p { margin: 16px 0 20px; max-width: 330px; }
.foot h2 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: 0; }
.foot-grid > div:not(.foot-brand) { display: flex; flex-direction: column; gap: 10px; }
.foot a:not(.btn):not(.brand) { color: var(--on-dark-muted); transition: color .2s ease; }
.foot a:not(.btn):not(.brand):hover { color: #fff; }
.foot-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: 13px; }

/* ------------------------------------------------------------------ reveal on scroll (only with JavaScript) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .mark path { stroke-dashoffset: 0; }
  .steps::before { transform: scaleX(1); }
}
@media print { .js .rv { opacity: 1; transform: none; } .nav { position: static; } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .hero-grid, .ghero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 760px; }
  .hero-frame { transform: none; animation-name: settleFlat; }
  @keyframes settleFlat { from { transform: translateY(30px) scale(.97); } to { transform: none; } }
  .panel, .panel.is-on { grid-template-columns: 1fr; gap: 36px; }
  .market-grid, .cards4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; padding: 8px 20px 16px; background: #0b0a1f; border-bottom: 1px solid var(--dark-line); }
  .nav-links.open { display: flex; animation: rise .25s var(--ease) both; }
  .nav-links a { padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--dark-line); }
  .nav-links a::after { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-in { gap: 12px; }
  .nav-cta { margin-left: auto; }
  .pillars, .steps, .guide-grid, .guide-grid.three { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .panel-row { grid-template-columns: 1fr; padding: 26px; gap: 30px; }
  .panel-row img { max-width: 260px; margin: 0 auto; }
  .trust-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding: 76px 0; }
  .marquee { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee-track { width: 100%; }
  .tabs { justify-content: flex-start; width: auto; overflow-x: auto; scrollbar-width: none; border-radius: 16px; }
  .tabs::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding-top: 44px; }
  .ghero { padding-top: 28px; padding-bottom: 56px; }
  .hero .lead, .ghero .lead { font-size: 17px; }
  .mark { white-space: normal; }
  .hero-cta .btn { width: 100%; }
  .mobile-note { display: block; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); color: var(--on-dark); font-size: 14.5px; }
  .hero-visual { padding-bottom: 20px; }
  .hero-panel, .chip-c { display: none; }
  .chip { font-size: 12.5px; padding: 8px 11px; }
  .chip-a { left: 8px; top: -14px; } .chip-b { left: auto; right: 8px; bottom: 0; }
  .frame-bar { height: 26px; } .frame-bar i { width: 8px; height: 8px; } .frame-bar span { font-size: 11px; }
  .market-grid, .market-grid.compact, .cards4 { grid-template-columns: 1fr; }
  .stats-grid { gap: 26px 18px; }
  .stats-grid span { font-size: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 9px 11px; }
  .gsteps li { flex-direction: column; gap: 10px; }
  .section-head { margin-bottom: 40px; }
  .tab { padding: 10px 14px; font-size: 14px; }
}
