/* =========================================================
   Toro Prisma
   Light, editorial layout in eToro's brand language:
   white pages, black type, signature green.
   ========================================================= */

:root {
  --green: #13c636;
  --green-dark: #0ea82c;
  --green-tint: #e8faec;
  --black: #0e1116;
  --ink: #1a1f26;
  --grey-1: #f4f5f7;
  --grey-2: #e6e8ec;
  --grey-3: #c9ced6;
  --muted: #5d6673;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1180px;
  --gutter: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--white); color: var(--ink);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--black); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.9rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; font-family: var(--font);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,17,22,.14); }
.btn-green:hover { box-shadow: 0 10px 26px rgba(19,198,54,.35); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; margin-top: 18px; }
.btn-green { background: var(--green); color: var(--black); }
.btn-green:hover { background: var(--green-dark); }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: #2a3038; }
.link-arrow { font-weight: 700; color: var(--black); border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: var(--black); }

/* ---------- Notice + header ---------- */
.notice { background: var(--black); color: #fff; font-size: 0.85rem; }
.notice .container { display: flex; justify-content: center; gap: 14px; padding: 9px var(--gutter); }
.notice a { color: var(--green); font-weight: 700; }
.notice a:hover { text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--grey-2); transition: box-shadow .25s ease; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(14,17,22,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: -0.04em; font-size: 1.6rem; line-height: 1; }
.logo-mark { width: 40px; height: 40px; margin-right: 6px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(19,198,54,.35), 0 4px 12px rgba(14,17,22,.15); }
.logo-footer .logo-mark { width: 32px; height: 32px; border-radius: 8px; }
.logo-e { color: var(--green); }
.logo-toro { color: var(--black); }
.logo-sep { width: 1px; height: 18px; background: var(--grey-3); margin: 0 12px; align-self: center; }
.logo-sub { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); align-self: center; }

.nav { display: flex; gap: 30px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; flex-direction: column; gap: 6px; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; }
.mobile-nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--grey-2); background: #fff; }
.mobile-nav[hidden] { display: none; }
.mobile-nav > a:not(.btn) { padding: 14px 0; font-weight: 600; border-bottom: 1px solid var(--grey-2); }
.mobile-nav .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.kicker { font-weight: 700; color: var(--green-dark); margin-bottom: 20px; font-size: 1rem; }
.hero-sub { font-size: 1.25rem; color: var(--muted); max-width: 540px; margin: 26px 0 34px; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-risk { margin-top: 26px; font-size: 0.82rem; color: var(--muted); }

/* Asset card */
.hero-card { display: flex; justify-content: center; }
.asset-card {
  width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--grey-2); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(14, 17, 22, 0.10); overflow: hidden;
}
.asset-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--grey-2); }
.asset-id { display: flex; flex-direction: column; }
.asset-ticker { font-weight: 800; letter-spacing: 0.02em; font-size: 1rem; color: var(--black); }
.asset-name { font-size: 0.85rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.pill-green { background: var(--green-tint); color: var(--green-dark); }
.asset-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #e9eeeb; }
/* Card backdrops. Pick with CONFIG.stage: light | dark | green */
.asset-media.stage-light {
  background:
    radial-gradient(120% 80% at 50% 18%, #fbfcfb 0%, #eef2ef 45%, #d9e0dc 100%);
}
.asset-media.stage-dark {
  background: #030604;
  background-image: radial-gradient(60% 28% at 50% 92%, rgba(19,198,54,.30), transparent 70%),
    linear-gradient(rgba(19,198,54,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(19,198,54,.07) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 28px 28px;
}
.asset-media.stage-green {
  background: radial-gradient(120% 90% at 50% 15%, #1fd646 0%, #13c636 40%, #0b8f27 100%);
}
.asset-media > img, .asset-media > .asset-video {
  width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 2; display: none;
}
.asset-media > img.is-loaded, .asset-media > .asset-video.is-loaded { display: block; }

/* Live 3D cube: bull on four sides, green glass top and bottom, tilted and rotating.
   --s is the cube edge, scaled to the card. */
.holo { position: absolute; inset: 0; z-index: 1; container-type: size; }
.cube-scene {
  --s: 42cqmin;
  position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 46%;
}
.cube {
  position: absolute; left: 50%; top: 46%; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d; will-change: transform;
  transform: rotateX(-6deg) rotateY(-30deg);
}
.cube-face {
  position: absolute; inset: 0; overflow: hidden; border-radius: 4px;
  background: #020403; border: 1px solid rgba(19,198,54,.6);
  box-shadow: inset 0 0 0 1px rgba(19,198,54,.15), inset 0 0 44px rgba(19,198,54,.22), 0 0 26px rgba(19,198,54,.25);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.cube-face { --lit: 1; }
.cube-face img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.1) contrast(1.08) brightness(var(--lit)); transition: filter .12s linear; }
.cube-face::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(19,198,54,.14) 100%),
    repeating-linear-gradient(180deg, rgba(0,0,0,.12) 0 2px, transparent 2px 5px);
}
.cube-front  { transform: rotateY(0deg)   translateZ(calc(var(--s) / 2)); }
.cube-right  { transform: rotateY(90deg)  translateZ(calc(var(--s) / 2)); }
.cube-back   { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube-left   { transform: rotateY(270deg) translateZ(calc(var(--s) / 2)); }
.cube-top    { transform: rotateX(90deg)  translateZ(calc(var(--s) / 2)); background: linear-gradient(135deg, rgba(19,198,54,.40), rgba(19,198,54,.12) 55%, rgba(19,198,54,.28)); box-shadow: inset 0 0 0 1px rgba(19,198,54,.35), inset 0 0 50px rgba(19,198,54,.35); }
.cube-bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); background: rgba(19,198,54,.22); box-shadow: inset 0 0 50px rgba(19,198,54,.5); }
.cube-top::after, .cube-bottom::after { background: none; }
.cube-floor {
  position: absolute; left: 50%; bottom: 8%; width: 66%; height: 13%; transform: translateX(-50%);
  border-radius: 50%; filter: blur(9px);
  background: radial-gradient(ellipse at center, rgba(10,20,14,.42), rgba(10,20,14,.14) 50%, transparent 70%);
}
.stage-dark .cube-floor, .stage-green .cube-floor {
  background: radial-gradient(ellipse at center, rgba(19,198,54,.45), rgba(19,198,54,.10) 50%, transparent 70%);
}
.stage-green .cube-floor { background: radial-gradient(ellipse at center, rgba(4,40,14,.5), rgba(4,40,14,.15) 50%, transparent 70%); }
.cube-mirror {
  position: absolute; left: 50%; top: 46%; width: var(--s); height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  transform-style: preserve-3d; pointer-events: none; opacity: .22; filter: blur(1px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 55%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, transparent 55%, #000 100%);
}
.asset-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); border-top: 1px solid var(--grey-2); }
.asset-stats > div { padding: 14px 12px; border-right: 1px solid var(--grey-2); }
.asset-stats > div:last-child { border-right: 0; }
.asset-stats dt { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.asset-stats dd { font-weight: 700; color: var(--black); margin-top: 3px; font-size: 0.92rem; }
.asset-foot { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--grey-1); border-top: 1px solid var(--grey-2); }
.asset-market { font-size: 0.88rem; font-weight: 600; color: var(--ink); }

