/* Home Page Styles */
.hero-section {
  position: relative;
  padding: 8rem 1.5rem 5rem;
  overflow: hidden;
  background: linear-gradient(to bottom right, var(--gray-50), white, var(--gray-100));
  min-height: 100vh;
}

body.dark .hero-section {
  background: linear-gradient(to bottom right, var(--gray-900), var(--gray-800), var(--gray-900));
}

.hero-blur {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-blur-1 {
  top: 5rem;
  left: 2.5rem;
  background: linear-gradient(to bottom right, rgba(191, 219, 254, 0.4), rgba(221, 214, 254, 0.4));
}

body.dark .hero-blur-1 {
  background: linear-gradient(to bottom right, rgba(55, 65, 81, 0.3), rgba(75, 85, 99, 0.3));
}

.hero-blur-2 {
  bottom: 5rem;
  right: 2.5rem;
  background: linear-gradient(to bottom right, rgba(221, 214, 254, 0.4), rgba(251, 207, 232, 0.4));
}

body.dark .hero-blur-2 {
  background: linear-gradient(to bottom right, rgba(75, 85, 99, 0.3), rgba(55, 65, 81, 0.3));
}

.hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

body.dark .hero-badge {
  background: rgba(31, 41, 55, 0.8);
  border-color: var(--gray-700);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

body.dark .badge-text {
  color: var(--gray-300);
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title-gradient {
  background: linear-gradient(to right, var(--gray-900), var(--gray-800), var(--gray-900));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark .hero-title-gradient {
  background: linear-gradient(to right, var(--gray-100), var(--gray-200), var(--gray-100));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
}

body.dark .hero-description {
  color: var(--gray-400);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn-primary-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, var(--gray-900), var(--gray-700));
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  display: inline-block;
}

.btn-primary-large:hover {
  background: linear-gradient(to right, var(--gray-800), var(--gray-600));
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.btn-secondary-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: inline-block;
}

body.dark .btn-secondary-large {
  color: var(--gray-300);
  background: var(--gray-800);
  border-color: var(--gray-700);
}

.btn-secondary-large:hover {
  border-color: var(--gray-300);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body.dark .btn-secondary-large:hover {
  border-color: var(--gray-600);
}

.hero-dashboard {
  max-width: 80rem;
  margin: 0 auto;
}

.dashboard-card {
  backdrop-filter: blur(40px);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

body.dark .dashboard-card {
  background: rgba(31, 41, 55, 0.6);
  border-color: rgba(75, 85, 99, 0.4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(229, 231, 235, 0.5);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.dark .stat-card {
  background: rgba(55, 65, 81, 0.8);
  border-color: rgba(107, 114, 128, 0.5);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

body.dark .stat-value {
  color: var(--gray-100);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

body.dark .stat-label {
  color: var(--gray-400);
}

.dashboard-preview {
  background: linear-gradient(to bottom right, var(--gray-100), var(--gray-50));
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .dashboard-preview {
  background: linear-gradient(to bottom right, var(--gray-700), var(--gray-800));
  border-color: var(--gray-600);
}

.dashboard-preview span {
  color: var(--gray-400);
  font-size: 1.125rem;
  font-weight: 500;
}

body.dark .dashboard-preview span {
  color: var(--gray-500);
}

/* Problems Section */
.problems-section {
  padding: 5rem 1.5rem;
  background: white;
}

body.dark .problems-section {
  background: var(--gray-800);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

body.dark .section-title {
  color: var(--gray-100);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0 auto;
}

body.dark .section-description {
  color: var(--gray-400);
}

.problem-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .problem-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  position: relative;
  backdrop-filter: blur(40px);
  background: linear-gradient(to bottom right, white, var(--gray-50));
  border: 1px solid var(--gray-200);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.5s ease;
}

body.dark .problem-card {
  background: linear-gradient(to bottom right, var(--gray-800), var(--gray-900));
  border-color: var(--gray-700);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.problem-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, var(--gray-900), var(--gray-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.problem-card:hover .problem-icon {
  transform: scale(1.1);
}

.problem-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

body.dark .problem-title {
  color: var(--gray-100);
}

.problem-description {
  color: var(--gray-600);
  line-height: 1.6;
}

body.dark .problem-description {
  color: var(--gray-400);
}

/* Features Tab Section */
.features-tab-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(to bottom right, var(--gray-50), white);
}

body.dark .features-tab-section {
  background: linear-gradient(to bottom right, var(--gray-900), var(--gray-800));
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  background: white;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body.dark .tab-button {
  background: var(--gray-800);
  color: var(--gray-400);
  border-color: var(--gray-700);
}

.tab-button:hover {
  border-color: var(--gray-300);
  transform: translateY(-2px);
}

body.dark .tab-button:hover {
  border-color: var(--gray-600);
}

.tab-button.active {
  background: linear-gradient(to right, var(--gray-900), var(--gray-700));
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.tab-content-wrapper {
  backdrop-filter: blur(40px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--gray-200);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 80rem;
  margin: 0 auto;
}

body.dark .tab-content-wrapper {
  background: rgba(31, 41, 55, 0.8);
  border-color: var(--gray-700);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-preview {
  background: linear-gradient(to bottom right, var(--gray-100), var(--gray-50));
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  height: 24rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark .tab-preview {
  background: linear-gradient(to bottom right, var(--gray-700), var(--gray-800));
  border-color: var(--gray-600);
}

.tab-preview span {
  color: var(--gray-400);
  font-size: 1.125rem;
  font-weight: 500;
}

body.dark .tab-preview span {
  color: var(--gray-500);
}

/* Footer */
.footer {
  padding: 4rem 1.5rem 2rem;
  background: var(--gray-900);
  color: white;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 2fr 3fr;
  }
}

.footer-brand {
  max-width: 24rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--gray-400);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-column a {
  display: block;
  padding: 0.5rem 0;
  color: var(--gray-400);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  max-width: 80rem;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-400);
}
