/* ===== Design tokens (from React) ===== */
:root {
  --primary: 158 64% 42%;
  --primary-h: 158;
  --primary-s: 64%;
  --primary-l: 42%;
  --primary-foreground: 0 0% 100%;
  --accent: 38 92% 50%;
  --accent-h: 38;
  --accent-s: 92%;
  --accent-l: 50%;
  --accent-foreground: 0 0% 10%;
  --background: 210 20% 98%;
  --foreground: 220 20% 15%;
  --card: 0 0% 100%;
  --card-foreground: 220 20% 15%;
  --muted: 210 15% 93%;
  --muted-foreground: 220 10% 45%;
  --secondary: 158 25% 95%;
  --secondary-foreground: 158 64% 30%;
  --border: 210 15% 88%;
  --radius: 0.75rem;
  --gradient-primary: linear-gradient(135deg, hsl(158, 64%, 42%) 0%, hsl(158, 64%, 32%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(158, 30%, 97%) 0%, hsl(210, 20%, 98%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(38, 92%, 50%) 0%, hsl(28, 92%, 45%) 100%);
  --shadow-soft: 0 4px 20px -4px hsl(158, 64%, 42%, 0.15);
  --shadow-card: 0 8px 30px -8px hsl(220, 20%, 15%, 0.1);
  --shadow-hover: 0 12px 40px -12px hsl(158, 64%, 42%, 0.25);
  /* Container (match safka-wins-connect tailwind container screens) */
  --container-max: 100%;
  --header-h: 5rem;
  --footer-bg: 220 20% 15%;
  --footer-text: 210 20% 98%;
  /* Section backgrounds (distinct per section) */
  --section-bg-1: 210 20% 98%;
  --section-bg-2: 158 25% 96%;
  --section-bg-3: 210 18% 95%;
  --section-bg-4: 158 20% 97%;
  --section-bg-5: 210 15% 96%;
}

/* ===== Dark theme ===== */
html[data-theme="dark"] {
  --primary: 158 64% 50%;
  --primary-foreground: 0 0% 100%;
  --accent: 38 92% 55%;
  --accent-foreground: 0 0% 10%;
  --background: 220 20% 10%;
  --foreground: 210 20% 95%;
  --card: 220 20% 13%;
  --card-foreground: 210 20% 95%;
  --muted: 220 15% 18%;
  --muted-foreground: 210 10% 60%;
  --secondary: 158 25% 15%;
  --secondary-foreground: 158 64% 70%;
  --border: 220 15% 20%;
  --gradient-primary: linear-gradient(135deg, hsl(158, 64%, 50%) 0%, hsl(158, 64%, 40%) 100%);
  --gradient-hero: linear-gradient(180deg, hsl(220, 20%, 12%) 0%, hsl(220, 20%, 10%) 100%);
  --gradient-accent: linear-gradient(135deg, hsl(38, 92%, 55%) 0%, hsl(28, 92%, 50%) 100%);
  --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 30px -8px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px -12px hsl(158, 64%, 50%, 0.25);
  --footer-bg: 220 25% 8%;
  --footer-text: 210 20% 95%;
  --section-bg-1: 220 20% 10%;
  --section-bg-2: 220 22% 12%;
  --section-bg-3: 220 18% 11%;
  --section-bg-4: 220 24% 13%;
  --section-bg-5: 220 20% 12%;
}

/* ===== Base (16px base for rem scale; min readable text 0.75rem / 12px) ===== */
html { scroll-behavior: smooth; box-sizing: border-box; font-size: 100%; }
*, *::before, *::after { box-sizing: inherit; }
body {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Skip to main content (a11y) */
.skip-link {
  position: absolute;
  top: -100%;
  inset-inline-start: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
  outline: none;
}
.skip-link:focus-visible {
  top: 1rem;
  outline: 3px solid hsl(var(--accent));
  outline-offset: 2px;
}

/* Visible focus for keyboard users */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
[href]:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}
.theme-toggle:focus-visible { outline-color: hsl(var(--accent)); }
/* Keep Font Awesome icons using icon font (do not inherit body font) */
.feature-icon .fa,
.integration-item-icon .fa,
.dashboard-list-icon .fa,
.dashboard-chart-icon.fa,
.support-icon .fa,
.testimonial-icon .fa,
.step-icon .fa,
.theme-toggle .fa {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900;
}

/* ===== Layout (match safka-wins-connect: container screens sm 640, md 768, lg 1024, xl 1200, 2xl 1400) ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1200px; }
}
@media (min-width: 1400px) {
  .container { max-width: 1400px; }
}
@media (max-width: 479px) {
  .container { padding: 0 0.75rem; }
}
@supports (padding: env(safe-area-inset-left)) {
  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}
.relative-z { position: relative; z-index: 1; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border));
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 0.5rem;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: hsl(var(--foreground));
  font-weight: 700;
  font-size: 1.25rem;
  min-width: 0;
}
.logo-img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex-shrink: 0;
}
@media (max-width: 359px) {
  .logo { font-size: 1rem; }
  .logo-img { width: 2.5rem; height: 2.5rem; }
}
.logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.logo-accent { color: hsl(var(--primary)); }
.nav-desktop { display: none; }
@media (min-width: 768px) {
  .nav-desktop { display: block; }
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-list { gap: 1rem; }
}
.nav-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: hsl(var(--primary)); }
.header-actions { display: none; align-items: center; gap: 0.75rem; }
@media (min-width: 768px) {
  .header-actions { display: flex; }
}
.header-cta { display: none; }
@media (min-width: 768px) {
  .header-cta { display: block; }
}
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.theme-toggle:hover {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}
.theme-icon { font-size: 1.125rem; line-height: 1; }
.theme-icon-light { display: none; }
.theme-icon-dark { display: block; }
html[data-theme="dark"] .theme-icon-light { display: block; }
html[data-theme="dark"] .theme-icon-dark { display: none; }
.nav-mobile-theme { display: flex; justify-content: flex-end; padding: 0.5rem 0; margin-bottom: 0.5rem; }
.theme-toggle-mobile { width: auto; max-width: 12rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn-primary {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: hsl(var(--primary));
  border: 2px solid hsl(var(--primary));
}
.btn-outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-lg { padding: 0.75rem 2rem; font-size: 1.125rem; }
@media (max-width: 479px) {
  .btn { padding: 0.5rem 1rem; font-size: 0.9375rem; }
  .btn-lg { padding: 0.625rem 1.25rem; font-size: 1rem; }
}
.btn-block { width: 100%; }
.btn-arrow { margin-right: 0.5rem; }
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) {
  .menu-toggle { display: none; }
}
.menu-toggle {
  position: relative;
}
.menu-icon-open,
.menu-icon-close {
  position: absolute;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  transition: opacity 0.2s;
}
.menu-icon-open::before,
.menu-icon-open::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  top: -6px;
}
.menu-icon-open::after { top: 6px; }
.menu-icon-close {
  opacity: 0;
  transform: rotate(45deg);
}
.menu-icon-close::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  transform: rotate(-90deg);
}
.menu-toggle[aria-expanded="true"] .menu-icon-open { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { opacity: 1; }
.nav-mobile {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile[hidden] { display: none !important; }
.nav-list-mobile {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.nav-list-mobile .nav-link-mobile {
  display: block;
  padding: 0.5rem 0;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-weight: 500;
}
.nav-mobile .btn-block {
  margin-inline: 0;
}
.nav-list-mobile .nav-link-mobile:hover { color: hsl(var(--primary)); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--gradient-hero);
  padding-top: var(--header-h);
  overflow: hidden;
}
@media (max-width: 767px) {
  .hero { min-height: auto; padding-bottom: 2rem; }
  .hero .container { margin-inline: auto; }
  .hero-inner { justify-content: center; width: 100%; }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--accent) / 0.1);
  border-radius: 50%;
  filter: blur(80px);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) {
  .hero-inner { gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: right;
    align-items: center;
  }
}
.hero-content { flex: 1; max-width: 42rem; width: 100%; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 0 1.5rem;
}
.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title {
  font-size: clamp(1.5rem, 4vw + 1rem, 3.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 1rem;
  color: hsl(var(--foreground));
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 479px) {
  .hero-title { font-size: 1.375rem; }
}
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 0.5rem;
}
.hero-description {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin: 0 0 2rem;
}
.hero-description-strong { color: hsl(var(--foreground)); }
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 20rem;
}
.hero-actions .btn { width: 100%; }
@media (min-width: 480px) {
  .hero-actions { max-width: none; flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}
@media (min-width: 1024px) {
  .hero-actions { justify-content: flex-start; max-width: none; margin-bottom: 2.5rem; }
}
.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.hero-trust-avatars {
  display: flex;
  width: 2rem;
  height: 2rem;
}
.hero-trust-avatars::before {
  content: '';
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: 2px solid hsl(var(--card));
  margin-right: -0.5rem;
}
.hero-visual {
  flex: 1;
  position: relative;
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
  min-width: 0;
}
@media (max-width: 767px) {
  .hero-visual { max-width: 20rem; animation: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  position: relative;
}
@media (max-width: 767px) {
  .hero-card {
    padding: 2.75rem 1rem 2.75rem;
    min-height: 10rem;
  }
}
@media (max-width: 479px) {
  .hero-card {
    padding: 2.5rem 0.75rem 2.5rem;
  }
}
.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.hero-card-badge {
  font-size: 0.75rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.hero-card-amount {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
@media (max-width: 479px) {
  .hero-card-amount { font-size: 1.5rem; }
}
.hero-card-currency { font-size: 1.125rem; color: hsl(var(--muted-foreground)); }
@media (max-width: 479px) {
  .hero-card-currency { font-size: 1rem; }
}
.hero-card-bar {
  height: 0.5rem;
  background: hsl(var(--muted));
  border-radius: 9999px;
  overflow: hidden;
}
.hero-card-bar-fill {
  height: 100%;
  width: 75%;
  background: var(--gradient-primary);
  border-radius: 9999px;
}
.hero-card-float {
  position: absolute;
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 1rem);
}
.hero-card-float-1 { top: -0.5rem; right: -0.5rem; }
.hero-card-float-2 { bottom: -0.5rem; left: -0.5rem; }
@media (max-width: 767px) {
  .hero-card-float-1 { top: 0.5rem; right: 0.5rem; left: auto; }
  .hero-card-float-2 { bottom: 0.5rem; left: 0.5rem; right: auto; }
  .hero-card-float {
    max-width: calc(100% - 1rem);
    padding: 0.5rem 0.625rem;
  }
  .hero-card-float-icon { width: 1.75rem; height: 1.75rem; font-size: 0.75rem; }
}
@media (max-width: 479px) {
  .hero-card-float {
    padding: 0.4rem 0.5rem;
    gap: 0.35rem;
    max-width: 8.5rem;
  }
  .hero-card-float-label { font-size: 0.75rem; }
  .hero-card-float-value { font-size: 0.75rem; }
  .hero-card-float-icon { width: 1.5rem; height: 1.5rem; font-size: 0.75rem; }
}
.hero-card-float-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}
.hero-card-float-icon-check {
  background: var(--gradient-primary);
  color: hsl(var(--primary-foreground));
}
.hero-card-float-label { display: block; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.hero-card-float-value { font-size: 0.875rem; font-weight: 600; }

/* ===== Sections common ===== */
.section { padding: 2.5rem 0; }
@media (min-width: 480px) {
  .section { padding: 3.5rem 0; }
}
@media (min-width: 768px) {
  .section { padding: 6rem 0; }
}
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
  padding: 0 0.25rem;
}
@media (min-width: 768px) {
  .section-header { margin-bottom: 4rem; }
}
.section-badge {
  display: inline-block;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.section-badge-primary {
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}
.section-badge-accent {
  background: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}
.section-title {
  font-size: clamp(1.25rem, 3vw + 0.5rem, 2.25rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: hsl(var(--foreground));
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
@media (max-width: 479px) {
  .section-title { font-size: 1.25rem; }
}
.section-subtitle,
.section-desc {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin: 0;
}
@media (min-width: 640px) {
  .section-subtitle,
  .section-desc { font-size: 1.125rem; }
}

/* ===== Features ===== */
.features { background: hsl(var(--section-bg-1)); }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
@media (min-width: 640px) {
  .feature-card { padding: 1.5rem; }
}
.feature-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.feature-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  direction: ltr;
}
.feature-icon i { font-size: 1.75rem; line-height: 1; display: block; }
.feature-icon-accent { background: var(--gradient-accent); }
.feature-icon-primary-accent { background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%); }
.feature-icon-accent-primary { background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--primary)) 100%); }
.feature-title { font-size: 1.125rem; font-weight: 700; margin: 0; line-height: 1.3; }
.feature-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; line-height: 1.6; }

