/* ================================
   HOMEPAGE STYLES
   Page-specific styles for index.html
   ================================ */

/* Hero Section */
.hero {
  background: var(--hero-gradient);
  color: var(--text-white);
  position: relative;
}

.hero-content {
  max-width: 42rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 6rem 0;
  }
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--line-height-tight);
  margin-bottom: 1rem;
  color: var(--text-white);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: var(--text-5xl);
  }
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(204, 251, 241, 0.9);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--text-xl);
  }
}

/* Social Proof */
.social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: var(--text-sm);
}

.proof-badges {
  display: flex;
}

.proof-badge {
  width: 2rem;
  height: 2rem;
  background: rgba(2, 115, 115, 0.7);
  border: 2px solid var(--color-teal-700);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  margin-left: -0.5rem;
}

.proof-badge:first-child {
  margin-left: 0;
}

.proof-text {
  color: rgba(153, 246, 228, 0.9);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

/* Who We Are Section */
.section-subtitle-bold {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .section-subtitle-bold {
    font-size: var(--text-2xl);
  }
}

.who-we-are-content {
  max-width: 62.5rem;
  margin: 0 auto;
  text-align: center;
}

.who-we-are-content p {
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: 1.5rem;
}

.who-we-are-content p:last-of-type:not(.who-we-are-tagline) {
  margin-bottom: 2rem;
}

.who-we-are-tagline {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin-bottom: 0;
}

/* Dashboard Preview Section */
.dashboard-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .dashboard-section {
    grid-template-columns: 1fr 1fr;
  }
}

.dashboard-content h2 {
  margin-bottom: 1rem;
}

.dashboard-content > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Dashboard Mockup */
.dashboard-mockup {
  position: relative;
}

.mockup-browser {
  background: var(--color-gray-100);
  border-radius: var(--radius-2xl);
  padding: 1rem;
  box-shadow: var(--shadow-2xl);
}

.mockup-window {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.mockup-bar {
  background: var(--bg-page);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-dots {
  display: flex;
  gap: 0.375rem;
}

.mockup-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: var(--radius-full);
}

.mockup-dot-red {
  background: var(--mockup-dot-red);
}

.mockup-dot-yellow {
  background: var(--mockup-dot-yellow);
}

.mockup-dot-green {
  background: var(--mockup-dot-green);
}

.mockup-url {
  flex: 1;
  background: var(--color-gray-200);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-left: 0.5rem;
}

.mockup-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-logo {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  font-family: var(--font-heading);
}

.mockup-welcome {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.mockup-welcome-title {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
}

.mockup-welcome-subtitle {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.mockup-progress {
  margin-top: 0.75rem;
}

.mockup-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  margin-bottom: 0.25rem;
}

.mockup-progress-value {
  color: var(--color-teal-700);
  font-weight: var(--weight-medium);
}

.mockup-progress-bar {
  height: 0.5rem;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mockup-progress-fill {
  height: 100%;
  background: var(--color-teal-700);
  border-radius: var(--radius-full);
  width: 75%;
}

.mockup-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.mockup-stat {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
}

.mockup-stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.mockup-stat-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.mockup-stat-value-green {
  color: var(--color-green-500);
}

.mockup-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--color-teal-700);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-align: center;
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(64px);
  opacity: 0.5;
  z-index: -1;
}

.blob-teal {
  background: rgba(153, 246, 228, 0.5);
}

.blob-green {
  background: rgba(187, 247, 208, 0.5);
}

/* About Section */
.about-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content > p {
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
  background: var(--color-teal-700);
  color: var(--text-white);
  text-align: center;
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 5rem 1rem;
  }
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-section > p {
  color: rgba(204, 251, 241, 0.9);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

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

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

.cta-note {
  font-size: var(--text-base);
  color: rgba(153, 246, 228, 0.8);
}

/* Spacing utilities for homepage */
.mt-12 {
  margin-top: 3rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

/* Dashboard blob positioning */
.blob-1 {
  top: 2rem;
  right: -1rem;
  width: 18rem;
  height: 18rem;
}

.blob-2 {
  bottom: -1rem;
  left: -1rem;
  width: 12rem;
  height: 12rem;
}
