/* Reading Fluency Passages Page Styles */

/* Override page-wrapper padding for this page */
body:has(.fluency-passages-page) .page-wrapper {
  padding: 0;
}

.fluency-passages-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2a2a3e;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

/* Header */
.fluency-header {
  padding: 20px 0;
  border-bottom: 1px solid #e9ecef;
  background: white;
  margin: 0;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-link {
  color: #6c757d;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  color: #007bff;
}

/* Hero Section */
.fluency-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.fluency-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.fluency-hero .subheading {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.5rem;
}

.hero-content {
  margin-top: 3rem;
}

.hero-text .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  text-align: left;
}

/* Fluency Definition */
.fluency-definition {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
}

.fluency-definition h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.fluency-components {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.component {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.component-icon {
  font-size: 2rem;
  flex-shrink: 0;
  padding-top: 2px;
}

.component-text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.component-text p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.science-note {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #ffd23f;
  font-size: 0.95rem;
  text-align: left;
  line-height: 1.6;
}

/* Problem Section */
.problem-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.problem-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a2e;
}

.problem-explanation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.problem-scenario {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.problem-scenario h3 {
  color: #dc3545;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.highlighted {
  font-size: 1.3rem;
  font-weight: 700;
  color: #dc3545;
  margin: 1rem 0;
}

.problem-list {
  list-style: none;
  padding: 0;
}

.problem-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.problem-list li:last-child {
  border-bottom: none;
}

.solution-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
}

.solution-badge {
  display: inline-block;
  background: #ffd23f;
  color: #1a1a2e;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.solution-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.solution-box .btn-primary {
  margin-top: 1.5rem;
}

/* Free PDFs Section */
.free-pdfs-section {
  padding: 60px 0;
}

.free-pdfs-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: #1a1a2e;
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 3rem;
}

.grade-section {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.grade-section h3 {
  color: #667eea;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.grade-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.grade-description ul {
  list-style-position: outside;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.grade-description li {
  margin-bottom: 0.5rem;
}

.grade-download {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdf-preview {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.pdf-icon {
  font-size: 3rem;
}

.pdf-details strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.word-count {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0.25rem 0 0 0;
}

.upsell-text {
  font-size: 0.95rem;
  color: #6c757d;
  text-align: center;
  margin-top: 1rem;
}

.upsell-text strong {
  color: #667eea;
}

/* WCPM Section */
.wcpm-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.wcpm-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1a2e;
}

.wcpm-explanation {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.wcpm-explanation > p {
  text-align: left;
  margin-bottom: 1.5rem;
}

.wcpm-formula {
  background: #667eea;
  color: white;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

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

.formula-step:last-child {
  margin-bottom: 0;
}

.step-number {
  background: #ffd23f;
  color: #1a1a2e;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text {
  flex: 1;
}

.wcpm-example {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.wcpm-example h4 {
  margin-bottom: 1rem;
}

.calculation {
  font-family: monospace;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-top: 1rem;
}

.wcpm-benchmarks {
  margin-top: 2rem;
}

.benchmarks-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.benchmarks-table th,
.benchmarks-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}

.benchmarks-table th {
  background: #667eea;
  color: white;
  font-weight: 600;
}

.benchmarks-table tbody tr:hover {
  background: #f8f9fa;
}

.note {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 1rem;
}

/* Strategy Section - Learning Science */
.strategy-section {
  padding: 60px 0;
  background: #f8f9fa;
}

.strategy-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #1a1a2e;
}

.science-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.science-intro {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e9ecef;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #2a2a3e;
  margin-bottom: 1rem;
}

.science-principle {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.science-principle:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.science-principle h3 {
  font-size: 1.75rem;
  color: #667eea;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.science-principle p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #495057;
  margin-bottom: 1.25rem;
}

.science-principle p:last-child {
  margin-bottom: 0;
}

.citation {
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
  padding: 1rem;
  background: #f8f9fa;
  border-left: 3px solid #667eea;
  margin-top: 1.5rem;
}

.science-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.science-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  line-height: 1.7;
}

.science-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: 700;
  font-size: 1.2rem;
}

.science-callout {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.callout-icon {
  font-size: 3rem;
  flex-shrink: 0;
  line-height: 1;
}

.callout-content {
  flex: 1;
}

.callout-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.callout-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.callout-content p:last-child {
  margin-bottom: 0;
}

/* Final CTA Section */
.final-cta-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.final-cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-explanation {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 3rem;
  opacity: 0.95;
}

.cta-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.benefit {
  background: rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 12px;
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.benefit p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.cta-action {
  margin-top: 2rem;
}

.cta-pricing {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover {
  background: #5568d3;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .fluency-hero h1 {
    font-size: 2rem;
  }

  .fluency-hero .subheading {
    font-size: 1.2rem;
  }

  .fluency-components {
    grid-template-columns: 1fr;
  }

  .problem-explanation,
  .grade-content,
  .cta-benefits {
    grid-template-columns: 1fr;
  }

  .science-content {
    padding: 2rem 1.5rem;
  }

  .lead-text {
    font-size: 1.1rem;
  }

  .science-principle h3 {
    font-size: 1.5rem;
  }

  .science-principle p {
    font-size: 1rem;
  }

  .science-callout {
    flex-direction: column;
    padding: 2rem 1.5rem;
  }

  .callout-content h4 {
    font-size: 1.3rem;
  }

  .grade-section {
    padding: 1.5rem;
  }

  .wcpm-explanation {
    padding: 2rem 1.5rem;
  }
}
