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

/* Variables */
:root {
  --ivory: #FAFAF7;
  --charcoal: #2C2C2C;
  --gold: #B8975C;
  --light-gray: #E8E6E1;
  --muted: #6B6B6B;
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Navigation */
.nav-bar {
  background-color: var(--charcoal);
}
nav {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.logo img {
  height: 165px;
  width: auto;
}
.tabs {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.tab {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.tab:hover { opacity: 0.85; }
.tab.active { border-bottom-color: var(--gold); }
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  background-color: var(--gold);
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}
.nav-cta:hover { opacity: 0.85; }

/* Hero */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  background-image: url('/FIDUCIA%20AI%20-%20Website%20Banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(250,250,247,0.55) 0%, rgba(250,250,247,0.45) 50%, rgba(250,250,247,0.60) 100%);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 38px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.3px;
  max-width: 780px;
  margin: 0 auto 32px;
}
.hero p {
  font-size: 17px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  background-color: var(--gold);
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}
.hero-cta:hover { opacity: 0.85; }

/* Page header (subpages) */
.page-header {
  padding: 90px 0 56px;
  text-align: center;
}
.page-header .section-eyebrow {
  margin-bottom: 20px;
}
.page-header h1 {
  font-size: 34px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.3px;
  max-width: 680px;
  margin: 0 auto;
}
.page-header .page-intro {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.8;
}

/* Divider */
.divider {
  width: 60px;
  height: 1px;
  background-color: var(--gold);
  margin: 0 auto;
}

/* Section heading shared */
.section-eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

/* Modules */
.modules { padding: 100px 0; }
.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
}
.module-card h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
}
.module-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Why section */
.why { padding: 100px 0; text-align: center; }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}
.why-item h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.why-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* How it works */
.how { padding: 100px 0; }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  text-align: center;
}
.how-step .step-number {
  font-size: 32px;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 16px;
}
.how-step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.how-step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}

/* Team */
.team { padding: 100px 0; text-align: center; }
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 640px;
  margin: 0 auto;
}
.team-member { text-align: center; }
.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: var(--light-gray);
  margin: 0 auto 20px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.team-member h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
}
.team-member .role {
  font-size: 14px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.team-member p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.linkedin-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.linkedin-cta:hover { opacity: 0.7; }
.linkedin-cta svg {
  width: 22px;
  height: 22px;
  display: block;
  color: var(--gold);
}

/* FAQ */
.faq { padding: 100px 0; }
.faq .container { max-width: 760px; }
.faq-category { margin-bottom: 56px; }
.faq-category:last-child { margin-bottom: 0; }
.faq-category-title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  text-align: center;
}
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 24px 0;
}
.faq-item:first-of-type { border-top: 1px solid var(--light-gray); }
.faq-item summary {
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 40px;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 26px;
  color: var(--gold);
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 16px;
}
.faq-item p + p { margin-top: 12px; }

/* CTA section */
.cta-section { padding: 100px 0; text-align: center; }
.cta-section h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 40px;
}
.cta-button {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ivory);
  background-color: var(--gold);
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s ease;
}
.cta-button:hover { opacity: 0.85; }

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--light-gray);
  text-align: center;
}
footer p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
footer a {
  color: var(--muted);
  text-decoration: none;
}
footer a:hover { color: var(--charcoal); }
.footer-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-linkedin:hover { opacity: 0.7; }
.footer-linkedin svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  nav { gap: 16px; }
  .logo img { height: 120px; }
  .tabs { gap: 20px; width: 100%; order: 3; }
  .nav-cta { padding: 10px 20px; font-size: 12px; }
  .hero { padding: 80px 0 60px; }
  .hero h1 { font-size: 30px; }
  .page-header { padding: 60px 0 40px; }
  .page-header h1 { font-size: 26px; }
  .modules-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .how-grid { grid-template-columns: 1fr; gap: 36px; }
  .team-grid { grid-template-columns: 1fr; gap: 48px; }
  .cta-section h2 { font-size: 26px; }
  .section-title { font-size: 26px; }
  .faq-item summary { font-size: 16px; }
}
