/* ============================================================
   SECOND FINTECH SITE STYLES — Vestra Investment Platform
   ============================================================ */

/* ── Navbar ── */
.v-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}
.v-navbar.scrolled { box-shadow: var(--shadow-md); }
.v-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.v-nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.04em;
}
.v-nav-logo span { color: var(--primary); }
.v-nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.v-nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.v-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.v-nav-links a:hover { color: var(--primary); }
.v-nav-links a:hover::after { transform: scaleX(1); }
.v-nav-links a.active { color: var(--text-dark); font-weight: 600; }

/* ── HERO ── */
.v-hero {
  padding: 140px 0 80px;
  background: var(--bg);
  overflow: hidden;
}
.v-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* Hero right: the 3D visual side */
.v-hero-right { position: relative; }
.v-hero-blob-wrap {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--primary-light);
}
.v-hero-blob-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating cards on the visual */
.v-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: vfloat 5s ease-in-out infinite;
}
@keyframes vfloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
.v-float-card.vfc-1 { top: 24px; left: -24px; animation-delay: 0s; }
.v-float-card.vfc-2 { bottom: 48px; right: -28px; animation-delay: 2.5s; }
.v-float-card .vfc-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.v-float-card .vfc-body .vfc-title { font-size: 0.78rem; font-weight: 700; color: var(--text-dark); }
.v-float-card .vfc-body .vfc-sub   { font-size: 0.68rem; color: var(--text-muted); margin-top: 1px; }

/* Sparkline mini chart inside a float card */
.v-chart-mini {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}
.v-chart-mini span {
  width: 6px;
  border-radius: 2px 2px 0 0;
  background: var(--primary-soft);
  transition: background var(--transition);
}
.v-chart-mini span.active { background: var(--primary); }

.v-deco-cross { position: absolute; }
.v-deco-1 { bottom: 80px; left: -10px; }
.v-deco-2 { top: 16px; right: 8%; }

/* Hero left: text */
.v-hero-left {}
.v-hero-badge { margin-bottom: 20px; }
.v-hero-heading { margin-bottom: 18px; }
.v-hero-desc { max-width: 460px; margin-bottom: 32px; }

/* Trust indicators row */
.v-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.v-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.v-trust-item .vt-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.v-trust-item .vt-label { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); }
.v-trust-divider { width: 1px; height: 28px; background: var(--border); }

/* Returns card inside hero */
.v-returns-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  max-width: 360px;
}
.v-returns-card .vr-icon {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.v-returns-card .vr-info .vr-label { font-size: 0.72rem; color: var(--text-muted); }
.v-returns-card .vr-info .vr-num   { font-size: 1.5rem; font-weight: 900; color: var(--text-dark); letter-spacing: -0.04em; }
.v-returns-card .vr-info .vr-badge {
  display: inline-block;
  margin-top: 3px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: #DCFCE7;
  color: #16A34A;
  font-size: 0.68rem;
  font-weight: 700;
}

/* ── SECTION 2: Why Choose Us (3-column icon cards) ── */
.v-why {
  padding: 96px 0;
  background: white;
}
.v-why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.v-why-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.v-why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.v-why-card:hover { box-shadow: var(--shadow-md); background: white; transform: translateY(-4px); }
.v-why-card:hover::after { transform: scaleX(1); }
.v-why-card .vwc-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 18px;
}
.v-why-card .vwc-icon svg { width: 24px; height: 24px; }
.v-why-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.v-why-card p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }

