/* Aaura AI Component System */
/* Uses CSS custom properties from design-system.css */

/* === BASE STYLES === */

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  line-height: var(--line-height-body);
  color: var(--color-gray-700);
  background-color: var(--color-white);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-2);
  color: var(--color-gray-800);
}

h1 {
  font-size: var(--font-size-6xl);
  line-height: var(--line-height-tight);
}

h2 {
  font-size: var(--font-size-5xl);
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-gray-500);
  line-height: var(--line-height-relaxed);
}

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

a:hover {
  text-decoration: underline;
}

/* Text sizes for specific use cases */
.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }
.text-5xl { font-size: var(--font-size-5xl); }
.text-6xl { font-size: var(--font-size-6xl); }

/* Font weights */
.font-thin { font-weight: var(--font-weight-thin); }
.font-extralight { font-weight: var(--font-weight-extralight); }
.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.font-black { font-weight: var(--font-weight-black); }

/* Line heights */
.leading-none { line-height: var(--line-height-none); }
.leading-tight { line-height: var(--line-height-tight); }
.leading-snug { line-height: var(--line-height-snug); }
.leading-normal { line-height: var(--line-height-normal); }
.leading-relaxed { line-height: var(--line-height-relaxed); }
.leading-loose { line-height: var(--line-height-loose); }

/* Text colors */
.text-gray-400 { color: var(--color-gray-400); }
.text-gray-500 { color: var(--color-gray-500); }
.text-gray-600 { color: var(--color-gray-600); }
.text-gray-700 { color: var(--color-gray-700); }
.text-gray-800 { color: var(--color-gray-800); }
.text-gray-900 { color: var(--color-gray-900); }
.text-white { color: var(--color-white); }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* === BASE COMPONENTS === */

/* === NAVIGATION COMPONENT === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-width-thin) solid var(--color-primary-light);
  z-index: 1000;
  padding: var(--space-4) 0;
  font-family: var(--font-family-primary);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-brand a {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none !important;
}

.nav-brand a:hover {
  text-decoration: none !important;
}

.nav-brand .logo {
  height: 2.75rem;
  width: auto;
  display: block;
}

.nav-brand .brand-tagline {
  font-family: var(--font-family-primary) !important;
  font-size: var(--font-size-sm) !important;
  color: var(--color-navy) !important;
  font-weight: var(--font-weight-medium) !important;
  margin-left: var(--space-3);
  margin-top: var(--space-3);
  font-style: italic;
  line-height: 1;
  white-space: nowrap;
}

/* no underline on link hover */
.nav-brand .brand-tagline:hover {
  text-decoration: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-left: auto;
}

/* Navigation items with potential dropdowns */
.nav-item {
  position: relative;
  display: inline-block;
}

.nav-link {
  text-decoration: none;
  color: var(--color-navy);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  transition: color var(--transition-normal);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  text-decoration: none !important;
}

/* Dropdown icon styling */
.dropdown-icon {
  font-size: var(--font-size-xs);
  transition: transform var(--transition-normal);
}

.nav-item:hover .dropdown-icon,
.nav-item.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Dropdown menu styling */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: var(--border-width-thin) solid rgba(20, 184, 166, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  padding: var(--space-2) 0;
}

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

.dropdown-item {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--color-navy);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-normal);
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  color: var(--color-navy-dark);
  background: rgba(20, 184, 166, 0.1);
  border-left-color: var(--color-primary);
  text-decoration: none !important;
}

/* Dropdown divider */
.dropdown-divider {
  height: 1px;
  background: var(--color-gray-300);
  margin: var(--space-1) 0;
}

/* Standalone dropdown container */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-container .dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.dropdown-container .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  border: var(--border-width-thin) solid rgba(20, 184, 166, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  min-width: 160px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-normal);
  padding: var(--space-2) 0;
}

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

.dropdown-container .dropdown-icon {
  font-size: var(--font-size-xs);
  transition: transform var(--transition-normal);
}

.dropdown-container:hover .dropdown-icon,
.dropdown-container.active .dropdown-icon {
  transform: rotate(180deg);
}

/* Navigation buttons */
.nav-menu .btn {
  margin-left: var(--space-2);
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-4);
}

.nav-menu .btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: var(--border-width-thick) solid var(--color-primary);
}

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

.nav-menu .btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
}

.nav-menu .btn--primary:hover {
  background: var(--gradient-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-2);
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-gray-700);
  margin: 3px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Section Header */
.section-header {
  text-align: center;
  padding-bottom: var(--space-10);
  padding-top: var(--space-16);
}

.section-title {
  /* font-size: var(--font-size-6xl); */
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  color: var(--color-gray-800);
}

.section-description {
  font-size: var(--font-size-xl);
  color: var(--color-gray-500);
  max-width: 40rem;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

/* === BUTTON COMPONENTS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--button-padding-md);
  font-size: var(--font-size-base);
  font-weight: var(--button-font-weight);
  text-decoration: none;
  border: none;
  border-radius: var(--button-radius);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--gradient-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.25);
  text-decoration: none !important;
}

.btn--secondary {
  background: var(--color-gray-50);
  color: var(--color-gray-700);
  border: var(--border-width-thin) solid var(--color-gray-200);
}

.btn--secondary:hover {
  background: var(--color-gray-100);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: var(--border-width-thick) solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  text-decoration: none !important;
}

/* Button Sizes */
.btn--sm { padding: var(--button-padding-sm); font-size: var(--font-size-sm); }
.btn--lg { padding: var(--button-padding-lg); font-size: var(--font-size-lg); }
.btn--full { width: 100%; justify-content: center; }

/* === FEATURE CARD COMPONENTS === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.feature-card {
  background: var(--feature-bg);
  padding: var(--feature-padding);
  border-radius: var(--feature-radius);
  border: var(--border-width-thin) solid var(--feature-border);
  transition: all var(--transition-normal);
  box-shadow: var(--feature-shadow);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

/* Create horizontal header layout for icon + title */
.feature-card__header {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-6);
}