/* ===== Integration ===== */
.integration { background: hsl(var(--section-bg-2)); }
.integration-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .integration-inner { grid-template-columns: 1fr 1fr; }
}
.integration-content .section-title { text-align: center; }
.integration-content .section-desc { margin-bottom: 1.5rem; text-align: center; }
@media (min-width: 1024px) {
  .integration-content .section-title { text-align: right; }
  .integration-content .section-desc { text-align: right; margin-bottom: 2rem; }
}
.integration-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 767px) {
  .integration-platforms {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }
}
.integration-platform {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: hsl(var(--card));
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  font-weight: 500;
}
@media (max-width: 767px) {
  .integration-platform {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.5rem 0.5rem;
    font-size: 0.8125rem;
    justify-content: center;
  }
}
.integration-platform-emoji { font-size: 1.5rem; }
@media (max-width: 767px) {
  .integration-platform-emoji { font-size: 1.25rem; }
}
.integration-list { list-style: none; margin: 0; padding: 0; }
.integration-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.integration-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--gradient-primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}
.integration-item-icon i { font-size: 1.25rem; }
.integration-item-title { font-weight: 600; margin: 0 0 0.25rem; }
.integration-item-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; }
.integration-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
}
.integration-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.integration-card-header h3 { margin: 0; font-size: 1rem; }
.integration-card-badge {
  font-size: 0.75rem;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.integration-sync-list { display: flex; flex-direction: column; gap: 1rem; }
.integration-sync-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted));
  border-radius: 0.75rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sync-emoji { font-size: 1.25rem; margin-left: 0.75rem; flex-shrink: 0; }
