/*===== VARIABLES CSS =====*/
:root {
  /* Colors - HSL format */
  --primary-color: 220 98% 60%; /* #3366FF - Blue */
  --primary-light: 220 98% 70%; /* #5588FF */
  --primary-dark: 220 100% 50%; /* #0044FF */
  
  --secondary-color: 200 100% 55%; /* #00AAFF - Light Blue */
  --secondary-light: 200 100% 65%; /* #33BBFF */
  
  --accent-color: 210 100% 65%; /* #4488FF - Medium Blue */
  --accent-light: 210 100% 75%; /* #66AAFF */
  
  --text-primary: 222 47% 11%; /* #0F172A */
  --text-secondary: 215 20% 38%; /* #64748B */
  --text-light: 215 20% 65%; /* #94A3B8 */
  
  /* Action button variables */
  --action-bg: 0 0% 100%; /* #FFFFFF - White */
  --action-text: 222 47% 11%; /* #0F172A - Dark gray/black */
  
  --background: 210 11% 98%; /* #F8FAFC */
  --surface: 0 0% 100%; /* #FFFFFF */
  --surface-hover: 210 40% 96%; /* #F1F5F9 */
  
  --border: 215 20% 89%; /* #E2E8F0 */
  --border-light: 215 20% 94%; /* #F1F5F9 */
  
  /* Additional variables for areas */
  --card-bg: hsl(var(--surface));
  --card-bg-secondary: hsl(var(--surface-hover));
  --input-bg: hsl(var(--surface));
  --border-color: hsl(var(--border));
  --text-color: hsl(var(--text-primary));
  --stat-bg: hsl(var(--surface-hover));
  --progress-bg: hsl(var(--border));
  
  --shadow-light: 0 1px 3px 0 hsl(215 20% 65% / 0.1);
  --shadow-medium: 0 4px 6px -1px hsl(215 20% 65% / 0.15);
  --shadow-large: 0 10px 15px -3px hsl(215 20% 65% / 0.15);
  
  /* Typography */
  --font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 4.5rem;
}

/*===== BASE =====*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: hsl(var(--text-primary));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

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

/*===== REUSABLE CSS CLASSES =====*/
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.section {
  padding: var(--space-20) 0;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section__title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: hsl(var(--text-primary));
  margin-bottom: var(--space-4);
}

.section__description {
  font-size: var(--font-size-lg);
  color: hsl(var(--text-secondary));
  max-width: 600px;
  margin: 0 auto;
}

/*===== BUTTONS =====*/
.button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.button--primary {
  background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--primary-light))) !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(51, 102, 255, 0.10) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  min-width: 160px !important;
  border: none !important;
}

.button--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, hsl(var(--primary-dark)), hsl(var(--primary-color)));
}

.button--secondary {
  background-color: hsl(var(--surface));
  color: hsl(var(--primary-color));
  border: 2px solid hsl(var(--primary-color));
}

.button--secondary:hover {
  background-color: hsl(var(--primary-color));
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
}

.button--ghost {
  background-color: transparent;
  color: hsl(var(--text-secondary));
  border: 1px solid hsl(var(--border));
}

.button--ghost:hover {
  background-color: hsl(var(--surface-hover));
  color: hsl(var(--text-primary));
  transform: translateY(-1px);
  box-shadow: var(--shadow-light);
}

.button--danger {
  background: linear-gradient(135deg, hsl(0 84% 60%), hsl(0 84% 70%));
  color: white;
  box-shadow: var(--shadow-medium);
}

.button--danger:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-medium);
  background: linear-gradient(135deg, hsl(0 84% 50%), hsl(0 84% 60%));
}

.button--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/*===== HEADER =====*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: hsl(var(--surface) / 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  z-index: 100;
  transition: all var(--transition-normal);
}

.header.scroll-header {
  background-color: hsl(var(--surface) / 0.98);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(15px);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo{
  width: 160px;
  height: auto;
  margin-left: 15px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: hsl(var(--primary-color));
}

.nav__logo i {
  font-size: var(--font-size-2xl);
}

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

.nav__link {
  font-weight: var(--font-weight-medium);
  color: hsl(var(--text-secondary));
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link.active-link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: hsl(var(--primary-color));
}

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

/* Mobile menu toggle button */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: hsl(var(--text-primary));
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__toggle:hover {
  background-color: hsl(var(--surface-hover));
}

