/* ==========================================================================
   Calvexa — Global stylesheet (Bootstrap 5 companion)
   Premium dark identity · lime accent · glassy surfaces
   ========================================================================== */

:root {
  --green: #9be15d;           /* primary accent */
  --green-soft: #b6ef8f;
  --green-dark: #7fc73f;
  --green-glow: rgba(155, 225, 93, .28);
  --ink: #07090d;             /* page base */
  --surface: #0d1117;         /* raised sections */
  --surface-2: #12171f;       /* cards */
  --deep: #0a0d13;            /* markets */
  --line: #1e2530;            /* hairlines */
  --line-soft: #171d27;
  --white: #ffffff;
  --text: #e8ecf1;
  --text-dim: #a6b0bd;
  --muted: #7a8694;           /* legal body text */
  --muted-dark: #8b96a5;      /* footer links */
  --radius-sec: 28px;
  --radius-card: 18px;
  --font: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 88px;
  --shadow-card: 0 20px 50px -18px rgba(0,0,0,.65);
  --shadow-pop: 0 26px 60px -18px rgba(0,0,0,.75);
  --ease: cubic-bezier(.22,.8,.28,1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 85% -5%, rgba(155,225,93,.05), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(80,120,255,.04), transparent 60%),
    var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
img { max-width: 100%; display: block; }
::selection { background: var(--green); color: var(--ink); }
.container { max-width: 1224px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn-pill {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 15.5px; line-height: 1;
  border-radius: 50px; padding: 15px 32px; border: 1px solid transparent;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--ease);
  cursor: pointer; white-space: nowrap; overflow: hidden;
}
.btn-pill:hover { transform: translateY(-2px); }
.btn-pill:active { transform: translateY(0); }
.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #08120a; box-shadow: 0 10px 26px -10px var(--green-glow);
}
.btn-green:hover { background: var(--white); color: var(--ink); box-shadow: 0 12px 30px -10px rgba(255,255,255,.25); }
.btn-outline-w { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn-outline-w:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-black { background: #05070a; color: var(--green); border-color: rgba(155,225,93,.35); }
.btn-black:hover { background: var(--ink); color: var(--white); border-color: var(--white); box-shadow: 0 10px 24px -12px rgba(0,0,0,.8); }
.btn-pill svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn-pill:hover svg { transform: translateX(3px); }

/* ---------- Badge ---------- */
.tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; padding: 9px 20px; border-radius: 50px; line-height: 1;
}
.tag-light { background: var(--green); color: #08120a; }
.tag-glass { background: rgba(255,255,255,.08); color: var(--white); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.tag-sm { text-transform: none; letter-spacing: .06em; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(7,9,13,.82); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  height: var(--header-h);
}
.site-header .header-inner { height: 100%; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; }
.site-header .logo { color: var(--white); transition: opacity .25s; }
.site-header .logo:hover { opacity: .85; }
.site-header .logo img { height: 64px; width: auto; }
.main-nav { display: flex; gap: 34px; align-items: center; margin: 0; padding: 0; list-style: none; }
.main-nav a { position: relative; font-size: 15px; font-weight: 500; color: var(--text-dim); padding: 6px 0; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--green); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-cta { padding: 14px 30px; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--white); align-items: center; justify-content: center;
  transition: border-color .25s, background-color .25s;
}
.nav-toggle:hover { border-color: var(--green); }
.nav-toggle svg { width: 22px; height: 22px; }
.mobile-nav { background: rgba(7,9,13,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.mobile-nav ul { list-style: none; margin: 0; padding: 12px 22px 26px; }
.mobile-nav li a { display: block; padding: 14px 0; font-size: 17px; font-weight: 500; color: var(--text-dim); border-bottom: 1px solid var(--line-soft); }
.mobile-nav li a:hover, .mobile-nav li a.active { color: var(--green); }
.mobile-nav .btn-pill { margin-top: 20px; width: 100%; }

/* ---------- Rounded overlapping sections ---------- */
.sec-round { position: relative; z-index: 2; border-radius: var(--radius-sec) var(--radius-sec) 0 0; margin-top: calc(var(--radius-sec) * -1); box-shadow: 0 -24px 60px -30px rgba(0,0,0,.7); }

/* ---------- Home hero (video) ---------- */
.hero-home { position: relative; height: calc(100vh - var(--header-h)); min-height: 640px; max-height: 880px; overflow: hidden; background: #000; }
.hero-home video, .hero-home .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-home::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 100%, rgba(7,9,13,.92), rgba(7,9,13,.35) 60%, rgba(7,9,13,.6)),
    linear-gradient(rgba(7,9,13,.25), rgba(7,9,13,.45));
}
.hero-home .hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding-bottom: 72px; }
.hero-home h1 {
  font-size: clamp(40px, 5vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 20px; text-wrap: balance;
  text-shadow: 0 4px 40px rgba(0,0,0,.45);
}
.hero-home h1::after {
  content: ""; display: block; width: 72px; height: 4px; border-radius: 4px; margin: 30px auto 0;
  background: linear-gradient(90deg, var(--green), transparent);
}
.hero-home .hero-btns { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero-home .hero-btns .btn-pill { padding: 17px 38px; }

/* ---------- Inner page hero (image) ---------- */
.hero-page { position: relative; overflow: hidden; background: #000; }
.hero-page > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-page::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,9,13,.55), rgba(7,9,13,.82));
}
.hero-page .container { position: relative; z-index: 2; }
.hero-page h1 { color: var(--white); letter-spacing: -0.025em; }
.hero-page.tall { min-height: 440px; padding: 120px 0 130px; display: flex; align-items: flex-end; }
.hero-page.tall h1 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.05; margin-top: 26px; max-width: 560px; }
.hero-page.legal { height: 300px; display: flex; align-items: center; padding-top: 40px; }
.hero-page.legal::after { background: linear-gradient(180deg, rgba(7,9,13,.35), rgba(7,9,13,.75)); }
.hero-page.legal h1 { font-size: clamp(36px, 3.4vw, 54px); }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto; }
.sec-head h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; letter-spacing: -0.025em; margin-top: 22px; }
.sec-head p { font-size: 16.5px; color: var(--text-dim); margin-top: 16px; }

