/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0066FF;
  --teal: #00A8A8;
  --dark-navy: #1a1f3a;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #e0e0e0;
  --white: #ffffff;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

/* ===== HEADER / NAVBAR ===== */
header {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  header.scrolled .navbar-container {
    height: 60px;
  }
  
  header.scrolled .logo-text {
    font-size: 18px;
  }
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  color: var(--primary-blue);
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.navbar-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
  color: var(--white);
  border: none;
  padding: 6px 12px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
  position: relative;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== MAIN CONTENT ===== */
main {
  min-height: calc(100vh - 70px - 400px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #f0ffff 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--primary-blue);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero h1 .highlight {
  color: var(--teal);
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
}

.hero-authors {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.author-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-dot {
  width: 16px;
  height: 16px;
  background-color: var(--primary-blue);
  border-radius: 50%;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 20px;
}

.section-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-title .highlight {
  color: var(--teal);
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 60px;
}

/* ===== CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.card {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-section p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-blue);
  border: none;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 60px 20px 20px;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: var(--white);
}

.footer-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
}

.btn-footer {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-top: 10px;
  transition: transform 0.2s ease;
}

.btn-footer:hover {
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .navbar-menu.active {
    display: flex;
  }

  .navbar-menu .nav-link {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-light);
  }

  .hamburger {
    display: flex;
  }

  /* Hide CTA button on mobile */
  .navbar-container > .btn-primary {
    display: none;
  }

  /* Carousel CTA button - normal size, not full width */
  .contributors-carousel-wrapper + div .btn-primary {
    display: inline-block;
    width: auto;
    padding: 14px 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-section h2 {
    font-size: 32px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-authors {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

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

/* ===== CONTRIBUTORS CAROUSEL ===== */
.contributors-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.contributors-carousel-track {
  display: flex;
  gap: 24px;
  animation: scroll 25s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000px;
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
}

.contributors-carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-1 * (320px + 24px) * 11), 0, 0);
  }
}

/* Smooth rendering optimization */
.contributors-carousel-track * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.contributor-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contributor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.contributor-card img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--light-bg);
  display: block;
}

.contributor-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.contributor-card p {
  font-size: 14px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #0077B5;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 119, 181, 0.3);
}

.linkedin-btn:hover {
  background-color: #005582;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 119, 181, 0.4);
}

.linkedin-btn svg {
  fill: white;
  flex-shrink: 0;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
  .contributor-card {
    flex: 0 0 280px;
  }
  
  .contributor-card img {
    max-width: 240px;
  }
  
  .contributors-carousel-track {
    gap: 20px;
  }
}

/* Mobile responsiveness for carousel */
@media (max-width: 768px) {
  .contributor-card {
    flex: 0 0 260px;
    padding: 20px;
  }
  
  .contributor-card img {
    max-width: 220px;
  }
  
  .contributor-card h4 {
    font-size: 20px;
  }
  
  .contributor-card p {
    font-size: 13px;
  }
  
  .linkedin-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  .contributors-carousel-track {
    animation: scroll 20s linear infinite;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .contributor-card {
    flex: 0 0 240px;
    padding: 16px;
  }
  
  .contributor-card img {
    max-width: 200px;
  }
  
  .contributors-carousel-track {
    animation: scroll 16s linear infinite;
  }
}

/* ===== BENEFIT CARDS (Why TrustFlow) ===== */
.benefit-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 30px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--teal);
}

.benefit-featured {
  background: linear-gradient(135deg, #00A8A8 0%, #008888 100%);
  color: white;
  transform: scale(1.05);
}

.benefit-featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.benefit-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: #FFD700;
  color: #1a1f3a;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefit-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 168, 168, 0.1);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.benefit-featured .benefit-number {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.benefit-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.benefit-featured .benefit-title {
  color: white;
}

.benefit-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 20px;
}

.benefit-featured .benefit-description {
  color: rgba(255, 255, 255, 0.95);
}

.benefit-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  padding: 10px 16px;
  background: rgba(0, 168, 168, 0.1);
  border-radius: 8px;
  display: inline-block;
}

.benefit-featured .benefit-value {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* Premium Credential Cards */
.credential-card {
  background: linear-gradient(135deg, rgba(0, 168, 168, 0.05) 0%, rgba(0, 168, 168, 0.02) 100%);
  border: 2px solid var(--teal);
  position: relative;
  overflow: hidden;
}

.credential-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal) 0%, #008888 100%);
}

.credential-card:hover {
  background: linear-gradient(135deg, rgba(0, 168, 168, 0.08) 0%, rgba(0, 168, 168, 0.04) 100%);
  border-color: #008888;
}

.credential-card .benefit-icon {
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 8px rgba(0, 168, 168, 0.2));
}

