@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500&family=Cormorant+Garamond:wght@300;400;500&display=swap');

:root {
  --bg: #050508;
  --bg-subtle: #0c0b10;
  --bg-card: #111016;
  --gold: #d4af5a;
  --gold-light: #e6c97a;
  --gold-dim: rgba(212,175,90,0.12);
  --gold-glow: rgba(212,175,90,0.06);
  --white: #f0ede8;
  --gray: #8a8a90;
  --gray-light: #b5b5ba;
  --sans: 'Inter', -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', 'Georgia', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-dim); color: var(--white); }

/* ═══════════════════════════════════════
   CURSOR GLOW
   ═══════════════════════════════════════ */
.cursor-glow {
  position: fixed; width: 400px; height: 400px; border-radius: 50%;
  pointer-events: none; z-index: 9999;
  background: radial-gradient(circle, rgba(200,164,94,0.04) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}
body:hover .cursor-glow { opacity: 1; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.5rem 4rem;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
nav.scrolled { padding: 1.5rem 4rem; background: rgba(5,5,8,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(212,175,90,0.08); }
nav.hidden { transform: translateY(-100%); }

.nav-logo {
  display: inline-block; text-decoration: none;
  transition: opacity 0.4s;
}
.nav-logo img { height: 48px; width: auto; }
.nav-logo:hover { opacity: 0.8; }

.nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-links a {
  color: var(--gray); text-decoration: none;
  font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  transition: color 0.4s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gray-light); }
.nav-links a.active::after { width: 100%; background: var(--gray); }

.nav-toggle { display: none; background: none; border: none; color: var(--gray-light); font-size: 1.2rem; cursor: pointer; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 0 4rem;
  position: relative;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(200,164,94,0.015) 0%, transparent 100%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(200,164,94,0.01) 0%, transparent 100%);
  pointer-events: none;
}
/* Geometric accent shape */
.hero::after {
  content: ''; position: absolute; right: 8%; top: 20%;
  width: 350px; height: 350px;
  border: 1px solid rgba(200,164,94,0.04);
  border-radius: 50%; pointer-events: none;
}

.hero-eyebrow {
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 3rem;
}

.hero h1 {
  font-family: var(--serif); font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.01em;
  max-width: 1000px; color: var(--white);
}
.hero h1 em {
  font-style: normal; color: var(--gold);
  transition: color 0.4s;
}

.hero-sub {
  margin-top: 3rem; max-width: 500px;
  font-size: 0.95rem; font-weight: 300;
  color: var(--gray); line-height: 1.8;
}

.hero-line {
  margin-top: 4rem; width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-scroll {
  position: absolute; bottom: 3rem; left: 4rem;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray); writing-mode: vertical-rl;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
section {
  padding: 10rem 4rem;
  position: relative;
}
.section-full { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

.section-eyebrow {
  font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 2rem;
  opacity: 0.7;
}

section h2 {
  font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section-text {
  max-width: 550px; font-size: 0.95rem; font-weight: 300;
  color: var(--gray); line-height: 1.9; margin-bottom: 4rem;
}

/* ═══════════════════════════════════════
   CARDS — borderless, spacious
   ═══════════════════════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
}
.card {
  padding: 3.5rem 3rem;
  background: var(--bg-subtle);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative; text-decoration: none; color: inherit;
  display: block;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover { background: var(--bg-card); transform: translateY(-2px); }
.card:hover::before { width: 100%; }

.card-num {
  font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.3em; color: var(--gray);
  margin-bottom: 2rem;
}
.card h3 {
  font-family: var(--serif); font-size: 1.6rem;
  font-weight: 400; margin-bottom: 1.2rem;
  color: var(--white); letter-spacing: 0;
}
.card p {
  font-size: 0.9rem; font-weight: 300;
  color: var(--gray-light); line-height: 1.85;
}
.card-label {
  display: inline-block; margin-top: 1.5rem;
  font-size: 0.6rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover .card-label { opacity: 0.7; }

/* Featured card */
.card-featured { background: var(--bg-card); }
.card-featured::before { width: 40px; opacity: 0.5; }
.card-featured:hover::before { width: 100%; opacity: 1; }

/* ═══════════════════════════════════════
   STATS
   ═══════════════════════════════════════ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 4rem; padding: 8rem 0;
}
.stat-item h3 {
  font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 300; color: var(--gold-light); letter-spacing: -0.02em;
}
.stat-item p {
  font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray-light); margin-top: 0.8rem;
}

/* ═══════════════════════════════════════
   QUOTE
   ═══════════════════════════════════════ */
.quote-block {
  min-height: 60vh; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 10rem 4rem;
  position: relative;
}
.quote-block::before {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  border: 1px solid rgba(200,164,94,0.04);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.quote-block blockquote {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300; font-style: italic;
  color: var(--gray-light); max-width: 700px;
  line-height: 1.5; letter-spacing: 0.01em;
}
.quote-block cite {
  display: block; margin-top: 2rem;
  font-family: var(--sans); font-style: normal;
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gray);
}

/* ═══════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════ */
.line { width: 40px; height: 1px; background: rgba(200,164,94,0.2); margin: 6rem 0; }
.line-center { margin: 6rem auto; }

/* ═══════════════════════════════════════
   PAGE HERO
   ═══════════════════════════════════════ */
.page-hero {
  min-height: 55vh; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 0 4rem 6rem;
  position: relative;
}
.page-hero::after {
  content: ''; position: absolute; right: 10%; bottom: 15%;
  width: 250px; height: 250px;
  border: 1px solid rgba(200,164,94,0.03);
  border-radius: 50%; pointer-events: none;
}
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
}
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .hero-eyebrow { margin-bottom: 2rem; }
.page-hero .hero-sub {
  margin-top: 2rem; max-width: 500px;
  font-size: 0.95rem; font-weight: 300;
  color: var(--gray); line-height: 1.8;
}

/* ═══════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════ */
.timeline { max-width: 700px; }
.timeline-entry { margin-bottom: 6rem; }
.timeline-year {
  font-size: 0.6rem; letter-spacing: 0.4em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0.6; margin-bottom: 1.2rem;
}
.timeline-entry h3 {
  font-family: var(--serif); font-size: 1.8rem;
  font-weight: 400; margin-bottom: 1rem;
}
.timeline-entry p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--gray); line-height: 1.9;
}

/* ═══════════════════════════════════════
   DETAIL CONTENT
   ═══════════════════════════════════════ */
.detail { max-width: 650px; }
.detail h3 {
  font-family: var(--serif); font-size: 1.5rem;
  font-weight: 400; margin: 4rem 0 1rem;
}
.detail p {
  font-size: 0.95rem; font-weight: 300;
  color: var(--gray-light); line-height: 1.9; margin-bottom: 1.5rem;
}
.detail ul { list-style: none; padding: 0; margin: 2rem 0; }
.detail ul li {
  padding: 1rem 0; font-size: 0.92rem; font-weight: 300;
  color: var(--gray-light); line-height: 1.7;
  border-bottom: 1px solid rgba(212,175,90,0.06);
}
.detail ul li::before {
  content: ''; display: inline-block;
  width: 6px; height: 1px; background: var(--gold);
  margin-right: 1.2rem; vertical-align: middle;
  opacity: 0.5;
}
.detail a { color: var(--gold); text-decoration: none; transition: opacity 0.3s; }
.detail a:hover { opacity: 0.7; }

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.cta {
  display: inline-block; padding: 1.1rem 3rem;
  font-family: var(--sans); font-size: 0.7rem;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gray-light); text-decoration: none;
  border: 1px solid rgba(200,164,94,0.2);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta:hover {
  color: var(--bg); background: var(--gold);
  border-color: var(--gold);
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.contact-block h3 {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 400; margin-bottom: 1.2rem;
}
.contact-block p {
  font-size: 0.9rem; font-weight: 300;
  color: var(--gray); line-height: 1.9; margin-bottom: 3rem;
}
.contact-block a { color: var(--gold); text-decoration: none; transition: opacity 0.3s; }
.contact-block a:hover { opacity: 0.7; }

.field { margin-bottom: 2rem; }
.field label {
  display: block; font-size: 0.6rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); margin-bottom: 0.6rem;
}
.field input, .field textarea {
  width: 100%; padding: 1rem 0; background: transparent;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--white); font-family: var(--sans);
  font-size: 0.95rem; font-weight: 300;
  transition: border-color 0.4s; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 120px; resize: none; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
footer {
  padding: 4rem;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(212,175,90,0.1);
}
footer p { font-size: 0.7rem; font-weight: 300; color: var(--gray); letter-spacing: 0.05em; }
footer a {
  font-size: 0.7rem; font-weight: 300; color: var(--gray);
  text-decoration: none; letter-spacing: 0.1em;
  transition: color 0.3s;
}
footer a:hover { color: var(--gold); }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.15s; }
.reveal-d2 { transition-delay: 0.3s; }
.reveal-d3 { transition-delay: 0.45s; }
.reveal-d4 { transition-delay: 0.6s; }

/* Hero text letter reveal */
.char-reveal span {
  display: inline-block; opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.char-reveal.visible span { opacity: 1; transform: translateY(0); }

/* Parallax */
.parallax { transition: transform 0.1s linear; will-change: transform; }

/* Page transition overlay */
.page-transition {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg); pointer-events: none;
  opacity: 1;
  animation: pageFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes pageFadeIn { to { opacity: 0; } }

/* ═══════════════════════════════════════
   FASTER FINANCIAL PAGE
   ═══════════════════════════════════════ */
.faster-stats { padding-top: 2rem; padding-bottom: 2rem; }
.faster-stats-row { gap: 2rem; }

.faster-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; margin-top: 4rem;
}
.faster-product-card {
  padding: 3rem 2.5rem;
  background: var(--bg-subtle);
  border-top: 2px solid transparent;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.faster-product-card:hover {
  background: var(--bg-card);
  border-top-color: var(--gold);
  transform: translateY(-3px);
}
.faster-product-card .fp-label {
  font-size: 0.6rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7;
  margin-bottom: 1.2rem;
}
.faster-product-card h3 {
  font-family: var(--serif); font-size: 1.6rem;
  font-weight: 400; color: var(--white);
  margin-bottom: 1.2rem;
}
.faster-product-card p {
  font-size: 0.92rem; font-weight: 300;
  color: var(--gray-light); line-height: 1.9;
}

/* Hero with background image */
.hero-bg { position: relative; }
.hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  opacity: 0.3;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,8,0.5) 0%,
    rgba(5,5,8,0.7) 30%,
    rgba(5,5,8,0.95) 70%,
    rgba(5,5,8,1) 100%
  );
}
.hero-bg > *:not(.hero-bg-image) { position: relative; z-index: 1; }
.hero-bg .hero-eyebrow,
.hero-bg h1,
.hero-bg .hero-sub,
.hero-bg .hero-line,
.hero-bg .hero-scroll { position: relative; z-index: 1; }