.feature-card__header .feature-card__icon {
  margin-bottom: 0;
  margin-right: var(--space-4);
}

.feature-card__header .feature-card__title {
  margin-bottom: 0;
  margin-top: 0;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--feature-shadow-hover);
}

.feature-card__icon {
  width: var(--feature-icon-size);
  height: var(--feature-icon-size);
  border-radius: var(--feature-icon-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  background: linear-gradient(135deg, var(--icon-color-from, var(--color-teal-from)), var(--icon-color-to, var(--color-teal-to)));
  flex-shrink: 0;
}

.feature-card__slider-icon {
  width: var(--feature-slider-icon-size);
  height: var(--feature-slider-icon-size);
  border-radius: var(--feature-slider-icon-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: var(--space-6);
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  background: linear-gradient(135deg, var(--icon-color-from, var(--color-teal-from)), var(--icon-color-to, var(--color-teal-to)));
  flex-shrink: 0;
}

.feature-card__svg {
  width: 100%;
  height: auto;
  color: var(--color-white);
  border-radius: var(--feature-svg-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-shrink: 0;
}

.feature-card__svg .feature-card__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
  margin: 0;
  flex: 1;
  text-align: left;
}

.feature-card__svg img {
  flex-shrink: 0;
  margin-left: 1rem;
  width: 5rem;
  height: 5rem;
  fill: var(--color-white);
}

.feature-card__description {
  color: var(--color-gray-500);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

/* Theme Modifiers for Feature Cards */
.feature-card--teal {
  --icon-color-from: var(--color-teal-from);
  --icon-color-to: var(--color-teal-to);
}

.feature-card--purple {
  --icon-color-from: var(--color-purple-from);
  --icon-color-to: var(--color-purple-to);
}

.feature-card--amber {
  --icon-color-from: var(--color-amber-from);
  --icon-color-to: var(--color-amber-to);
}

.feature-card--emerald {
  --icon-color-from: var(--color-emerald-from);
  --icon-color-to: var(--color-emerald-to);
}

.feature-card--cyan {
  --icon-color-from: var(--color-cyan-from);
  --icon-color-to: var(--color-cyan-to);
}

.feature-card--blue {
  --icon-color-from: var(--color-blue-from);
  --icon-color-to: var(--color-blue-to);
}

.feature-card--rose {
  --icon-color-from: var(--color-rose-from);
  --icon-color-to: var(--color-rose-to);
}

.feature-card--green {
  --icon-color-from: var(--color-green-from);
  --icon-color-to: var(--color-green-to);
}

.feature-card--indigo {
  --icon-color-from: var(--color-indigo-from);
  --icon-color-to: var(--color-indigo-to);
}

.feature-card--navy {
  --icon-color-from: var(--color-navy-from);
  --icon-color-to: var(--color-navy-to);
}

/* === TESTIMONIAL COMPONENTS === */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.testimonial-card {
  background: var(--testimonial-bg);
  padding: var(--testimonial-padding);
  border-radius: var(--testimonial-radius);
  border: var(--border-width-thin) solid var(--testimonial-border);
  box-shadow: var(--testimonial-shadow);
  transition: all var(--transition-normal);
  position: relative;
  overflow: visible;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  font-size: var(--font-size-5xl);
  color: var(--color-primary);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
}

.testimonial-card__rating {
  color: var(--color-warning);
  margin-bottom: var(--space-4);
}

.testimonial-card__content {
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.testimonial-card__text {
  font-style: italic;
  color: var(--color-gray-700);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-full);
  object-fit: cover;
}

.testimonial-card__author-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
  margin-bottom: var(--space-1);
  font-size: var(--font-size-base);
}

.testimonial-card__author-title {
  color: var(--color-gray-500);
  font-size: var(--font-size-sm);
  margin: 0;
}

/* === PRICING COMPONENTS === */
.pricing {
  padding-top: var(--space-12);
  padding-bottom: var(--space-16);
  /* background-color: var(--color-secondary-lighter); */
  background-color: var(--color-primary-lighter);
  border-top: 1px solid var(--color-primary-light);
  border-bottom: 1px solid var(--color-primary-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: var(--space-8);
}

.pricing-card {
  background: var(--pricing-bg);
  border-radius: var(--pricing-radius);
  box-shadow: var(--pricing-shadow);
  border: var(--border-width-thick) solid var(--pricing-border);
  padding: var(--pricing-padding);
  text-align: center;
  position: relative;
  transition: all var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.pricing-card--featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
  z-index: 1;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-50) 100%);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.pricing-card__name {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
  margin-bottom: var(--space-4);
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: var(--space-4) 0;
}

.pricing-card__currency {
  font-size: var(--font-size-2xl);
  color: var(--color-gray-500);
}

.pricing-card__amount {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
}

.pricing-card__period {
  font-size: var(--font-size-base);
  color: var(--color-gray-500);
}

.pricing-card__description {
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
}

.pricing-card__features {
  list-style: none;
  margin: var(--space-8) 0;
  text-align: left;
}

.pricing-card__feature {
  padding: var(--space-3) 0;
  border-bottom: var(--border-width-thin) solid var(--color-gray-100);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-gray-700);
}

.pricing-card__feature:last-child {
  border-bottom: none;
}

.pricing-card__feature i {
  color: var(--color-success);
  font-size: var(--font-size-base);
  width: 16px;
  flex-shrink: 0;
}

/* === BENTO GRID SYSTEM === */
.bento-grid {
  display: grid;
  gap: var(--space-4);
  width: 100%;
  height: 100%;
  min-height: 400px; /* Minimum height to ensure visibility */
}

/* Space-filling grid layouts */
.bento-grid--4 {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.bento-grid--6 {
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
}

.bento-grid--8 {
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
}

.bento-grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;
  min-height: 600px; /* Specific min-height for auto layout */
}

/* Bento Card Styles */
.bento-card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--border-width-thin) solid var(--color-gray-100);
  height: 100%; /* Fill the grid area completely */
  min-height: 0; /* Allow shrinking if needed */
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