.sync-title { display: block; font-weight: 500; font-size: 0.875rem; }
.sync-time { font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
.sync-status { font-size: 0.75rem; color: hsl(var(--primary)); font-weight: 500; flex-shrink: 0; }
@media (max-width: 479px) {
  .integration-sync-item { padding: 0.5rem 0.75rem; }
  .sync-title, .sync-time { font-size: 0.75rem; }
}

/* ===== Dashboard ===== */
.dashboard { background: hsl(var(--section-bg-3)); }
.dashboard-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .dashboard-inner { grid-template-columns: 1fr 1fr; }
  .dashboard-visual { order: 1; }
  .dashboard-content { order: 2; }
}
.dashboard-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.dashboard-card-header {
  background: linear-gradient(to left, hsl(var(--primary)), hsl(158 64% 35%));
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: hsl(var(--primary-foreground));
}
.dashboard-card-header h3 { margin: 0; font-weight: 700; }
.dashboard-card-dots { display: flex; gap: 0.5rem; }
.dashboard-card-dots span {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: hsl(var(--primary-foreground) / 0.3);
}
.dashboard-card-body { padding: 1rem; }
@media (min-width: 480px) {
  .dashboard-card-body { padding: 1.5rem; }
}
.dashboard-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
@media (min-width: 360px) {
  .dashboard-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}