/* ---------- Features mosaic ---------- */
.feature-mosaic {
  position: relative;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(135deg, #8fd44f 0%, #6fbb35 100%);
  padding: 104px 0 110px;
}
.feature-mosaic::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(115deg, transparent 49.85%, rgba(255,255,255,.14) 50%, transparent 50.15%),
    linear-gradient(65deg, transparent 49.85%, rgba(255,255,255,.1) 50%, transparent 50.15%);
  background-size: 640px 640px, 820px 820px;
}
.feature-mosaic .container { position: relative; z-index: 1; }
.mosaic-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.m-card {
  background: linear-gradient(180deg, #10141b, #0a0d12);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column;
  color: var(--text); box-shadow: var(--shadow-card);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.m-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-pop); border-color: rgba(155,225,93,.3); }
.m-card .m-body { padding: 40px 30px 0; }
.m-card h3 { font-size: clamp(20px, 1.6vw, 25px); line-height: 1.3; letter-spacing: -0.015em; }
.m-card p { font-size: 15px; line-height: 1.65; margin-top: 18px; color: var(--text-dim); }
.m-card p strong { color: var(--white); font-weight: 600; }
.m-card .m-img-bottom { margin: auto 30px 0; border-radius: 14px 14px 0 0; overflow: hidden; }
.m-card .m-img-bottom img { width: 100%; height: 215px; object-fit: cover; transition: transform .6s var(--ease); }
.m-card:hover .m-img-bottom img { transform: scale(1.04); }
.m-card .m-img-top { margin: 0 30px 0 0; }
.m-card .m-img-top img { width: 100%; height: 236px; object-fit: cover; }
.m-card.row1 { min-height: 520px; }
.m-card .push-bottom { margin-top: auto; padding: 0 30px 44px; }
.m-card .m-clover img { width: 100%; height: 356px; object-fit: cover; }
.m-card.row2 { min-height: 645px; }

/* ---------- Markets ---------- */
.markets { background: var(--deep); padding: 104px 0; }
.markets .sec-head p { color: var(--text-dim); }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; max-width: 1152px; margin: 56px auto 0; }
.market-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 38px 26px 36px; text-align: center;
  transition: transform .4s var(--ease), border-color .35s, background-color .35s, box-shadow .4s;
}
.market-card:hover { border-color: rgba(155,225,93,.45); transform: translateY(-6px); box-shadow: 0 18px 44px -18px var(--green-glow); background: #151b24; }
.market-card .ico {
  width: 68px; height: 68px; border-radius: 18px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px var(--green-glow);
  transition: transform .4s var(--ease);
}
.market-card:hover .ico { transform: translateY(-4px) rotate(-4deg); }
.market-card .ico img { width: 44px; height: 44px; object-fit: contain; }
.market-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--white); }
.market-card p { font-size: 15px; line-height: 1.6; color: var(--text-dim); }

