/* ============================================================
   VAULT CAPITAL GROUP — "Quiet Authority" Design System
   Goldman Sachs restraint × Stripe sophistication × Apple craft
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px; line-height: 1.6; color: #1A1A2E; background: #F8F6F3; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: all .3s cubic-bezier(.25,.1,.25,1); }
::selection { background: rgba(197,164,126,.2); color: #1A1A2E; }

/* --- CSS Variables --- */
:root {
  --navy: #0A1628;
  --navy-deep: #1A1A2E;
  --ivory: #F8F6F3;
  --gold: #C5A47E;
  --gold-light: #D4B896;
  --white: #FFFFFF;
  --black: #000000;
  --charcoal: #1A1A2E;
  --slate: #6B7280;
  --fog: #9CA3AF;
  --silver: #E5E7EB;
  --mist: #F3F4F6;
  --success: #2D6A4F;
  --warning: #D4A017;
  --error: #B91C1C;
  --cream: #F8F6F3;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-subtle: 0 1px 3px rgba(10,22,40,.04);
  --shadow: 0 4px 20px rgba(10,22,40,.06);
  --shadow-md: 0 8px 40px rgba(10,22,40,.08);
  --shadow-lg: 0 16px 60px rgba(10,22,40,.1);
  --shadow-gold: 0 0 60px rgba(197,164,126,.08);
  --ease: cubic-bezier(.25,.1,.25,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --max-w: 1200px;
}

/* --- Typography: DM Serif Display + Inter --- */
h1, h2 { font-family: 'DM Serif Display', Georgia, 'Times New Roman', serif; font-weight: 400; color: var(--charcoal); line-height: 1.05; }
h3, h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 600; color: var(--charcoal); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 3vw + .5rem, 3rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.5rem, 2vw + .5rem, 2rem); letter-spacing: -.01em; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
p { color: var(--slate); }
em { font-style: normal; color: var(--gold); }

/* Overline — Goldman Sachs category label */
.overline {
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
  margin-bottom: 16px; display: block;
}

/* Stat numbers in DM Serif Display */
.stat-number { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--fog); }
.section-light { background: var(--ivory); }
.section-white { background: var(--white); }
.text-center { text-align: center; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* --- Buttons (Institutional — restrained, not shouty) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 18px 40px; border-radius: 6px; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 16px; letter-spacing: .02em;
  border: none; cursor: pointer; transition: all .3s var(--ease); text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .1s; }

.btn-gold {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 4px 12px rgba(197,164,126,.3);
}
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); box-shadow: 0 6px 20px rgba(197,164,126,.4); color: var(--navy); }

.btn-ghost {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-ghost:hover { background: rgba(197,164,126,.08); color: var(--gold); }

.btn-navy {
  background: var(--navy); color: var(--white);
  box-shadow: 0 4px 12px rgba(10,22,40,.2);
}
.btn-navy:hover { box-shadow: 0 6px 20px rgba(10,22,40,.3); color: var(--white); }

.btn-sm { padding: 12px 28px; font-size: 14px; }
.btn-lg { padding: 22px 48px; font-size: 18px; }

/* --- Header (minimal, institutional) --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,.95); backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,.04);
  transition: all .4s var(--ease);
}
.header.scrolled { background: rgba(10,22,40,.98); box-shadow: 0 4px 30px rgba(0,0,0,.1); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 72px;
}
.logo {
  font-family: 'DM Serif Display', Georgia, serif; font-size: 20px; font-weight: 400;
  color: var(--white); display: flex; align-items: center; gap: 10px;
  letter-spacing: .01em; transition: opacity .3s;
}
.logo:hover { opacity: .8; color: var(--white); }
.logo-icon {
  width: 36px; height: 36px; background: var(--gold);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', Georgia, serif; font-weight: 400;
  color: var(--navy); font-size: 18px;
}
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: rgba(255,255,255,.65); font-size: 15px; font-weight: 500;
  transition: color .3s; position: relative;
}
.nav a:hover { color: var(--white); }
.nav-phone { color: var(--gold) !important; font-weight: 600 !important; }
.nav-cta .btn { padding: 10px 24px; font-size: 14px; border-radius: 4px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); margin: 5px 0; transition: .3s; }

/* --- Hero (Goldman Sachs moment) --- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 50%, var(--navy) 100%);
}
.hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-canvas canvas { width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,22,40,.6) 0%, rgba(10,22,40,.8) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero p { color: var(--fog); font-size: 20px; line-height: 1.6; margin-bottom: 40px; max-width: 600px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  font-size: 14px; color: var(--fog); display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.hero-trust span { display: flex; align-items: center; gap: 6px; }

/* --- Stats Bar (quantified social proof) --- */
.stats-bar {
  background: var(--ivory); padding: 48px 0;
  border-bottom: 1px solid var(--silver);
}
.stats-grid {
  display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; align-items: center;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(2.25rem, 4vw, 3rem); color: var(--navy);
  letter-spacing: -.02em; line-height: 1;
}
.stat-label { font-size: 14px; color: var(--slate); margin-top: 8px; font-weight: 500; }
.stat-divider { width: 1px; height: 48px; background: var(--silver); }

/* --- Product Cards (funding suite) --- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-card {
  display: block; background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  border: 1px solid var(--silver); transition: all .4s var(--ease);
  cursor: pointer; text-decoration: none; color: inherit; position: relative;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-gold), var(--shadow-md);
  border-color: rgba(197,164,126,.2);
}
.product-card:active { transform: translateY(-1px); }
.product-icon {
  width: 48px; height: 48px; margin-bottom: 20px;
  color: var(--gold);
}
.product-icon svg { width: 48px; height: 48px; stroke-width: 1.5; }
.product-card h4 { margin-bottom: 6px; font-size: 1.25rem; color: var(--charcoal); }
.product-amount { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.product-card p { font-size: 15px; margin-bottom: 16px; line-height: 1.6; }
.product-link {
  font-weight: 600; font-size: 14px; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px; transition: gap .3s;
}
.product-card:hover .product-link { gap: 10px; }

/* --- Steps / How It Works --- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 32px; left: 16.66%; right: 16.66%;
  height: 1px; background: var(--gold); opacity: .2;
}
.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--gold); background: transparent;
  font-family: 'DM Serif Display', Georgia, serif; color: var(--gold);
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; position: relative; z-index: 1; transition: all .4s var(--ease);
}
.section-dark .step-num { border-color: var(--gold); color: var(--gold); }
.step:hover .step-num { background: var(--gold); color: var(--navy); }
.step h4 { margin-bottom: 12px; font-size: 1.125rem; }
.step p { font-size: 15px; max-width: 300px; margin: 0 auto; line-height: 1.6; }

/* --- Industries Grid --- */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
  display: flex; flex-direction: column; align-items: center;
  background: var(--white); border: 1px solid var(--silver);
  border-radius: var(--radius); padding: 32px 20px; text-align: center;
  transition: all .4s var(--ease); cursor: pointer; text-decoration: none; color: inherit;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: rgba(197,164,126,.2); }