/* Team Section */
.team-section { padding: 8rem 4rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1000px;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 3/4;
  overflow: hidden; margin-bottom: 1.5rem;
  border: 1px solid rgba(212,175,90,0.1);
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(20%);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.team-card h3 {
  font-family: var(--serif); font-size: 1.3rem;
  font-weight: 400; color: var(--white);
  margin-bottom: 0.4rem;
}
.team-role {
  font-size: 0.7rem; font-weight: 300;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0.8;
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 350px; }
  .team-section { padding: 6rem 1.5rem; }
}

/* Gold accent line under hero on subpages */
.page-hero::before {
  content: ''; position: absolute; bottom: 0; left: 4rem;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Faster Financial hero with background image */
.faster-hero {
  position: relative; min-height: 75vh;
  display: flex; align-items: flex-end;
  padding: 0 4rem 6rem;
  overflow: hidden;
}
.faster-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.faster-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.faster-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,5,8,0.3) 0%,
    rgba(5,5,8,0.6) 40%,
    rgba(5,5,8,0.92) 75%,
    rgba(5,5,8,1) 100%
  );
}
.faster-hero-content {
  position: relative; z-index: 1;
}
.faster-hero-content h1 {
  font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.05;
}
.faster-hero-content h1 em { font-style: normal; color: var(--gold); }
.faster-hero-content .hero-eyebrow {
  font-size: 0.65rem; font-weight: 300;
  letter-spacing: 0.5em; text-transform: uppercase;
  color: var(--gray-light); margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .faster-hero { padding: 0 1.5rem 4rem; min-height: 60vh; }
}
.faster-product-card .fp-tag {
  display: inline-block; margin-top: 1.8rem;
  font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gray);
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(200,164,94,0.15);
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  nav { padding: 1.5rem; }
  nav.scrolled { padding: 1rem 1.5rem; }
  .nav-links {
    display: none; position: fixed; inset: 0;
    background: var(--bg); flex-direction: column;
    justify-content: center; align-items: center; gap: 2.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; z-index: 101; }
  .hero, section, .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  section { padding-top: 6rem; padding-bottom: 6rem; }
  .cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 4rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; padding: 3rem 1.5rem; }
  .hero::after, .page-hero::after { display: none; }
  .cursor-glow { display: none; }
}
