/* Landing page specific styles for Climocast */

/* Landing page CSS variables */
:root {
  --landing-gradient: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 33%,
    #0891b2 66%,
    #4facfe 100%
  );
  --hero-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --feature-hover-transform: translateY(-8px);
  --stats-gradient: linear-gradient(45deg, #667eea, #764ba2);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  text-shadow: var(--hero-text-shadow);
  line-height: 1.1;
}

.hero-subtitle {
  max-width: 3rem;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Value Proposition Card */
.value-prop-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  max-width: 4rem;
  margin: 0 auto;
}

.value-prop-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.value-prop-stat {
  text-align: center;
}

.value-prop-stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fbbf24;
}

.value-prop-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Feature Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: var(--feature-hover-transform);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: white;
}

/* How It Works Section */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.how-it-works-step {
  text-align: center;
}

.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-visual {
  width: 100%;
  height: 8rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-visual svg {
  width: 3rem;
  height: 3rem;
}

/* Benefits Section */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.benefit-icon svg {
  width: 1rem;
  height: 1rem;
}

.benefit-visual {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-radius: 1rem;
  padding: 2rem;
}

.benefit-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-visual-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  min-height: 120px;
}

.benefit-visual-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(45deg, #3b82f6, #8b5cf6);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: white;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #bfdbfe;
}

/* CTA Section */
.cta-section {
  background: #111827;
  padding: 5rem 0;
  text-align: center;
}

/* Navigation Styles */
.nav-fixed {
  position: fixed;
  width: 100%;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-logo {
  width: 6rem;
  height: 6rem;
}

.nav-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.025em;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #6b7280;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-cta-button {
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s;
  text-decoration: none;
}

.nav-cta-button:hover {
  background: #1d4ed8;
}

/* Responsive Design */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }

  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefit-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefit-visual-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Animation delays for staggered effects */
.section-reveal[data-delay="0.1s"] {
  animation-delay: 0.1s;
}

.section-reveal[data-delay="0.2s"] {
  animation-delay: 0.2s;
}

.section-reveal[data-delay="0.3s"] {
  animation-delay: 0.3s;
}

.section-reveal[data-delay="0.4s"] {
  animation-delay: 0.4s;
}

.section-reveal[data-delay="0.5s"] {
  animation-delay: 0.5s;
}