.nav__close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: hsl(var(--text-primary));
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav__close:hover {
  background-color: hsl(var(--surface-hover));
}

.nav__mobile-actions {
  display: none;
}

/* Show mobile menu button on mobile */
@media screen and (max-width: 768px) {
  .nav__toggle {
    display: block;
  }
  
  .nav__close {
    display: block;
  }
  
  .nav__actions {
    display: flex;
    flex-direction: row;
    gap: var(--space-2);
    margin-left: auto;
  }
  
  .nav__actions .button {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
    min-width: auto;
    white-space: nowrap;
  }
  
  .nav__actions .button i {
    display: none;
  }
  
  .nav__button-text {
    display: inline;
  }
  
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-6);
    border-top: 1px solid hsl(var(--border-light));
  }
  
  .nav__list {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .nav__link {
    font-size: var(--font-size-lg);
  }
}

/*===== HERO =====*/
.hero {
  padding-top: calc(var(--header-height) + var(--space-20));
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, 
    hsl(var(--surface)) 0%, 
    hsl(var(--background)) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 25%, hsl(var(--primary-color) / 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, hsl(var(--secondary-color) / 0.04) 0%, transparent 50%);
  animation: heroFloating 20s ease-in-out infinite;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%233366FF' fill-opacity='0.02'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
  animation: heroPattern 60s linear infinite;
  z-index: -1;
}

@keyframes heroFloating {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(0.5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-0.5deg);
  }
}

@keyframes heroPattern {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}

.hero__container {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
}

@media screen and (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-6);
  color: hsl(var(--text-primary));
}

.hero__title--accent {
  background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--secondary-color)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: var(--font-size-lg);
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.hero__buttons {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.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-bold);
  color: hsl(var(--primary-color));
}

.hero__stat-text {
  font-size: var(--font-size-sm);
  color: hsl(var(--text-secondary));
}

.hero__illustration {
  position: relative;
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, 
    hsl(var(--surface)) 0%, 
    hsl(var(--primary-color) / 0.08) 50%,
    hsl(var(--surface)) 100%);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 
    0 10px 30px hsl(var(--primary-color) / 0.1),
    inset 0 1px 0 hsl(var(--surface));
  border: 1px solid hsl(var(--border-light));
}

.hero__illustration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, hsl(var(--primary-color) / 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, hsl(var(--secondary-color) / 0.08) 0%, transparent 50%);
  animation: illustrationGlow 12s ease-in-out infinite alternate;
}

@keyframes illustrationGlow {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.hero__icon {
  position: absolute;
  font-size: 3rem;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.hero__icon--1 {
  top: 15%;
  left: 15%;
  color: hsl(var(--primary-color));
  animation-delay: 0s;
}

.hero__icon--2 {
  top: 25%;
  right: 20%;
  color: hsl(var(--accent-color));
  animation-delay: 1.5s;
}

.hero__icon--3 {
  bottom: 30%;
  left: 25%;
  color: hsl(var(--secondary-color));
  animation-delay: 3s;
}

.hero__icon--4 {
  bottom: 15%;
  right: 15%;
  color: hsl(var(--primary-light));
  animation-delay: 4.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(-10px) rotate(-3deg);
  }
}

/*===== FEATURES =====*/
.features {
  background-color: hsl(var(--surface));
}

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

@media screen and (max-width: 768px) {
  .features__container {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
}

.feature__card {
  background-color: hsl(var(--background));
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-light);
  transition: all var(--transition-normal);
  border: 1px solid hsl(var(--border-light));
}

.feature__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: hsl(var(--primary-color) / 0.2);
}

.feature__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--primary-light)));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.feature__icon i {
  font-size: var(--font-size-2xl);
  color: white;
}

.feature__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-4);
  color: hsl(var(--text-primary));
}

.feature__description {
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-6);
  line-height: var(--line-height-relaxed);
}

.feature__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.feature__list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: hsl(var(--text-secondary));
}

.feature__list i {
  color: hsl(var(--secondary-color));
  font-size: var(--font-size-sm);
}

/*===== HOW IT WORKS =====*/
.how-it-works {
  background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--surface)));
}