/* Card sizes for different grid layouts */
.bento-card--small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-card--medium {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-card--large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-card--wide {
  grid-column: span 3;
  grid-row: span 1;
}

.bento-card--tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-card--xl {
  grid-column: span 3;
  grid-row: span 2;
}

.bento-card--feature {
  grid-column: span 4;
  grid-row: span 2;
}

/* Card Elements */
.bento-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  font-size: var(--font-size-xl);
  color: var(--color-white);
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.bento-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--border-radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

.bento-card__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
  margin-bottom: var(--space-3);
  line-height: var(--line-height-snug);
}

.bento-card__description {
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-4);
  flex-grow: 1;
}

.bento-card__image {
  width: 100%;
  height: 120px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--color-gray-100);
}

.bento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  margin-top: auto;
  transition: color var(--transition-normal);
}

.bento-card__link:hover {
  color: var(--color-secondary);
}

/* Theme variations */
.bento-card--teal {
  background: linear-gradient(135deg, var(--color-teal-from) 0%, var(--color-teal-to) 100%);
  color: var(--color-white);
}

.bento-card--teal .bento-card__title,
.bento-card--teal .bento-card__description {
  color: var(--color-white);
}

.bento-card--purple {
  background: linear-gradient(135deg, var(--color-purple-from) 0%, var(--color-purple-to) 100%);
  color: var(--color-white);
}

.bento-card--purple .bento-card__title,
.bento-card--purple .bento-card__description {
  color: var(--color-white);
}

.bento-card--amber {
  background: linear-gradient(135deg, var(--color-amber-from) 0%, var(--color-amber-to) 100%);
  color: var(--color-white);
}

.bento-card--amber .bento-card__title,
.bento-card--amber .bento-card__description {
  color: var(--color-white);
}

.bento-card--blue {
  background: linear-gradient(135deg, var(--color-blue-from) 0%, var(--color-blue-to) 100%);
  color: var(--color-white);
}

.bento-card--blue .bento-card__title,
.bento-card--blue .bento-card__description {
  color: var(--color-white);
}

.bento-card--emerald {
  background: linear-gradient(135deg, var(--color-emerald-from) 0%, var(--color-emerald-to) 100%);
  color: var(--color-white);
}

.bento-card--emerald .bento-card__title,
.bento-card--emerald .bento-card__description {
  color: var(--color-white);
}

.bento-card--rose {
  background: linear-gradient(135deg, var(--color-rose-from) 0%, var(--color-rose-to) 100%);
  color: var(--color-white);
}

