/* ==========================================================================
   FLEXAPAY NEXT-GEN LANDING PAGE STYLES
   ========================================================================== */

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight-gold {
  color: var(--gold-primary);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  flex-direction: column;
}

.stat-pill .num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.stat-pill .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Hero Adaptive Cash Flow Repayment Widget */
.hero-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  position: relative;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.widget-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.profile-chip {
  flex: 1;
  padding: 0.5rem 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.profile-chip.active {
  background: rgba(79, 94, 255, 0.2);
  border-color: var(--indigo-accent);
  color: #fff;
}

.product-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.product-chip {
  flex: 1;
  padding: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.product-chip.active {
  background: rgba(245, 176, 65, 0.15);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.price-display-box {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  text-align: center;
}

.price-display-box .amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.price-display-box .subtitle {
  font-size: 0.82rem;
  color: var(--gold-light);
}

.flow-badge {
  display: block;
  font-size: 0.75rem;
  color: var(--cyan-accent);
  margin-bottom: 1rem;
  background: rgba(0, 210, 211, 0.1);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid rgba(0, 210, 211, 0.25);
}

.instalment-schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.schedule-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.4rem;
  text-align: center;
}

.schedule-step .step-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  white-space: nowrap;
}

.schedule-step .step-amount {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Value Props Section */
.value-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 176, 65, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-weight: 800;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Comparison Section */
.comparison-table-wrap {
  overflow-x: auto;
  margin-top: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-white);
  background: var(--bg-surface);
}

.comparison-table th.highlight-col {
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-gold);
  border-right: 1px solid var(--border-gold);
  color: var(--gold-primary);
}

.comparison-table td.highlight-col {
  background: rgba(245, 176, 65, 0.04);
  border-left: 1px solid var(--border-gold);
  border-right: 1px solid var(--border-gold);
  font-weight: 600;
  color: var(--gold-light);
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-white);
  font-weight: 600;
  font-size: 1.05rem;
  text-align: left;
  cursor: pointer;
}

.faq-question svg {
  transition: transform var(--transition-fast);
  color: var(--gold-primary);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #151c3f 0%, #1a224a 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.cta-banner h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col h5 {
  font-size: 0.95rem;
  color: var(--text-white);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}
