/* ============================================================
   CLEARVEST CAPITAL — Design System
   Inspired by WealthWise (wealthwise-gray.vercel.app)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Bricolage+Grotesque:wght@400;500;600;700&display=swap');

:root {
  --lime:        #c8ff00;
  --lime-hover:  #dbe645;
  --lime-soft:   #f4f7d0;
  --lime-bg:     #fcffd3;
  --night:       #14110d;
  --ink:         #14110d;
  --forest:      #1a1c16;
  --text:        #555;
  --text-light:  #888;
  --white:       #fff;
  --off-white:   #fafbf5;
  --border:      #f6f6f6;
  --max-w:       1440px;
  --px:          clamp(16px, 4vw, 94px);
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:'Bricolage Grotesque', 'Inter', serif;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --duration:    550ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--night); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }
@media (max-width: 768px) { .container { padding-left: 16px; padding-right: 16px; } }

/* Typography */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -1.2px; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.8px; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.625rem); letter-spacing: -0.52px; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; overflow: hidden; white-space: nowrap; border-radius: 70px;
  font-size: 14px; font-weight: 500; line-height: 26px; letter-spacing: 0.14px;
  text-transform: capitalize; transition: all 0.3s ease; padding: 13px 32px;
  cursor: pointer; isolation: isolate;
}
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--lime-hover); }
.btn-outline { border: 1px solid rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.btn-outline:hover { border-color: var(--white); }
.btn-outline-dark { border: 1px solid rgba(85,85,85,0.4); color: var(--text); background: transparent; }
.btn-outline-dark:hover { border-color: var(--night); }
.btn-sm { padding: 8px 23px; }

/* Slide fill hover */
.btn-fill::before {
  content:''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateX(-101%); transition: transform var(--duration) var(--ease-out);
}
.btn-fill:hover::before { transform: translateX(0); }
.btn-outline.btn-fill::before { background: var(--white); }
.btn-outline.btn-fill:hover { color: var(--night); }
.btn-outline-dark.btn-fill::before { background: var(--night); }
.btn-outline-dark.btn-fill:hover { color: var(--white); }

/* Arrow animation */
.btn-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; transition: transform 450ms var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(var(--shift, 34px)); }
.btn-arrow .arrow-enter { position: absolute; top: 50%; left: -34px; transform: translateY(-50%); opacity: 0; transition: opacity 450ms var(--ease-out); width: 24px; height: 24px; }
.btn:hover .btn-arrow .arrow-enter { opacity: 1; }
.btn-arrow .arrow-exit { display: flex; align-items: center; width: 24px; height: 24px; transition: opacity 450ms var(--ease-out); }
.btn:hover .btn-arrow .arrow-exit { opacity: 0; }

/* ── Header ──────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; transition: background 0.3s, box-shadow 0.3s; }
.site-header.dark-header { background: var(--night); }
.site-header.light-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); }
.site-header.scrolled { box-shadow: 0 1px 8px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-link img { height: 36px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 18.667px; font-weight: 500; line-height: 30.333px; letter-spacing: -0.56px; }
.nav-links { display: flex; align-items: center; gap: 7px; }
.nav-link { padding: 7px 23px; font-size: 14px; line-height: 26px; transition: color 0.3s; position: relative; }
.dark-header .logo-text { color: var(--white); }
.dark-header .nav-link { color: rgba(255,255,255,0.7); }
.dark-header .nav-link:hover { color: var(--white); }
.light-header .logo-text { color: var(--text); }
.light-header .nav-link { color: var(--text); font-weight: 500; }
.light-header .nav-link:hover { color: var(--ink); }
.nav-link.active span { position: relative; z-index: 1; }
.light-header .nav-link.active::before { content:''; position: absolute; inset: -1px 0; border-radius: 70px; border: 1px solid #f0f1e3; background: var(--lime-bg); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.mobile-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; width: 40px; height: 40px; gap: 5px; }
.mobile-toggle span { display: block; height: 1.5px; width: 20px; background: var(--white); transition: transform 0.3s, opacity 0.3s; }
.light-header .mobile-toggle span { background: var(--ink); }
.mobile-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid #f0f0f0; padding: 24px 16px 32px; box-shadow: 0 8px 32px rgba(0,0,0,0.1); z-index: 99; }
.mobile-menu.open { display: block; }
.mobile-menu .nav-link { display: block; padding: 12px 16px; font-size: 16px; color: var(--text); border-radius: 12px; }
.mobile-menu .nav-link:hover { background: #f5f5f5; }
.mobile-menu .btn { width: 100%; margin-top: 16px; text-align: center; justify-content: center; }
@media (max-width: 1023px) { .nav-links, .nav-actions { display: none; } .mobile-toggle { display: flex; } }

/* ── Hero ────────────────────────────────────── */
.hero { position: relative; margin-top: -78px; min-height: 100svh; min-height: 720px; overflow: hidden; background: var(--forest); display: flex; align-items: flex-end; }
.hero-bg { position: absolute; inset: 0; transform: scale(1.04); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
@media (min-width: 768px) { .hero-bg img { object-position: center; } }
.hero-blur { position: absolute; bottom: 0; left: 0; right: 0; height: 50%; backdrop-filter: blur(28px); mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 28%, #000 55%); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.6) 28%, #000 55%); pointer-events: none; }
.hero-shadow { position: absolute; bottom: -720px; left: calc(50% - 1449px); width: 2845px; height: 1101px; pointer-events: none; }
.hero-shadow-inner { position: absolute; inset: 0; border-radius: 50%; background: rgba(20,17,13,0.64); filter: blur(82px); }
.hero-content { position: relative; z-index: 10; padding: 0 0 64px; width: 100%; }
@media (min-width: 768px) { .hero-content { padding-bottom: 84px; } .hero-shadow { bottom: -720px; } }
@media (max-width: 767px) { .hero-shadow { bottom: -620px; } }
.hero-inner { max-width: 1259px; margin: 0 auto; padding: 0 16px; display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .hero-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: 67px; padding: 0 40px; } }
@media (min-width: 1280px) { .hero-inner { padding: 0; } }
.hero h1 { max-width: 750px; color: var(--white); }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; max-width: 442px; }
.hero-text p { font-size: 16px; line-height: 26px; color: rgba(255,255,255,0.8); }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }

