/* ===================================
   Banking on Bitcoin — 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;
  --orange:     #f7931a;
  --orange-dark:#d97c10;
  --blue:       #2563eb;
  --blue-light: #eff6ff;
  --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; }

/* ---- Typography ---- */
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; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: white; }
.section--navy p { color: rgba(255,255,255,.7); }

/* ---- 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(--orange); color: white;
  border-color: var(--orange);
}
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(247,147,26,.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(--orange); color: var(--orange); }
.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: var(--orange);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 1.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); }
.nav__cta { margin-left: 8px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, #1a3a6e 55%, #0f2a4e 100%);
  padding: 90px 0 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(247,147,26,.12) 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(247,147,26,.15); color: var(--orange);
  border: 1px solid rgba(247,147,26,.3);
  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: var(--orange); }
.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: var(--orange); }
.hero__visual {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  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; }
.metric-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.metric-row:last-child { border-bottom: none; }
.metric-label { color: rgba(255,255,255,.6); font-size: .9rem; }
.metric-val { color: white; font-size: 1rem; font-weight: 700; }
.metric-val.green { color: #4ade80; }
.metric-val.orange { color: var(--orange); }

/* ---- 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; gap: 0; }
.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(--orange); 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(247,147,26,.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--orange { background: rgba(247,147,26,.1); }
.card__icon--green { background: var(--green-light); }
.card__icon--navy { background: rgba(12,31,63,.07); }
.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(--orange); 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) 0%, #1a3a6e 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative;
}
.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(--orange); 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; }

/* ---- Comparison 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;
}
.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: rgba(247,147,26,.06) !important; }

/* ---- Newsletter ---- */
.newsletter { background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 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(--orange); }

/* ---- 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: var(--orange); }
.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; }

/* ---- Inline Content (Article Page) ---- */
.content-wrap { max-width: 780px; margin: 0 auto; }
.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; color: var(--text-soft); }
.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(--orange); 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--orange { background: rgba(247,147,26,.08); border-left-color: var(--orange); }
.callout--green { background: var(--green-light); border-left-color: var(--green); }
.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(--orange); }
.rating-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: white;
  font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 6px;
}
.product-card {
  border: 2px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin: 24px 0; display: grid;
  grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
}
.product-card.recommended { border-color: var(--orange); background: rgba(247,147,26,.03); }
.product-card__badge {
  display: inline-block; background: var(--orange); color: white;
  font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; margin-bottom: 6px;
}
.product-card__logo { width: 64px; height: 64px; border-radius: 12px; background: var(--bg-mid); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.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); }
.stars { color: #f59e0b; font-size: .9rem; margin-bottom: 4px; }
.breadcrumb { font-size: .83rem; color: var(--text-xs); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; }

/* ---- Page Header ---- */
.page-header {
  background: linear-gradient(140deg, var(--navy) 0%, #1a3a6e 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; }
.page-header .breadcrumb { color: rgba(255,255,255,.4); margin-bottom: 18px; }
.page-header .breadcrumb a { color: rgba(255,255,255,.5); }

/* ---- Sidebar ---- */
.content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.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 .product-mini { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-card .product-mini:last-child { border-bottom: none; }
.sidebar-card .product-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 .product-mini-name { font-size: .88rem; font-weight: 600; color: var(--text); }
.sidebar-card .product-mini-sub { font-size: .78rem; color: var(--text-soft); }

/* ---- Language Switcher ---- */
.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(--orange); color: white !important;
}

/* ---- 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; }
  .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; }
}

/* ═══════════════════════════════════════
   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;
}
