/* ==========================================
   FinStry Landing Page — Dark Moody Design
   ========================================== */

/* BASE */
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: #0B0F1A;
  color: #E2E8F0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(245,158,11,0.1);
  background: rgba(11,15,26,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #F59E0B;
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 13px;
  color: #64748B;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #F59E0B;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
  font-family: 'Sora', sans-serif;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F59E0B;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-headline {
  font-family: 'Sora', sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #F8FAFC;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  color: #94A3B8;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.btn-primary {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0B0F1A;
  background: #F59E0B;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #FBBF24; transform: translateY(-1px); }
.btn-ghost {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #94A3B8;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,0.2);
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { color: #E2E8F0; border-color: rgba(148,163,184,0.4); }
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; }
.proof-num {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #F59E0B;
}
.proof-label { font-size: 12px; color: #64748B; text-transform: uppercase; letter-spacing: 1px; }
.proof-divider { width: 1px; height: 32px; background: rgba(148,163,184,0.2); }

/* HERO PANEL */
.hero-panel {
  background: rgba(17,24,39,0.8);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.panel-label {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F59E0B;
  margin-bottom: 16px;
}
.role-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.role-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.role-item:hover { background: rgba(245,158,11,0.05); border-color: rgba(245,158,11,0.1); }
.role-active { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); }
.role-icon { font-size: 18px; width: 28px; text-align: center; }
.role-name { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; color: #F8FAFC; }
.role-desc { font-size: 11px; color: #64748B; }
.role-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: #F59E0B;
  background: rgba(245,158,11,0.12);
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.role-more { opacity: 0.7; }
.panel-company { padding-top: 20px; border-top: 1px solid rgba(148,163,184,0.1); }
.company-label { font-family: 'Sora', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #F59E0B; margin-bottom: 12px; }
.company-chips { display: flex; gap: 8px; }
.chip {
  font-size: 12px;
  font-weight: 500;
  color: #64748B;
  background: rgba(148,163,184,0.08);
  border: 1px solid rgba(148,163,184,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { color: #E2E8F0; border-color: rgba(148,163,184,0.3); }
.chip-active { color: #0B0F1A; background: #F59E0B; border-color: #F59E0B; font-weight: 600; }

/* HERO GRID BG */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* SECTION COMMON */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #F59E0B;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #F8FAFC;
}
.section-sub { font-size: 17px; color: #64748B; max-width: 600px; margin: 16px auto 0; }

/* THE PROBLEM */
.the-problem { padding: 120px 0; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.problem-card {
  background: rgba(17,24,39,0.6);
  border: 1px solid rgba(245,158,11,0.1);
  border-radius: 16px;
  padding: 32px;
}
.problem-stat {
  font-family: 'Sora', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #F59E0B;
  margin-bottom: 12px;
  line-height: 1;
}
.problem-text { font-size: 15px; color: #94A3B8; line-height: 1.6; }
.problem-quote {
  border-left: 2px solid #F59E0B;
  padding-left: 24px;
  max-width: 600px;
}
.problem-quote p { font-size: 18px; font-style: italic; color: #CBD5E1; line-height: 1.7; margin-bottom: 8px; }
.quote-attr { font-size: 13px; color: #64748B; }

/* HOW IT WORKS */
.how-it-works { padding: 120px 0; background: rgba(17,24,39,0.4); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(16.67% + 24px);
  right: calc(16.67% + 24px);
  height: 1px;
  background: linear-gradient(90deg, rgba(245,158,11,0.3), rgba(245,158,11,0.3));
}
.step-card { padding-top: 16px; }
.step-num {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #F59E0B;
  letter-spacing: 1px;
  margin-bottom: 20px;
  display: block;
}
.step-icon { margin-bottom: 20px; }
.step-title {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 12px;
}
.step-desc { font-size: 15px; color: #64748B; line-height: 1.7; }

/* ROLES SECTION */
.roles-section { padding: 120px 0; }
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.role-card {
  background: rgba(17,24,39,0.6);
  border: 1px solid rgba(148,163,184,0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}
.role-card:hover {
  border-color: rgba(245,158,11,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.role-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.role-card-icon { font-size: 24px; }
.role-card-tag {
  font-size: 10px;
  font-weight: 600;
  color: #64748B;
  background: rgba(148,163,184,0.08);
  border: 1px solid rgba(148,163,184,0.15);
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.role-card-title {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 10px;
}
.role-card-desc { font-size: 13px; color: #64748B; line-height: 1.6; margin-bottom: 16px; }
.role-card-keywords { display: flex; flex-wrap: wrap; gap: 6px; }
.kw {
  font-size: 11px;
  color: #F59E0B;
  background: rgba(245,158,11,0.08);
  padding: 3px 8px;
  border-radius: 4px;
}
.roles-cta { text-align: center; }
.roles-cta-text { font-size: 15px; color: #64748B; }

/* CLOSING */
.closing {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.closing-content { position: relative; z-index: 2; text-align: center; }
.closing-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  color: #F8FAFC;
  margin-bottom: 24px;
}
.closing-sub { font-size: 18px; color: #64748B; max-width: 560px; margin: 0 auto 48px; line-height: 1.7; }
.closing-model {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
}
.model-item { text-align: center; }
.model-label { display: block; font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; color: #F59E0B; margin-bottom: 4px; }
.model-desc { font-size: 13px; color: #64748B; }
.model-sep { font-size: 24px; color: rgba(148,163,184,0.2); font-weight: 300; }
.closing-tagline {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  color: #475569;
  font-weight: 400;
  letter-spacing: 0.5px;
}
.closing-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,158,11,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,158,11,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 100%, black 0%, transparent 100%);
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(148,163,184,0.08);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #F59E0B;
  display: block;
  margin-bottom: 8px;
}
.footer-tagline { font-size: 14px; color: #64748B; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #F59E0B;
  margin-bottom: 4px;
}
.footer-link { font-size: 14px; color: #64748B; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: #94A3B8; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,0.08); padding: 24px 32px 0; max-width: 1200px; margin: 0 auto; }
.footer-copy { font-size: 13px; color: #334155; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 480px; }
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; }
  .section-inner { padding: 0 20px; }
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid::before { display: none; }
  .roles-grid { grid-template-columns: 1fr; }
  .closing-model { flex-direction: column; gap: 16px; }
  .model-sep { display: none; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-direction: column; gap: 32px; }
  .hero-social-proof { flex-wrap: wrap; }
  .hero-actions { flex-direction: column; }
}