/* ==========================================================
   Vikborgfix.net — Luxury Fintech Design System
   ========================================================== */
:root {
  --bg: #0e1422;
  --bg-2: #131a2c;
  --card: #1a2138;
  --card-2: #222a44;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.16);
  --text: #f1f4fb;
  --muted: #94a0bf;
  --gold: #f5c451;
  --gold-2: #e0a73a;
  --accent: #4cb3ff;
  --success: #2ecc8b;
  --danger: #ff5c5c;
  --radius: 14px;
  --radius-lg: 22px;
  --gradient-gold: linear-gradient(135deg, #f5d06b, #d8932a);
  --gradient-hero: linear-gradient(135deg, #131a2c 0%, #1c1638 50%, #11192e 100%);
  --gradient-card: linear-gradient(145deg, rgba(34,42,68,0.85), rgba(20,27,49,0.6));
  --shadow-luxury: 0 20px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(245,196,81,0.06);
  --shadow-glow: 0 0 40px -8px rgba(245,196,81,0.5);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }

/* ===== Utilities ===== */
.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.glass {
  background: rgba(26, 33, 56, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
}
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-luxury);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.4rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gradient-gold);
  color: #1a1407;
  box-shadow: var(--shadow-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 0 60px -4px var(--gold); }
.btn-ghost {
  background: rgba(26, 33, 56, 0.55);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); }

.eyebrow {
  font-size: .72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.section { padding: 5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head p.lead { color: var(--muted); margin-top: 1rem; }
.muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-gold { color: var(--gold); }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 20, 34, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.05rem; }
.brand-mark {
  width: 36px; height: 36px;
  background: var(--gradient-gold);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #1a1407;
  box-shadow: var(--shadow-glow);
}
.nav { display: none; align-items: center; gap: .25rem; }
.nav a {
  padding: .5rem .85rem;
  font-size: .9rem;
  color: var(--muted);
  border-radius: 8px;
  transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--gold); }
.header-cta { display: none; align-items: center; gap: 1rem; }
.header-cta a { font-size: .9rem; }

.menu-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(14, 20, 34, 0.95);
  gap: .25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .85rem 1rem;
  border-radius: 10px;
  font-size: .95rem;
  color: var(--text);
}
.mobile-nav a:hover { background: var(--card); }
.mobile-nav .btn { margin-top: .5rem; padding: .9rem; }

@media (min-width: 1024px) {
  .nav, .header-cta { display: flex; }
  .menu-btn { display: none; }
  .mobile-nav { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(19,26,44,0.92), rgba(17,25,46,0.88)),
    url('assets/hero.jpg') center/cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(245,196,81,0.18), transparent 50%);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  background: rgba(26, 33, 56, 0.6);
  border: 1px solid var(--border);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 2s infinite; }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 { margin-top: 1.5rem; }
.hero p.sub { color: var(--muted); font-size: 1.1rem; margin: 1.5rem 0 2rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-badges {
  margin-top: 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  font-size: .85rem; color: var(--muted);
}
.hero-badge { display: flex; align-items: center; gap: .5rem; }
.hero-badge svg { color: var(--gold); }

.portfolio-card { padding: 1.5rem; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.portfolio-head { display: flex; justify-content: space-between; align-items: flex-start; }
.portfolio-head .label { font-size: .75rem; color: var(--muted); }
.portfolio-head .value { font-size: 1.85rem; font-weight: 700; margin-top: .25rem; }
.portfolio-head .delta { color: var(--success); font-size: .85rem; margin-top: .25rem; }
.portfolio-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gradient-gold);
  display: grid; place-items: center;
  color: #1a1407;
}
.chart-box { height: 130px; margin-top: 1rem; }
.alloc-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.alloc {
  background: rgba(34, 42, 68, 0.5);
  border-radius: 10px;
  padding: .75rem;
}
.alloc .l { font-size: .7rem; color: var(--muted); }
.alloc .v { font-size: 1.1rem; font-weight: 600; margin-top: .25rem; }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