/* ── SECTION 3: Platform Showcase (split layout reversed) ── */
.v-platform {
  padding: 96px 0;
  background: var(--bg);
}
.v-platform-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.v-platform-right { position: relative; }
.v-platform-blob {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--primary-light);
}
.v-platform-blob img { width: 100%; height: 100%; object-fit: cover; }
.v-platform-float {
  position: absolute;
  top: 50%; left: -28px;
  transform: translateY(-50%);
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  min-width: 200px;
  animation: vfloat 4s ease-in-out infinite;
}
.v-platform-float .vpf-label { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 4px; }
.v-platform-float .vpf-value { font-size: 1.3rem; font-weight: 900; color: var(--text-dark); }
.v-platform-float .vpf-change { font-size: 0.72rem; color: #16A34A; font-weight: 600; margin-top: 2px; }

.v-platform-left {}
.v-steps { margin-top: 32px; display: flex; flex-direction: column; gap: 0; }
.v-step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  position: relative;
}
.v-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 56px;
  bottom: -4px;
  width: 2px;
  background: var(--border);
}
.v-step .vs-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 1;
}
.v-step .vs-body h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.v-step .vs-body p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ── SECTION 4: Stats Bar ── */
.v-stats-bar {
  padding: 72px 0;
  background: var(--primary);
}
.v-stats-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.v-bar-stat .vbs-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1;
}
.v-bar-stat .vbs-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

/* ── SECTION 5: Products / Plans ── */
.v-plans {
  padding: 96px 0;
  background: white;
}
.v-plans-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}
.v-plan-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.v-plan-card.featured {
  background: linear-gradient(145deg, var(--primary-dark), var(--primary-darker));
  border-color: transparent;
  box-shadow: var(--shadow-green);
}
.v-plan-card:hover:not(.featured) {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  background: white;
}
.v-plan-card .vpc-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}
.v-plan-card.featured .vpc-tag { color: rgba(255,255,255,0.7); }
.v-plan-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); }
.v-plan-card.featured h3 { color: white; }
.v-plan-card p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }
.v-plan-card.featured p { color: rgba(255,255,255,0.75); }
.v-plan-card .vpc-features { display: flex; flex-direction: column; gap: 10px; }
.v-plan-card .vpc-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.83rem; color: var(--text-dark);
}
.v-plan-card.featured .vpc-feat { color: rgba(255,255,255,0.85); }
.v-plan-card .vpc-feat svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.v-plan-card.featured .vpc-feat svg { color: rgba(255,255,255,0.8); }
.v-plan-card .vpc-cta { margin-top: auto; }
.v-plan-card.featured .vpc-cta .btn { background: white; color: var(--primary); }
.v-plan-card.featured .vpc-cta .btn:hover { background: var(--primary-light); }
.v-featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ── SECTION 6: Insights ── */
.v-insights {
  padding: 96px 0;
  background: var(--bg);
}
.v-insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}
.v-article-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.v-article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.v-article-img {
  width: 100%; aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--primary-light);
}
.v-article-body { padding: 24px; }
.v-article-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.v-article-cat {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 600;
}
.v-article-date { font-size: 0.7rem; color: var(--text-light); }
.v-article-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 8px; }
.v-article-body p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.v-article-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--border-light); margin-top: 16px;
}
.v-author { display: flex; align-items: center; gap: 8px; }
.v-author .va-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.v-author .va-name { font-size: 0.75rem; font-weight: 600; color: var(--text-dark); }
.v-read-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  display: flex; align-items: center; gap: 4px;
  transition: gap var(--transition);
}
.v-read-link:hover { gap: 8px; }

/* ── FOOTER ── */
.v-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.v-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.v-footer-brand .v-footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}
.v-footer-brand .v-footer-logo span { color: var(--primary); }
.v-footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 240px; }
.v-footer-social { display: flex; gap: 10px; margin-top: 24px; }
.v-footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  font-size: 0.85rem;
}
.v-footer-social a:hover { background: var(--primary); color: white; }
.v-footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.v-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.v-footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.v-footer-col ul li a:hover { color: var(--primary); }
.v-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.v-footer-bottom p { font-size: 0.8rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .v-hero-inner { grid-template-columns: 1fr; }
  .v-why-header { grid-template-columns: 1fr; }
  .v-platform-inner { grid-template-columns: 1fr; }
  .v-stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .v-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .v-stats-bar-inner { grid-template-columns: 1fr; }
  .v-footer-grid { grid-template-columns: 1fr; }
}