.bento-card--rose .bento-card__title,
.bento-card--rose .bento-card__description {
  color: var(--color-white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .bento-grid--4,
  .bento-grid--6,
  .bento-grid--8 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(auto, 1fr);
    min-height: 500px;
  }
  
  .bento-card--large,
  .bento-card--wide,
  .bento-card--xl,
  .bento-card--feature {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .bento-card--tall {
    grid-column: span 1;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .bento-grid--4,
  .bento-grid--6,
  .bento-grid--8,
  .bento-grid--auto {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(auto, 1fr);
    min-height: 600px;
  }
  
  .bento-card--small,
  .bento-card--medium,
  .bento-card--large,
  .bento-card--wide,
  .bento-card--tall,
  .bento-card--xl,
  .bento-card--feature {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* === HERO COMPONENTS === */
.hero {
  padding: var(--hero-padding);
  /* background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 50%, #ecfdf5 100%); */
  /* background-image: url('../images/bg-splash.jpg'); */
  /* background-repeat: repeat; */
  /* background-position: center; */
  position: relative;
  /* min-height: 100vh; Removed to make the hero section shorter */
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-bg-overlay);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__content {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-secondary-lighter);
  color: var(--color-secondary-dark);
  padding: var(--space-1) var(--space-2);
  border: var(--border-width-thin) solid var(--color-secondary-light);
  border-radius: var(--border-radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-6);
  line-height: var(--line-height-tight);
  color: var(--color-gray-800);
  margin-bottom: var(--space-6);
  font-family: var(--font-type-heading);
  letter-spacing: .01em;
}

.hero__description {
  /* font-size: var(--font-size-xl); */
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

.hero__stats {
  display: flex;
  gap: var(--space-8);
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  display: block;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
}

.hero__stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

.hero__visual {
  position: relative;
}

.hero__image {
  width: 100%;
  /* border-radius: var(--border-radius-xl); */
  /* box-shadow: var(--shadow-2xl); */
  /* border: var(--border-width-thin) solid var(--color-gray-200); */
}

.hero__image img {
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transform: perspective(95rem) rotateY(-4deg) rotateX(1.25deg);
  border-radius: var(--border-radius-sm);
}

/* === TRUST NOTE === */
.trust-note {
  text-align: center;
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
}

/* === CTA COMPONENTS === */
.cta {
  padding: var(--space-20) 0;
  background: var(--gradient-primary-light);
  color: var(--color-white);
  text-align: center;
}

.cta__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
}

.cta__description {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed);
}

.cta .btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.cta .btn--primary:hover {
  background: var(--color-gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta__note {
  /* margin-top: var(--space-4); */
  font-size: var(--font-size-sm);
  color:var(--color-gray-600);
}

/* === DOODLE SYSTEM === */
.doodle {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  width: var(--doodle-size, var(--doodle-size-md));
  height: var(--doodle-size, var(--doodle-size-md));
  color: var(--doodle-color, var(--color-primary));
  opacity: var(--doodle-opacity, var(--doodle-opacity-normal));
  transition: all var(--transition-normal);
}

/* Doodle Size Modifiers */
.doodle--xs { --doodle-size: var(--doodle-size-xs); }
.doodle--sm { --doodle-size: var(--doodle-size-sm); }
.doodle--md { --doodle-size: var(--doodle-size-md); }
.doodle--lg { --doodle-size: var(--doodle-size-lg); }
.doodle--xl { --doodle-size: var(--doodle-size-xl); }
.doodle--2xl { --doodle-size: var(--doodle-size-2xl); }

/* Doodle Color Theme Modifiers */
.doodle--primary { --doodle-color: var(--color-primary); }
.doodle--secondary { --doodle-color: var(--color-secondary); }
.doodle--accent { --doodle-color: var(--color-amber-from); }
.doodle--neutral { --doodle-color: var(--color-gray-400); }
.doodle--craft-warm { --doodle-color: var(--doodle-craft-warm); }
.doodle--craft-earth { --doodle-color: var(--doodle-craft-earth); }
.doodle--craft-sage { --doodle-color: var(--doodle-craft-sage); }
.doodle--craft-lavender { --doodle-color: var(--doodle-craft-lavender); }

/* Doodle Opacity Modifiers */
.doodle--subtle { --doodle-opacity: var(--doodle-opacity-subtle); }
.doodle--normal { --doodle-opacity: var(--doodle-opacity-normal); }
.doodle--strong { --doodle-opacity: var(--doodle-opacity-strong); }

/* Doodle Positioning Modifiers */
.doodle--top-right { top: -10px; right: -10px; }
.doodle--top-left { top: -10px; left: -10px; }
.doodle--bottom-right { bottom: -10px; right: -10px; }
.doodle--bottom-left { bottom: -10px; left: -10px; }
.doodle--center { top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Doodle Animations */
.doodle--float {
  animation: doodleFloat var(--doodle-animation-duration) ease-in-out infinite;
  animation-delay: var(--doodle-animation-delay);
}

.doodle--pulse {
  animation: doodlePulse var(--doodle-animation-duration) ease-in-out infinite;
  animation-delay: var(--doodle-animation-delay);
}

.doodle--bounce {
  animation: doodleBounce var(--doodle-animation-duration) ease-in-out infinite;
  animation-delay: var(--doodle-animation-delay);
}

.doodle--sway {
  animation: craftSway 3s ease-in-out infinite;
  animation-delay: var(--doodle-animation-delay);
}

.doodle--gentle-spin {
  animation: gentleSpin 8s linear infinite;
  animation-delay: var(--doodle-animation-delay);
}

/* Doodle Container Helpers */
.doodled {
  position: relative;
  overflow: visible;
}

/* === KEYFRAME ANIMATIONS === */
@keyframes doodleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

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

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

@keyframes craftSway {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

@keyframes gentleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

@keyframes breathe {
  0%, 100% { 
    transform: translateY(-50%) scale(1);
    opacity: 0.75;
  }
  50% { 
    transform: translateY(-50%) scale(1.05);
    opacity: 0.9;
  }
}

/* === FLOATING CARDS COMPONENT === */
.floating-card {
  position: absolute;
  background: var(--color-white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-medium);
  animation: float 3s ease-in-out infinite;
  border: var(--border-width-thin) solid var(--color-primary);
}

.floating-card .card-icon {
  width: 20px;
  height: 20px;
}

.card-1 {
  top: -10px;
  right: -10px;
  color: var(--color-primary);
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  left: -15px;
  color: var(--color-purple-from);
  animation-delay: 1s;
}

.card-3 {
  bottom: -10px;
  right: 10px;
  color: var(--color-amber-from);
  animation-delay: 2s;
}

/* === SOCIAL PROOF COMPONENT === */
.social-proof {
  padding: var(--space-12) 0;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.social-proof-text {
  color: var(--color-gray-500);
  margin-bottom: var(--space-8);
  font-size: var(--font-size-base);
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-12);
  opacity: 0.6;
}

.logo-item {
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-600);
  font-size: var(--font-size-lg);
}

/* === STEPS COMPONENT === */
.how-it-works {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
}

.step {
  text-align: center;
  padding: var(--space-8);
}

.step-number {
  width: 64px;
  height: 64px;
  color: var(--color-white);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  margin: 0 auto var(--space-6);
}

.step h3 {
  margin-bottom: var(--space-4);
  color: var(--color-gray-800);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

.step p {
  color: var(--color-gray-500);
  line-height: var(--line-height-normal);
}

/* Gradient Step Numbers */
.step-number.teal-gradient {
  background: linear-gradient(135deg, var(--color-teal-from) 0%, var(--color-teal-to) 100%);
}

.step-number.purple-gradient {
  background: linear-gradient(135deg, var(--color-purple-from) 0%, var(--color-purple-to) 100%);
}

.step-number.amber-gradient {
  background: linear-gradient(135deg, var(--color-amber-from) 0%, var(--color-amber-to) 100%);
}

.step-number.green-gradient {
  background: linear-gradient(135deg, var(--color-green-from) 0%, var(--color-green-to) 100%);
}

.step-number.navy-gradient {
  background: linear-gradient(135deg, var(--color-navy-from) 0%, var(--color-navy-to) 100%);
}

.testimonials {
  padding: var(--space-12) 0;
  /*background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);*/
  background: var(--color-white);
}

.testimonials-section-header {
  text-align: center;
  padding: 0;
  margin: 0;
}

.testimonials.section-title {
  color: var(--color-gray-800);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
}

/* === TOOL SHOWCASE COMPONENT === */
.visual-tools {
  padding-top: 0;
  padding-bottom: var(--space-12);
  /* padding-left: var(--space-24); */
  /* padding-right: var(--space-24); */
  background: var(--color-white);
}

.tool-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-12);
}

.tool-showcase.reverse {
  direction: rtl;
}

.tool-showcase.reverse > * {
  direction: ltr;
}

.tool-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--font-size-2xl);
}

.tool-header h3 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
  margin: 0;
}

.tool-description {
  font-size: var(--font-size-lg);
  color: var(--color-gray-500);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.tool-features {
  margin-bottom: var(--space-4);
}

.tool-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: var(--border-radius-full);
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-dot.purple {
  background: var(--color-purple-from);
}

.tool-visual {
  position: relative;
}

.tool-image {
  width: 100%;
  /* border-radius: var(--border-radius-xl); */
  box-shadow: var(--shadow-2xl);
  border: var(--border-width-thin) solid var(--color-gray-200);
  transition: transform var(--transition-normal);
}

.tool-image:hover {
  transform: scale(1.1);
}

.tool-image:hover ~ .tool-badge,
.tool-visual:hover .tool-badge {
  z-index: -1;
}

.tool-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--color-white);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  border: var(--border-width-thin) solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  z-index: 10;
}

