/* single-page.css - Styles for single-page Voitta website */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Override specific colors for single-page sections */
[data-theme="dark"] .code-block {
  background: #1e293b;
  border-color: #475569;
}

[data-theme="dark"] .code-block pre,
[data-theme="dark"] .code-block code {
  color: #e2e8f0;
}

[data-theme="dark"] .natural-language-box {
  background: #1e293b;
  border-color: #e2e8f0;
  border-width: 2px;
}

[data-theme="dark"] .natural-language-box p {
  color: #f1f5f9;
}

[data-theme="dark"] .impact-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .step-card {
  background: #1e293b;
  border-color: #475569;
}

[data-theme="dark"] .impact-card:hover,
[data-theme="dark"] .feature-card:hover {
  background: #334155;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .impact-card h3,
[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .step-card h3,
[data-theme="dark"] .problem-item h3,
[data-theme="dark"] .why-item h3 {
  color: #f8fafc;
}

[data-theme="dark"] .impact-card p,
[data-theme="dark"] .feature-card p,
[data-theme="dark"] .step-card p,
[data-theme="dark"] .problem-item p,
[data-theme="dark"] .why-item p {
  color: #cbd5e1;
}

[data-theme="dark"] .summary-section,
[data-theme="dark"] .audience-section,
[data-theme="dark"] .features-section,
[data-theme="dark"] .contact-section {
  background: #1e293b;
}

[data-theme="dark"] .problem-section,
[data-theme="dark"] .solution-section,
[data-theme="dark"] .why-section {
  background: #0f172a;
}

/* Plot image handling for light/dark mode */
.plot-image-light {
  display: block;
}

.plot-image-dark {
  display: none;
}

[data-theme="dark"] .plot-image-light {
  display: none;
}

[data-theme="dark"] .plot-image-dark {
  display: block;
}

.plot-container {
  margin: 30px 0;
  text-align: center;
}

.plot-container img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

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

/* Section Styling */
.section {
  padding: 100px 0;
}

.section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.section-intro {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* Hero Section */
.hero {
  min-height: 85vh;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-content .cta-container {
  justify-content: center;
}

.hero-tagline {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #999;
  font-weight: 300;
  margin-bottom: 40px;
}

[data-theme="dark"] .hero-tagline {
  color: #94a3b8;
}

/* Summary Section */
.summary-section {
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

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

.impact-card {
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  text-align: center;
  transition: all 0.2s ease;
}

.impact-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.impact-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #1a1a1a;
}

[data-theme="dark"] .impact-card h3 {
  color: #f8fafc;
}

.impact-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

[data-theme="dark"] .impact-card p {
  color: #cbd5e1;
}

/* Problem Section */
.problem-section {
  background: #ffffff;
}

.problem-list {
  max-width: 900px;
  margin: 60px auto 0;
}

.problem-item {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #e8e8e8;
}

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

.problem-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #1a1a1a;
}

[data-theme="dark"] .problem-item h3 {
  color: #f8fafc;
}

.problem-item p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

[data-theme="dark"] .problem-item p {
  color: #cbd5e1;
}

/* Audience Section */
.audience-section {
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.audience-category h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 30px;
  color: #1a1a1a;
}

[data-theme="dark"] .audience-category h3 {
  color: #f8fafc;
}

.audience-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.audience-category ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-left: 24px;
  position: relative;
}

[data-theme="dark"] .audience-category ul li {
  color: #cbd5e1;
}

.audience-category ul li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #999;
}

[data-theme="dark"] .audience-category ul li:before {
  color: #94a3b8;
}

.audience-category ul li strong {
  font-weight: 600;
  color: #1a1a1a;
}

[data-theme="dark"] .audience-category ul li strong {
  color: #f1f5f9;
  font-weight: 700;
}

/* Solution Section */
.solution-section {
  background: #ffffff;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
}

.comparison-column h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #1a1a1a;
}

[data-theme="dark"] .comparison-column h3 {
  color: #f8fafc;
}

.code-block {
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  padding: 24px;
  overflow-x: auto;
}

.code-block pre {
  margin: 0;
  font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.code-block code {
  font-family: inherit;
}

.natural-language-box {
  background: #fafafa;
  border: 2px solid #1a1a1a;
  padding: 40px 30px;
  margin-bottom: 30px;
}

.natural-language-box p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: #1a1a1a;
  margin: 0;
  font-style: italic;
}

.benefits {
  margin-top: 30px;
}

.benefits h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #1a1a1a;
}

[data-theme="dark"] .benefits h4 {
  color: #f8fafc;
}

.benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

[data-theme="dark"] .benefits ul li {
  color: #cbd5e1;
}

.benefits ul li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #999;
}

[data-theme="dark"] .benefits ul li:before {
  color: #94a3b8;
}

/* Features Section */
.features-section {
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.feature-card {
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  transition: all 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #1a1a1a;
}

[data-theme="dark"] .feature-card h3 {
  color: #f8fafc;
}

.feature-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 2;
  color: #1a1a1a;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

[data-theme="dark"] .feature-card ul li {
  color: #cbd5e1;
}

.feature-card ul li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #999;
}

[data-theme="dark"] .feature-card ul li:before {
  color: #94a3b8;
}

/* Why Section */
.why-section {
  background: #ffffff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  margin-top: 60px;
}

.why-item h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 16px;
  color: #1a1a1a;
}

[data-theme="dark"] .why-item h3 {
  color: #f8fafc;
}

.why-item p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

[data-theme="dark"] .why-item p {
  color: #cbd5e1;
}

/* Contact Section */
.contact-section {
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.step-card {
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid #e8e8e8;
}

.step-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #1a1a1a;
}

[data-theme="dark"] .step-card h3 {
  color: #f8fafc;
}

.step-card p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #666;
  line-height: 1.8;
  margin: 0 0 16px 0;
}

[data-theme="dark"] .step-card p {
  color: #cbd5e1;
}

.step-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.step-card ul li {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: #666;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

[data-theme="dark"] .step-card ul li {
  color: #cbd5e1;
}

.step-card ul li:before {
  content: "—";
  position: absolute;
  left: 0;
  color: #999;
}

[data-theme="dark"] .step-card ul li:before {
  color: #94a3b8;
}

.contact-cta {
  text-align: center;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #e8e8e8;
}

.contact-cta h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: #1a1a1a;
}

[data-theme="dark"] .contact-cta h3 {
  color: #f8fafc;
}

.cta-button-large {
  font-family: 'Open Sans', sans-serif;
  background: #1a1a1a;
  color: #fff;
  padding: 20px 60px;
  border: 1px solid #1a1a1a;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  margin-bottom: 24px;
}

[data-theme="dark"] .cta-button-large {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #f1f5f9;
}

.cta-button-large:hover {
  background: #fff;
  color: #1a1a1a;
}

[data-theme="dark"] .cta-button-large:hover {
  background: #0f172a;
  color: #f1f5f9;
  border-color: #f1f5f9;
}

.contact-subtext {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: #666;
}

[data-theme="dark"] .contact-subtext {
  color: #cbd5e1;
}

.contact-subtext a {
  color: #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  transition: opacity 0.2s ease;
}

[data-theme="dark"] .contact-subtext a {
  color: #f1f5f9;
  border-bottom-color: #f1f5f9;
}

.contact-subtext a:hover {
  opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 2.5rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

  .audience-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .impact-grid,
  .features-grid,
  .why-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .code-block {
    padding: 16px;
  }

  .code-block pre {
    font-size: 0.75rem;
  }
}
