/* Variable Definitions - Premium SaaS Theme */
:root {
  /* Colors */
  --bg-color: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;

  --text-primary: #0f172a; /* Slate 900 - Headings */
  --text-secondary: #475569; /* Slate 600 - Body */
  --text-tertiary: #94a3b8; /* Slate 400 - Meta */

  --accent-color: #7c3aed; /* Violet 600 - Primary Brand */
  --accent-dark: #6d28d9; /* Violet 700 - Hover */
  --accent-light: #ddd6fe; /* Violet 200 - Accents */
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);

  --border-light: #e2e8f0; /* Slate 200 */
  --white: #ffffff;

  /* Spacing Rhythm */
  --space-xs: 0.5rem; /* 8px */
  --space-sm: 1rem; /* 16px */
  --space-md: 1.5rem; /* 24px */
  --space-lg: 2rem; /* 32px */
  --space-xl: 3rem; /* 48px */
  --space-2xl: 4rem; /* 64px */
  --space-3xl: 6rem; /* 96px */
  /* UI Tokens */
  --container-width: 1280px;
  --header-height: 80px;

  --radius-md: 10px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  --shadow-float: 0 20px 60px -15px rgba(124, 58, 237, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: "DM Sans", system-ui, sans-serif;
  --success-color: #10b981;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  /* font-family: var(--font-primary); */
  font-family: serif;
  background-color: var(--bg-color);
  color: var(--text-secondary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.pt-0 {
  padding-top: 0 !important;
}
/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.value-sub-text {
  font-size: 0.4rem;
}
.text-center {
  text-align: center;
}
.text-highlight {
  color: var(--accent-color);
}
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-primary);
  /* font-family: serif; */
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  font-size: 1rem;
}

.btn--primary {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 20px -5px rgba(124, 58, 237, 0.4);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.5);
}

.btn--secondary {
  background: var(--white);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}
.btn--secondary:hover {
  border-color: var(--accent-color); /* Subtle interactive feel */
  background: var(--bg-subtle);
  color: var(--accent-color);
}

.btn--white {
  background: var(--white);
  color: var(--accent-color);
}
.btn--small {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
.btn--full {
  width: 100%;
}

.btn__icon {
  margin-left: 0.5rem;
  width: 1.2em;
  height: 1.2em;
  transition: transform 0.3s ease;
}
.btn:hover .btn__icon {
  transform: translateX(4px);
}
.header-cta-btn {
  background: rgba(255, 255, 255, 0.15); /* Glassy White by default */
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.header-cta-btn:hover {
  background: #fff;
  color: var(--accent-color);
  border-color: #fff;
}

.header.scrolled .header-cta-btn {
  background: #000;
  color: white;
  border: none;
  box-shadow: 0 4px 15px -3px rgba(124, 58, 237, 0.5);
}
.header.scrolled .header-cta-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Section Base */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 1;
}
.section__title {
  font-size: clamp(2rem, 4vw, 3rem); /* 32-48px */
  font-weight: 600;
  margin-bottom: var(--space-sm);
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}
.section__subtitle {
  font-size: 1.125rem; /* ~18px */
  color: var(--text-secondary);
  line-height: 1.6;
}
.section__header {
  margin-bottom: var(--space-2xl);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Soft Background Shapes */
.global-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.shape {
  position: absolute;
  filter: blur(80px);
  opacity: 0.08; /* Very subtle */
  border-radius: 50%;
}

.shape--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #6366f1 0%, transparent 70%);
  top: -10%;
  left: -10%;
}
.shape--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ec4899 0%, transparent 70%);
  bottom: 10%;
  right: -10%;
  animation-delay: -5s;
}
.shape--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #a855f7 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
  opacity: 0.2;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}

.header {
  position: fixed;
  top: 0;
  left: 50%;
  width: 90%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
  color: #fff; /* Default text color (on Hero) */
}

/* Hidden state when scrolling down */
.header.header--hidden {
  transform: translateX(-50%) translateY(-100%);
  opacity: 0;
}

.header.scrolled {
  top: 20px;
  border-radius: 60px;
  background-color: rgba(255, 255, 255, 0.9); /* White Glass */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-subtle);
  color: var(--text-primary); /* Dark text on scroll */
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -1px;
  color: inherit; /* Inherit from header */
  text-decoration: none;
}