/* Floating cards on hero (desktop) */
.hero-cards-container { display: none; position: absolute; inset: 0; pointer-events: none; z-index: 5; }
@media (min-width: 768px) { .hero-cards-container { display: block; } }
.hero-float-card { position: absolute; background: var(--white); border-radius: 15px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); padding: 11px 12.5px; width: 190px; opacity: 0; transform: translateY(30px) scale(0.94); }

/* ── Logos Marquee ────────────────────────────── */
.logos-bar { height: 102px; display: flex; align-items: center; overflow: hidden; background: var(--lime-bg); }
.logos-bar-inner { display: flex; align-items: center; width: 100%; max-width: var(--max-w); margin: 0 auto; }
.logos-label { display: none; width: 214px; flex-shrink: 0; font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 27px; letter-spacing: -0.4px; color: var(--night); }
@media (min-width: 768px) { .logos-label { display: block; margin-left: 40px; } }
@media (min-width: 1280px) { .logos-label { margin-left: 98px; } }
.logos-divider { display: none; height: 60px; width: 1px; flex-shrink: 0; margin: 0 36px 0 60px; }
@media (min-width: 768px) { .logos-divider { display: flex; align-items: center; } }
.logos-track { position: relative; flex: 1; min-width: 0; overflow: hidden; padding: 12px 0; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 88%, transparent); }
.logos-scroll { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.logos-scroll:hover { animation-play-state: paused; }
.logos-set { display: flex; align-items: center; gap: 58px; padding-right: 58px; flex-shrink: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Trusted / Social Proof ──────────────────── */
.trusted-section { background: var(--white); padding: 64px 0 80px; }
@media (min-width: 768px) { .trusted-section { padding: 67px 0 80px; } }
.trusted-header { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 1024px) { .trusted-header { flex-direction: row; align-items: center; justify-content: space-between; } }
.trusted-header h2 { max-width: 551px; color: var(--night); }
.trusted-header p { max-width: 442px; font-size: 16px; line-height: 26px; color: var(--text); }
.trusted-cards { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1024px) { .trusted-cards { margin-top: 82px; flex-direction: row; gap: 17px; height: 443px; } }
.trusted-card { position: relative; overflow: hidden; border-radius: 32px; background: #e3e3e3; cursor: pointer; transition: flex-grow 0.5s ease-out, height 0.5s ease-out; }
@media (max-width: 1023px) { .trusted-card { height: 120px; } .trusted-card.expanded { height: 420px; } }
@media (min-width: 1024px) { .trusted-card { height: 100%; min-width: 0; flex-basis: 0; flex-grow: 1; } .trusted-card.expanded { flex-grow: 2.53; } }
.trusted-card img.trusted-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease-out; }
.trusted-card:not(.expanded) img.trusted-photo { transform: scale(1.04); }
.trusted-card-overlay { position: absolute; inset: auto 0 0; z-index: 10; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 24px; }
@media (min-width: 1024px) { .trusted-card-overlay { bottom: 36px; padding: 0 36px; } }
.trusted-card-info { color: var(--white); min-width: 0; }
.trusted-card-info h4 { font-family: var(--font-display); font-size: 28px; font-weight: 500; letter-spacing: -0.56px; white-space: nowrap; }
.trusted-card-info p { font-size: 16px; line-height: 26px; white-space: nowrap; }
.trusted-card-gradient { position: absolute; left: 50%; transform: translateX(-50%); width: 2487px; pointer-events: none; }
.trusted-buttons { margin-top: 55px; display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; }

/* ── Features Section ────────────────────────── */
.features-section { background: var(--off-white); padding: 96px 0; }
@media (min-width: 1024px) { .features-section { padding: 186px 0 239px; } }
.features-header { max-width: 642px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 21px; }
.features-header h2 { color: var(--night); }
.features-header p { max-width: 442px; font-size: 16px; line-height: 26px; color: var(--text); }
.features-layout { max-width: 794px; margin: 64px auto 0; padding: 0 16px; display: flex; gap: 83px; }
@media (min-width: 1024px) { .features-layout { margin-top: 109px; } }

/* Feature sidebar nav (desktop only) */
.features-nav { display: none; width: 222px; flex-shrink: 0; }
@media (min-width: 1024px) { .features-nav { display: block; } }
.features-nav-inner { position: sticky; top: 160px; display: flex; flex-direction: column; gap: 46px; }
.features-nav-list { display: flex; flex-direction: column; gap: 37px; position: relative; }
.features-nav-line { position: absolute; left: 11px; top: 20px; width: 2px; height: 312px; background: #ddd; }
.features-nav-progress { position: absolute; left: 0; top: 0; width: 2px; background: var(--lime); border-radius: 2px; transition: height 0.3s; }
.features-nav-item a { display: flex; align-items: center; gap: 12px; height: 27px; }
.features-nav-dot { width: 24px; height: 24px; border-radius: 50px; flex-shrink: 0; background: #bbb; transition: background 0.5s; }
.features-nav-item.active .features-nav-dot { background: var(--lime); }
.features-nav-label { font-family: var(--font-display); font-size: 20px; font-weight: 500; line-height: 27px; letter-spacing: -0.4px; color: rgba(20,17,13,0.5); white-space: nowrap; transition: color 0.5s; }
.features-nav-item.active .features-nav-label { color: var(--night); }

/* Feature cards */
.features-cards { max-width: 489px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 42px; }
.feature-card { display: flex; flex-direction: column; gap: 10px; overflow: hidden; border-radius: 40px; border: 1px solid var(--border); background: var(--white); padding: 11px 11px 31px; }
.feature-card-visual { position: relative; overflow: hidden; border-radius: 31px; background: var(--lime-soft); height: 243px; }
.feature-card-visual img.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.feature-card-content { display: flex; flex-direction: column; gap: 6px; padding: 0 22px; }
.feature-card-content h3 { color: var(--night); }
.feature-card-content p { max-width: 409px; font-size: 16px; line-height: 26px; color: var(--text); }
.feature-widget { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--white); border-radius: 18px; border: 1px solid rgba(249,249,241,0.98); overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); padding: 20px; }

/* ── Stats (Lime bar) ────────────────────────── */
.stats-section { background: var(--lime); padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item h3 { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 700; color: var(--night); line-height: 1.2; }
.stat-item p { font-size: 14px; color: rgba(20,17,13,0.6); margin-top: 4px; }

/* ── How It Works cards ──────────────────────── */
.how-section { background: var(--off-white); padding: 96px 0 137px; }
.how-header { text-align: center; }
.how-header h2 { color: var(--night); }
.how-cards { max-width: 1144px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 20px; }
.how-row { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .how-row { flex-direction: row; } }
.how-card { display: flex; flex-direction: column; gap: 19px; overflow: hidden; border-radius: 40px; border: 1px solid var(--border); background: var(--white); padding: 11px 11px 37px; min-width: 0; flex: 1; }
.how-card-visual { position: relative; overflow: hidden; border-radius: 32px; background: var(--lime-soft); height: 243px; }
.how-card-visual img.how-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.how-card-content { display: flex; flex-direction: column; gap: 6px; padding: 0 22px; }
.how-card-content h3 { color: var(--night); }
.how-card-content p { font-size: 16px; line-height: 26px; color: var(--text); }

/* ── Calculator ──────────────────────────────── */
.calc-section { position: relative; background: var(--night); padding: 96px 0; overflow: hidden; color: var(--white); }
.calc-section .glow-bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.1; }
.calc-section .glow-bg img { width: 100%; height: 100%; object-fit: cover; }
.calc-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.calc-header { text-align: center; margin-bottom: 48px; }
.calc-header h2 { color: var(--white); }
.calc-header p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 26px; margin-top: 16px; max-width: 500px; margin-left: auto; margin-right: auto; }
.calc-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(20px); border-radius: 32px; padding: 40px; }
@media (max-width: 768px) { .calc-card { padding: 24px 20px; } }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px; }
@media (max-width: 768px) { .calc-row { grid-template-columns: 1fr; } }
.calc-field label { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.calc-field .value { font-size: 28px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.calc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: rgba(255,255,255,0.15); border-radius: 4px; outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); cursor: pointer; border: 2px solid var(--night); }
.calc-slider::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--lime); cursor: pointer; border: 2px solid var(--night); }
.calc-result { margin-top: 40px; text-align: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); }
.calc-result-label { font-size: 14px; color: rgba(255,255,255,0.5); }
.calc-result-value { font-size: 48px; font-weight: 700; color: var(--lime); margin: 8px 0; font-family: var(--font-display); }
.calc-result-breakdown { display: flex; justify-content: center; gap: 32px; margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.6); }
.calc-chart { margin-top: 32px; height: 200px; position: relative; }
.calc-chart canvas { width: 100%; height: 100%; border-radius: 12px; }