.industry-card svg { width: 32px; height: 32px; color: var(--gold); margin-bottom: 12px; stroke-width: 1.5; }
.industry-card h4 { font-size: 14px; color: var(--charcoal); }

/* --- Case Study Cards --- */
.casestudy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.casestudy-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg); padding: 40px 32px; transition: all .4s var(--ease); cursor: pointer;
  text-decoration: none; color: inherit;
}
.casestudy-card:hover { background: rgba(255,255,255,.05); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.casestudy-industry { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 12px; }
.casestudy-amount { font-family: 'DM Serif Display', Georgia, serif; font-size: 2.5rem; color: var(--gold); margin-bottom: 8px; }
.casestudy-biz { font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.casestudy-quote {
  font-size: 16px; color: rgba(255,255,255,.5); font-style: italic; line-height: 1.7;
  border-left: 2px solid var(--gold); padding-left: 20px;
}

/* --- Comparison Table --- */
.comparison-wrapper { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th {
  background: var(--ivory); color: var(--charcoal); padding: 20px 24px;
  font-weight: 600; font-size: 14px; text-align: left; border-bottom: 1px solid var(--silver);
}
.comparison-table th.highlight { background: var(--navy); color: var(--white); }
.comparison-table td {
  padding: 18px 24px; border-bottom: 1px solid rgba(0,0,0,.03); font-size: 15px; color: var(--slate);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td.highlight { background: rgba(10,22,40,.02); color: var(--charcoal); font-weight: 500; }
.comparison-table .check { color: var(--gold); font-weight: 700; }
.comparison-table .limited { color: var(--fog); font-style: italic; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--silver); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 0; cursor: pointer; font-weight: 600; font-size: 18px;
  color: var(--charcoal); transition: color .2s; user-select: none;
}
.faq-q:hover { color: var(--gold); }
.faq-q svg {
  width: 18px; height: 18px; color: var(--fog); flex-shrink: 0; margin-left: 20px;
  transition: all .4s var(--ease);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--gold); }
.faq-item.open .faq-q { color: var(--gold); }
.faq-item.open { border-left: 3px solid var(--gold); padding-left: 20px; }
.faq-a { max-height: 0; overflow: hidden; transition: all .4s var(--ease-out); }
.faq-item.open .faq-a { max-height: 600px; padding-bottom: 24px; }
.faq-a p { font-size: 16px; line-height: 1.7; color: var(--slate); }

/* --- Final CTA --- */
.final-cta {
  background: var(--navy); text-align: center; padding: 160px 0;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -40%; right: -15%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(197,164,126,.04) 0%, transparent 65%); pointer-events: none;
}
.final-cta h2 { color: var(--white); margin-bottom: 16px; }
.final-cta p { color: var(--fog); font-size: 20px; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.final-cta .hero-ctas { justify-content: center; }

/* --- Footer (3-tier institutional) --- */
.footer { background: var(--navy); padding: 80px 0 0; color: rgba(255,255,255,.5); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
.footer h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); margin-bottom: 20px;
}
.footer a { color: rgba(255,255,255,.45); font-size: 14px; display: block; margin-bottom: 12px; transition: color .3s; }
.footer a:hover { color: var(--white); }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,.4); }
.footer-compliance {
  border-top: 1px solid rgba(255,255,255,.06); padding: 24px 0;
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.3);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.04); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: rgba(255,255,255,.25);
}