@media (min-width: 640px) {
  .dashboard-stats { gap: 1rem; margin-bottom: 1.5rem; }
}
.dashboard-stat {
  background: hsl(var(--muted));
  border-radius: 0.75rem;
  padding: 0.75rem;
  text-align: center;
}
@media (min-width: 640px) {
  .dashboard-stat { padding: 1rem; }
}
.dashboard-stat-label { font-size: 0.75rem; color: hsl(var(--muted-foreground)); display: block; margin-bottom: 0.25rem; }
.dashboard-stat-value { font-size: 1rem; font-weight: 700; display: block; }
@media (min-width: 640px) {
  .dashboard-stat-value { font-size: 1.25rem; }
}
.dashboard-stat-suffix { font-size: 0.75rem; color: hsl(var(--muted-foreground)); margin-right: 0.25rem; }
.dashboard-stat-change { font-size: 0.75rem; }
.dashboard-stat-change.positive { color: hsl(var(--primary)); }
.dashboard-chart { background: hsl(var(--muted)); border-radius: 0.75rem; padding: 1rem; }
.dashboard-chart-header {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dashboard-chart-icon { color: hsl(var(--primary)); font-size: 1rem; line-height: 1; display: block; direction: ltr; }
.dashboard-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 4rem;
  gap: 0.25rem;
}
@media (min-width: 480px) {
  .dashboard-chart-bars { height: 6rem; gap: 0.5rem; }
}
.chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: 0.25rem 0.25rem 0 0;
  min-height: 10%;
}
.dashboard-chart-days {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  gap: 0.25rem;
}
.dashboard-list { list-style: none; margin: 0; padding: 0; }
.dashboard-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dashboard-list-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--gradient-accent);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--accent-foreground));
  direction: ltr;
}
.dashboard-list-icon i { font-size: 1.5rem; line-height: 1; display: block; }
.dashboard-list-title { font-weight: 700; margin: 0 0 0.25rem; }
.dashboard-list-desc { color: hsl(var(--muted-foreground)); margin: 0; }