/* ── Protected / Security ────────────────────── */
.protected-section { background: var(--white); padding: 96px 0; }
.protected-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.protected-header h2 { color: var(--night); }
.protected-header p { color: var(--text); font-size: 16px; line-height: 26px; margin-top: 16px; }
.protected-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .protected-grid { grid-template-columns: 1fr; } }
.protected-card { text-align: center; padding: 40px 24px; border: 1px solid var(--border); border-radius: 24px; transition: transform 0.3s, box-shadow 0.3s; }
.protected-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.protected-card-icon { width: 48px; height: 48px; margin: 0 auto 16px; }
.protected-card h4 { font-size: 18px; font-weight: 600; color: var(--night); margin-bottom: 8px; }
.protected-card p { font-size: 14px; line-height: 22px; color: var(--text); }

/* ── FAQ ─────────────────────────────────────── */
.faq-section { background: var(--off-white); padding: 96px 0; }
.faq-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
@media (min-width: 768px) { .faq-header { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.faq-header h2 { color: var(--night); max-width: 400px; }
.faq-list { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item { background: var(--white); border-radius: 16px; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 24px; font-size: 16px; font-weight: 500; color: var(--night); cursor: pointer; text-align: left; }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 20px; }
.faq-answer p { font-size: 15px; line-height: 24px; color: var(--text); }

/* ── CTA ─────────────────────────────────────── */
.cta-section { position: relative; background: var(--night); padding: 96px 0; overflow: hidden; text-align: center; color: var(--white); }
.cta-section .glow-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-section .glow-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 600px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 26px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 8px; }

/* ── Footer ──────────────────────────────────── */
.site-footer { background: var(--night); color: rgba(255,255,255,0.6); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand .logo-link { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 22px; max-width: 280px; }
.footer-col h5 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 14px; padding: 4px 0; color: rgba(255,255,255,0.5); transition: color 0.3s; }
.footer-col a:hover { color: var(--lime); }
.footer-regulatory { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-reg-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-reg-item i { color: #10b981; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 13px; line-height: 20px; }

/* ── Scroll Reveal ───────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 100ms; } .reveal-d2 { transition-delay: 200ms; } .reveal-d3 { transition-delay: 300ms; } .reveal-d4 { transition-delay: 400ms; }
.reveal-scale { opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-scale.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ── Page sections (investments, track, contact, etc.) ── */
.page-section { padding: 96px 0; }
.page-hero { padding: 120px 0 64px; text-align: center; }
.page-hero h1 { color: var(--night); margin-bottom: 16px; }
.page-hero p { font-size: 18px; line-height: 28px; color: var(--text); max-width: 600px; margin: 0 auto; }

.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 48px; }
.filter-tab { padding: 8px 20px; border-radius: 70px; font-size: 14px; font-weight: 500; border: 1px solid #e1e1e1; color: var(--text); transition: all 0.3s; cursor: pointer; background: var(--white); }
.filter-tab.active, .filter-tab:hover { background: var(--lime); border-color: var(--lime); color: var(--night); }

.invest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.invest-card { border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--white); transition: transform 0.3s, box-shadow 0.3s; }
.invest-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.invest-card-img { height: 180px; overflow: hidden; }
.invest-card-img img { width: 100%; height: 100%; object-fit: cover; }
.invest-card-body { padding: 24px; }
.invest-card-body h4 { font-size: 18px; color: var(--night); margin-bottom: 8px; font-weight: 600; }
.invest-card-meta { display: flex; justify-content: space-between; margin: 12px 0; font-size: 13px; }
.invest-card-meta span { color: var(--text); }
.invest-card-meta strong { color: var(--night); }
.invest-card .btn { width: 100%; margin-top: 16px; }

/* Portfolio cards */
.portfolio-cards { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; margin-bottom: 64px; }
.portfolio-card { flex: 0 0 340px; scroll-snap-align: start; border: 1px solid var(--border); border-radius: 32px; overflow: hidden; background: var(--white); padding: 32px; }
.portfolio-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.portfolio-risk-tag { display: inline-block; padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 500; }
.risk-low { background: #e6f4ea; color: #1a7f37; }
.risk-moderate { background: #fff8e1; color: #b5850b; }
.risk-high { background: #fce4ec; color: #c62828; }
.portfolio-alloc { display: flex; flex-direction: column; gap: 8px; margin: 24px 0; }
.alloc-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.alloc-row span:first-child { color: var(--text); }
.alloc-row span:last-child { font-weight: 600; color: var(--night); }
.alloc-bar { height: 6px; background: #f0f0f0; border-radius: 6px; overflow: hidden; }
.alloc-bar-fill { height: 100%; border-radius: 6px; transition: width 1s var(--ease-out); }

/* Track & Contact & Payment */
.track-section { padding: 96px 0; }
.track-card { max-width: 600px; margin: 0 auto; padding: 40px; border: 1px solid var(--border); border-radius: 32px; background: var(--white); }
.track-card h3 { color: var(--night); margin-bottom: 8px; }
.track-card > p { color: var(--text); margin-bottom: 24px; }
.track-form { display: flex; gap: 12px; }
.track-form input { flex: 1; padding: 12px 16px; border: 1px solid #e1e1e1; border-radius: 12px; font-size: 15px; outline: none; }
.track-form input:focus { border-color: var(--lime); }
.track-result { margin-top: 32px; padding: 24px; border: 1px solid var(--border); border-radius: 16px; display: none; }
.track-result.visible { display: block; }

.contact-section { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info h3 { color: var(--night); }
.contact-info p { color: var(--text); font-size: 16px; line-height: 26px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; }
.contact-item i { color: var(--lime); flex-shrink: 0; margin-top: 2px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 500; color: var(--night); }
.form-group input, .form-group textarea, .form-group select { padding: 12px 16px; border: 1px solid #e1e1e1; border-radius: 12px; font-size: 15px; color: var(--night); background: var(--white); transition: border-color 0.3s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--lime); }
.form-group textarea { resize: vertical; min-height: 120px; }

.payment-section { padding: 96px 0; }
.payment-card { max-width: 700px; margin: 0 auto; padding: 40px; border: 1px solid var(--border); border-radius: 32px; background: var(--white); }

/* Steps section (about/hiw page) */
.steps-section { padding: 96px 0; background: var(--white); }
.steps-grid { display: flex; flex-direction: column; gap: 64px; max-width: 1000px; margin: 48px auto 0; padding: 0 16px; }
.step-item { display: flex; flex-direction: column; gap: 32px; }
@media (min-width: 1024px) { .step-item { flex-direction: row; align-items: center; gap: 43px; } .step-item:nth-child(even) { flex-direction: row-reverse; } }
.step-text { max-width: 430px; }
.step-badge { display: inline-block; padding: 9px 26px; border-radius: 70px; border: 1px solid #d3e0cc; background: var(--off-white); font-size: 14px; font-weight: 500; color: rgba(85,85,85,0.69); margin-bottom: 24px; }
.step-text h3 { max-width: 289px; color: var(--night); margin-bottom: 17px; }
.step-text p { font-size: 16px; line-height: 26px; color: var(--text); }
.step-visual { position: relative; width: 100%; max-width: 452px; height: 400px; border-radius: 40px; border: 1px solid #edefd2; background: var(--lime-bg); overflow: hidden; flex-shrink: 0; }
@media (min-width: 1024px) { .step-visual { width: 452px; height: 487px; border-radius: 69px; } }
.step-visual img.step-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* Responsive */
@media (max-width: 1023px) { .desktop-only { display: none !important; } }
@media (min-width: 1024px) { .mobile-only { display: none !important; } }