/* ---------- Split about block ---------- */
.split { background: var(--surface); padding: 96px 0 128px; }
.split.black { background: var(--ink); padding: 92px 0 116px; }
.portrait-card {
  position: relative; border-radius: 22px; max-width: 520px; padding-top: 22px; overflow: visible;
  background: linear-gradient(160deg, #f4f6fa, #e7ebf2);
  box-shadow: var(--shadow-pop);
}
.portrait-card .man { width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 0 0 22px 22px; }
.portrait-card .float-chart { position: absolute; top: 40px; left: -12px; width: 40%; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.28); animation: floaty 6s ease-in-out infinite; }
.portrait-card .float-coin { position: absolute; bottom: 30px; right: -12px; width: 40%; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.3); animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.split-text h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; letter-spacing: -0.025em; margin: 30px 0 22px; }
.split-text p { font-size: 15.5px; line-height: 1.7; color: var(--text-dim); margin-bottom: 16px; }
.split-text .btn-pill { margin-top: 48px; padding: 17px 38px; }

/* ---------- Start trading banner ---------- */
.start-trading { position: relative; background: #000; }
.start-trading > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; filter: saturate(1.1); }
.start-trading::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5,7,10,.95) 0%, rgba(5,7,10,.7) 55%, rgba(5,7,10,.4) 100%);
}
.start-trading .container { position: relative; z-index: 2; }
.start-trading .st-text { padding-top: 170px; padding-bottom: 150px; }
.start-trading h2 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; max-width: 480px; }
.start-trading p { font-size: 15.5px; color: var(--text-dim); margin: 18px 0 64px; }
.start-trading .btn-pill { padding: 17px 36px; }
.start-trading .phones { position: absolute; right: 9%; top: -110px; width: 40%; max-width: 540px; z-index: 3; pointer-events: none; }
.start-trading .phones img { width: 100%; }

/* ---------- Highlight tiles ---------- */
.tiles { background: var(--ink); padding: 150px 0 84px; }
.tiles-row1 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.tiles-row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; margin-top: 40px; }
.tile { border-radius: var(--radius-card); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); }
.tile.bordered { border: 1px solid var(--line); background: var(--surface-2); padding: 22px; }
.tile.greenfill {
  background: linear-gradient(150deg, var(--green), var(--green-dark)); padding: 22px; color: #08120a;
  box-shadow: 0 18px 44px -16px var(--green-glow);
}
.tile .t-img { position: relative; border-radius: 12px; overflow: hidden; }
.tile .t-img img { width: 100%; height: 235px; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .t-img img { transform: scale(1.05); }
.tile .t-ico { position: absolute; left: 0; bottom: 0; width: 58px; height: 58px; background: var(--green); display: flex; align-items: center; justify-content: center; border-top-right-radius: 12px; }
.tile .t-ico svg { width: 32px; height: 32px; }
.tile h3 { font-size: 22px; margin: 24px 0 10px; }
.tile p { font-size: 15.5px; line-height: 1.6; }
.tile.bordered h3, .tile.photo h3 { color: var(--white); }
.tile.bordered p { color: var(--text-dim); }
.tile.greenfill p { color: rgba(8,18,10,.78); }
.tile.photo img { width: 100%; height: 100%; min-height: 425px; object-fit: cover; }
.tile.coins { position: relative; background: linear-gradient(150deg, var(--green), var(--green-dark)); color: #08120a; min-height: 296px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.tile.coins > img { position: absolute; right: 0; top: 0; height: 100%; width: 70%; object-fit: cover; opacity: .2; mix-blend-mode: multiply; }
.tile.coins > * { position: relative; }
.tile.coins h3 { font-size: 27px; line-height: 1.12; margin: 0 0 8px; max-width: 260px; }
.tile.coins p { color: rgba(8,18,10,.78); }
.tile.support { position: relative; border: 1px solid var(--line); background: var(--surface-2); display: flex; min-height: 296px; }
.tile.support .s-text { padding: 38px 30px; max-width: 380px; position: relative; z-index: 2; }
.tile.support h3 { font-size: 27px; margin: 0 0 20px; color: var(--white); }
.tile.support p { color: var(--text-dim); }
.tile.support .btn-pill { margin-top: 40px; padding: 15px 38px; }
.tile.support .s-img { position: absolute; right: 0; bottom: 0; width: 52%; height: 100%; display: flex; align-items: flex-end; justify-content: flex-end; }
.tile.support .s-img img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- Steps ---------- */
.steps { background: linear-gradient(160deg, #8fd44f, #6cb932); padding: 110px 0 160px; color: #08120a; }
.steps .sec-head h2 { margin-top: 18px; color: #08120a; }
.steps .sec-head p { margin-top: 10px; color: rgba(8,18,10,.72); }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0,340px)); gap: 28px; justify-content: center; margin-top: 44px; }
.step-card {
  position: relative; background: #090c11; border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-card); padding: 34px 26px 40px; text-align: center; color: var(--text);
  box-shadow: var(--shadow-card); transition: transform .4s var(--ease), border-color .35s;
}
.step-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,.22); }
.step-card img { height: 100px; width: auto; margin: 0 auto 26px; }
.step-card h3 { font-size: 26px; margin-bottom: 16px; color: var(--white); }
.step-card p { font-size: 15.5px; color: var(--text-dim); }

