/* ═══════════════════════════════════════════════════════════════════════
   FinancialGeeks — Custom styles
   ═══════════════════════════════════════════════════════════════════════ */

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ── NAVBAR ────────────────────────────────────────────────────────── */
#navbar { background: transparent; }
#navbar .nav-text   { color: #fff; }
#navbar .nav-accent { color: #5BA3E8; }
#navbar .nav-links a { color: rgba(230, 241, 251, 0.85); }
#navbar .mobile-btn  { color: #fff; }

#navbar.scrolled {
  background: rgba(4, 44, 83, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.15);
}

/* ── HERO GRID PATTERN ─────────────────────────────────────────────── */
.hero-grid {
  background-image:
    linear-gradient(rgba(55, 138, 221, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 138, 221, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

/* ── REVEAL ON SCROLL ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROBLEM CARDS ─────────────────────────────────────────────────── */
.problem-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(4, 44, 83, 0.05), 0 8px 30px rgba(4, 44, 83, 0.06);
  border: 1px solid rgba(4, 44, 83, 0.06);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 6px rgba(4, 44, 83, 0.05), 0 20px 50px rgba(55, 138, 221, 0.15);
  border-color: rgba(55, 138, 221, 0.3);
}
.problem-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #E6F1FB 0%, #F4F9FE 100%);
  color: #378ADD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(55, 138, 221, 0.18);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.problem-card:hover .problem-icon {
  background: linear-gradient(135deg, #378ADD 0%, #5BA3E8 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 12px 30px rgba(55, 138, 221, 0.35);
}

/* ── PRODUCT CARDS ─────────────────────────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(4, 44, 83, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(55, 138, 221, 0.18);
  border-color: rgba(55, 138, 221, 0.4);
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #378ADD, #5BA3E8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.product-card:hover::before { transform: scaleX(1); }

.product-featured {
  background: linear-gradient(135deg, #042C53 0%, #0B3E6E 100%);
  color: #fff;
  border-color: #378ADD;
}
.product-featured h3 { color: #fff; }
.product-featured .product-icon {
  background: rgba(55, 138, 221, 0.2);
  color: #5BA3E8;
}
.product-featured p { color: rgba(230, 241, 251, 0.85); }
.product-featured ul li { color: rgba(230, 241, 251, 0.9); }
.product-featured .product-cta {
  background: #378ADD;
  color: #fff;
}
.product-featured .product-cta:hover { background: #5BA3E8; }

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #F5C87A, #FFD89C);
  color: #042C53;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E6F1FB, #f4f9fe);
  color: #378ADD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.product-icon-sm {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: #E6F1FB;
  color: #378ADD;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #042C53;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: auto;
}
.product-cta:hover {
  background: #378ADD;
  transform: translateX(4px);
}

.product-link {
  color: #378ADD;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.product-link:hover {
  color: #042C53;
  transform: translateX(4px);
}

/* ── STEP CARDS ────────────────────────────────────────────────────── */
.step-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}
.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  border-color: rgba(55, 138, 221, 0.4);
}
.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #378ADD, #5BA3E8);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(55, 138, 221, 0.4);
}

/* ── BENEFIT ROWS ──────────────────────────────────────────────────── */
.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 16px;
  transition: background 0.3s ease;
}
.benefit-row:hover { background: rgba(55, 138, 221, 0.06); }
.benefit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #E6F1FB 0%, #F4F9FE 100%);
  color: #378ADD;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(55, 138, 221, 0.15);
  transition: all 0.3s ease;
}
.benefit-row:hover .benefit-icon {
  background: linear-gradient(135deg, #378ADD 0%, #5BA3E8 100%);
  color: #fff;
  border-color: transparent;
  transform: scale(1.05);
}

/* ── TESTIMONIAL CARDS ─────────────────────────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid rgba(4, 44, 83, 0.08);
  box-shadow: 0 4px 30px rgba(4, 44, 83, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(55, 138, 221, 0.15);
}

/* ── FAQ ───────────────────────────────────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid rgba(4, 44, 83, 0.08);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}
.faq-item:hover { border-color: rgba(55, 138, 221, 0.3); }
.faq-item[open] {
  border-color: rgba(55, 138, 221, 0.5);
  box-shadow: 0 8px 30px rgba(55, 138, 221, 0.1);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #042C53;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.8rem;
  font-weight: 300;
  color: #378ADD;
  transition: transform 0.3s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: rgba(4, 44, 83, 0.75);
  margin-top: 1rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── FORM ──────────────────────────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-input::placeholder { color: rgba(230, 241, 251, 0.4); }
.form-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: #5BA3E8;
  box-shadow: 0 0 0 3px rgba(91, 163, 232, 0.2);
}
select.form-input option {
  background: #042C53;
  color: #fff;
}

/* ── CONTACT INFO ROWS ─────────────────────────────────────────────── */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
}
.contact-info-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(55, 138, 221, 0.4);
  transform: translateX(4px);
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(55, 138, 221, 0.15);
  color: #5BA3E8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── SOCIAL ICONS ──────────────────────────────────────────────────── */
.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(230, 241, 251, 0.7);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: #378ADD;
  color: #fff;
  border-color: #378ADD;
  transform: translateY(-3px);
}

/* ── SCROLLBAR ─────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #E6F1FB; }
::-webkit-scrollbar-thumb { background: #378ADD; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #042C53; }

/* ── RESPONSIVE TWEAKS ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .step-card { padding: 2rem 1.5rem; }
  .testimonial-card { padding: 1.5rem; }
  .product-card { padding: 1.5rem; }
}