.steps__container {
  display: grid;
  gap: var(--space-12);
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  align-items: start;
}

.step__number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--primary-light)));
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  position: relative;
  margin-top: var(--space-2);
}

.step:not(:last-child) .step__number::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: linear-gradient(to bottom, hsl(var(--primary-color)), transparent);
}

.step__content {
  background-color: hsl(var(--surface));
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-light);
  border: 1px solid hsl(var(--border-light));
}

.step__icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, hsl(var(--secondary-color) / 0.1), hsl(var(--secondary-color) / 0.2));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.step__icon i {
  font-size: var(--font-size-xl);
  color: hsl(var(--secondary-color));
}

.step__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-3);
  color: hsl(var(--text-primary));
}

.step__description {
  color: hsl(var(--text-secondary));
  line-height: var(--line-height-relaxed);
}

/*===== AUDIENCE =====*/
.audience {
  background-color: hsl(var(--surface));
}

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

.audience__card {
  background-color: hsl(var(--background));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: all var(--transition-normal);
  border: 1px solid hsl(var(--border-light));
}

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

.audience__header {
  background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--primary-light)));
  color: white;
  padding: var(--space-8);
  text-align: center;
}

.audience__icon {
  width: 80px;
  height: 80px;
  background-color: hsl(var(--surface) / 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}

.audience__icon i {
  font-size: var(--font-size-3xl);
}

.audience__title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.audience__content {
  padding: var(--space-8);
}

.audience__description {
  color: hsl(var(--text-secondary));
  margin-bottom: var(--space-6);
  line-height: var(--line-height-relaxed);
}

.audience__benefits {
  margin-bottom: var(--space-8);
}

.audience__benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--font-size-sm);
  color: hsl(var(--text-secondary));
}

.audience__benefits i {
  color: hsl(var(--accent-color));
  font-size: var(--font-size-sm);
}

/*===== CTA =====*/
.cta {
  background: linear-gradient(135deg, hsl(var(--primary-color)), hsl(var(--primary-light)));
  color: white;
  text-align: center;
}

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

.cta__description {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-8);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/*===== FOOTER =====*/
.footer {
  background-color: hsl(var(--text-primary));
  color: hsl(var(--text-light));
  padding: var(--space-20) 0 var(--space-8);
}

.footer__container {
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media screen and (max-width: 1024px) {
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

@media screen and (max-width: 768px) {
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__logo {
    justify-content: center;
  }
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: var(--space-4);
}

.footer__logo i {
  font-size: var(--font-size-2xl);
  color: hsl(var(--primary-light));
}

.footer__description {
  margin-bottom: var(--space-6);
  line-height: var(--line-height-relaxed);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  background-color: hsl(var(--text-secondary) / 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.footer__social-link:hover {
  background-color: hsl(var(--primary-color));
  transform: translateY(-2px);
}

.footer__title {
  color: white;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-6);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: hsl(var(--text-light));
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: hsl(var(--primary-light));
}

.footer__bottom {
  border-top: 1px solid hsl(var(--text-secondary) / 0.2);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal-link {
  color: hsl(var(--text-light));
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer__legal-link:hover {
  color: hsl(var(--primary-light));
}

.footer__copy {
  font-size: var(--font-size-sm);
  color: hsl(var(--text-light));
}

/*===== SCROLL ANIMATIONS =====*/
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.scroll-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/*===== RESPONSIVE =====*/
@media screen and (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .audience__container {
    grid-template-columns: 1fr;
  }
  
  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.625rem;
  }
  
  .container {
    padding: 0 var(--space-3);
  }
  
  .nav {
    gap: var(--space-2);
    position: relative;
  }
  
  .nav__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .hero {
    padding-top: calc(var(--header-height) + var(--space-12));
    min-height: auto;
  }
  
  .nav__menu {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: hsl(var(--surface));
    padding: var(--space-8);
    transition: left var(--transition-normal);
    box-shadow: var(--shadow-large);
    z-index: 1000;
  }
  
  .nav__menu.show-menu {
    left: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: var(--space-6);
  }
  
  .nav__link {
    font-size: var(--font-size-lg);
  }
  
  .logo {
    width: 120px;
  }
  
  .nav__logo {
    justify-content: center;
    width: 100%;
  }
  
  .nav__toggle {
    display: block;
  }
  
  .nav__close {
    display: block;
  }
  
  .nav__actions {
    display: none;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
  }
  
  .hero__stats {
    justify-content: center;
    gap: var(--space-6);
  }
  
  .hero__illustration {
    height: 300px;
    margin-top: var(--space-8);
  }
  
  .features__container {
    grid-template-columns: 1fr;
  }
  
  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .step__number {
    margin: 0 auto var(--space-4);
  }
  
  .step:not(:last-child) .step__number::after {
    display: none;
  }
  
  .audience__container {
    grid-template-columns: 1fr;
  }
  
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --space-20: 3rem;
    --space-16: 2.5rem;
    --space-12: 2rem;
  }
  
  .hero__illustration {
    height: 250px;
    margin-top: var(--space-6);
  }
  
  .hero__icon {
    font-size: 1.8rem;
  }
  
  .button {
    width: 100%;
    justify-content: center;
  }
  
  .hero__buttons .button {
    width: auto;
    min-width: 200px;
  }
  
  .hero__container {
    gap: var(--space-8);
  }
  
  .hero__title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
  }
  
  .hero__description {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-6);
  }
  
  .nav__button-text {
    display: none;
  }
  
  .nav__actions .button i {
    display: inline;
    font-size: var(--font-size-sm);
  }
  
  .nav__actions .button {
    padding: var(--space-2);
    min-width: 40px;
    justify-content: center;
  }
}

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

::-webkit-scrollbar-track {
  background: hsl(var(--surface) / 0.3);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(var(--primary-color) / 0.6), hsl(var(--primary-light) / 0.6));
  border-radius: var(--radius-full);
  border: 1px solid hsl(var(--surface));
  transition: all var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, hsl(var(--primary-color)), hsl(var(--primary-light)));
  transform: scaleX(1.1);
}

