/* Shared stylesheet for FEGO FinTech solution detail pages.
   This is an exact copy of the CSS embedded in index.html's <style> block,
   extracted so the 16 standalone /fintech/<slug>/ pages don't each duplicate
   ~700 lines of CSS. index.html itself is untouched and keeps its own
   inline <style> block as-is. */

/* FIX: Make dropdown clickable */
.dropdown-content {
  z-index: 2001;
  pointer-events: auto;
}

nav {
  z-index: 2000;
}
/* Desktop hover behavior */
@media (min-width: 1025px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
}

/* Disable hover logic on mobile */
@media (max-width: 1024px) {
  .dropdown:hover .dropdown-content {
    display: none;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #06b6d4;
  --accent: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --gradient: linear-gradient(
    135deg,
    #6366f1 0%,
    #8b5cf6 50%,
    #06b6d4 100%
  );
  --gradient-alt: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.15);
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all 0.3s ease;
}

nav.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links > li > a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  user-select: none;
}

.nav-links > li > a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.3s ease;
}

.nav-links > li > a:hover {
  color: var(--primary);
}

.nav-links > li > a:hover::after {
  width: 100%;
}

.nav-links > li > a.is-active {
  color: var(--primary);
}

.nav-links > li > a.is-active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 280px;
  box-shadow: var(--shadow-lg);
  border-radius: 15px;
  margin-top: 1rem;
  padding: 1rem 0;
  animation: fadeIn 0.3s ease;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  width: 100%;
  height: 1rem;
  background: transparent;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content a {
  padding: 1rem 1.5rem;
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.dropdown-content a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 2rem;
}

.dropdown-content a.is-active {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 2rem;
}

/* Hero Section */
.hero {
  margin-top: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-alt);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  top: -400px;
  right: -400px;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  bottom: -300px;
  left: -300px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.8rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero-content .tagline {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 1.1rem 2.8rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary);
}

.btn-gradient {
  background: var(--gradient) !important;
  color: white !important;
  border: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Section Styles */
section {
  padding: 7rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -1px;
}

.section-header .subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-weight: 700;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.feature-card ul {
  margin-top: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.feature-card ul li {
  margin-bottom: 0.8rem;
}

/* Client Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.portfolio-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.client-logo {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.portfolio-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-weight: 700;
}

.portfolio-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.pricing-card {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
}

.pricing-card.featured {
  border: 3px solid var(--primary);
  transform: scale(1.05);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  background: var(--gradient);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 800;
}

.price {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 1.5rem 0;
}

.price-period {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.pricing-features {
  text-align: left;
  margin: 2rem 0;
}

.pricing-features li {
  padding: 0.8rem 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* Page Sections */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

/* Capability Grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.capability-card {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.05) 0%,
    rgba(139, 92, 246, 0.05) 100%
  );
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.capability-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.capability-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.capability-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-weight: 700;
}

.capability-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Content Box */
.content-box {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(139, 92, 246, 0.1) 100%
  );
  padding: 3rem;
  border-radius: 25px;
  margin-bottom: 4rem;
  border-left: 5px solid var(--primary);
}

.content-box h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.content-box p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Impact Stats */
.impact-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.before-metric,
.after-metric {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
}

.before-metric {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.1) 0%,
    rgba(239, 68, 68, 0.05) 100%
  );
}

.after-metric {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.metric-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.before-metric .metric-value {
  color: var(--danger);
}

.after-metric .metric-value {
  color: var(--success);
}

.comparison-arrow {
  font-size: 3rem;
  color: var(--primary);
}

/* Screenshot Gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.screenshot-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.screenshot-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.screenshot-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.screenshot-image.placeholder {
  border: 2px dashed rgba(255, 255, 255, 0.5);
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.screenshot-info {
  padding: 2rem;
}

.screenshot-info h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  font-weight: 700;
}

.screenshot-info p {
  color: var(--text-light);
  line-height: 1.6;
}

.screenshot-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  background: var(--gradient);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  margin-bottom: 0.8rem;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  padding: 5rem 2rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 0.8rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.footer-section a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 30px;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.4s ease;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(6px);
  padding: 2rem;
  align-items: center;
  justify-content: center;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: min(92vw, 1800px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.image-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.image-modal-caption {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
}

.image-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.image-modal-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
}

.image-modal-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.image-modal-prev {
  left: 1rem;
}

.image-modal-next {
  right: 1rem;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close:hover {
  color: var(--text-dark);
  background: var(--bg-light);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .modal-content {
    padding-top: 3.75rem;
  }

  .close {
    top: 0.85rem;
    right: 0.85rem;
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    z-index: 2;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.submit-btn {
  width: 100%;
  padding: 1.3rem 2rem;
  background: var(--gradient);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

/* PDF Container */
.pdf-container {
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.pdf-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Success Message */
.success-message {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
  border-left: 4px solid var(--success);
  padding: 1.5rem;
  border-radius: 12px;
  margin: 1rem 0;
  display: none;
}

.success-message.active {
  display: block;
}

.success-message.error {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.12) 0%,
    rgba(239, 68, 68, 0.06) 100%
  );
  border-left-color: var(--danger);
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .impact-comparison {
    grid-template-columns: 1fr;
  }

  .comparison-arrow {
    transform: rotate(90deg);
  }

  /* Mobile alignment tune-up: center visual blocks, keep lists readable */
  .feature-card,
  .capability-card,
  .content-box,
  .screenshot-info,
  .portfolio-card,
  .pricing-card,
  .stat-item {
    text-align: center;
  }

  .feature-icon,
  .capability-icon,
  .client-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .feature-card ul,
  .pricing-features,
  .pricing-features ul {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
}

html {
  scroll-behavior: smooth;
}
/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.mobile-only-cta {
  display: none;
}

.menu-backdrop {
  display: none;
}

/* Mobile Nav */
@media (max-width: 1024px) {
  .burger {
    display: flex;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .mobile-only-cta {
    display: block;
    padding: 1rem 2rem;
  }

  .mobile-only-cta .nav-cta {
    display: block !important;
    width: 100%;
    text-align: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.76);
    -webkit-backdrop-filter: blur(11px) saturate(145%);
    backdrop-filter: blur(11px) saturate(145%);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: var(--shadow-md);
    padding: 1rem 0 1.25rem;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    z-index: 1002;
  }

  .nav-links.active {
    display: flex;
  }

  .burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.13);
    -webkit-backdrop-filter: blur(14px) saturate(145%);
    backdrop-filter: blur(14px) saturate(145%);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    display: block;
  }

  .menu-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: left;
  }

  .nav-links a {
    padding: 1rem 2rem;
    width: 100%;
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 1rem;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Additions below this line are NEW — used only by the FinTech
   solution detail pages (/fintech/<slug>/index.html). Nothing
   above this line differs from index.html's existing CSS.
   ============================================================ */

/* Breadcrumb (solution detail page hero) */
.breadcrumb {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0.5rem;
}

/* Numbered workflow step badge */
.step-number-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* FAQ accordion */
.faq-item {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: inherit;
}

.faq-question .faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 2rem;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.8;
}