/* ===== Support ===== */
.support { background: hsl(var(--section-bg-4)); }
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .support-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .support-grid { grid-template-columns: repeat(4, 1fr); }
}
.support-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.support-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.support-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.support-icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  direction: ltr;
}
.support-icon i { font-size: 1.75rem; }
.support-title { font-size: 1.125rem; font-weight: 700; margin: 0; line-height: 1.3; }
.support-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0 0 1rem; line-height: 1.6; }
.support-highlight {
  display: inline-block;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== Testimonials ===== */
.testimonials { position: relative; background: hsl(var(--section-bg-5)); overflow: hidden; }
.testimonials-bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--primary) / 0.05);
  border-radius: 50%;
  filter: blur(80px);
}
.testimonials-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background: hsl(var(--accent) / 0.05);
  border-radius: 50%;
  filter: blur(80px);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(4, 1fr); }
}
.testimonial-card {
  text-align: center;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s, transform 0.3s;
}
@media (min-width: 640px) {
  .testimonial-card { padding: 1.5rem; }
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.testimonial-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
}
.testimonial-icon i { font-size: 2rem; }
.testimonial-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.25rem;
}
@media (min-width: 640px) {
  .testimonial-value { font-size: 1.875rem; }
}
.testimonial-label { font-size: 1rem; font-weight: 600; margin: 0 0 0.25rem; }
@media (min-width: 640px) {
  .testimonial-label { font-size: 1.125rem; }
}
.testimonial-desc { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); margin: 0; }
@media (min-width: 640px) {
  .testimonial-desc { font-size: 0.875rem; }
}

/* ===== How it works ===== */
.how-it-works { background: hsl(var(--section-bg-2)); }
.steps-connector {
  display: none;
  position: absolute;
  top: 6rem;
  right: 10%;
  left: 10%;
  height: 4px;
  background: linear-gradient(to left, hsl(var(--primary)), hsl(var(--accent)), hsl(var(--primary)));
  border-radius: 9999px;
  opacity: 0.2;
}
@media (min-width: 1024px) {
  .how-it-works .container { position: relative; }
  .steps-connector { display: block; }
}
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(5, 1fr); }
}
.step-card {
  position: relative;
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
}
.step-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}
.step-num {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: hsl(var(--accent-foreground));
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.step-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  direction: ltr;
}
.step-icon i { font-size: 2rem; line-height: 1; display: block; }
.step-title { font-size: 1.125rem; font-weight: 700; margin: 0 0 0.5rem; }
.step-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0; }
.section-cta { text-align: center; margin-top: 2rem; }
@media (min-width: 768px) {
  .section-cta { margin-top: 3rem; }
}
.section-cta .btn { min-width: 0; }
@media (max-width: 479px) {
  .section-cta .btn-lg { width: 100%; max-width: 18rem; }
}