/* Scrollbar para Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: hsl(var(--primary-color) / 0.6) hsl(var(--surface) / 0.3);
}

/*===== FOCUS STATES =====*/
.button:focus-visible,
.footer__link:focus-visible {
  outline: 2px solid hsl(var(--primary-color));
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.nav__link:focus,
.nav__link:focus-visible,
.nav__link:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

/*===== REDUCED MOTION =====*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ===== MODAL STYLES (importados de tasks.css para unificar diseño) ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    /* Ocultar scrollbar pero mantener funcionalidad */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.modal-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.modal.active .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #64748b;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

.task-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  color: #1e293b;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

/* Unificación de tamaño de texto en modales */
.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}
.form-group label {
  font-size: 1rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 1rem;
}
.button {
  font-size: 1rem;
}

.color-pink {
  background: #f8bbd0; /* rosa pastel */
}
.color-yellow {
  background: #fff9b2; /* amarillo pastel */
}
.color-mint {
  background: #b2f9e3; /* menta pastel */
}
.color-sky {
  background: #b2e0ff; /* celeste pastel */
}
.color-coral {
  background: #ffd1b2; /* coral pastel */
}
.color-lavender {
  background: #e3b2ff; /* lavanda pastel */
}
.color-green {
  background: #b7e7a7; /* verde pastel */
}
.color-purple {
  background: #d1a7e7; /* morado pastel */
}
.color-orange {
  background: #ffe0b2; /* naranja pastel */
}

/* Unificar tamaño y estilo de contadores de áreas con los de tareas */
/* .stats-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding: 0;
} */

.areas-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6) !important; /* Aumentar margen inferior */
  padding: var(--space-4);
  background-color: hsl(var(--surface));
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border-light));
  gap: var(--space-4);
}
@media (max-width: 768px) {
  .areas-actions-bar {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: 1rem;
  }
}

.filter-select {
  padding: var(--space-2) var(--space-3);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  background-color: #f3f4f6 !important;
  font-size: var(--font-size-sm);
  color: #1e293b !important;
  min-width: 140px;
  transition: all var(--transition-fast);
}
.filter-select:focus {
  outline: none;
  border-color: hsl(var(--primary-color));
  box-shadow: 0 0 0 3px hsl(var(--primary-color) / 0.1);
}

.areas-container {
  border: none !important;
}
.empty-state {
  border: none !important;
}