.nav__list {
  display: flex;
  gap: 2rem;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: inherit; /* Inherit from header */
  transition: color 0.3s ease;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}
.nav__link:hover::after {
  width: 100%;
}
/* Scrolled state overrides */
.header.scrolled .nav__link {
  color: var(--text-primary);
}
.header.scrolled .logo {
  color: var(--text-primary);
}
.header.scrolled .nav__toggle {
  color: var(--text-primary);
}
.nav__close,
.nav__toggle {
  display: none;
  cursor: pointer;
}
.nav__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* HERO SECTION (Centered SaaS) */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--header-height);
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

/* Hero Unicorn Studio Background */
/* Hero Canvas Background */
#hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

#hero-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ensure Unicorn Studio canvas/content fills the container */
.hero__unicorn-bg iframe,
.hero__unicorn-bg canvas,
.hero__unicorn-bg > div {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
}

.hero__container {
  display: flex; /* Changed from grid to flex */
  justify-content: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content-wrapper {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 3; /* Ensure content is above background */
  pointer-events: auto; /* Ensure content is clickable */
}

/* Ensure all interactive elements in hero are clickable */
.hero__content-wrapper a,
.hero__content-wrapper button {
  pointer-events: auto;
  position: relative;
  z-index: 4;
}

.hero__badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: var(--space-md);
  letter-spacing: 0.02em;
}

.hero__title {
  font-size: clamp(3.5rem, 6vw, 5.5rem); /* Extra Large */
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: #fff;
}

.hero__description {
  font-size: 1.6rem;
  color: #cbd5e1; /* Slate 300 - Much lighter for dark background */
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Updated Hero Button for Visibility */
.hero .btn--primary {
  background: white;
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(255, 255, 255, 0.25);
}

.hero .btn--primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35);
  color: var(--accent-dark);
}

/* Secondary button on dark bg */
.hero .btn--secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  backdrop-filter: blur(10px);
}

.hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
}

/* Floating Orbit Elements */
.hero__orbit-elements {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none; /* Let clicks pass through to text */
  max-width: 1200px; /* Constrain orbit width */
  z-index: -1; /* Behind text if overlapping, or ensure text z-index is higher */
}

/* Re-using .float-card styles with specific positioning */
.float-card--orbit-1 {
  top: 20%;
  left: -50%;
  animation: float 8s ease-in-out infinite;
}
.float-card--orbit-2 {
  bottom: 25%;
  right: -50%;
  animation: float 7s ease-in-out infinite 1s;
}
.float-card--orbit-3 {
  top: 15%;
  right: -40%;
  animation: float 9s ease-in-out infinite 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -20px);
  }
}

/* CARDS REFACTOR (Light Theme) */
.service__card,
.process__step,
.testimonial__card,
.work__card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.service__card:hover,
.process__step:hover,
.testimonial__card:hover,
.work__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-light);
}

.problem__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 768px) {
  .problem__container {
    grid-template-columns: 1fr;
  }
}
.problem__text {
  padding: 3rem;
  border-right: 1px solid var(--border-light);
}
.solution__text {
  padding: 3rem;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.05) 0%,
    rgba(79, 70, 229, 0.05) 100%
  );
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.service__card {
  padding: 2.5rem;
}
.service__icon {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
  transition: var(--transition);
}
.service__card:hover .service__icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}
.service__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.service__description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}
.process__step {
  padding: 2rem;
}
.process__number {
  font-size: 5rem;
  font-weight: 800;
  color: var(--bg-subtle);
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  z-index: 0;
  line-height: 1;
  transition: var(--transition);
  opacity: 0.5;
}
.process__step:hover .process__number {
  color: rgba(124, 58, 237, 0.1);
  transform: scale(1.1);
  opacity: 1;
}
.process__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.process__description {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* NEW WORK GRID STYLES */
.work__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}
.work__card {
  display: flex;
  flex-direction: column;
}
.work__img-wrapper {
  width: 100%;
  height: 300px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
/* Simulated thumbnails */
.work__card:nth-child(1) .work__img-wrapper {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}
.work__card:nth-child(2) .work__img-wrapper {
  background: linear-gradient(135deg, #831843 0%, #be185d 100%);
}
.work__card:nth-child(3) .work__img-wrapper {
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
}
.work__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work__card:hover .work__overlay {
  opacity: 1;
}
.work__content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.work__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.work__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.work__description {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Google Reviews Carousel */
.testimonials-slider {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
  /* Add fade masks on sides */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  margin-top: 3rem;
}

.testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 40s linear infinite;
  /* Ensure smooth movement */
  will-change: transform;
}

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

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* We will duplicate the items, so move by half the total width if using duplicates 
       BUT here we will just create a long list and maybe use percentage if we know the width
       or use JS to reset. The simplest CSS-only infinite scroll with seamless looping
       requires duplicates that exactly match the viewport width. 
       Let's assume we have two sets of items and transform -50% works if the sets are identical. */
    transform: translateX(-50%);
  }
}

