:root {
  --primary-color: #ff6b35; /* Orange */
  --secondary-color: #6b5bff; /* Purple */
  --accent-color: #3498db; /* Blue */
  --background-color: #f8f9fa;
  --text-color: #333;
  --light-gray: #e9ecef;
  --medium-gray: #ced4da;
  --dark-gray: #6c757d;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #ff8c66);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #8a7dff);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
}

.btn.primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

.btn.secondary {
  background: var(--gradient-secondary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

/* Header & Navigation */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 20px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
}

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

.github-link {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  background-color: var(--light-gray);
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-speed);
}

.github-link i {
  margin-right: 8px;
}

.github-link:hover {
  background-color: var(--medium-gray);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--dark-gray);
}

.cta-buttons {
  display: flex;
  gap: 16px;
}

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

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

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.feature-icon i {
  font-size: 24px;
  color: var(--white);
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background-color: var(--background-color);
}

.workflow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.workflow-step {
  flex: 1;
  min-width: 200px;
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.workflow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-size: 24px;
}

/* Installation Section */
.installation {
  padding: 80px 0;
  background-color: var(--white);
}

.installation-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.code-block {
  background-color: #282c34;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: #21252b;
  color: var(--white);
}

.copy-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  transition: color var(--transition-speed);
}

.copy-btn:hover {
  color: var(--primary-color);
}

pre {
  padding: 20px;
  overflow-x: auto;
  margin: 0;
}

code {
  font-family: 'Fira Code', monospace;
  color: var(--white);
  line-height: 1.5;
}

/* Documentation Section */
.documentation {
  padding: 80px 0;
  background-color: var(--background-color);
}

.doc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.doc-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-speed);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doc-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-color);
}

.doc-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.doc-icon i {
  font-size: 24px;
  color: var(--white);
}

/* Demo Section */
.demo {
  padding: 80px 0;
  background-color: var(--white);
}

.demo-container {
  margin-top: 40px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.demo-tabs {
  display: flex;
  background-color: var(--light-gray);
}

.demo-tab {
  padding: 15px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed);
}

.demo-tab.active {
  background-color: var(--white);
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.demo-tab:hover:not(.active) {
  background-color: var(--medium-gray);
}

.demo-content {
  background-color: var(--white);
  padding: 30px;
}

.demo-panel {
  display: none;
}

.demo-panel.active {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 200px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--medium-gray);
  border-radius: var(--border-radius-sm);
  font-family: 'Inter', sans-serif;
}

.demo-result {
  background-color: #282c34;
  border-radius: var(--border-radius-md);
  padding: 20px;
  overflow-x: auto;
}

.demo-result pre {
  color: var(--white);
  font-family: 'Fira Code', monospace;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--background-color);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-question h3 {
  margin: 0;
}

.toggle-icon {
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px 20px;
  display: none;
}

.faq-answer.active {
  display: block;
}

.faq-answer code {
  background-color: var(--light-gray);
  padding: 2px 6px;
  border-radius: var(--border-radius-sm);
  color: var(--primary-color);
  font-family: 'Fira Code', monospace;
}

/* Footer */
footer {
  background-color: #282c34;
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

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

.footer-column h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

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

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: var(--medium-gray);
  transition: color var(--transition-speed);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #3a3f48;
  color: var(--medium-gray);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 40px;
  }

  .cta-buttons {
    justify-content: center;
  }

  .workflow {
    flex-direction: column;
  }

  .workflow-arrow {
    transform: rotate(90deg);
    margin: 20px 0;
  }

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

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-links li {
    margin-left: 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .doc-cards {
    grid-template-columns: 1fr;
  }

  .demo-form {
    flex-direction: column;
  }
}
