/* ===== CSS Variables ===== */
:root {
  --primary: #1ca85a;
  --primary-dark: #168a4a;
  --primary-light: #e8f5ee;
  --foreground: #1a1d23;
  --background: #ffffff;
  --muted: #f4f5f7;
  --muted-foreground: #6b7280;
  --border: #e5e7eb;
  --card: #ffffff;
  --destructive: #ef4444;
  --radius: 0.75rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.footer-link:focus-visible,
.nav-link:focus-visible,
.mobile-menu-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* ===== Utility Classes ===== */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 3rem; }
}

.section-padding {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .section-padding { padding: 4.9rem 0; }
}

@media (min-width: 1024px) {
  .section-padding { padding: 6rem 0; }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #ffffff; }

.bg-white { background-color: #ffffff; }
.bg-muted { background-color: var(--muted); }
.bg-primary { background: linear-gradient(135deg, var(--primary), #138a48); }
.bg-dark { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05), transparent 40%), var(--foreground); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

.grid { display: grid; }

.hidden { display: none; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--foreground);
}

.btn-outline:hover {
  background-color: var(--foreground);
  color: #ffffff;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  background-color: #f3f4f6;
}

.btn-white-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-white-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-ghost {
  background-color: transparent;
  color: var(--foreground);
}

.btn-ghost:hover {
  background-color: var(--muted);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ===== Header/Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background-color: #ffffff;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 768px) {
  .nav { height: 5rem; }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 2.5rem;
  width: auto;
}

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

@media (min-width: 1024px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

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

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-actions { display: flex; }
}

.nav-toggle {
  display: flex;
  padding: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 12rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.15s ease;
}

.nav-dropdown-item:hover {
  color: var(--foreground);
  background-color: var(--muted);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu-link {
  display: block;
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mobile-menu-link:hover {
  color: var(--foreground);
}

.mobile-menu-cta {
  margin-top: 1rem;
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 0;
  background: #ffffff;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-top: -2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto 1rem;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; justify-content: center; }
}

.hero-image {
  max-width: 220px;
  margin: 0 auto;
  background-color: #ffffff;
}

@media (max-width: 640px) {
  .hero-image { max-width: 160px; }
}

/* Backed By Label */
.backed-by-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.backed-by-grid {
  gap: 3rem;
}

.backed-by-grid .logo-item {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.backed-by-grid .logo-item:hover {
  opacity: 1;
}

/* ===== Stats Bar ===== */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .stats-bar { gap: 4rem; }
}

@media (min-width: 1024px) {
  .stats-bar { gap: 6rem; }
}

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

.stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
}

@media (min-width: 768px) {
  .stat-value { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .stat-value { font-size: 3.75rem; }
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  max-width: 150px;
}

@media (min-width: 768px) {
  .stat-label { font-size: 1rem; }
}

/* Stats bar light variant (white background) */
.stats-bar-light .stat-value {
  color: var(--primary);
}

.stats-bar-light .stat-label {
  color: var(--foreground);
}

.stats-section {
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .stats-section { margin-bottom: 5rem; }
}

/* ===== Partners Banner ===== */
.partners-banner {
  padding: calc(3rem + 90px) 0 2rem;
  background-color: #ffffff;
  text-align: center;
}

@media (min-width: 768px) {
  .partners-banner {
    padding: calc(4rem + 50px) 0 2.5rem;
  }
}

.partners-heading {
  text-align: center;
  margin-bottom: 1.25rem;
}

.partners-image {
  width: 100%;
  margin-top: 4rem;
  border-radius: 3rem;
  box-shadow: var(--shadow-lg);
}

/* ===== Feature Cards ===== */
.feature-card {
  background-color: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.3);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card .feature-description {
  flex-grow: 1;
}

.feature-card:hover {
  border-color: rgba(28, 168, 90, 0.2);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-icon.center {
  margin-left: auto;
  margin-right: auto;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.625;
}

.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: gap 0.2s ease;
  white-space: nowrap;
}

.feature-card:hover .learn-more-link {
  gap: 0.625rem;
}

.learn-more-link svg {
  transition: transform 0.2s ease;
}

.feature-card:hover .learn-more-link svg {
  transform: translateX(2px);
}

.team-photo {
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 1.5rem;
  object-fit: cover;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}

.story-image-wrapper {
  border-radius: 1rem;
  overflow: hidden;
}

.story-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.team-role {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.team-linkedin-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--muted);
  color: var(--muted-foreground);
  transition: all 0.2s ease;
}

.team-linkedin:hover {
  background-color: #0077b5;
  color: #ffffff;
}
/* ===== Section Headings ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1.125rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1.125rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3rem; }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.7;
}

.section-surface {
  background-color: #ffffff;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
}

.section-surface-alt {
  background-color: #f4f6f8;
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .section-surface {
    padding: 3.5rem 3rem;
    border-radius: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .section-surface {
    padding: 4rem 3.5rem;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #15803d);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cta-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .cta-title { font-size: 3rem; }
}

/* ===== Footer ===== */
.footer {
  padding: 4rem 0 2rem;
  background-color: var(--muted);
  border-top: 1px solid var(--border);
}

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

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(5, 1fr); }
}

.footer-brand {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .footer-brand { grid-column: span 1; }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-social-link:hover {
  background-color: var(--primary-light);
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

.footer-link {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===== Dashboard Preview ===== */
.dashboard-preview {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.dashboard-title {
  font-weight: 700;
  color: var(--foreground);
}

.dashboard-dots {
  display: flex;
  gap: 0.5rem;
}

.dashboard-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
}

.dashboard-dot.red { background-color: rgba(239, 68, 68, 0.5); }
.dashboard-dot.yellow { background-color: rgba(234, 179, 8, 0.5); }
.dashboard-dot.green { background-color: rgba(28, 168, 90, 0.5); }

.dashboard-chart {
  background-color: var(--muted);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 8rem;
  gap: 0.5rem;
}

.chart-bar {
  flex: 1;
  background-color: rgba(28, 168, 90, 0.8);
  border-radius: 0.25rem 0.25rem 0 0;
  transition: background-color 0.2s ease;
}

.chart-bar:hover {
  background-color: var(--primary);
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

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

.dashboard-stat {
  background-color: var(--muted);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
}

.dashboard-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Page Header ===== */
.page-header {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .page-header { padding-top: 10rem; padding-bottom: 8rem; }
}

.page-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .page-title { font-size: 3.75rem; }
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* ===== Forms ===== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background-color: var(--background);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28, 168, 90, 0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

/* ===== Tags ===== */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 9999px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(28, 168, 90, 0.3); }
  50% { box-shadow: 0 0 40px rgba(28, 168, 90, 0.6); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scaleIn 0.5s ease-out forwards;
}

.animate-pulse-glow {
  animation: pulseGlow 2s ease-in-out infinite;
}

.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }

/* ===== Icons (SVG placeholders) ===== */
.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 2rem; height: 2rem; }

/* ===== Utility Classes for Common Inline Styles ===== */
.feature-icon-sm {
  width: 3.5rem;
  height: 3.5rem;
}

.feature-title-sm {
  font-size: 1.125rem;
}

.feature-description-sm {
  font-size: 0.875rem;
}

.section-padding-sm {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-title-md {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

.max-w-md {
  max-width: 48rem;
  margin: 0 auto;
}

.max-w-lg {
  max-width: 960px;
  margin: 0 auto;
}

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }
.pt-8 { padding-top: 2rem; }
.py-20 { padding: 5rem 0; }

.flex-shrink-0 {
  flex-shrink: 0;
}

.feature-card-horizontal {
  display: flex;
  gap: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.text-primary-bold {
  color: var(--primary);
  font-weight: 700;
}

.text-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.text-description-sm {
  font-size: 0.95rem;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
  background: #a8afbd;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ===== Product Stats Section ===== */
.product-stats-section {
  padding: 0;
  margin-top: 3rem;
  background: #ffffff;
}

.product-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .product-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.product-image-wrapper {
  display: flex;
  justify-content: center;
}

.product-image {
  max-width: 280px;
  height: auto;
}

@media (min-width: 768px) {
  .product-image {
    max-width: 320px;
  }
}

@media (min-width: 1024px) {
  .product-image {
    max-width: 380px;
  }
}

.product-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-stat-item {
  padding: 1.5rem;
  background-color: var(--muted);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.product-stat-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.product-stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .product-stat-value {
    font-size: 3rem;
  }
}

.product-stat-label {
  font-size: 1rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.product-images-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .product-images-row {
    flex-direction: row;
    gap: 3rem;
  }
}

.product-stats-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .product-stats-row {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .product-stats-row .product-stat-item {
    flex: 1;
    max-width: 280px;
    text-align: center;
  }

  .product-stats-row .product-stat-item:hover {
    transform: translateY(-4px);
  }
}

/* ===== Logo Carousel (Industry Leaders - Conveyor Belt) ===== */
.logo-carousel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.logo-track {
  display: flex;
  gap: 2rem;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}


@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== Logo Grid (fallback/static version) ===== */
.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  flex-shrink: 0;
}

.partner-logo {
  height: 3.5rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
}

/* ===== Fade Up Animation ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for multiple elements */
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ===== Meet Revi Section ===== */
.meet-revi-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}

.meet-revi-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.meet-revi-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.meet-revi-tagline {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  font-style: italic;
}

@media (max-width: 767px) {
  .meet-revi-title {
    font-size: 1.875rem;
  }

  .meet-revi-description {
    font-size: 1rem;
  }
}

/* ===== How It Works Section ===== */
.how-it-works-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 64rem;
  margin: 0 auto;
}

.how-it-works-step {
  flex: 1;
  max-width: 280px;
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.how-it-works-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--primary-light);
  border-radius: 1rem;
  margin: 0 auto 1.25rem;
}

.step-icon svg {
  color: var(--primary);
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Mobile responsive - stack vertically */
@media (max-width: 768px) {
  .how-it-works-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .how-it-works-step {
    max-width: 100%;
    width: 100%;
  }

  .step-connector {
    display: none;
  }
}

/* ===== Use Case Cards ===== */
.use-case-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.use-case-card:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(28, 168, 90, 0.15);
  transform: translateY(-6px);
}

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

.use-case-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.use-case-icon svg {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.use-case-card:hover .use-case-icon {
  background: var(--primary);
}

.use-case-card:hover .use-case-icon svg {
  color: #ffffff;
  transform: scale(1.1);
}

.use-case-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.use-case-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.use-case-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.use-case-card:hover .use-case-stat {
  background: var(--primary-light);
}

.use-case-stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
}

.use-case-stat-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.use-case-card .learn-more-link {
  margin-top: auto;
}

/* ===== Case Study Accordion ===== */
.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.case-study-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-study-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.case-study-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .case-study-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.case-study-summary {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .case-study-summary {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

.case-study-stats {
  flex-shrink: 0;
}

.case-study-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  min-width: 120px;
  text-align: center;
}

.case-study-stat-value {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.case-study-stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  font-weight: 500;
}

.case-study-info {
  flex: 1;
}

.case-study-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.case-study-excerpt {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-study-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
  padding: 0.5rem 0;
}

.case-study-chevron {
  transition: transform 0.3s ease;
}

.case-study-card.open .case-study-chevron {
  transform: rotate(180deg);
}

.case-study-card.open .case-study-toggle-text {
  display: none;
}

.case-study-card.open .case-study-toggle::before {
  content: 'Close';
}

.case-study-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  background: var(--muted);
  border-top: 0 solid var(--border);
}

.case-study-card.open .case-study-content {
  max-height: 600px;
  padding: 1.5rem;
  border-top-width: 1px;
}

.case-study-detail {
  margin-bottom: 1.25rem;
}

.case-study-detail:last-child {
  margin-bottom: 0;
}

.case-study-detail h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-study-detail p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.case-study-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (max-width: 640px) {
  .case-study-results-grid {
    grid-template-columns: 1fr;
  }
}

.case-study-result {
  background: var(--card);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.case-study-result-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.case-study-result-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.case-study-image {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.case-study-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 300px;
}

/* ===== Mobile Responsiveness Enhancements ===== */

/* Mobile touch targets - minimum 44px for WCAG compliance */
@media (max-width: 767px) {
  .btn {
    min-height: 44px;
  }

  .btn-sm {
    padding: 0.625rem 1.25rem;
    min-height: 44px;
  }

  .nav-toggle {
    padding: 0.625rem;
    min-width: 44px;
    min-height: 44px;
  }

  .mobile-menu-link {
    padding: 0.875rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-link {
    padding: 0.5rem 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-social-link {
    min-width: 44px;
    min-height: 44px;
  }

  /* iOS form zoom prevention - 16px minimum prevents auto-zoom */
  .form-input,
  .form-textarea,
  .form-select {
    font-size: 16px;
  }
}

/* Small screen optimizations (iPhone SE 375px, small Android 360px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .partner-logo {
    height: 2.5rem;
  }

  .logo-item {
    padding: 0.75rem 1rem;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .hero {
    padding-top: 7rem;
  }

  .page-header {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .meet-revi-title {
    font-size: 1.5rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .product-stat-value {
    font-size: 2rem;
  }

  /* Reduce large gaps on mobile */
  .gap-8 {
    gap: 1.5rem;
  }

  .gap-6 {
    gap: 1rem;
  }

  .gap-4 {
    gap: 0.75rem;
  }
}

/* Dashboard container mobile fix - hide interactive demo on small screens */
@media (max-width: 768px) {
  .demo-container {
    display: none !important;
  }

  .demo-mobile-fallback {
    display: flex !important;
  }
}

.demo-mobile-fallback {
  display: none;
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  overflow: hidden;
}