/* ===== Pricing ===== */
.pricing { background: hsl(var(--background)); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 40rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
}
.pricing-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-card);
  text-align: center;
}
.pricing-card-featured { border-color: hsl(var(--primary)); box-shadow: var(--shadow-soft); }
.pricing-name { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.pricing-price { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.5rem; }
.pricing-period { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.pricing-desc { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin: 0 0 1rem; }
.pricing-card .btn { margin-top: 0.5rem; }

/* ===== FAQ ===== */
.faq { background: hsl(var(--secondary) / 0.3); }
.faq-list { max-width: 48rem; margin: 0 auto; }
.faq-item {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border));
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.faq-question {
  padding: 0.875rem 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: block;
  font-size: 0.9375rem;
}
@media (min-width: 480px) {
  .faq-question { padding: 1rem 1.25rem; font-size: 1rem; }
}
.faq-question::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 1rem 0.875rem; }
@media (min-width: 480px) {
  .faq-answer { padding: 0 1.25rem 1rem; }
}
.faq-answer p { margin: 0; color: hsl(var(--muted-foreground)); line-height: 1.6; font-size: 0.9375rem; }
@media (min-width: 480px) {
  .faq-answer p { font-size: 1rem; }
}

/* ===== CTA ===== */
.cta {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-align: center;
}
.cta .container { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.cta-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.cta-subtitle { margin: 0 0 1rem; opacity: 0.9; font-size: 0.9375rem; }
@media (min-width: 480px) {
  .cta-title { font-size: 1.5rem; }
  .cta-subtitle { margin-bottom: 1.5rem; font-size: 1rem; }
}
.cta .btn-primary {
  background: hsl(var(--primary-foreground));
  color: hsl(var(--primary));
}
.cta .btn-primary:hover { opacity: 0.95; }

/* ===== Footer ===== */
.site-footer {
  background: hsl(var(--footer-bg));
  color: hsl(var(--footer-text));
  padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .site-footer { padding: 4rem 0; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1.5rem;
}
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .footer-brand { grid-column: auto; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.5rem;
}
.footer-logo-img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-logo .logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
}
.footer-logo .logo-accent { color: hsl(var(--primary)); }
.footer-desc {
  color: hsl(var(--footer-text) / 0.7);
  margin: 0 0 1rem;
  max-width: 28rem;
  line-height: 1.6;
}
.footer-tagline { font-size: 0.875rem; color: hsl(var(--footer-text) / 0.5); margin: 0; }
.footer-heading { font-size: 1.125rem; font-weight: 700; margin: 0 0 1rem; }
.footer-links ul,
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links a {
  color: hsl(var(--footer-text) / 0.7);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: hsl(var(--primary)); }
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--footer-text) / 0.7);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.footer-contact-item:hover { color: hsl(var(--primary)); }
.footer-contact-icon { font-size: 1.25rem; }
.footer-contact-whatsapp { color: #25D366; }
.footer-contact-item:hover .footer-contact-whatsapp { color: #2fe876; }
.footer-bottom {
  border-top: 1px solid hsl(var(--footer-text) / 0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; margin-top: 3rem; padding-top: 2rem; }
}
.footer-copyright { font-size: 0.8125rem; color: hsl(var(--footer-text) / 0.5); margin: 0; }
@media (min-width: 480px) {
  .footer-copyright { font-size: 0.875rem; }
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
@media (min-width: 768px) {
  .footer-legal { justify-content: flex-start; gap: 1.5rem; }
}
.footer-legal a {
  font-size: 0.875rem;
  color: hsl(var(--footer-text) / 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: hsl(var(--primary)); }

/* ===== Lazy load images (below the fold) ===== */
img[loading="lazy"] { content-visibility: auto; }
