/* Landing Page Styles - Matching Reference Design */

:root {
  --landing-bg-primary: #121A2E;
  --landing-bg-secondary: #1A2332;
  --landing-bg-card: #1E2A3A;
  --landing-text-primary: #FFFFFF;
  --landing-text-secondary: #94A3B8;
  --landing-text-muted: #64748B;
  --landing-accent-primary: #8B5CF6;
  --landing-accent-secondary: #EC4899;
  --landing-accent-tertiary: #06B6D4;
  --landing-gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --landing-gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
  --landing-border-color: #334155;
  --landing-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --landing-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--landing-bg-primary);
  color: var(--landing-text-primary);
  line-height: 1.6;
}

/* Header Styles */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(18, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--landing-border-color);
}

.landing-header .navbar {
  padding: 1rem 0;
}

.landing-header .navbar-brand {
  text-decoration: none;
}

.brand-text {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--landing-text-primary);
}

.brand-accent {
  color: var(--landing-accent-primary);
  font-weight: 800;
}

.nav-pill {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: var(--landing-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.nav-pill:hover,
.nav-pill.active {
  background-color: var(--landing-bg-card);
  color: var(--landing-text-primary);
}

.navbar-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--landing-shadow-lg);
}

.btn-outline-primary {
  border: 1px solid var(--landing-accent-primary);
  color: var(--landing-accent-primary);
  background: transparent;
}

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

.btn-outline-secondary {
  border: 1px solid var(--landing-text-secondary);
  color: var(--landing-text-secondary);
  background: transparent;
}

.btn-outline-secondary:hover {
  background-color: var(--landing-text-secondary);
  color: var(--landing-bg-primary);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1.125rem;
}

.btn-cta {
  background: var(--landing-gradient-primary);
  color: white;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--landing-shadow-lg);
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 6rem;
  background: var(--landing-bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--landing-text-primary) 0%, var(--landing-accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--landing-text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-social-proof {
  color: var(--landing-text-muted);
  font-size: 0.875rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  background: var(--landing-bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--landing-shadow-lg);
  border: 1px solid var(--landing-border-color);
  max-width: 500px;
  width: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

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

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--landing-text-muted);
}

.mockup-dots span:first-child {
  background-color: #EF4444;
}

.mockup-dots span:nth-child(2) {
  background-color: #F59E0B;
}

.mockup-dots span:last-child {
  background-color: #10B981;
}

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

.mockup-sidebar {
  width: 60px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item {
  height: 40px;
  background-color: var(--landing-bg-secondary);
  border-radius: 0.5rem;
}

.sidebar-item.active {
  background: var(--landing-gradient-primary);
}

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

.metric-card {
  background: var(--landing-bg-secondary);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-accent-primary);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--landing-text-muted);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

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

.section-subtitle {
  font-size: 1.125rem;
  color: var(--landing-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: var(--landing-bg-primary);
}

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

.feature-card {
  background: var(--landing-bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--landing-border-color);
  transition: all 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--landing-shadow-lg);
  border-color: var(--landing-accent-primary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--landing-gradient-primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--landing-text-primary);
}

.feature-description {
  color: var(--landing-text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works-section {
  padding: 6rem 0;
  background: var(--landing-bg-secondary);
}

.steps-container {
  max-width: 800px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--landing-gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--landing-text-primary);
}

.step-description {
  color: var(--landing-text-secondary);
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background: var(--landing-bg-primary);
}

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

.testimonial-card {
  background: var(--landing-bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--landing-border-color);
  transition: all 0.3s ease;
}

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

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--landing-text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--landing-text-primary);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: var(--landing-text-muted);
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--landing-gradient-primary);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.landing-footer {
  background: var(--landing-bg-card);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--landing-border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-text {
  font-size: 1.5rem;
}

.footer-description {
  color: var(--landing-text-secondary);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--landing-text-primary);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--landing-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--landing-accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--landing-border-color);
}

.footer-copyright p {
  color: var(--landing-text-muted);
  margin: 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--landing-bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--landing-text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--landing-accent-primary);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 6rem 0 4rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .navbar-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .cta-title {
    font-size: 1.75rem;
  }
  
  .feature-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