/* ---------- Ticker ---------- */
.ticker { background: var(--green); color: var(--black); overflow: hidden; padding: 14px 0; font-weight: 800; letter-spacing: -0.01em; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span { padding: 0 34px; position: relative; white-space: nowrap; }
.ticker-track span::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--black); transform: translateY(-50%); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-grey { background: var(--grey-1); }
.section-dark { background: var(--black); color: #d5dae2; }
.section-dark h2 { color: #fff; }
.overline { font-size: 0.82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.overline-green { color: var(--green); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-sub { font-size: 1.15rem; margin-top: 18px; }
.section-dark .section-sub { color: #aeb6c2; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { font-size: 1.1rem; color: var(--muted); }

.info-panel { background: var(--grey-1); border-radius: var(--radius-lg); padding: 30px; position: sticky; top: 100px; }
.info-panel h3 { margin-bottom: 14px; font-size: 1.25rem; }
.info-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--grey-2); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--muted); font-size: 0.95rem; }
.info-list dd { font-weight: 700; color: var(--black); display: inline-flex; align-items: center; gap: 10px; text-align: right; }
.copy { background: #fff; border: 1px solid var(--grey-3); border-radius: 6px; padding: 3px 9px; font-size: 0.75rem; font-weight: 700; cursor: pointer; font-family: var(--font); color: var(--ink); }
.copy:hover { border-color: var(--black); }
.panel-note { margin: 14px 0 0; font-size: 0.82rem; color: var(--muted); }

/* Perks (eToro Club style rows) */
.perks { border-top: 1px solid #2a3038; }
.perk { display: grid; grid-template-columns: 56px 1.2fr 1.6fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid #2a3038; }
.perk-num { font-weight: 800; color: var(--green); font-size: 1.1rem; }
.perk h3 { color: #fff; font-size: 1.2rem; }
.perk p { margin: 0; color: #aeb6c2; }
.perk-status { justify-self: end; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid #3a414b; color: #aeb6c2; white-space: nowrap; }
.perk-status.included { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: var(--black); border-color: var(--green); }
.perk-status.soon { border-color: var(--green); color: var(--green); }
.perks-note { margin-top: 26px; font-size: 0.85rem; color: #8b94a1; max-width: 760px; }

/* How to buy */
.how-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 80px; align-items: start; }
.how-grid h2 { margin-bottom: 30px; }
.how-list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--grey-2); }
.how-list li:last-child { border-bottom: 1px solid var(--grey-2); }
.how-list li > span { width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: #fff; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.how-list h3 { margin-bottom: 6px; }
.how-list p { margin: 0; color: var(--muted); }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 80px; align-items: start; }
.faq details { border-top: 1px solid var(--grey-2); }
.faq details:last-child { border-bottom: 1px solid var(--grey-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 1.1rem; color: var(--black); display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 400; color: var(--green-dark); line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; color: var(--muted); font-size: 1.02rem; }

/* CTA */
.cta { background: var(--green); padding: 90px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* Footer */
.footer { padding: 56px 0 36px; border-top: 1px solid var(--grey-2); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.logo-footer { font-size: 1.4rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; font-weight: 600; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--green-dark); }
.footer-nav a[hidden] { display: none; }
.footer-legal { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--grey-2); font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
.footer-legal p { max-width: 920px; }
.footer-legal p[hidden] { display: none; }
.copyright { margin-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-card { justify-content: flex-start; }
  .about-grid, .how-grid, .faq-grid { grid-template-columns: 1fr; gap: 44px; }
  .info-panel { position: static; }
  .perk { grid-template-columns: 40px 1fr auto; }
  .perk p { grid-column: 2 / span 2; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header-actions .btn { display: none; }
  .logo-sep, .logo-sub { display: none; }
  .hero { padding: 56px 0 56px; }
  .section { padding: 72px 0; }
  .info-list > div { flex-direction: column; align-items: flex-start; gap: 4px; }
  .perk { grid-template-columns: 1fr; gap: 8px; }
  .perk p { grid-column: auto; }
  .perk-status { justify-self: start; }
  .notice .container { flex-direction: column; gap: 2px; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}

/* Reflection is subtler on the light backdrop, where the black faces would read as a grey block */
.stage-light .cube-mirror { display: none; }

/* ---------- Social icon links (header, far right) ---------- */
.social-links { display: flex; align-items: center; gap: 6px; margin-left: 4px; }
.social-link {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--black); border: 1px solid transparent;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.social-link img { width: 24px; height: 24px; display: block; transition: transform .22s cubic-bezier(.34,1.56,.64,1); }
.social-link:hover, .social-link:focus-visible {
  transform: translateY(-3px) scale(1.18);
  background: #fff; border-color: var(--grey-2); box-shadow: 0 10px 22px rgba(14,17,22,.12);
  outline: none;
}
.social-link:hover img { transform: scale(1.08); }
.social-link:active { transform: translateY(-1px) scale(1.06); }
.social-link[hidden] { display: none; }

/* ---------- Motion ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
html.js .reveal.in { opacity: 1; transform: none; }

/* Hero entrance on load */
html.js .hero-text > * { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .28s; }
.hero-text > :nth-child(4) { animation-delay: .40s; }
.hero-text > :nth-child(5) { animation-delay: .52s; }
html.js .asset-card { opacity: 0; transform: translateY(20px) scale(.97); animation: rise-card .8s cubic-bezier(.2,.7,.2,1) .25s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes rise-card { to { opacity: 1; transform: none; } }

/* Cards and rows respond to hover */
.perk { transition: background .2s ease, padding-left .2s ease; }
.perk:hover { background: rgba(255,255,255,.03); }
.how-list li { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.how-list li:hover { transform: translateX(6px); }
.how-list li > span { transition: background .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1); }
.how-list li:hover > span { background: var(--green); color: var(--black); transform: scale(1.08); }
.faq summary { transition: color .15s ease; }
.faq details:hover summary { color: var(--green-dark); }
.faq details[open] p { animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.asset-card { transition: box-shadow .3s ease, transform .3s ease; }
.asset-card:hover { box-shadow: 0 32px 70px rgba(14,17,22,.14); }
.logo { transition: opacity .15s ease; }
.logo:hover { opacity: .75; }
.footer-nav a { transition: color .15s ease; }
.copy { transition: border-color .15s ease, background .15s ease; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text > *, .asset-card { opacity: 1; transform: none; animation: none; }
  .btn, .social-link, .how-list li, .how-list li > span { transition: none; }
}
@media (max-width: 760px) {
  .social-links { gap: 2px; margin-left: 0; }
  .social-link { width: 36px; height: 36px; }
}
