/* SheetSQL Landing Page Styles */

/* ============================================
   BASE STYLES
   ============================================ */

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.landing-page {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ============================================
   HEADER
   ============================================ */

.landing-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
}

.landing-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-auth {
  background: white;
  color: #333;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-auth:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8rem 2rem 5rem 2rem;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: white;
}

.hero .tagline {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: white;
  color: #667eea;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero .subtitle {
  margin-top: 1rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FEATURES
   ============================================ */

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

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #667eea;
}

.feature-desc {
  color: #666;
  line-height: 1.6;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.how-it-works {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

.step-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}

/* ============================================
   PRICING
   ============================================ */

.pricing {
  background: white;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.pricing-card {
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.pricing-card.featured {
  border-color: #667eea;
  box-shadow: 0 8px 40px rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
  position: relative;
}

.pricing-card.featured::before {
  content: "⭐ POPULAR";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 0.5rem;
}

.plan-price small {
  font-size: 1.2rem;
  color: #999;
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
}

.plan-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f0f0f0;
  color: #666;
}

.plan-features li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  margin-right: 0.75rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
}

.btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background: #d0d0d0;
}

/* ============================================
   USE CASES
   ============================================ */

.use-cases {
  background: white;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.use-case {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #667eea;
}

.use-case-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 0.75rem;
}

.use-case-desc {
  color: #666;
  line-height: 1.6;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.final-cta h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: white;
}

.final-cta p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #1a1a1a;
  color: #999;
  padding: 2rem;
  text-align: center;
}

.footer a {
  color: #999;
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: #667eea;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .landing-header {
    padding: 1rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .tagline {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }
}
