/* Base Styles */
:root {
  --primary: #9333ea;
  --primary-hover: #7e22ce;
  --primary-light: #f5f3ff;
  --primary-dark: #581c87;
  --secondary: #f9fafb;
  --secondary-dark: #1f2937;
  --text: #111827;
  --text-light: #6b7280;
  --text-dark: #030712;
  --background: #ffffff;
  --background-alt: #f9fafb;
  --border: #e5e7eb;
  --border-dark: #374151;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 0.5rem;
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.5;
  background-color: var(--background);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 900px;
  margin: 0 auto 2rem;
}

.text-center {
  text-align: center;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

.header-container {
  display: flex;
  height: 3.5rem;
  align-items: center;
}

.logo {
  margin-right: 1rem;
  display: flex;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.5rem;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  color: var(--text-light);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.primary-button {
  background-color: var(--primary);
  color: white;
  border: none;
}

.primary-button:hover {
  background-color: var(--primary-hover);
  color: white;
}

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

.outline-button:hover {
  background-color: var(--secondary);
  color: var(--text);
}

.icon-arrow-right, .icon-github {
  margin-left: 0.5rem;
}

/* Hero Section */
.hero-section {
  width: 100%;
  padding: 3rem 0;
  background: linear-gradient(to bottom, #f5f3ff, white);
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.hero-text {
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
}

.highlight {
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-image {
  margin: 0 auto;
}

.rounded-image {
  border-radius: var(--radius);
}

.shadow-image {
  box-shadow: var(--shadow);
}

/* Introduction Section */
.intro-section {
  width: 100%;
  padding: 3rem 0;
}

.intro-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-top: 3rem;
}

.intro-image {
  margin: 0 auto;
  aspect-ratio: 5/4;
  object-fit: cover;
  object-position: center;
}

.feature-list {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
}

.feature-content {
  display: grid;
  gap: 0.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-description {
  color: var(--text-light);
}

/* Features Section */
.features-section {
  width: 100%;
  padding: 3rem 0;
  background-color: var(--background-alt);
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #f5f3ff;
  color: var(--primary);
}

.feature-card-title {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.feature-card-description {
  color: var(--text-light);
}

/* How It Works Section */
.how-it-works-section {
  width: 100%;
  padding: 3rem 0;
}

.tabs {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab-button {
  padding: 0.75rem 1rem;
  background-color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-button.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.tab-content.active {
  display: block;
}

.tab-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.tab-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tab-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tab-list-item {
  display: flex;
  align-items: center;
}

.tab-list-marker {
  width: 1rem;
  height: 1rem;
  border-radius: 9999px;
  background-color: var(--primary);
  margin-right: 0.5rem;
}

.tab-image {
  margin: 0 auto;
}

/* Use Cases Section */
.use-cases-section {
  width: 100%;
  padding: 3rem 0;
  background-color: var(--background-alt);
}

.use-cases-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.use-case-card {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.use-case-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.use-case-image {
  width: 100%;
  margin-bottom: 1rem;
}

.use-case-description {
  color: var(--text-light);
}

/* Technical Section */
.technical-section {
  width: 100%;
  padding: 3rem 0;
}

.technical-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.technical-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.technical-title {
  font-size: 1.5rem;
}

.technical-description {
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
  width: 100%;
  padding: 3rem 0;
  background-color: var(--background-alt);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.testimonial-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: var(--secondary);
  overflow: hidden;
}

.avatar-placeholder {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: var(--border);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.125rem;
  margin-bottom: 0;
}

.author-title {
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial-text {
  color: var(--text-light);
}

/* Getting Started Section */
.getting-started-section {
  width: 100%;
  padding: 3rem 0;
}

.steps-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #f5f3ff;
  color: var(--primary);
}

.step-title {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.step-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  width: 100%;
  padding: 3rem 0;
  background-color: var(--primary-light);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

/* FAQ Section */
.faq-section {
  width: 100%;
  padding: 3rem 0;
}

.faq-grid {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.faq-card {
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.faq-question {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.faq-answer {
  color: var(--text-light);
}

/* Footer */
.footer {
  width: 100%;
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background-color: var(--background-alt);
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.footer-description {
  color: var(--text-light);
  font-size: 0.875rem;
}

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

.social-link {
  color: var(--text-light);
}

.social-link:hover {
  color: var(--primary);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-light);
}

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

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-newsletter-description {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.newsletter-button {
  height: 2.5rem;
  padding: 0 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.copyright {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Responsive Styles */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-section, 
  .intro-section, 
  .features-section, 
  .how-it-works-section, 
  .use-cases-section, 
  .technical-section, 
  .testimonials-section, 
  .getting-started-section, 
  .cta-section, 
  .faq-section {
    padding: 6rem 0;
  }
  
  .tab-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .technical-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 2fr 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}