.tool-badge.purple {
  border-color: var(--color-purple-from);
  color: var(--color-purple-from);
}

.badge-icon {
  width: 20px;
  height: 20px;
}

/* === FOOTER COMPONENT === */
.footer {
  background: var(--color-gray-800);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer-section h4 {
  margin-bottom: var(--space-4);
  color: var(--color-white);
  font-weight: var(--font-weight-semibold);
}

.footer-section a {
  display: block;
  color: var(--color-gray-300);
  text-decoration: none;
  margin-bottom: var(--space-2);
  transition: color var(--transition-normal);
  font-size: var(--font-size-sm);
}

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

.footer-logo {
  height: 40px;
  margin-bottom: var(--space-4);
}

.footer-section p {
  color: var(--color-gray-300);
  /* max-width: 16rem; */
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-gray-700);
  border-radius: var(--border-radius-md);
  color: var(--color-gray-300);
  transition: all var(--transition-normal);
}

.social-links a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-bottom {
  border-top: var(--border-width-thin) solid var(--color-gray-700);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--color-gray-400);
  font-size: var(--font-size-sm);
}

/* === UTILITY CLASSES === */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Feature page specific styles */
.feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.feature-list li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: bold;
  margin-right: var(--space-2);
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
  color: var(--color-white);
}

.feature-item i {
  font-size: var(--font-size-base);
  opacity: 0.8;
}

/* Benefit grid styling */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6);
}

.benefit-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-normal);
}

.benefit-item:hover {
  transform: translateY(-2px);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--color-white);
  font-size: var(--font-size-xl);
}

.benefit-item h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
  color: var(--color-gray-800);
}

.benefit-item p {
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  text-align: center;
}

.stat-item {
  padding: var(--space-6);
}

.stat-number {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
}

/* Metrics grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.metric-category {
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.metric-category h4 {
  color: var(--color-gray-800);
  margin-bottom: var(--space-4);
  font-size: var(--font-size-lg);
}

.metric-category ul {
  list-style: none;
  padding: 0;
}

.metric-category li {
  padding: var(--space-2) 0;
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--color-gray-100);
}

.metric-category li:last-child {
  border-bottom: none;
}

/* Tool preview styling */
.tool-preview {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.preview-header {
  background: var(--color-gray-50);
  padding: var(--space-4);
  border-bottom: 1px solid var(--color-gray-200);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.preview-controls {
  display: flex;
  gap: var(--space-1);
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray-300);
}

.preview-header h4 {
  margin: 0;
  font-size: var(--font-size-sm);
  color: var(--color-gray-700);
}

.preview-content {
  padding: var(--space-4);
}

.workbook-item, .brainstorm-item, .title-suggestion, .chat-message {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-sm);
}

