/* ===================================
   Invest in Blockchain — Global Styles
   =================================== */

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

:root {
  --navy:        #0c1f3f;
  --navy-light:  #162d55;
  --blue:        #2563eb;
  --blue-dark:   #1d4ed8;
  --blue-light:  #eff6ff;
  --blue-mid:    #dbeafe;
  --indigo:      #4f46e5;
  --gold:        #f59e0b;
  --gold-light:  #fef3c7;
  --green:       #16a34a;
  --green-light: #f0fdf4;
  --bg:          #ffffff;
  --bg-soft:     #f8fafc;
  --bg-mid:      #f1f5f9;
  --text:        #1e293b;
  --text-soft:   #64748b;
  --text-xs:     #94a3b8;
  --border:      #e2e8f0;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 16px rgba(12,31,63,.08);
  --shadow-lg:   0 12px 40px rgba(12,31,63,.14);
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-soft); }
.lead { font-size: 1.15rem; line-height: 1.7; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; transition: all .2s ease; text-decoration: none; }
.btn--primary { background: var(--blue); color: white; border-color: var(--blue); }
.btn--primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.btn--outline { background: transparent; color: white; border-color: rgba(255,255,255,.4); }
.btn--outline:hover { border-color: white; background: rgba(255,255,255,.08); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--gold { background: var(--gold); color: white; border-color: var(--gold); }
.btn--gold:hover { background: #d97706; border-color: #d97706; transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: white; border-color: var(--navy); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; border-radius: var(--radius); }
.btn--sm { padding: 9px 18px; font-size: .85rem; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.06); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav__logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: white; }
.nav__logo-icon { width: 34px; height: 34px; background: linear-gradient(135deg, var(--blue), var(--indigo)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 900; color: white; }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a { color: rgba(255,255,255,.75); font-size: .88rem; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: all .15s; }
.nav__links a:hover, .nav__links a.active { color: white; background: rgba(255,255,255,.08); }

/* ---- Lang Switch ---- */
.lang-switch { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.08); border-radius: 6px; padding: 3px; margin-left: 8px; }
.lang-switch a { font-size: .78rem; font-weight: 700; letter-spacing: .03em; padding: 5px 10px; border-radius: 4px; color: rgba(255,255,255,.5); transition: all .15s; text-transform: uppercase; }
.lang-switch a.active, .lang-switch a:hover { background: var(--blue); color: white !important; }

/* ---- Hero ---- */
.hero { background: linear-gradient(140deg, var(--navy) 0%, #0f2060 55%, #0c1f3f 100%); padding: 90px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,.14) 0%, transparent 65%); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero__label { display: inline-flex; align-items: center; gap: 6px; background: rgba(37,99,235,.18); color: #93c5fd; border: 1px solid rgba(37,99,235,.35); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 50px; margin-bottom: 20px; }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: #60a5fa; }
.hero .lead { color: rgba(255,255,255,.75); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 24px; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: .85rem; }
.hero__trust-item svg { color: #60a5fa; }

/* ---- Hero Visual ---- */
.hero__visual { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px); }
.hero__card-title { color: rgba(255,255,255,.5); font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.perf-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.perf-row:last-child { border-bottom: none; }
.perf-label { display: flex; align-items: center; gap: 10px; }
.perf-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: .85rem; }
.perf-name { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; }
.perf-sub { color: rgba(255,255,255,.4); font-size: .75rem; }
.perf-val { font-size: 1rem; font-weight: 800; }
.perf-val.up { color: #4ade80; }
.perf-val.down { color: #f87171; }
.perf-val.mid { color: #93c5fd; }

/* ---- Trust Bar ---- */
.trust-bar { background: var(--bg-mid); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.trust-bar__inner { display: flex; flex-wrap: wrap; justify-content: center; }
.trust-bar__item { display: flex; align-items: center; gap: 10px; padding: 8px 32px; border-right: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--text-soft); }
.trust-bar__item:last-child { border-right: none; }
.trust-bar__item strong { color: var(--text); font-size: 1.1rem; }

/* ---- Section Headers ---- */
.section-header { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-header .tag { display: inline-block; background: var(--blue); color: white; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; padding: 4px 12px; border-radius: 4px; margin-bottom: 14px; }
.section-header h2 { margin-bottom: 14px; }

/* ---- Cards ---- */
.cards-grid { display: grid; gap: 24px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: all .2s ease; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(37,99,235,.25); }
.card__icon { width: 48px; height: 48px; border-radius: 10px; background: var(--blue-light); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.card__icon--gold { background: var(--gold-light); }
.card__icon--soft { background: var(--bg-mid); }
.card h3 { margin-bottom: 10px; color: var(--text); }
.card p { font-size: .9rem; margin-bottom: 16px; }
.card__link { font-size: .88rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.card__link:hover { gap: 8px; }

/* ---- Article Cards ---- */
.article-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .2s ease; }
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card__thumb { height: 180px; background: linear-gradient(135deg, var(--navy), #0f2060); display: flex; align-items: center; justify-content: center; font-size: 3.5rem; }
.article-card__body { padding: 22px; }
.article-card__cat { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); margin-bottom: 8px; }
.article-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.article-card p { font-size: .86rem; line-height: 1.6; margin-bottom: 14px; }
.article-card__meta { font-size: .78rem; color: var(--text-xs); display: flex; gap: 12px; }

/* ---- Compare Table ---- */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th { background: var(--navy); color: white; padding: 16px 20px; text-align: left; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: .9rem; background: white; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--bg-soft); }
.compare-table .check { color: var(--green); font-weight: 700; }
.compare-table .cross { color: #ef4444; }
.compare-table .best { background: var(--blue-mid) !important; }

/* ETF comparison table — 6 columns, fits 716px content area */
.etf-compare { table-layout: fixed; }
.etf-compare th,
.etf-compare td          { padding: 13px 14px; font-size: .86rem; }
.etf-compare th:nth-child(1) { width: 34%; }  /* ETF name */
.etf-compare th:nth-child(2) { width: 9%; }   /* TER */
.etf-compare th:nth-child(3) { width: 11%; }  /* AUM */
.etf-compare th:nth-child(4) { width: 12%; }  /* Holdings */
.etf-compare th:nth-child(5) { width: 14%; }  /* 12M Return */
.etf-compare th:nth-child(6) { width: 20%; }  /* Verdict */

.etf-compare strong    { display: block; font-size: .87rem; line-height: 1.3; }
.etf-ticker-tag        { display: block; margin-top: 4px; }
.etf-exchange          { display: block; font-size: .73rem; color: var(--text-soft); margin-top: 5px; }
.verdict-pill          { color: white; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 12px; white-space: nowrap; display: inline-block; }

/* Tablet (640–900px): even tighter */
@media (max-width: 900px) {
  .etf-compare th,
  .etf-compare td  { padding: 10px 10px; font-size: .82rem; }
  .etf-exchange    { display: none; }
}

/* Mobile (<640px): stack rows as cards */
@media (max-width: 640px) {
  .etf-compare             { table-layout: auto; }
  .etf-compare thead       { display: none; }
  .etf-compare tbody tr    {
    display: block;
    margin-bottom: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  .etf-compare tbody tr.table-highlight { border-color: var(--blue); }
  .etf-compare td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    font-size: .88rem;
    border-bottom: 1px solid var(--border);
    background: white !important;
  }
  .etf-compare tr.table-highlight td  { background: var(--blue-light) !important; }
  .etf-compare td:last-child          { border-bottom: none; }
  .etf-compare td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: .78rem;
    color: var(--text-soft);
    flex-shrink: 0;
    margin-right: 12px;
  }
  .etf-compare td:first-child         { flex-direction: column; align-items: flex-start; }
  .etf-compare td:first-child::before { margin-bottom: 4px; }
  .etf-exchange                       { display: block; }
}

/* ---- ETF / Product Cards ---- */
.product-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 20px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: white; transition: all .2s; }
.product-card:hover { box-shadow: var(--shadow); }
.product-card.recommended { border-color: var(--blue); background: var(--blue-light); }
.product-card.alt { border-color: var(--indigo); background: rgba(79,70,229,.03); }
.product-card__badge { display: inline-block; background: var(--blue); color: white; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; margin-bottom: 6px; }
.product-card__badge--gold { background: var(--gold); }
.product-card__logo { width: 64px; height: 64px; border-radius: 14px; background: var(--bg-mid); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.product-card__name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.product-card__desc { font-size: .87rem; color: var(--text-soft); }
.product-card__ter { display: inline-block; background: var(--blue-light); color: var(--blue-dark); font-size: .78rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; margin-top: 6px; }
.stars { color: #f59e0b; font-size: .9rem; margin-bottom: 4px; }
.rating-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: white; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; }

/* ---- Stock Ticker ---- */
.stock-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.stock-row:last-child { border-bottom: none; }
.stock-name { font-weight: 600; color: var(--text); font-size: .95rem; }
.stock-ticker { font-size: .75rem; color: var(--text-xs); font-family: monospace; }
.stock-price { font-weight: 700; color: var(--text); }
.stock-change { font-size: .85rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; }
.stock-change.up { color: var(--green); background: var(--green-light); }
.stock-change.down { color: #ef4444; background: #fef2f2; }

/* ---- Newsletter ---- */
.newsletter { background: linear-gradient(135deg, var(--navy) 0%, #0f2060 100%); padding: 70px 0; text-align: center; }
.newsletter h2 { color: white; margin-bottom: 12px; }
.newsletter p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 32px; }
.newsletter__form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter__input { flex: 1; min-width: 240px; padding: 14px 18px; border: 2px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); background: rgba(255,255,255,.07); color: white; font-size: .95rem; outline: none; font-family: inherit; }
.newsletter__input::placeholder { color: rgba(255,255,255,.4); }
.newsletter__input:focus { border-color: var(--blue); }

/* ---- Footer ---- */
.footer { background: #070f1e; padding: 60px 0 30px; color: rgba(255,255,255,.5); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand p { font-size: .88rem; margin-top: 14px; line-height: 1.7; }
.footer h4 { color: white; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.5); transition: color .15s; }
.footer__links a:hover { color: #60a5fa; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__disclaimer { font-size: .78rem; color: rgba(255,255,255,.3); margin-top: 10px; line-height: 1.6; }

/* ---- Content Pages ---- */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.content-wrap { max-width: 780px; }
.content-wrap h2 { margin: 48px 0 16px; color: var(--text); }
.content-wrap h3 { margin: 32px 0 12px; color: var(--text); }
.content-wrap p { margin-bottom: 18px; }
.content-wrap ul, .content-wrap ol { margin: 0 0 18px 24px; }
.content-wrap li { color: var(--text-soft); margin-bottom: 8px; line-height: 1.7; }
.content-wrap a { color: var(--blue); text-decoration: underline; }
.callout { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 28px 0; }
.callout--gold { background: var(--gold-light); border-left-color: var(--gold); }
.callout--green { background: var(--green-light); border-left-color: var(--green); }
.callout--red { background: #fef2f2; border-left-color: #ef4444; }
.callout p { margin: 0; }
.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; }
.toc h4 { margin-bottom: 12px; color: var(--text); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.toc ol { margin-left: 18px; }
.toc li { font-size: .9rem; margin-bottom: 6px; }
.toc a { color: var(--navy); text-decoration: none; font-weight: 500; }
.toc a:hover { color: var(--blue); }
.page-header { background: linear-gradient(140deg, var(--navy) 0%, #0f2060 55%, #0c1f3f 100%); padding: 60px 0 50px; }
.page-header h1 { color: white; }
.page-header .lead { color: rgba(255,255,255,.7); margin-top: 14px; max-width: 640px; }
.breadcrumb { font-size: .83rem; color: rgba(255,255,255,.4); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb span { margin: 0 6px; }
.sidebar { position: sticky; top: 86px; }
.sidebar-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.sidebar-card h4 { margin-bottom: 14px; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); }
.sidebar-card .item-mini { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-card .item-mini:last-child { border-bottom: none; }
.sidebar-card .item-mini-icon { width: 36px; height: 36px; background: var(--bg-soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.sidebar-card .item-mini-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.sidebar-card .item-mini-sub { font-size: .78rem; color: var(--text-soft); }
.ter-pill { display: inline-block; background: var(--blue-light); color: var(--blue-dark); font-size: .75rem; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-left: 4px; }
.risk-banner { background: #fef3c7; border: 1px solid #fcd34d; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 28px; display: flex; gap: 10px; align-items: flex-start; }
.risk-banner p { margin: 0; font-size: .85rem; color: #92400e; }

/* ---- Nav CTA ---- */
.nav__cta { margin-left: 12px; }

/* ---- Article Layout (pillar pages) ---- */
.article-layout { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.article-body { min-width: 0; }
.article-section { margin-bottom: 56px; }
.article-section h2 { margin-bottom: 20px; color: var(--text); padding-top: 8px; }
.article-section h3 { margin: 28px 0 12px; color: var(--text); }
.article-section p { margin-bottom: 18px; }
.article-section ul, .article-section ol { margin: 0 0 20px 24px; }
.article-section li { color: var(--text-soft); margin-bottom: 9px; line-height: 1.75; }
.article-section a { color: var(--blue); text-decoration: underline; }
/* Prevent article link styles from overriding button text colors */
.article-section a.btn { text-decoration: none; }
.article-section a.btn--primary { color: white; }
.article-section a.btn--gold    { color: white; }
.article-section a.btn--navy    { color: white; }
.article-section a.btn--ghost   { color: var(--navy); }
.article-section a.btn--outline { color: white; }
.article-body .lead { margin-bottom: 32px; font-size: 1.12rem; line-height: 1.75; }

/* ---- Table Wrapper ---- */
.table-wrap { overflow-x: auto; margin: 28px 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.compare-table .table-highlight td { background: var(--blue-mid) !important; }

/* ---- Product Card Extended (article reviews) ---- */
.product-card { position: relative; }
.product-card__header { display: flex; align-items: flex-start; gap: 18px; padding: 24px 24px 0; }
.product-card__stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 20px 0 0; }
.product-card__stat { flex: 1; min-width: 80px; padding: 14px 16px; border-right: 1px solid var(--border); text-align: center; }
.product-card__stat:last-child { border-right: none; }
.product-card__stat-val { font-size: 1.1rem; font-weight: 800; color: var(--navy); display: block; }
.product-card__stat-label { font-size: .75rem; color: var(--text-soft); margin-top: 3px; display: block; }
.product-card__body { padding: 20px 24px; }
.product-card__body h4 { margin-bottom: 10px; color: var(--navy); }
.product-card__body p { margin-bottom: 14px; font-size: .92rem; }
.product-card__sub { font-size: .8rem; color: var(--text-soft); margin-top: 2px; }

/* Override default product-card padding for extended layout */
.product-card:has(.product-card__header) { padding: 0; gap: 0; display: block; }

/* ---- TER Pill Variants ---- */
.ter-pill--gold { background: var(--gold-light); color: #92400e; }
.ter-pill--green { background: var(--green-light); color: #166534; }

/* ---- Sidebar Blue Card ---- */
.sidebar-card--blue { background: linear-gradient(135deg, var(--blue), var(--indigo)); border-color: transparent; color: white; }
.sidebar-card--blue h4 { color: rgba(255,255,255,.65); }
.sidebar-card--blue .sidebar-card__title { color: rgba(255,255,255,.65); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

/* ---- Sidebar Card Title (generic) ---- */
.sidebar-card__title { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 10px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .cards-grid--3 { grid-template-columns: 1fr 1fr; }
  .cards-grid--4 { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .cards-grid--2, .cards-grid--3, .cards-grid--4 { grid-template-columns: 1fr; }
  .trust-bar__inner { flex-direction: column; align-items: center; }
  .trust-bar__item { border-right: none; border-bottom: 1px solid var(--border); width: 100%; justify-content: center; }
  .trust-bar__item:last-child { border-bottom: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .product-card { grid-template-columns: auto 1fr; }
  .product-card > div:last-child { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════
   LIVE PRICE TICKER
═══════════════════════════════════════ */
#price-ticker {
  background: #0a0f1e;
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: 38px;
  overflow: hidden;
  position: relative;
  z-index: 200;
  user-select: none;
}
#price-ticker::before,
#price-ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
#price-ticker::before { left: 0;  background: linear-gradient(to right, #0a0f1e 40%, transparent); }
#price-ticker::after  { right: 0; background: linear-gradient(to left,  #0a0f1e 40%, transparent); }
.ticker-badge-live {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: #ef4444;
  color: white;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding-left: 90px;
  animation: ticker-scroll 55s linear infinite;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 38px;
  font-size: .79rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  border-right: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
  cursor: default;
}
.ticker-item__symbol {
  color: white;
  font-weight: 700;
  font-size: .8rem;
}
.ticker-item__price {
  color: rgba(255,255,255,.88);
}
.ticker-item__change {
  font-size: .72rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
}
.ticker-item__change.up   { background: rgba(16,185,129,.18); color: #34d399; }
.ticker-item__change.down { background: rgba(239,68,68,.15);  color: #f87171; }
.ticker-item__change.flat { background: rgba(255,255,255,.08); color: rgba(255,255,255,.45); }
.ticker-divider {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  height: 38px;
  color: rgba(255,255,255,.18);
  font-size: .75rem;
  border-right: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.ticker-static {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 18px;
  height: 38px;
  font-size: .77rem;
  font-weight: 600;
  border-right: 1px solid rgba(255,255,255,.06);
  white-space: nowrap;
}
.ticker-static .label { color: rgba(255,255,255,.35); font-weight: 500; font-size: .72rem; }
.ticker-static .value { color: rgba(255,255,255,.8); }
.ticker-static .apy   { color: #34d399; font-weight: 700; }
.ticker-static .ytd-pos { color: #34d399; font-weight: 700; }
.ticker-static .ytd-neg { color: #f87171; font-weight: 700; }
.ticker-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  padding: 0 20px;
}
