/* Hero Section */
.hero {
  text-align: center;
  padding: var(--spacing-xl) 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary-light);
  margin-bottom: var(--spacing-lg);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Flow Visualization Section */
.flow-preview {
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary-light);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.flow-canvas {
  background-color: #f9fafb;
  /* Gray 50 */
  border: 1px dashed var(--border-light);
  border-radius: 1rem;
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  min-height: 300px;
}

.flow-node {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  padding: var(--spacing-md);
  width: 200px;
  text-align: left;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.node-header .material-symbols-outlined {
  font-size: 1.25rem;
}

.text-node .node-header .material-symbols-outlined {
  color: #3b82f6;
  /* Blue 500 */
}

.image-node .node-header .material-symbols-outlined {
  color: #a855f7;
  /* Purple 500 */
}

.output-node .node-header .material-symbols-outlined {
  color: #10b981;
  /* Emerald 500 */
}

.node-content {
  font-size: 0.875rem;
  color: var(--text-secondary-light);
  background-color: #f3f4f6;
  /* Gray 100 */
  padding: 0.5rem;
  border-radius: 0.5rem;
  min-height: 60px;
}

.output-node .node-content {
  padding: 0;
  overflow: hidden;
}

.output-node .node-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flow-arrow {
  color: var(--text-secondary-light);
}

/* Features Section */
.features {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: var(--spacing-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: #eff6ff;
  /* Blue 50 */
  color: var(--primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-icon .material-symbols-outlined {
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-secondary-light);
  font-size: 0.875rem;
  line-height: 1.5;
}

.badge {
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #f3e8ff;
}

/* Pricing Section */
/* Pricing Section - Moved to components.css */
.pricing {
  padding: var(--spacing-xl) 0;
  background-color: #f9fafb;
  /* Gray 50 */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
  width: 100vw;
}

.pricing .container {
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Extra Credits - Moved to components.css */
.extra-credits {
  text-align: center;
  margin-top: 4rem;
}

.extra-credits h3 {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.extra-credits p {
  color: var(--text-secondary-light);
  margin-bottom: 2rem;
}

/* FAQ Section */
.faq {
  padding: var(--spacing-xl) 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.faq-item {
  background-color: var(--bg-card-light);
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.faq-item summary {
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-light);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .material-symbols-outlined {
  transition: transform 0.2s;
  color: var(--text-secondary-light);
}

.faq-item[open] summary .material-symbols-outlined {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary-light);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: var(--spacing-xl) 0;
  margin-top: var(--spacing-xl);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary-light);
}

.footer-brand .logo-icon {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary-light);
  transition: color 0.2s;
}

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