.workbook-item {
  background: var(--color-gray-50);
}

.brainstorm-item {
  background: rgba(20, 184, 166, 0.05);
}

.title-suggestion {
  background: var(--color-gray-50);
  justify-content: space-between;
  align-items: flex-start;
}

.seo-score {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
}

.chat-message {
  margin-bottom: var(--space-3);
}

.chat-message.user {
  background: rgba(20, 184, 166, 0.1);
  margin-left: var(--space-8);
}

.chat-message.ai {
  background: var(--color-gray-50);
  margin-right: var(--space-8);
}

.text-green { color: #10b981; }
.text-amber { color: #f59e0b; }
.text-blue { color: #3b82f6; }
.text-purple { color: #8b5cf6; }
.text-teal { color: #14b8a6; }

/* Gradient utility classes */
.teal-gradient {
  background: linear-gradient(135deg, var(--color-teal-from) 0%, var(--color-teal-to) 100%);
}

.purple-gradient {
  background: linear-gradient(135deg, var(--color-purple-from) 0%, var(--color-purple-to) 100%);
}

.amber-gradient {
  background: linear-gradient(135deg, var(--color-amber-from) 0%, var(--color-amber-to) 100%);
}

.emerald-gradient {
  background: linear-gradient(135deg, var(--color-emerald-from) 0%, var(--color-emerald-to) 100%);
}

.cyan-gradient {
  background: linear-gradient(135deg, var(--color-cyan-from) 0%, var(--color-cyan-to) 100%);
}

.blue-gradient {
  background: linear-gradient(135deg, var(--color-blue-from) 0%, var(--color-blue-to) 100%);
}

.rose-gradient {
  background: linear-gradient(135deg, var(--color-rose-from) 0%, var(--color-rose-to) 100%);
}

.green-gradient {
  background: linear-gradient(135deg, var(--color-green-from) 0%, var(--color-green-to) 100%);
}

.navy-gradient {
  background: linear-gradient(135deg, var(--color-navy-from) 0%, var(--color-navy-to) 100%);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.visible { display: block; }

/* Margin utilities */
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  /* Mobile Brand Tagline */
  .brand-tagline {
    display: none;
  }

  /* Mobile Navigation */
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-top: var(--border-width-thin) solid var(--color-gray-200);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) 0;
    transform: translateY(-100vh);
    transition: transform var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  /* Mobile nav items */
  .nav-menu .nav-item {
    display: block;
    width: 100%;
  }
  
  .nav-menu .nav-link {
    padding: var(--space-4) var(--space-5);
    border-bottom: var(--border-width-thin) solid var(--color-gray-100);
    color: var(--color-gray-700);
    font-weight: var(--font-weight-medium);
    justify-content: space-between;
  }
  
  .nav-menu .nav-link:hover {
    background: var(--color-gray-50);
    color: var(--color-primary);
  }
  
  /* Mobile dropdown styling */
  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--color-gray-50);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }
  
  .nav-menu .nav-item.active .dropdown-menu {
    max-height: 300px;
  }
  
  .nav-menu .dropdown-item {
    padding: var(--space-3) var(--space-8);
    border-bottom: var(--border-width-thin) solid var(--color-gray-200);
    background: var(--color-gray-50);
    border-left: none;
  }
  
  .nav-menu .dropdown-item:hover {
    background: var(--color-gray-100);
  }
  
  .nav-menu .btn {
    margin: var(--space-2) var(--space-5) 0;
    justify-content: center;
  }
  
  .nav-menu .btn:last-child {
    margin-bottom: var(--space-2);
  }
  
  .nav-toggle {
    display: flex;
  }
  
  /* Hero Components */
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero__title {
    font-size: var(--font-size-4xl);
  }
  
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero__stats {
    justify-content: center;
  }
  
  /* Component Grids */
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card--featured {
    transform: none;
  }
  
  .pricing-card--featured:hover {
    transform: translateY(-5px);
  }
  
  /* Tool Showcase */
  .tool-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .tool-showcase.reverse {
    direction: ltr;
  }
  
  .tool-header h3 {
    font-size: var(--font-size-2xl);
  }
  
  .tool-description {
    font-size: var(--font-size-base);
  }
  
  /* Steps */
  .steps {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Social Proof */
  .logos {
    flex-wrap: wrap;
    gap: var(--space-6);
  }
  
  /* Typography Scaling */
  h1, .hero__title {
    font-size: var(--font-size-4xl);
  }
  
  h2, .section-title {
    font-size: var(--font-size-3xl);
  }
  
  h3 {
    font-size: var(--font-size-lg);
  }
  
  .section-description {
    max-width: none;
    font-size: var(--font-size-base);
  }
  
  .hero__description {
    font-size: var(--font-size-lg);
  }
}

/* === UTILITY STYLES === */

/* Full width image styles */
.full-width-image {
  width: 100%;
  margin: var(--space-8) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
}

.screenshot-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}


/* Color utility classes */
.text-green { color: var(--color-success); }
.text-amber { color: var(--color-warning); }
.text-red { color: var(--color-error); }
.text-blue { color: var(--color-info); }
.text-teal { color: var(--color-teal); }
.text-purple { color: var(--color-purple); }
.text-navy { color: var(--color-navy); }



/* Navy feature dots */
.feature-dot.navy {
  background: var(--color-navy);
}

.feature-dot.purple {
  background: var(--color-purple);
}

/* === MONDAY.COM STYLE HERO === */
.hero-monday {
  padding: var(--space-20) 0 var(--space-12) 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  text-align: center;
}

.hero-monday__header {
  text-align: center;
  /* max-width: 60vw; */
  margin: var(--space-12) auto var(--space-6) auto;
}

.hero-monday__tagline {
  color: var(--color-primary);
  /* font-size: var(--font-size-5xl); */
  font-weight: var(--font-weight-semibold);
  /* margin-bottom: var(--space-6); */
}

.hero-monday__title {
  /* font-size: var(--font-size-6xl); */
  font-weight: var(--font-weight-semibold);
  /* margin-bottom: var(--space-6); */
  line-height: var(--line-height-tight);
  color: var(--color-gray-800);
}

.hero-monday__subtitle {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
}

.hero-monday__description {
  /* font-size: var(--font-size-xl); */
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
  margin-left: auto;
  margin-right: auto;
}

.hero-monday__image {
  width: 100%;
  /* max-width: 65vw; */
  border-radius: var(--border-radius-lg);
  /* box-shadow: var(--shadow-md); */
}

.hero-monday__cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  justify-content: center;
  align-items: center;
}

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

.hero-monday__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

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

.hero-monday__interactive {
  position: relative;
  /* max-width: 65vw; */
  margin-top: var(--space-2);
  margin-bottom: var(--space-12);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  /* box-shadow: var(--shadow-lg); */
}

.hero-monday__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-lg);
}

