/* === FUND FIND — CUSTOM THEME === */

/* Fonts */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --bg: #0B1D2E;
  --bg-surface: #0F2538;
  --bg-card: #132842;
  --accent: #D4A84B;
  --accent-dim: #B8913A;
  --text-primary: #F6F0E6;
  --text-secondary: rgba(246, 240, 230, 0.6);
  --text-muted: rgba(246, 240, 230, 0.35);
  --border: rgba(212, 168, 75, 0.2);
  --border-bright: rgba(212, 168, 75, 0.5);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* Section utility */
.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 2rem;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  background: rgba(11, 29, 46, 0.85);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 75, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 75, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 168, 75, 0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.hero-headline br { display: block; }

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; }

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
  max-width: 140px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
  flex-shrink: 0;
}

/* === PROOF === */
.proof {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}

.proof-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.proof-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.proof-attr {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.proof-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-meta { display: flex; flex-direction: column; text-align: left; }
.proof-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.proof-location { font-size: 0.75rem; color: var(--text-muted); }

/* === HOW IT WORKS === */
.how { padding: 7rem 2rem; }

.how-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 3rem;
}

.step {
  padding: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: block;
}

.step-icon { margin-bottom: 1.5rem; }

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-body {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-connector {
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-top: 5.5rem;
  position: relative;
  flex-shrink: 0;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid var(--accent);
  border-top: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

/* === WHY === */
.why {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 2rem;
}

.why-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.why-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.advantage {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.advantage:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.adv-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.advantage h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.advantage p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* === PROCESS === */
.process { padding: 7rem 2rem; }

.process-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0;
}

.problem {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.problem-visual {
  margin-bottom: 1.5rem;
}

.problem h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.problem p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--accent);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.manifesto-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
}

.manifesto-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  color: rgba(11, 29, 46, 0.15);
  line-height: 1;
  flex-shrink: 0;
}

.manifesto-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--bg);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.manifesto-content p {
  font-size: 1rem;
  color: rgba(11, 29, 46, 0.6);
  line-height: 1.65;
  max-width: 520px;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 168, 75, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.closing-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.closing-inner p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.closing-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  letter-spacing: 0.02em;
}

/* === FOOTER === */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 560px;
  margin: 0 auto;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-connector {
    width: 1px;
    height: 30px;
    margin: 0 auto;
  }
  .step-connector::after {
    right: auto;
    top: auto;
    bottom: -4px;
    border-right: none;
    border-top: none;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: rotate(-45deg);
    left: -4px;
  }
  .why-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .manifesto-number {
    font-size: 4rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .stat-divider { display: none; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.2rem; }
  .closing-cta { flex-direction: column; align-items: center; }
}