/* ===== Ticker ===== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(26, 33, 56, 0.6);
  overflow: hidden;
}
.ticker-track {
  display: flex; gap: 2.5rem;
  padding: .85rem 0;
  white-space: nowrap;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; }
.ticker-item .sym { font-weight: 600; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ===== Stats ===== */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { padding: 1.5rem; text-align: center; }
.stat .v { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; }
.stat .l { font-size: .85rem; color: var(--muted); margin-top: .35rem; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== Categories ===== */
.cats-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.cat { padding: 2rem; transition: transform .25s; }
.cat:hover { transform: translateY(-4px); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.cat h3 { font-size: 1.4rem; }
.cat p { color: var(--muted); font-size: .92rem; margin-top: .75rem; }
.cat-foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem;
}
.cat-foot .yield { font-weight: 600; }
.cat .more {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: 1rem;
  color: var(--gold);
  font-size: .9rem;
}
@media (min-width: 800px) { .cats-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Trends grid ===== */
.trend-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
.trend { padding: 1.25rem; }
.trend-head { display: flex; justify-content: space-between; align-items: flex-start; }
.trend .name { font-size: .85rem; color: var(--muted); }
.trend .price { font-size: 1.25rem; font-weight: 700; margin-top: .25rem; }
.trend .chg { font-size: .85rem; font-weight: 500; }
.trend .chart { height: 60px; margin-top: 1rem; }
@media (min-width: 600px) { .trend-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trend-grid { grid-template-columns: repeat(4, 1fr); } }

/* ===== Plans ===== */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.plan { padding: 2rem; position: relative; }
.plan.featured {
  border: 1px solid var(--gold);
  animation: glow 3s ease-in-out infinite;
}
@keyframes glow {
  0%,100% { box-shadow: 0 0 24px -8px var(--gold), var(--shadow-luxury); }
  50% { box-shadow: 0 0 48px -4px var(--gold), var(--shadow-luxury); }
}
.plan .badge-pop {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #1a1407;
  font-size: .72rem; font-weight: 600;
  padding: .3rem .8rem; border-radius: 999px;
}
.plan h3 { font-size: 1.2rem; }
.plan .price { font-size: 2.4rem; font-weight: 700; margin-top: .75rem; }
.plan .roi-row { margin-top: .75rem; font-size: .85rem; }
.plan .roi-row .pill {
  background: var(--card-2);
  padding: .25rem .6rem;
  border-radius: 6px;
  margin-right: .5rem;
}
.plan ul { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.plan ul li { font-size: .9rem; display: flex; align-items: flex-start; gap: .5rem; }
.plan ul li::before { content: "✓"; color: var(--gold); font-weight: 700; }
.plan .btn { margin-top: 1.75rem; width: 100%; }
@media (min-width: 700px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plans-grid.four { }
@media (min-width: 1100px) { .plans-grid.four { grid-template-columns: repeat(4, 1fr); } }

/* ===== Testimonials ===== */
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
.testi { padding: 1.75rem; }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; }
.testi blockquote { color: var(--muted); font-style: italic; margin-top: 1rem; font-size: .95rem; }
.testi-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-gold);
  display: grid; place-items: center;
  color: #1a1407; font-size: .85rem; font-weight: 700;
}
.testi-author .role { font-size: .75rem; color: var(--muted); }
@media (min-width: 800px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== CTA ===== */
.cta-block { padding: 4rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-block::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(245,196,81,0.25), transparent 60%);
  z-index: 0;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block p { color: var(--muted); margin: 1rem auto 2rem; max-width: 520px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ===== Footer ===== */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: rgba(26, 33, 56, 0.4);
}
.footer-grid {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.footer-col h4 { font-size: .9rem; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-col a { color: var(--muted); font-size: .9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: var(--muted); font-size: .9rem; margin-top: 1rem; max-width: 280px; }
.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(26, 33, 56, 0.6);
  border: 1px solid var(--border);
}
.socials a:hover { color: var(--gold); }
.newsletter { display: flex; gap: .5rem; margin-top: .5rem; }
.newsletter input {
  flex: 1;
  padding: .65rem .8rem;
  border-radius: 10px;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .85rem;
}
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter button { padding: .65rem 1rem; border-radius: 10px; font-size: .85rem; font-weight: 600; background: var(--gradient-gold); color: #1a1407; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  font-size: .75rem;
  color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
  text-align: center;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* ===== Page hero (inner pages) ===== */
.page-hero { padding: 4.5rem 0 1rem; }
.page-hero h1 { margin-top: 1rem; }
.page-hero p { color: var(--muted); margin-top: 1rem; max-width: 640px; }

/* ===== Investments ===== */
.inv-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.inv-row { padding: 2rem; display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.inv-row .inv-head { display: flex; align-items: center; gap: .75rem; }
.inv-row .inv-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
}
.inv-row h2 { font-size: 1.6rem; }
.inv-row .inv-list-items {
  margin-top: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
  font-size: .9rem;
  list-style: none;
}
.inv-row .inv-list-items li::before { content: "•"; margin-right: .5rem; }
.inv-side { text-align: left; }
.inv-side .yld { font-size: 1.8rem; font-weight: 700; margin-top: .35rem; }
@media (min-width: 800px) {
  .inv-row { grid-template-columns: 2fr 1fr; }
  .inv-side { text-align: right; }
}

/* ===== Markets table ===== */
.market-table-wrap { overflow-x: auto; }
.market-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.market-table thead { background: rgba(34,42,68,0.5); color: var(--muted); }
.market-table th, .market-table td { padding: 1rem 1.25rem; text-align: left; }
.market-table tbody tr { border-top: 1px solid var(--border); transition: background .2s; }
.market-table tbody tr:hover { background: rgba(34,42,68,0.4); }
.market-table .small { font-size: .75rem; color: var(--muted); }
.mini-chart { width: 120px; height: 32px; }
@media (max-width: 700px) { .market-table .hide-sm { display: none; } }

/* ===== Dashboard ===== */
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.range-tabs { display: flex; gap: .4rem; }
.range-tabs button { padding: .4rem .75rem; font-size: .75rem; border-radius: 8px; background: rgba(26,33,56,.6); border: 1px solid var(--border); }
.range-tabs button:hover, .range-tabs button.active { border-color: var(--gold); color: var(--gold); }
.kpi-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.kpi { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.kpi .l { font-size: .85rem; color: var(--muted); }
.kpi .v { font-size: 1.6rem; font-weight: 700; margin-top: .25rem; }
.kpi .d { font-size: .75rem; margin-top: .25rem; color: var(--success); }
.kpi-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-gold);
  color: #1a1407; display: grid; place-items: center;
}
@media (min-width: 700px) { .kpi-grid { grid-template-columns: repeat(3, 1fr); } }

.dash-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.perf-card { padding: 1.5rem; }
.perf-head { display: flex; justify-content: space-between; align-items: center; }
.perf-chart { height: 250px; margin-top: 1rem; }
.alloc-card { padding: 1.5rem; }
.alloc-row { margin-top: 1rem; }
.alloc-row .top { display: flex; justify-content: space-between; font-size: .85rem; }
.alloc-row .bar { margin-top: .5rem; height: 6px; background: var(--card-2); border-radius: 99px; overflow: hidden; }
.alloc-row .fill { height: 100%; border-radius: 99px; }
@media (min-width: 1000px) { .dash-grid { grid-template-columns: 2fr 1fr; } }

.tx-card { padding: 1.5rem; margin-top: 1.25rem; }
.tx-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 1rem; }
.tx-table thead { color: var(--muted); }
.tx-table th, .tx-table td { padding: .75rem 0; text-align: left; }
.tx-table tbody tr { border-top: 1px solid var(--border); }
.tx-table .right { text-align: right; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: .75rem; }
.faq-item { padding: 1.5rem; cursor: pointer; transition: border-color .2s; }
.faq-item:hover { border-color: var(--gold); }
.faq-q { display: flex; justify-content: space-between; gap: 1rem; font-weight: 500; }
.faq-q .icon { color: var(--gold); font-size: 1.2rem; line-height: 1; }
.faq-a { display: none; margin-top: .75rem; font-size: .9rem; color: var(--muted); animation: fadein .3s ease; }
.faq-item.open .faq-a { display: block; }
@keyframes fadein { from{opacity:0} to{opacity:1} }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2.5rem; }
.contact-info .row { display: flex; align-items: center; gap: 1rem; }
.contact-info .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-gold); color: #1a1407;
  display: grid; place-items: center;
}
.contact-info .l { font-size: .75rem; color: var(--muted); }
.contact-info .v { font-weight: 500; }

.form-card { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .75rem; color: var(--muted); margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .7rem .85rem;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: .9rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.form-card button { padding: .9rem; }

@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

/* ===== About values ===== */
.values-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
.value { padding: 1.75rem; }
.value .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(26,33,56,.6); color: var(--gold);
  border: 1px solid var(--border);
}
.value h3 { margin-top: 1.25rem; font-size: 1.05rem; }
.value p { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
@media (min-width: 700px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }

.about-stats { padding: 2.5rem; margin-top: 4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.about-stats .v { font-size: 2rem; font-weight: 700; }
.about-stats .l { font-size: .85rem; color: var(--muted); margin-top: .25rem; }
@media (min-width: 800px) { .about-stats { grid-template-columns: repeat(4, 1fr); } }

/* ===== Animations on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