.hero-monday__interactive .hero-monday__description {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 25vw; */
  max-width: 30rem; /*40vw;*/
  height: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  padding: var(--space-6);
  /* background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%); */
  /* backdrop-filter: blur(10px); */
  /* border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg); */
  color: var(--color-gray-800);
  font-size: var(--font-size-xl);
  /* line-height: var(--line-height-relaxed); */
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-monday__interactive .hero-monday__description {
    position: static;
    width: 100%;
    background: white;
    border-radius: 0;
    margin-top: var(--space-4);
  }
}



.hero-monday__features {
  margin-top: var(--space-10);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.hero-monday__feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-gray-200);
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
}

.hero-monday__feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-primary);
} 

/* === FEATURE SLIDER COMPONENT === */
.feature-slider {
  position: relative;
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  /* overflow: hidden; */
  /* border-radius: var(--border-radius-xl); */
  background: var(--color-white);
  /* box-shadow: var(--shadow-xl); */
}

.feature-slider__container {
  position: relative;
  width: 100%;
  height: 600px;
  /* overflow: hidden; */
}

.feature-slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: all 500ms ease-in-out;
  transform: translateX(30px);
}

.feature-slider__slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.feature-slider__content {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  /*height: 100%;*/
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8);
  margin-left: 3.5rem;
  margin-right: 3.5rem;
}

.feature-slider__screenshot {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* overflow: hidden; */
}

.browser-mockup {
  /* width: 100%; */
  max-height: 100%;
  /* max-width: 500px; */
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  transform: perspective(75rem) rotateY(-6deg) rotateX(1.5deg);
  transition: transform var(--transition-normal), z-index 0s;
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  transform-origin: right center;
  position: relative;
  z-index: 2;
}

.browser-mockup:hover {
  transform: perspective(75rem) rotateY(-6deg) rotateX(1.5deg) scale(1.1);
  z-index: 99999 !important;
  position: relative;
}

.browser-header {
  background: var(--color-gray-100);
  padding: var(--space-1) var(--space-3);
  border-bottom: 1px solid var(--color-gray-200);
  display: flex;
  align-items: center;
}

.browser-controls {
  display: flex;
  gap: var(--space-1);
}

.browser-controls .control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-gray-300);
}

.browser-controls .control:nth-child(1) {
  background: #ff5f57;
}

.browser-controls .control:nth-child(2) {
  background: #ffbd2e;
}

.browser-controls .control:nth-child(3) {
  background: #28ca42;
}

.browser-content {
  background: var(--color-gray-50);
  position: relative;
  /* overflow: hidden; */
}

.browser-content .screenshot-image {
  width: 100%;
  height: auto;
  max-height: 32rem;
  display: block;
  object-fit: contain;
  /* filter: brightness(1.05) contrast(1.1); */
}

.feature-slider__text {
  /* padding: var(--space-4); */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.feature-slider__title-row {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-6);
}

.feature-slider__title-row .feature-card__icon {
  margin-bottom: 0;
  margin-right: var(--space-4);
}

.feature-slider__headline {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-800);
  margin-bottom: 0;
  line-height: var(--line-height-snug);
}

.feature-slider__subheadline {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-600);
  /* line-height: var(--line-height-relaxed); */
  margin-left: var(--space-4);
  margin-bottom: var(--space-6);
}

.feature-slider__description {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
  margin-left: var(--space-8);
}

.feature-slider__description li {
  margin-bottom: var(--space-2);
}

/* Navigation Controls */
.feature-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 4rem;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 1;
  box-shadow: var(--shadow-lg);
  opacity: 0.75;
  animation: breathe 2s ease-in-out infinite;
}

.feature-slider__arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-xl);
  opacity: 1;
  animation-play-state: paused;
}

