/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 18px;
  color: #2563eb;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #2563eb;
}

.nav a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 4px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.cta-button-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-gray {
  background: #f9fafb;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  color: #1a1a1a;
}

/* Hero */
.hero {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1a1a1a;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext {
  font-size: 20px;
  color: #4b5563;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Steps */
.steps {
  display: grid;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #eff6ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.step-content p {
  color: #4b5563;
}

.note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
}

/* Problems */
.problems-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.problems-list li {
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 18px;
  color: #374151;
  position: relative;
  padding-left: 32px;
}

.problems-list li:before {
  content: "•";
  color: #ef4444;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 24px;
}

.problems-list li:last-child {
  border-bottom: none;
}

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

.feature-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.feature-card:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.feature-card p {
  color: #4b5563;
  margin-bottom: 20px;
}

/* Roles */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.role-card {
  background: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
}

.role-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #2563eb;
}

.role-card p {
  color: #4b5563;
}

/* Demo */
.demo-chat {
  max-width: 700px;
  margin: 0 auto 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.chat-message {
  padding: 24px;
  border-bottom: 1px solid #f3f4f6;
}

.chat-message:last-child {
  border-bottom: none;
}

.user-message {
  background: #f8fafc;
}

.ai-message {
  background: white;
}

.chat-message strong {
  color: #2563eb;
  display: block;
  margin-bottom: 8px;
}

.chat-message p {
  margin-bottom: 8px;
  color: #374151;
}

.chat-message p:last-child {
  margin-bottom: 0;
}

.demo-caption {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 32px;
}

/* Screenshot placeholder */
.screenshot-placeholder {
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #6b7280;
  font-style: italic;
}

/* Comparison */
.comparison-intro {
  text-align: center;
  font-size: 20px;
  margin-bottom: 48px;
  color: #374151;
}

.comparison-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-column h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.comparison-column ul {
  list-style: none;
}

.comparison-column li {
  padding: 8px 0;
  color: #374151;
}

/* FAQ */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.faq-item p {
  color: #4b5563;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: #f8fafc;
}

.cta-section h2 {
  margin-bottom: 32px;
}

/* Footer */
.footer {
  background: #1f2937;
  color: white;
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: white;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #374151;
}

.footer-copyright p {
  color: #9ca3af;
  font-size: 14px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtext {
    font-size: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .features-grid,
  .roles-grid {
    grid-template-columns: 1fr;
  }

  .comparison-lists {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero h1 {
    font-size: 28px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 14px;
  }

  .cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .cta-button-large {
    padding: 14px 28px;
    font-size: 16px;
  }
}