.google-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  min-width: 350px;
  max-width: 350px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  /* Make sure they don't shrink */
  flex-shrink: 0;
}

.google-review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.reviewer-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.reviewer-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1rem;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.google-icon {
  width: 24px;
  height: 24px;
}

.review-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24; /* Amber 400 */
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
  /* Center it */
  margin-left: auto;
  margin-right: auto;
}

.rating-score {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.rating-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.rating-source {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* NEW CONTACT SECTION STYLES */
.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Split layout */
  gap: 4rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 2rem;
  padding: 4rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}

.contact__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.contact__desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact__icon {
  width: 50px;
  height: 50px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}
.contact__label {
  display: block;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 0.25rem;
}
.contact__link {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact__link:hover {
  color: var(--accent-color);
}

.contact__form-wrapper {
  background: var(--bg-subtle);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border-light);
}
.form__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.form__group {
  margin-bottom: 1.5rem;
}
.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form__input {
  width: 100%;
  padding: 1rem 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  /* font-family: var(--font-primary); */
  font-family: serif;
  transition: var(--transition);
}
.form__input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.form__input::placeholder {
  color: var(--text-tertiary);
}
.contact__img img {
  height: 250px;
  object-fit: cover;
  margin-top: 20px;
  width: 100%;
  border-radius: 12px;
}
/* Insights Section */
.insights__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.insight__card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.insight__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--accent-light);
}
.insight__image {
  width: 100%;
  height: 200px;
  background-color: var(--bg-subtle); /* Fallback */
}
.insight__content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.insight__tag {
  color: var(--accent-color);
  background: var(--bg-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.insight__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.4;
}
.insight__excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}
.insight__link {
  font-weight: 600;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.insight__link:hover {
  gap: 0.75rem;
}

.footer {
  background-color: #020617; /* Keep dark footer for contrast */
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border-light);
  color: #94a3b8; /* Slate 400 for text */
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer__logo {
  font-size: 1.75rem;
  font-weight: 800;
  display: block;
  margin-bottom: 1rem;
  color: var(--white);
  letter-spacing: -1px;
}
.footer__description {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 300px;
  line-height: 1.6;
}
.footer__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.footer__link {
  color: #94a3b8;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.footer__link:hover {
  color: var(--accent-light);
  transform: translateX(5px);
}
.footer__copy {
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Floating Card Base */
.float-card {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  min-width: 180px;
  backdrop-filter: blur(10px);
}
.float-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}
.float-content {
  display: flex;
  flex-direction: column;
}
.float-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.float-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Social Proof */
.social-proof {
  padding: 2rem 0 4rem;
  border-bottom: 1px solid var(--border-light);
}
.social-proof__label {
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.logos__track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem 4rem;
  opacity: 0.5;
  filter: grayscale(1);
}
.logo-item {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.05em;
}

.section__title--medium {
  font-size: 2rem;
}

.section__subtitle--zero-margin {
  margin: 0;
  margin-bottom: 2rem;
}

.value__list {
  color: var(--text-secondary);
  line-height: 2;
}

.value__list li i {
  display: inline;
  width: 1.2em;
  color: var(--accent-color);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.solution__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.solution__stat-value,
.solution__stat-value-static {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
}

.solution__stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.insight__image--strategy {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.insight__image--design {
  background: linear-gradient(135deg, #f3e8ff 0%, #d8b4fe 100%);
}

.insight__image--conversion {
  background: linear-gradient(135deg, #fae8ff 0%, #f0abfc 100%);
}

.insight__link i {
  width: 1em;
  vertical-align: middle;
}

.whatsapp-section {
  background-image: url("../assets/images/whatsapp-bg.jpeg");
  background-size: cover;
  background-position: center;
  display: none;
}

/* Responsive */

@media screen and (max-width: 991px) {
  .section {
    padding: 3rem 0;
  }

  .nav {
    position: fixed;
    top: 20px;
    right: 0;
    transform: translateX(140%);
    width: 100%;
    height: calc(100vh - 40px);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s all;
    z-index: 1000;
    border-radius: 20px;
  }
  .nav.show-menu {
    transform: translateX(0);
    top: 20px;
  }
  .nav.show-menu .nav__close {
    color: #000 !important;
  }
  .nav__list {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .nav__link {
    font-size: 1.5rem;
    color: var(--text-primary);
  }
  .nav__toggle,
  .nav__close {
    display: block;
    color: #fff;
  }
  .header.scrolled .nav-toggle,
  .header.scrolled .nav__close {
    color: var(--text-primary);
  }
  .nav__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }
  .hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero__content {
    text-align: center;
  }
  .hero__title {
    font-size: 3rem;
  }
  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__btns {
    justify-content: center;
  }
  /* Floating elements simplified */
  .hero__orbit-elements {
    display: none; /* Hide floating text on mobile for cleanliness */
  }

  .problem__container {
    grid-template-columns: 1fr;
  }
  .nav__btns .btn {
    display: none;
  }
  .nav__btns {
    display: flex;
    align-items: center;
  }
  .nav__toggle {
    margin-left: auto;
  }

  /* Contact Responsive */
  .contact__wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .contact__content {
    margin-bottom: 2rem;
  }

  /* Social Proof Responsive */
  .logos__track {
    gap: 2rem;
  }
  .whatsapp-section {
    display: block;
  }
  .whatsapp-section h2 {
    color: #fff;
  }
  .whatsapp-section p {
    color: #d2d4d6;
  }
}
@media (max-width: 650px) {
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
@media (max-width: 550px) {
  .problem__text {
    padding: 0.5em;
  }
  .solution__stat-value,
  .solution__stat-value-static {
    font-size: 2rem;
  }
  .work__grid {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}

@media (max-width: 450px) {
  .hero__btns {
    flex-direction: column;
  }
  .contact__wrapper {
    padding: 2em 1em;
  }
  .contact__form-wrapper {
    border: none;
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact__item {
    flex-direction: column;
    align-items: start;
  }
  .contact__wrapper {
    gap: 0;
  }
}

@media (max-width: 992px) {
  /* --- HYBRID SERVICES LAYOUT SWITCH FOR MOBILE/TABLET --- */
  .desktop-levels {
    display: none !important;
  }
  .mobile-services {
    display: block !important;
  }
  .levels-sec .section__title {
    display: block; /* Show title on mobile */
  }
  .levels-sec {
    padding: 3rem 0;
  }
}

/* Liquid Animation Canvas - Force Absolute Background */
#value-canvas-container canvas,
#contact-canvas-container canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  pointer-events: none;
}

/* Ensure content sits above canvas */
#value-canvas-container .solution__grid,
#contact-canvas-container .contact__form {
  position: relative;
  z-index: 2;
}

/* Make text visible on potentially dark liquid background */
#value-canvas-container .solution__stat-value,
#value-canvas-container .solution__stat-value-static {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
#value-canvas-container .solution__stat-label {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.submit-btn {
  background-color: #fff;
  color: #000;
}
.submit-btn:hover {
  color: #fff;
}
/* --- HYBRID SERVICES LAYOUT --- */
/* Default: Desktop Levels Only */
.desktop-levels {
  display: block;
}
.mobile-services {
  display: none;
}
.levels-sec .section__title {
  display: block;
}

/* NEW SERVICES SECTION STYLES (Levels Layout) */
/* Contact Form Text Visibility */
#contact-canvas-container .form__title,
#contact-canvas-container .form__label {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
#contact-canvas-container .form__input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}
#contact-canvas-container .form__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
#contact-canvas-container .form__input:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
}

/* NEW SERVICES SECTION STYLES (Levels Layout) */
.full-width-container {
  max-width: 100%;
  padding: 0;
}

.levels-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  position: relative; /* Context for sticky */
}

.levels-col {
  position: relative;
}

.levels-left {
  border-right: 1px solid var(--border-light);
  /* height: 100%; Removed to allow sticky to work naturally in grid cell */
}

.levels-left-inner {
  height: 100%;
  position: relative;
}

.sticky-wrapper {
  position: sticky;
  top: 10px;
  display: flex;
  flex-direction: column;
  /* Removed fixed 100vh height to allow natural sticky behavior */
  padding-bottom: 2rem; /* Buffer */
}

.level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 3rem;
  border-bottom: 1px solid var(--border-light);
  /* background: var(--bg-color);  */
  z-index: 10;
}

.level-num {
  font-family: var(--font-primary);
  /* font-family: serif; */
  font-size: 1.25rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.level-label {
  font-family: var(--font-primary);
  /* font-family: serif; */
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* .levels-right {
  background-color: var(--bg-subtle);
} */

.level-content {
  padding: 5rem;
  min-height: 80vh; /* Ensure scroll length */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.level-headline {
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.info-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.overview-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
}

.btn--dark {
  background: var(--text-primary);
  color: white;
  border-radius: 4px; /* Slightly rounded or 0 as requested */
  padding: 1rem 2rem;
}
.btn--dark:hover {
  background: black;
  transform: translateY(-2px);
  color: white;
}

.border-top-light {
  border-top: 1px solid var(--border-light);
}

/* Utilities helper mimicking bootstrap */
.d-block {
  display: block;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
  .levels-row {
    grid-template-columns: 1fr;
  }
  .levels-left {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  /* Sticky behavior changes on mobile - header stays at top of section */
  .sticky-wrapper {
    position: relative;
    top: auto;
  }
  .level-header {
    padding: 1.5rem;
  }
  .level-content {
    padding: 3rem 1.5rem;
    min-height: auto;
  }
  .levels-row.border-top-light {
    border-top: none; /* Already separated by stack */
  }
}

/* ========================================
   CARD SCANNER SECTION
   ======================================== */
.text-block {
  display: block;
}
.card-scanner {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 100vh;
  background: #0f172a; /* Fallback color */
}

#scanner-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

#scanner-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scanner-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scanner-header {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: 900px;
  width: 90%;
}

.scanner-header .section__title {
  color: #fff;
  margin-bottom: 1rem;
}

.scanner-header .section__subtitle {
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto;
}

.card-stream {
  position: absolute;
  display: flex;
  align-items: center;
  overflow: visible;
  top: 50%;
  transform: translateY(-20%);
  z-index: 10;
  width: 100%;
}

.card-line {
  display: flex;
  align-items: center;
  gap: 60px;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.card-line:active {
  cursor: grabbing;
}

.card-line.dragging {
  cursor: grabbing;
}

.card-wrapper {
  position: relative;
  width: 400px;
  height: 250px;
  flex-shrink: 0;
}

.card {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
}

.card-normal {
  background: transparent;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  color: white;
  z-index: 2;
  position: relative;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  transition: all 0.3s ease;
  filter: brightness(1.1) contrast(1.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.card-image:hover {
  filter: brightness(1.2) contrast(1.2);
}

.card-ascii {
  background: transparent;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
}

.ascii-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(196, 181, 253, 0.6);
  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 13px;
  overflow: hidden;
  white-space: pre;
  clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0);
  animation: glitch 0.1s infinite linear alternate-reverse;
  margin: 0;
  padding: 0;
  text-align: left;
  vertical-align: top;
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 80%,
    rgba(0, 0, 0, 0.2) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.4) 80%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

@keyframes glitch {
  0% {
    opacity: 1;
  }
  15% {
    opacity: 0.9;
  }
  16% {
    opacity: 1;
  }
  49% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  99% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

.card-normal {
  clip-path: inset(0 0 0 var(--clip-right, 0%));
}

.card-ascii {
  clip-path: inset(0 calc(100% - var(--clip-left, 0%)) 0 0);
}

.scan-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.4),
    transparent
  );
  animation: scanEffect 0.6s ease-out;
  pointer-events: none;
  z-index: 5;
}

@keyframes scanEffect {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

#particleCanvas {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-25%);
  width: 100vw;
  height: 250px;
  z-index: 0;
  pointer-events: none;
}

#scannerCanvas {
  position: absolute;
  top: 50%;
  left: -3px;
  transform: translateY(-25%);
  width: 100vw;
  height: 300px;
  z-index: 15;
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-wrapper {
    width: 300px;
    height: 188px;
  }

  .card,
  .card-normal,
  .card-ascii {
    width: 300px;
    height: 188px;
  }

  .card-line {
    gap: 40px;
  }

  .scanner-header {
    top: 5%;
  }

  .scanner-header .section__title {
    font-size: 2rem;
  }

  .scanner-header .section__subtitle {
    font-size: 1rem;
  }
}

/* =========================================
   WHATSAPP FLOATING ANIMATIONS
   ========================================= */

.whatsapp-section {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  background-color: rgba(
    248,
    250,
    252,
    0.5
  ); /* Light gray/blue background with reduced opacity */
}

/* Add a subtle pattern overlay if desired, or keep clean */
.whatsapp-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(124, 58, 237, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.whatsapp-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 700px; /* Tighter focus */
  margin: 0 auto;
}

.whatsapp-msg {
  position: relative;
  padding: 1.5rem 2rem;
  border-radius: 20px;
  font-family: var(--font-primary);
  font-size: 1.05rem;
  line-height: 1.6;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.05); /* Premium soft shadow */
  max-width: 85%;
  animation: float-msg 6s ease-in-out infinite;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.whatsapp-msg:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

/* Left Alignment (Client) */
.whatsapp-msg--left {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: white;
  color: var(--text-primary);
}

/* Right Alignment (Agency Reply) */
.whatsapp-msg--right {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  text-align: left;
  background: linear-gradient(
    135deg,
    #f5f3ff 0%,
    white 100%
  ); /* Subtle violet tint */
  color: var(--text-primary);
  border-color: rgba(124, 58, 237, 0.1);
}

.whatsapp-time {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  text-align: right;
  font-weight: 500;
}

/* Randomize Float Delays */
.whatsapp-msg:nth-child(1) {
  animation-delay: 0s;
}
.whatsapp-msg:nth-child(2) {
  animation-delay: 1.5s;
}
.whatsapp-msg:nth-child(3) {
  animation-delay: 0.5s;
}
.whatsapp-msg:nth-child(4) {
  animation-delay: 2s;
}
.whatsapp-msg:nth-child(5) {
  animation-delay: 1s;
}

@keyframes float-msg {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .whatsapp-section {
    padding: var(--space-xl) 0;
  }

  .whatsapp-grid {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .whatsapp-msg {
    max-width: 100%;
    font-size: 0.95rem;
    padding: 1.25rem;
  }
}
/* GSAP STACKING SECTIONS */
.pinned-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.cards-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 400px;
  perspective: 1000px;
}

.stacking-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  opacity: 0;
  transform-origin: center top;
  will-change: transform, opacity;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.card-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.red-theme {
  background: #fef2f2;
  color: #ef4444;
}

.violet-theme {
  background: #f3e8ff;
  color: #7c3aed;
}

.card-text h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.card-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.card-visual {
  margin-left: auto;
  width: 150px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
  display: none;
}

@media (min-width: 768px) {
  .card-visual {
    display: block;
  }
}

.visual-placeholder {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.red-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #fee2e2,
    #fee2e2 10px,
    #fecaca 10px,
    #fecaca 20px
  );
}

.violet-placeholder {
  background: repeating-linear-gradient(
    45deg,
    #ede9fe,
    #ede9fe 10px,
    #ddd6fe 10px,
    #ddd6fe 20px
  );
}

@media (max-width: 768px) {
  .pinned-section {
    height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
    display: block;
  }

  .cards-wrapper {
    height: auto;
    display: grid;
    gap: 1.5rem;
  }

  .stacking-card {
    position: relative;
    opacity: 1;
    height: auto;
    text-align: left;
    padding: 2rem;
  }

  .card-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

/* Social Proof Logo Slider */
.social-proof {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.social-proof__label {
  text-align: center;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-lg);
  font-weight: 600;
}

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

.logo-item {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #292a2b;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

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

/* Pause animation on hover */
.logos__track:hover {
  animation-play-state: paused;
}
