:root {
  --color-primary: #03C4A1;
  --color-primary-light: #f0fafa;
  --color-primary-dark: #03C4A1;
  --color-purple: #7B4FD4;
  --color-purple-light: #f5f0ff;
  --color-text: #1a1a1a;
  --color-text-muted: #666666;
  --color-border: #e8e8e8;
  --color-bg-grey: #f8f8f8;
  --color-white: #ffffff;

  --font-main: 'poppins', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);

  --transition: 200ms ease;
}

/* =========================
   RESET + BASE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   TYPOGRAPHY
========================= */
.h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
}

.h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.h3 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
}

.h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-teal {
  color: var(--color-primary);
}

.text-purple {
  color: var(--color-purple);
}

/* =========================
   LAYOUT UTILITIES
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-sm { gap: 12px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 48px; }

.text-center {
  text-align: center;
}

.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
}

.btn-white {
  background: white;
  color: var(--color-primary);
}

.btn-white:hover {
  background: #f0f0f0;
}

.btn-outline-white {
  background: transparent;
  border-color: white;
  color: white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--color-primary);
}

.btn-purple {
  background: var(--color-purple);
  color: white;
}

.btn-purple:hover {
  background: #6a3fbf;
  transform: translateY(-1px);
}

.btn-outline-purple {
  background: transparent;
  border-color: var(--color-purple);
  color: var(--color-purple);
}

.btn-outline-purple:hover {
  background: var(--color-purple);
  color: white;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: white;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.nav-logo img {
  width: 120px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

/* =========================
   TAG PILL
========================= */
.tag-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.tag-pill-teal {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.tag-pill-purple {
  background: var(--color-purple-light);
  color: var(--color-purple);
}

/* =========================
   CARDS
========================= */
.card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-teal-border {
  border-left: 4px solid var(--color-primary);
}

.card-purple-border {
  border-left: 4px solid var(--color-purple);
}

/* =========================
   ICONS + AVATARS
========================= */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.icon-circle-teal {
  background: var(--color-primary-light);
}

.icon-circle-purple {
  background: var(--color-purple-light);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.avatar-teal {
  background: var(--color-primary);
}

.avatar-purple {
  background: var(--color-purple);
}

/* =========================
   MOCKUP FRAME
========================= */
.mockup-frame {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.mockup-bar {
  background: var(--color-bg-grey);
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28ca41; }

.mockup-body {
  padding: 20px;
}

/* =========================
   MARQUEE
========================= */
.marquee-wrapper {
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  background: white;
  white-space: nowrap;
  color: var(--color-text-muted);
}

.trust-badge::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
}

/* =========================
   FADE ANIMATIONS
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   CTA BAND
========================= */
.cta-band {
  padding: 80px 0;
  text-align: center;
}

.cta-band-teal {
  background: var(--color-primary);
}

.cta-band-purple {
  background: var(--color-purple);
}

.cta-band h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0f0f0f;
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-tagline {
  font-size: 0.85rem;
  margin-bottom: 32px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .section {
    padding: 48px 0;
  }

  .hide-mobile {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }
}



.feature-showcase {
  padding: 0 0 80px;
  background: white;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.showcase-tab {
  padding: 10px 20px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.showcase-tab:hover {
  color: var(--color-text);
  background: var(--color-bg-grey);
}

.showcase-tab.active {
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.showcase-tab.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: 6px;
  animation: tabProgress 4s linear;
}

@keyframes tabProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.showcase-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-bg-grey);
  min-height: 400px;
}

.showcase-slide {
  display: none;
  width: 100%;
}

.showcase-slide.active {
  display: block;
  animation: showcaseFade 0.4s ease;
}

@keyframes showcaseFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.showcase-placeholder-box {
  background: var(--color-bg-grey);
  height: 649px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  font-weight: 500;
}

.showcase-img-desktop {
  width: 100%;
  display: block;
  /* filter: contrast(-1.2); */
  /* image-rendering: -webkit-optimize-contrast; 
  image-rendering: crisp-edges; */
}

.showcase-img-mobile {
  display: none;
}

.showcase-mobile-label {
  display: none;
  text-align: center;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  padding: 8px 20px;
  background: var(--color-primary-light);
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .showcase-tabs {
    display: none;
  }

  .showcase-mobile-label {
    display: block;
  }

  .showcase-frame {
    min-height: 220px;
    border-radius: var(--radius-md);
  }

  .showcase-placeholder-box {
    height: 260px;
    font-size: 0.9rem;
    text-align: center;
    padding: 24px;
  }

  .showcase-img-desktop {
    display: none;
  }

  .showcase-img-mobile {
    display: block;
    width: 100%;
  }
}