/* ==========================================================================
   Section Styles - Hero, Features, Problem, etc.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Section Base
   -------------------------------------------------------------------------- */

section {
  padding-block: var(--space-16);
}

@media (min-width: 768px) {
  section {
    padding-block: var(--space-24);
  }
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
}

/* Section Backgrounds */
.section-dark {
  background: var(--color-bg-secondary);
}

.section-alt {
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding-block: var(--space-12);
  background: var(--gradient-bg-glow);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

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

@media (min-width: 1024px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  margin-bottom: var(--space-4);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
  max-width: 540px;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    margin-inline: 0;
  }
}

.hero-features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-8);
  text-align: left;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-text-secondary);
}

.hero-features li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--color-accent-primary);
  border-radius: var(--radius-full);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a0a0f'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-cta {
    justify-content: flex-start;
  }
}

.hero-visual {
  display: block;
  margin-top: var(--space-8);
}

@media (min-width: 1024px) {
  .hero-visual {
    margin-top: 0;
  }
}

/* Screenshot Styles */
.hero-screenshot,
.feature-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-screenshot:hover,
.feature-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-strong);
}

.feature-visual figure {
  margin: 0;
}

.feature-visual img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */

.problem-grid .card {
  height: 100%;
}

.card-example {
  background: var(--color-bg-secondary);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  border-left: 3px solid var(--color-accent-primary);
}

.card-example p {
  margin-bottom: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}

.card-example p:last-child {
  margin-bottom: 0;
}

.card-question {
  font-weight: 600;
  color: var(--color-text-primary);
  font-style: italic;
}

.text-accent {
  color: var(--color-accent-primary);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Feature Sections
   -------------------------------------------------------------------------- */

.feature-layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .feature-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

@media (min-width: 1024px) {
  .feature-layout {
    gap: var(--space-16);
  }
}

.feature-layout-reverse .feature-visual {
  order: 0;
}

@media (min-width: 768px) {
  .feature-layout-reverse .feature-visual {
    order: -1;
  }
}

.feature-content .badge {
  margin-bottom: var(--space-4);
}

.feature-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.feature-description {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.feature-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.feature-item ul {
  margin: 0;
}

.feature-item li {
  margin-bottom: var(--space-1);
}

.feature-bullets {
  list-style: none;
  padding: 0;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--color-text-secondary);
}

.feature-bullets li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--color-accent-primary);
  border-radius: var(--radius-full);
  margin-top: 8px;
}

.scenario-range {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-primary);
  background: rgba(0, 212, 170, 0.1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  display: inline-block;
  margin: var(--space-2) 0;
  word-break: break-word;
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   Audience Section
   -------------------------------------------------------------------------- */

.audience-grid .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.audience-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.audience-card blockquote {
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  padding-left: var(--space-4);
}

.audience-use-case {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-subtle);
  color: var(--color-text-secondary);
}

.audience-use-case strong {
  color: var(--color-accent-primary);
}

/* --------------------------------------------------------------------------
   Differentiators Section
   -------------------------------------------------------------------------- */

.differentiators-grid .diff-item {
  padding: var(--space-6);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-base);
}

.differentiators-grid .diff-item:hover {
  border-color: var(--color-accent-primary);
}

.diff-item h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.diff-item p {
  color: var(--color-text-secondary);
  margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */

#faq .section-header {
  margin-bottom: var(--space-8);
}

/* --------------------------------------------------------------------------
   Glossary Section
   -------------------------------------------------------------------------- */

#glossary {
  background: var(--color-bg-secondary);
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */

.section-cta-final {
  text-align: center;
  padding-block: var(--space-20);
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  position: relative;
}

.section-cta-final::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center bottom, rgba(0, 212, 170, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.section-cta-final .section-header {
  position: relative;
  z-index: 1;
}

.pricing-cta {
  position: relative;
  z-index: 1;
}

.pricing-note {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border-subtle);
  padding-block: var(--space-12);
}

.footer-grid {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  text-decoration: none;
  display: inline-block;
  margin-bottom: var(--space-2);
}

.footer-logo span {
  color: var(--color-accent-primary);
}

.footer-tagline {
  color: var(--color-text-tertiary);
  font-size: var(--text-sm);
}

.footer-nav {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(2, 1fr);
}

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

.footer-nav-group h3 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.footer-nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-group li {
  margin-bottom: var(--space-2);
}

.footer-nav-group a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.footer-nav-group a:hover {
  color: var(--color-accent-primary);
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  line-height: 1.7;
  max-width: 900px;
  margin-bottom: var(--space-4);
}

.footer-disclaimer strong {
  color: var(--color-text-secondary);
}

.footer-copyright {
  font-size: var(--text-sm);
  color: var(--color-text-tertiary);
  margin: 0;
}