/* --- Section Headers --- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header .overline { display: block; margin-bottom: 16px; }
.section-header p { margin-top: 20px; font-size: 18px; line-height: 1.7; }

/* --- Scroll Reveal (Apple-style) --- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Product Page Shared --- */
.product-hero {
  background: var(--navy); padding: 160px 0 80px; color: var(--white);
  position: relative; overflow: hidden; text-align: center;
}
.product-hero::before {
  content: ''; position: absolute; top: -30%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(197,164,126,.05) 0%, transparent 65%); pointer-events: none;
}
.product-hero .container { position: relative; z-index: 1; max-width: 800px; }
.product-hero .overline { color: var(--gold); margin-bottom: 16px; }
.product-hero h1 { color: var(--white); margin-bottom: 20px; }
.product-hero h1 em { color: var(--gold); font-style: normal; }
.product-hero .subtitle { color: var(--fog); font-size: 1.1rem; line-height: 1.7; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }

.stats-strip { display: flex; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; justify-content: center; }
.stats-strip .stat-pill {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px; padding: 14px 24px; display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.stats-strip .stat-pill strong { color: var(--gold); font-weight: 600; }
.stats-strip .stat-pill span { color: var(--fog); font-size: 12px; }

.product-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gold); margin-bottom: 20px;
}
.product-badge svg { width: 14px; height: 14px; }

.content-section { padding: 100px 0; }
.content-section h2 { margin-bottom: 24px; }
.content-section.alt { background: var(--ivory); }
.content-body { max-width: 720px; font-size: 17px; line-height: 1.8; color: var(--slate); }
.content-body p { margin-bottom: 16px; }
.content-highlight {
  background: rgba(197,164,126,.05); border-left: 2px solid var(--gold);
  padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 24px 0; font-size: 15px; line-height: 1.7;
}

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit-card {
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  padding: 32px 24px; transition: all .4s var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: rgba(197,164,126,.15); }
.benefit-icon { width: 40px; height: 40px; color: var(--gold); margin-bottom: 16px; }
.benefit-icon svg { width: 40px; height: 40px; stroke-width: 1.5; }
.benefit-card h4 { font-size: 1rem; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; line-height: 1.6; }

.qual-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.qual-card {
  background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: all .3s var(--ease);
}
.qual-card:hover { border-color: rgba(197,164,126,.3); }
.qual-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--gold); }
.qual-icon svg { width: 36px; height: 36px; stroke-width: 1.5; }
.qual-card h4 { font-size: .95rem; margin-bottom: 4px; }
.qual-card p { font-size: .85rem; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-card {
  display: block; background: var(--white); border: 1px solid var(--silver);
  border-radius: var(--radius); padding: 28px 24px; transition: all .4s var(--ease);
  text-decoration: none; color: inherit; cursor: pointer;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); border-color: rgba(197,164,126,.15); }
.related-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.related-card p { font-size: .88rem; margin-bottom: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products-grid, .steps-grid, .casestudy-grid, .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav { display: none; }
  .hamburger { display: block; }
  .products-grid, .steps-grid, .casestudy-grid, .benefits-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .qual-grid, .related-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 32px; }
  .stat-item { flex: 1 1 40%; }
  .stat-divider { display: none; }
  .hero { min-height: auto; padding: 140px 0 80px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
  .comparison-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .stats-strip { gap: 12px; }
  .product-hero { padding: 130px 0 60px; }
  .final-cta { padding: 100px 0; }
  .casestudy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr; }
  .stats-strip { flex-direction: column; }
}

/* --- Mobile Bottom Bar --- */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: rgba(10,22,40,.97); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 16px; box-shadow: 0 -4px 24px rgba(0,0,0,.15);
  border-top: 1px solid rgba(255,255,255,.04);
}
.mobile-bar-inner { display: flex; gap: 10px; }
.mobile-bar .btn { flex: 1; justify-content: center; padding: 14px; font-size: 15px; }
@media (max-width: 768px) {
  .mobile-bar { display: block; }
  body { padding-bottom: 72px; }
}

/* --- Focus & Accessibility --- */
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