.feature-slider__arrow--prev {
  left: var(--space-2);
  animation-delay: 0s;
}

.feature-slider__arrow--next {
  right: var(--space-2);
  animation-delay: 1.5s;
}

/* Position Indicators */
.feature-slider__indicators {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-3);
  z-index: 1;
}

.feature-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: var(--border-width-thin) solid var(--color-gray-300);
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.feature-slider__dot:hover {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--color-primary);
  transform: scale(1.2);
  z-index: 1;
}

.feature-slider__dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.3);
  z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .feature-slider__container {
    height: auto;
    min-height: 500px;
  }

  .feature-slider__content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    padding: var(--space-4);
    gap: var(--space-4);
  }

  .feature-slider__screenshot {
    order: 2;
    height: auto;
    min-height: 15rem;
  }

  .browser-content .screenshot-image {
    width: 100%;
    height: auto;
    max-height: 18rem;
    display: block;
    object-fit: contain;
    /* filter: brightness(1.05) contrast(1.1); */
  }

  .feature-slider__slide[data-has-substeps] .browser-content .screenshot-image {
    max-height: 18rem !important;
  }

  .feature-slider__text {
    order: 1;
    /* padding: var(--space-2); */
    height: auto;
    text-align: center;
  }

  .browser-mockup {
    transform: perspective(75rem) rotateY(-6deg) rotateX(1.5deg);
    max-width: 350px;
    z-index: 2;
  }

  .browser-mockup:hover {
    transform: perspective(75rem) rotateY(-6deg) rotateX(1.5deg) scale(1.08);
    z-index: 9999 !important;
    position: relative;
  }

  .feature-slider__headline {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-4);
  }

  .feature-slider__description {
    font-size: var(--font-size-base);
  }

  .feature-slider__arrow {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-lg);
    animation: breathe 3s ease-in-out infinite;
  }

  .feature-slider__arrow--prev {
    left: var(--space-3);
    animation-delay: 0s;
  }

  .feature-slider__arrow--next {
    right: var(--space-3);
    animation-delay: 1.5s;
  }

  .feature-slider__indicators {
    bottom: var(--space-3);
  }

  .feature-slider__dot {
    width: 10px;
    height: 10px;
    z-index: 1;
  }
}

/* Touch Support */
.feature-slider__container {
  touch-action: pan-y;
}

/* Smooth transitions for better UX */
.feature-slider__slide {
  will-change: transform, opacity;
} 

/* === SUB-STEP NAVIGATION === */
/* Sub-step image management - only apply to slides with substeps */
.feature-slider__slide[data-has-substeps] .browser-content {
  position: relative;
}

.feature-slider__slide[data-has-substeps] .browser-content .screenshot-image {
  width: 100%;
  height: auto;
  max-height: 32rem;
  display: block;
  object-fit: contain;
  opacity: 0;
  transition: opacity 400ms ease-in-out;
}

.feature-slider__slide[data-has-substeps] .browser-content .screenshot-image:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.feature-slider__slide[data-has-substeps] .browser-content .screenshot-image.active {
  position: relative;
  opacity: 1;
  z-index: 2;
  transition-delay: 200ms; /* Delay fade-in to create sequential effect */
}

/* Sub-step text content wrapper */
.feature-slider__slide[data-has-substeps] .feature-slider__text {
  position: relative;
}

/* Substep content blocks - clean fade transitions */
.feature-slider__slide[data-has-substeps] .substep-content {
  opacity: 0;
  transition: opacity 400ms ease-in-out;
}

.feature-slider__slide[data-has-substeps] .substep-content:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  visibility: hidden; /* Prevent any flashing during render */
}

.feature-slider__slide[data-has-substeps] .substep-content.active {
  opacity: 1;
  position: relative;
  z-index: 2;
  visibility: visible;
  transition-delay: 200ms; /* Delay fade-in for sequential effect */
}

/* For slides without substeps, show content normally */
.feature-slider__slide:not([data-has-substeps]) .substep-content {
  opacity: 1;
  position: relative;
  visibility: visible;
}

/* Ensure text container has proper positioning */
.feature-slider__slide[data-has-substeps] .feature-slider__text {
  position: relative;
}

/* Substep title styling */
.substep-title {
  margin: 0 0 var(--space-3) 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

/* Substep description styling */
.substep-description {
  margin: 0;
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  line-height: var(--line-height-relaxed);
}

/* Sub-step navigation container */
.feature-slider__substeps {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  justify-content: flex-start;
}

.feature-slider__substeps .substep-label {
  margin-right: 1rem !important;
  margin-bottom: 0rem !important;
  align-self: center;
}

/* Hide sub-step navigation when there's only one step */
.feature-slider__slide:not([data-has-substeps]) .feature-slider__substeps {
  display: none;
}

/* Sub-step indicator buttons */
.substep-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gray-200);
  border: 2px solid var(--color-gray-300);
  color: var(--color-gray-600);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.substep-indicator:hover {
  background: var(--color-gray-100);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.1);
}

.substep-indicator.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.15);
  box-shadow: 0 4px 8px rgba(20, 184, 166, 0.3);
}

/* Mobile responsive adjustments for sub-steps */
@media (max-width: 768px) {
  .feature-slider__substeps {
    justify-content: center;
    margin-top: var(--space-3);
  }
  
  .substep-indicator {
    width: 28px;
    height: 28px;
    font-size: var(--font-size-xs);
  }
}