/* ---------- Market overview (TradingView) ---------- */
.overview { background: var(--surface); padding: 110px 0 140px; }
.overview .sec-head h2 { margin-top: 22px; }
.tv-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px; max-width: 1170px; margin: 56px auto 0; }
.tv-box { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.tv-credit { text-align: center; font-size: 13px; margin-top: 10px; }
.tv-credit a { color: #5b8cff; }

/* ---------- Accounts ---------- */
.accounts { background: var(--ink); padding: 120px 0 0; }
.acct-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1200px; margin: 88px auto 0; }
.acct-card {
  background: linear-gradient(180deg, #a4e46a, #82c93f); color: #08120a;
  border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-card);
  padding: 32px 30px; width: calc((100% - 40px) / 3); max-width: 386px;
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.acct-card.wide { max-width: 402px; width: 402px; }
.acct-card:hover { transform: translateY(-10px); box-shadow: 0 28px 60px -18px var(--green-glow); }
.acct-card h3 { font-size: 27px; }
.acct-card .price { font-size: 30px; font-weight: 700; margin: 18px 0 0 14px; letter-spacing: -0.02em; }
.acct-card hr { border: 0; border-top: 1px solid rgba(8,18,10,.25); opacity: 1; margin: 32px 0 20px; }
.acct-card ul { list-style: none; padding: 0; margin: 0 0 30px; }
.acct-card li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; padding: 7px 0; }
.acct-card li svg { width: 14px; height: 14px; flex: 0 0 14px; }
.acct-card .btn-pill { width: 100%; padding: 16px; font-size: 15px; }

/* comparison table */
.compare { background: var(--ink); padding: 100px 0 150px; }
.compare h2 { font-size: clamp(28px, 2.8vw, 38px); text-align: center; margin-bottom: 14px; }
.compare .intro { text-align: center; color: var(--text-dim); margin-bottom: 40px; }
.compare-wrap { border: 1px solid var(--line); border-radius: var(--radius-card); overflow-x: auto; background: var(--surface); box-shadow: var(--shadow-card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.compare th { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #08120a; font-weight: 600; }
.compare td:first-child, .compare th:first-child { text-align: left; }
.compare tbody tr { transition: background-color .25s; }
.compare tbody tr:hover { background: #141a23; }
.compare td svg { width: 18px; height: 18px; }
.compare .yes { color: var(--green); }
.compare .no { color: #4b5563; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); padding: 132px 0 150px; }
.faq h2 { font-size: clamp(28px, 2.8vw, 38px); }
.faq .lead-txt { color: var(--text-dim); font-size: 16px; line-height: 1.65; margin-top: 22px; max-width: 390px; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.faq-filter button {
  background: rgba(255,255,255,.03); color: var(--text-dim); border: 1px solid var(--line);
  border-radius: 50px; padding: 10px 20px; font-family: var(--font); font-size: 14px; font-weight: 500;
  transition: all .25s var(--ease);
}
.faq-filter button:hover { border-color: var(--green); color: var(--green); }
.faq-filter button.active { background: var(--green); border-color: var(--green); color: #08120a; }
.faq-cat { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-dark); margin: 26px 0 12px; }
.faq-cat:first-child { margin-top: 0; }
.acc-item { margin-bottom: 10px; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; background: var(--surface-2); color: var(--white);
  border: 1px solid var(--line); border-radius: 14px; padding: 19px 22px;
  font-family: var(--font); font-weight: 500; font-size: 16.5px;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.acc-btn svg { width: 20px; height: 20px; flex: 0 0 20px; transition: transform .4s var(--ease); }
.acc-btn:hover { border-color: rgba(155,225,93,.5); box-shadow: 0 8px 24px -14px var(--green-glow); }
.acc-item.open .acc-btn { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #08120a; border-color: transparent; }
.acc-item.open .acc-btn svg { transform: rotate(180deg); }
.acc-panel { height: 0; overflow: hidden; transition: height .45s var(--ease); }
.acc-panel p { padding: 18px 22px 24px; color: var(--text-dim); font-size: 16px; line-height: 1.65; }

/* ---------- Contact ---------- */
.contact { background: var(--surface); padding: 102px 0; }
.form-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 44px; box-shadow: var(--shadow-card); }
.form-card h2 { font-size: clamp(30px, 3vw, 42px); }
.form-card .sub { color: var(--text-dim); font-size: 15px; margin: 16px 0 30px; }
.form-card .form-control {
  height: 55px; border-radius: 12px; border: 1px solid var(--line); background: #0a0e14;
  font-family: var(--font); font-size: 15px; padding: 0 18px; color: var(--white);
  transition: border-color .25s, box-shadow .25s;
}
.form-card .form-control::placeholder { color: #5b6675; }
.form-card textarea.form-control { height: 112px; padding-top: 16px; resize: vertical; }
.form-card .form-control:focus { box-shadow: 0 0 0 3px var(--green-glow); border-color: var(--green); color: var(--white); background: #0a0e14; }
.form-card .form-control.is-invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,.25); }
.form-card .invalid-feedback { font-size: 13px; color: #ff8a8a; }
.form-card .btn-send {
  width: 100%; background: linear-gradient(135deg, var(--green), var(--green-dark)); color: #08120a;
  border: 0; border-radius: 50px; height: 52px; font-family: var(--font); font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 28px -12px var(--green-glow);
  transition: background-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.form-card .btn-send:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(255,255,255,.25); }
.form-alert { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 12px; background: rgba(155,225,93,.1); border: 1px solid rgba(155,225,93,.45); color: var(--green); font-size: 15px; }
.contact-info { border-left: 2px solid var(--green); padding: 8px 0 4px 26px; }
.contact-info p { font-size: 15px; line-height: 1.55; color: var(--text-dim); }
.contact-info .lbl { margin-top: 30px; }
.contact-info .mail { font-size: 19px; font-weight: 600; margin-top: 8px; display: inline-block; color: var(--white); }
.contact-info .mail:hover { color: var(--green); }
.contact-phone { margin-top: 38px; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.contact-phone img { width: 100%; height: 326px; object-fit: cover; }
.map-wrap { position: relative; z-index: 1; height: 440px; background: #14181f; padding-bottom: var(--radius-sec); box-sizing: content-box; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }

/* ---------- Legal ---------- */
.legal { background: #f6f7f9; color: #111826; padding: 70px 0 68px; }
.legal .legal-body { max-width: 1200px; margin: 0 auto; }
.legal h2 { font-size: 26px; line-height: 1.3; color: #0d1420; margin: 30px 0 14px; letter-spacing: -0.015em; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #45505f; margin-bottom: 16px; }
.legal ul.plain { list-style: none; padding: 0; }
.legal .tight p { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text); padding: 88px 0 0; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; padding: 0 10px 54px; border-bottom: 1px solid var(--line); }
.footer-cta h3 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 580px; }
.footer-cta .btns { display: flex; gap: 18px; flex-shrink: 0; flex-wrap: wrap; }
.footer-cta .btns .btn-pill { padding: 18px 38px; }
.footer-main { padding: 60px 0 52px; border-bottom: 1px solid var(--line); }
.footer-logo { color: var(--white); display: inline-block; }
.footer-logo img { width: 345px; max-width: 100%; height: auto; }
.footer-about { color: var(--muted-dark); font-size: 16px; line-height: 1.6; margin-top: 26px; max-width: 400px; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-dark); margin-top: 16px; font-size: 15px; }
.footer-mail:hover { color: var(--green); }
.footer-mail svg { width: 16px; height: 16px; }
.footer-col h5 { font-size: 19px; margin: 18px 0 18px; color: var(--white); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted-dark); font-size: 15.5px; }
.footer-col a:hover { color: var(--green); }
.risk-warning { margin: 34px 0 0; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: 12px; padding: 18px 22px; font-size: 13px; line-height: 1.65; color: var(--muted-dark); background: rgba(255,255,255,.015); }
.risk-warning strong { color: var(--white); }
.copyright { text-align: center; color: var(--muted-dark); font-size: 14px; padding: 40px 0 70px; }

/* ---------- Scroll animations ---------- */
[data-anim] { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-anim].in { opacity: 1; transform: none; }
[data-anim-delay="1"] { transition-delay: .12s; }
[data-anim-delay="2"] { transition-delay: .24s; }
[data-anim-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
  .portrait-card .float-chart, .portrait-card .float-coin { animation: none; }
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
  .main-nav { gap: 22px; }
  .step-grid { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
}
@media (max-width: 991.98px) {
  :root { --header-h: 74px; }
  .compare { padding-bottom: 70px; }
  .site-header .header-inner { padding: 0 18px; }
  .site-header .logo img { height: 52px; }
  .main-nav, .header-cta { display: none !important; }
  .nav-toggle { display: inline-flex; }
  .mosaic-grid, .market-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .m-card.row1, .m-card.row2 { min-height: 0; }
  .m-card .push-bottom { margin-top: 30px; }
  .tiles-row1 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tiles-row2 { grid-template-columns: 1fr; }
  .tile.photo { grid-column: 1 / -1; }
  .tile.photo img { min-height: 320px; max-height: 360px; }
  .step-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .tv-grid { grid-template-columns: 1fr; }
  .acct-card, .acct-card.wide { width: calc((100% - 20px) / 2); max-width: none; }
  .start-trading .phones { position: relative; right: auto; top: auto; width: 80%; max-width: 480px; margin: 0 auto; padding-bottom: 40px; }
  .start-trading .st-text { padding-top: 110px; padding-bottom: 40px; }
  .split, .split.black { padding: 70px 0 92px; }
  .split-text { margin-top: 56px; }
  .portrait-card { margin: 0 auto; }
  .footer-cta { flex-direction: column; }
  .footer-col { margin-top: 30px; }
  .contact-side { margin-top: 40px; }
  .faq .faq-list { margin-top: 44px; }
}
@media (max-width: 767.98px) {
  :root { --radius-sec: 18px; --radius-card: 14px; }
  .container { padding-left: 18px; padding-right: 18px; }
  .mosaic-grid, .market-grid, .tiles-row1 { grid-template-columns: 1fr; }
  .acct-card, .acct-card.wide { width: 100%; }
  .feature-mosaic, .markets, .overview, .faq, .contact, .accounts { padding-top: 76px; }
  .tiles { padding-top: 90px; }
  .hero-home { min-height: 560px; }
  .hero-home h1::after { margin-top: 22px; }
  .hero-page.tall { min-height: 340px; padding: 80px 0 90px; }
  .hero-page.legal { height: 220px; padding-top: 40px; }
  .form-card { padding: 30px 22px; }
  .form-card h2 { font-size: 32px; }
  .tile.support { flex-direction: column; }
  .tile.support .s-img { position: relative; width: 100%; height: auto; }
  .tile.support .s-img img { width: 80%; margin-left: auto; }
  .footer-cta .btns { gap: 12px; }
  .footer-cta .btns .btn-pill { padding: 16px 30px; }
  .legal h2 { font-size: 23px; }
  .map-wrap { height: 320px; }
  .portrait-card .float-chart { left: 6px; }
  .portrait-card .float-coin { right: 6px; }
}
.st-spacer { height: 110px; background: transparent; }
@media (max-width: 991.98px) { .st-spacer { height: 40px; } }