.credential-card .benefit-title {
  font-size: 26px;
  background: linear-gradient(135deg, var(--teal) 0%, #008888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.credential-card .benefit-value {
  background: var(--teal);
  color: white;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== TIMELINE ===== */
.timeline-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline-item {
  text-align: center;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(50% + 50px);
  width: calc(100% - 60px);
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.timeline-complete .timeline-circle {
  background: #4CAF50;
  border-color: #4CAF50;
  color: white;
}

.timeline-active .timeline-circle {
  background: #FFD700;
  border-color: #FFD700;
  color: #1a1f3a;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.timeline-content p {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
}

.timeline-status {
  display: inline-block;
  font-size: 13px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-weight: 600;
}

.timeline-active .timeline-status {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

/* ===== VALUE & PRICING ===== */
.value-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 12px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.value-item:hover {
  background: rgba(0, 168, 168, 0.05);
  transform: translateX(5px);
}

.value-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.value-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.value-item p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.value-price {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
}

.pricing-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--teal);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
  color: white;
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 20px 0;
}

.pricing-currency {
  font-size: 32px;
  font-weight: 700;
  color: var(--teal);
  margin-right: 8px;
  margin-top: 12px;
}

.pricing-number {
  font-size: 72px;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}

/* ===== BOOK SHOWCASE ===== */
.book-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.book-item {
  text-align: center;
}

.book-label {
  display: inline-block;
  background: var(--teal);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.book-item img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin-bottom: 20px;
}

.book-item img:hover {
  transform: translateY(-8px);
}

.book-item p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== FAQ GRID ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.faq-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.faq-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--teal);
}

.faq-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.faq-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.faq-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1024px) {
  .timeline-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-item::after {
    display: none;
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .benefit-card {
    padding: 30px 24px;
  }
  
  .benefit-featured {
    transform: scale(1);
  }
  
  .benefit-featured:hover {
    transform: translateY(-8px);
  }
  
  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .value-item {
    flex-direction: column;
    gap: 12px;
  }
  
  .pricing-number {
    font-size: 56px;
  }
  
  .book-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .benefit-title {
    font-size: 20px;
  }
  
  .benefit-description {
    font-size: 14px;
  }
  
  .pricing-card {
    padding: 30px 24px;
  }
  
  .pricing-number {
    font-size: 48px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* ===== MOBILE RESPONSIVE FOR INLINE GRID SECTIONS ===== */
@media (max-width: 768px) {
  /* What is TrustFlow section - 2fr 3fr grid */
  .section > .container > div[style*="grid-template-columns: 2fr 3fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  /* Reorder What is TrustFlow: image after heading/subheading on mobile */
  .section > .container > div[style*="grid-template-columns: 2fr 3fr"] > div:first-child {
    order: 2;
  }
  
  .section > .container > div[style*="grid-template-columns: 2fr 3fr"] > div:last-child {
    order: 1;
  }
  
  /* Make image full width on mobile for What is TrustFlow */
  .section > .container > div[style*="grid-template-columns: 2fr 3fr"] img {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* TrustFlow Journal section - 3fr 2fr grid - reorder for mobile */
  .section > .container > div[style*="grid-template-columns: 3fr 2fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  /* Image should come after heading/subheading in Journal section */
  .section > .container > div[style*="grid-template-columns: 3fr 2fr"] > div:first-child {
    order: 1;
  }
  
  .section > .container > div[style*="grid-template-columns: 3fr 2fr"] > div:last-child {
    order: 2;
  }
  
  /* Make Journal image full width on mobile */
  .section > .container > div[style*="grid-template-columns: 3fr 2fr"] img {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  /* Benefits section - 3 columns */
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Page Sample section - 1fr 1fr grid */
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  /* Investment section - value & pricing columns */
  div[style*="grid-template-columns: 1fr 1fr"][style*="max-width: 1100px"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  
  /* Reverse order for page sample - image first on mobile */
  .section div[style*="grid-template-columns: 1fr 1fr"][style*="align-items: center"] > div:first-child {
    order: 2;
  }
  
  .section div[style*="grid-template-columns: 1fr 1fr"][style*="align-items: center"] > div:last-child {
    order: 1;
  }
  
  /* Make Page Sample image full width on mobile */
  .section div[style*="grid-template-columns: 1fr 1fr"][style*="align-items: center"] img {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px;
  }
  
  /* Adjust padding for mobile */
  .section {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 20px;
  }
  
  /* Hero adjustments */
  .hero {
    padding: 80px 0;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  /* Section subtitles */
  .section-subtitle {
    font-size: 16px;
  }
  
  /* CTA section */
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-section h2 {
    font-size: 28px;
  }
  
  .cta-section p {
    font-size: 16px;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
}

/* Small mobile optimizations */
@media (max-width: 480px) {
  .section {
    padding: 40px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 26px;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 15px;
  }
}
