/* ══════════════════════════════════════════════════════════════
   Finhanced Inc. — Index / Homepage Styles
   ══════════════════════════════════════════════════════════════ */

/* ── INDEX HERO (overrides) ── */
.hero-content {
  max-width: 720px;
  padding: 140px 0 100px;
}
.trust-bar {
  padding: 28px 0;
}

/* ── ABOUT ── */
.about {
  padding: 100px 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 0 0 4px 4px;
}
.about-card-number {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(125,219,192,0.12);
  line-height: 1;
  margin-bottom: 12px;
}
.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.about-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.about-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  opacity: 0.2;
}
.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.about-text p:first-of-type {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* ── SERVICES / PRODUCTS ── */
.services {
  padding: 100px 0;
  background: var(--gray-100);
  position: relative;
}
.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: 10px;
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  transition: all 0.4s cubic-bezier(.25,.8,.25,1);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,26,26,0.1);
  border-color: transparent;
}
.service-card:hover::before {
  height: 100%;
}
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── SBLC SECTION ── */
.sblc {
  padding: 100px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.sblc::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, rgba(125,219,192,0.05), transparent);
  pointer-events: none;
}
.sblc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sblc .section-title { color: var(--white); }
.sblc-intro {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.advantage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.advantage-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.advantage-dot {
  width: 10px;
  height: 10px;
  min-width: 10px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
}
.advantage-item h4 {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
}
.advantage-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
.sblc-faq {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(125,219,192,0.12);
  border-radius: 12px;
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
  user-select: none;
}
.faq-question:hover { color: var(--gold); }
.faq-toggle {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform 0.3s;
  min-width: 20px;
  text-align: center;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer-inner {
  padding: 0 28px 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

/* ── PROCESS ── */
.process {
  padding: 100px 0;
  background: var(--white);
}
.process-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dim), var(--gold));
}
.process-step {
  text-align: center;
  position: relative;
  padding: 0 16px;
}
.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}
.process-step:hover .step-number {
  background: var(--gold);
  color: var(--navy);
  transition: all 0.3s;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── CTA BANNER ── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  border-radius: 50%;
  border: 1px solid rgba(125,219,192,0.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  border: 1px solid rgba(125,219,192,0.06);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  max-width: 500px;
}

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: var(--gray-100);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info { padding-top: 12px; }
.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  color: var(--gray-600);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--gold-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.contact-detail h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 4px;
}
.contact-detail a,
.contact-detail span {
  font-size: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
}
.contact-detail a:hover { color: var(--gold); }
.contact-form {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(26,26,26,0.06);
  border: 1px solid var(--gray-200);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.3s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── intl-tel-input overrides ── */
.iti { width: 100%; }
.iti input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  color: var(--text-body);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.3s;
}
.iti input[type="tel"]:focus {
  outline: none;
  border-color: var(--gold);
}
.iti input[type="tel"]::placeholder { color: var(--gray-400); }
.iti__selected-country {
  background: transparent;
  border-right: 1px solid var(--gray-200);
  padding: 0 8px 0 10px;
}
.iti__selected-country:hover { background: var(--gray-100); }
.iti__selected-dial-code { color: var(--text-body); font-size: 0.88rem; margin-left: 4px; }
.iti__arrow { border-top-color: var(--gray-400); }
.iti__arrow--up { border-bottom-color: var(--gray-400); border-top: none; }
.iti__dropdown-content {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.iti__search-input {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  color: var(--text-body);
  padding: 8px 12px;
  font-family: inherit;
}
.iti__country { color: var(--text-body); padding: 8px 12px; }
.iti__country:hover,
.iti__country.iti__highlight { background: var(--gray-100); }
.iti__dial-code { color: var(--gray-400); }
.iti__divider { border-bottom-color: var(--gray-200); }

/* ── PARTNERS ── */
.partners {
  padding: 60px 0;
  background: var(--gray-100);
  text-align: center;
}
.partners-header {
  margin-bottom: 40px;
}
.partners-header .section-label { justify-content: center; }
.partners-logos {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.partner-item {
  padding: 16px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.03em;
  transition: all 0.3s;
}
.partner-item:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 4px 16px rgba(125,219,192,0.1);
}
.partners-note {
  font-size: 0.82rem;
  color: var(--gray-400);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testimonials {
  padding: 100px 0;
  background: var(--gray-100);
}
.testimonials-header {
  margin-bottom: 48px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26,26,26,0.08);
}
.testimonial-quote {
  margin-bottom: 28px;
}
.testimonial-quote svg {
  margin-bottom: 16px;
}
.testimonial-quote p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ── LIGHT MODE OVERRIDES ── */
/* Light mode: keep dark sections dark */
[data-theme="light"] .about-card { background: #1a1a1a; }
[data-theme="light"] .about-card h3 { color: #ffffff; }
[data-theme="light"] .about-card p { color: rgba(255,255,255,0.6); }
[data-theme="light"] .about-card-number { color: rgba(125,219,192,0.12); }
[data-theme="light"] .sblc { background: #1a1a1a; }
[data-theme="light"] .sblc .section-title { color: #ffffff; }
[data-theme="light"] .sblc .sblc-intro { color: rgba(255,255,255,0.65); }
[data-theme="light"] .sblc .advantage-item h4 { color: #ffffff; }
[data-theme="light"] .sblc .advantage-item p { color: rgba(255,255,255,0.55); }
[data-theme="light"] .sblc .section-label { color: var(--gold); }
[data-theme="light"] .sblc .faq-toggle { color: rgba(255,255,255,0.4); }
[data-theme="light"] .sblc-faq { background: rgba(255,255,255,0.04); border-color: rgba(125,219,192,0.12); }
[data-theme="light"] .sblc .faq-question { color: rgba(255,255,255,0.8); }
[data-theme="light"] .sblc .faq-answer-inner { color: rgba(255,255,255,0.5); }
[data-theme="light"] .sblc .faq-item { background: transparent; border-color: rgba(255,255,255,0.06); }
/* Trade Gateway section (inline dark bg) — keep text white */
[data-theme="light"] #trade-gateway .section-title { color: #ffffff; }
[data-theme="light"] #trade-gateway .section-label { color: var(--gold); }
[data-theme="light"] #trade-gateway .btn-outline,
[data-theme="light"] .cta-banner .btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
[data-theme="light"] #trade-gateway .btn-outline:hover,
[data-theme="light"] .cta-banner .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
/* CTA banner keeps dark bg */
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #222222 50%, #2d2d2d 100%);
}
[data-theme="light"] .cta-text h2 { color: #ffffff; }
[data-theme="light"] .cta-text p { color: rgba(255,255,255,0.6); }
[data-theme="light"] .partners { background: #f0f7f4; }
[data-theme="light"] .partner-item { background: #fff; border-color: #dce4e1; color: #8f9a95; }
[data-theme="light"] .partner-item:hover { color: #1a9e7a; border-color: #1a9e7a; }
[data-theme="light"] .testimonials { background: #f0f7f4; }
[data-theme="light"] .testimonial-card { background: #fff; border-color: #dce4e1; }
[data-theme="light"] .contact { background: #f0f7f4; }
[data-theme="light"] .contact-form { background: #fff; border-color: #dce4e1; }
[data-theme="light"] .services { background: #f0f7f4; }
[data-theme="light"] .service-card { background: #fff; border-color: #dce4e1; }
[data-theme="light"] .process .step-number { background: #fff; }

/* ── INDEX RESPONSIVE ── */
@media (max-width: 1024px) {
  .about-grid,
  .sblc-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .partners-logos { gap: 12px; }
  .partner-item { padding: 12px 20px; font-size: 0.82rem; }
}
