/* SRS Guide Article Styles */

:root {
  --primary-color: #3a86ff;
  --primary-dark: #2667d6;
  --secondary-color: #8338ec;
  --accent-color: #ff006e;
  --success-color: #38b000;
  --warning-color: #ff9e00;
  --danger-color: #ef233c;
  --info-color: #4361ee;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --gray-color: #6c757d;
  --border-radius: 10px;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Hero Section */
.srs-hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
}

.srs-hero .hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-highlight {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  margin-top: 25px;
  display: flex;
  gap: 15px;
  border-left: 4px solid var(--warning-color);
  box-shadow: var(--box-shadow);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 158, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon i {
  color: var(--warning-color);
  font-size: 1.5rem;
}

.highlight-content h3 {
  margin: 0 0 8px 0;
  color: var(--dark-color);
  font-size: 1.2rem;
}

.highlight-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.5;
}

.hero-image {
  position: relative;
}

.image-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--success-color), #2dc653);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(56, 176, 0, 0.3);
}

/* Table of Contents */
.table-of-contents {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid var(--primary-color);
}

.table-of-contents h3 {
  margin: 0 0 20px 0;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-of-contents ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.table-of-contents li {
  margin-bottom: 12px;
  position: relative;
}

.table-of-contents li:last-child {
  margin-bottom: 0;
}

.table-of-contents a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-color);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.table-of-contents a:hover {
  background: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
}

.table-of-contents a i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

.section-anchor {
  scroll-margin-top: 100px;
}

/* Lead Paragraph */
.lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--dark-color);
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

/* Alert Boxes */
.alert-box {
  border-radius: var(--border-radius);
  padding: 25px;
  margin: 30px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.alert-box.info {
  background: rgba(67, 97, 238, 0.1);
  border-left: 4px solid var(--info-color);
}

.alert-box.warning {
  background: rgba(255, 158, 0, 0.1);
  border-left: 4px solid var(--warning-color);
}

.alert-icon {
  flex-shrink: 0;
}

.alert-icon i {
  font-size: 1.8rem;
}

.alert-box.info .alert-icon i {
  color: var(--info-color);
}

.alert-box.warning .alert-icon i {
  color: var(--warning-color);
}

.alert-content h4 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.alert-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.feature-item span {
  color: var(--dark-color);
  font-weight: 500;
}

/* Definition Box */
.definition-box {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin: 30px 0;
}

.definition-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.definition-header h3 {
  margin: 0;
  font-size: 1.5rem;
}

.definition-type {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.definition-content {
  padding: 30px;
}

.definition-content ul {
  padding-left: 20px;
  margin: 20px 0;
}

.definition-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Analogy Box */
.analogy-box {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: var(--border-radius);
  padding: 25px;
  margin: 30px 0;
  display: flex;
  gap: 20px;
  align-items: center;
  border-left: 4px solid var(--secondary-color);
}

.analogy-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analogy-icon i {
  color: var(--secondary-color);
  font-size: 1.8rem;
}

.analogy-content h4 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.analogy-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.6;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.benefit-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(58, 134, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.benefit-card h4 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.benefit-card p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Names Table */
.names-table-container {
  overflow-x: auto;
  margin: 30px 0;
}

.names-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.names-table th {
  background: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.names-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: var(--dark-color);
}

.names-table tr:last-child td {
  border-bottom: none;
}

.names-table tr:hover td {
  background: #f8f9fa;
}

/* Industry Context */
.industry-context {
  margin: 40px 0;
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.industry-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.industry-card h5 {
  margin: 0 0 10px 0;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.industry-card p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Comparison Explanation */
.comparison-explanation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.doc-explanation {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.doc-header {
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-header.brd {
  background: linear-gradient(135deg, #4361ee, #3a0ca3);
}

.doc-header.frd {
  background: linear-gradient(135deg, #f72585, #b5179e);
}

.doc-header.srs {
  background: linear-gradient(135deg, #4cc9f0, #4361ee);
}

.doc-header h4 {
  margin: 0;
  font-size: 1.3rem;
}

.doc-subtitle {
  font-size: 0.9rem;
  opacity: 0.9;
}

.doc-content {
  padding: 20px;
}

.doc-content p {
  margin: 0 0 10px 0;
  color: var(--dark-color);
  line-height: 1.6;
}

.doc-content p:last-child {
  margin-bottom: 0;
}

/* Relationship Diagram */
.relationship-diagram {
  background: #f8fafc;
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 40px 0;
}

.diagram-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  flex-wrap: wrap;
}

.diagram-step {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.step-circle {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content {
  margin-left: 15px;
}

.step-content h5 {
  margin: 0 0 5px 0;
  color: var(--dark-color);
}

.step-content p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.step-arrow {
  margin-left: auto;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.diagram-note {
  margin: 20px 0 0 0;
  padding: 15px;
  background: white;
  border-radius: var(--border-radius);
  color: var(--dark-color);
}

/* Key Takeaway Card */
.key-takeaway {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #f0f7ff, #e1effe);
  border-radius: var(--border-radius);
  padding: 25px;
  margin: 30px 0;
  border-left: 4px solid var(--warning-color);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon i {
  color: var(--warning-color);
  font-size: 1.5rem;
}

.card-content h4 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.card-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.6;
}

/* Failure Reasons */
.failure-reasons {
  margin: 40px 0;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.reason-item {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--danger-color);
}

.reason-icon {
  width: 50px;
  height: 50px;
  background: rgba(239, 35, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.reason-icon i {
  color: var(--danger-color);
  font-size: 1.3rem;
}

.reason-item h5 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.reason-item p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Prevention Benefits */
.prevention-benefits {
  margin: 40px 0;
}

.benefits-list {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-item i {
  color: var(--success-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.benefit-item h5 {
  margin: 0 0 5px 0;
  color: var(--dark-color);
}

.benefit-item p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.5;
}

/* Statistics Box */
.statistics-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  padding: 30px;
  color: white;
  margin: 40px 0;
}

.stats-header {
  text-align: center;
  margin-bottom: 30px;
}

.stats-header h4 {
  margin: 0;
  font-size: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* SRS Sections Container */
.srs-sections-container {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin: 40px 0;
}

.section-navigation {
  display: flex;
  overflow-x: auto;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.section-nav-btn {
  padding: 15px 25px;
  background: none;
  border: none;
  border-right: 1px solid #eee;
  color: var(--gray-color);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.section-nav-btn:hover {
  background: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
}

.section-nav-btn.active {
  background: white;
  color: var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}

.section-content {
  padding: 30px;
}

.section-detail {
  display: none;
}

.section-detail.active {
  display: block;
}

.section-detail h4 {
  margin: 0 0 20px 0;
  color: var(--dark-color);
  font-size: 1.3rem;
}

.section-detail ul {
  padding-left: 20px;
  margin: 15px 0;
}

.section-detail li {
  margin-bottom: 10px;
  color: var(--dark-color);
  line-height: 1.6;
}

/* Module Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.module-item {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 15px;
  border-left: 3px solid var(--primary-color);
}

.module-item h5 {
  margin: 0 0 5px 0;
  color: var(--dark-color);
  font-size: 1rem;
}

.module-item p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.85rem;
}

/* Integration Grid */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.integration-item {
  background: white;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.integration-item:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
}

.integration-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.integration-item span {
  display: block;
  color: var(--dark-color);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Additional Sections */
.additional-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.additional-section {
  background: #f8f9fa;
  border-radius: var(--border-radius);
  padding: 20px;
}

.additional-section h5 {
  margin: 0 0 10px 0;
  color: var(--primary-color);
}

.additional-section p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Document Length */
.document-length {
  margin: 40px 0;
}

.length-indicator {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.length-scale {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding-top: 40px;
}

.length-scale::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #38b000, #ff9e00, #ef233c);
  border-radius: 2px;
}

.scale-point {
  position: relative;
  text-align: center;
}

.point-marker {
  width: 20px;
  height: 20px;
  background: white;
  border: 3px solid;
  border-radius: 50%;
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
}

.point-marker.small {
  border-color: #38b000;
}

.point-marker.medium {
  border-color: #ff9e00;
}

.point-marker.large {
  border-color: #ef233c;
}

.point-label {
  margin-top: 30px;
}

.point-label strong {
  display: block;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.point-label span {
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Documents Grid */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.document-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
  border-top-color: var(--primary-color);
}

.doc-icon {
  width: 60px;
  height: 60px;
  background: rgba(58, 134, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}

.doc-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.document-card h4 {
  margin: 0 0 5px 0;
  color: var(--dark-color);
  font-size: 1.3rem;
}

.doc-fullname {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.doc-description {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Document Relationship */
.document-relationship {
  margin: 40px 0;
}

.relationship-chart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.phase {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.phase h5 {
  margin: 0 0 15px 0;
  color: var(--dark-color);
}

.phase-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.doc-tag {
  background: rgba(58, 134, 255, 0.1);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.phase-arrow {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* Download Section */
.download-section {
  background: #f8fafc;
  border-radius: var(--border-radius);
  padding: 30px;
}

.template-preview {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--box-shadow);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.preview-header h4 {
  margin: 0;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-version {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.preview-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.included-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.included-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.included-item i {
  color: var(--success-color);
}

.included-item span {
  color: var(--dark-color);
}

/* Download Options */
.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.download-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.download-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
}

.download-card:nth-child(1) .download-icon {
  background: rgba(0, 119, 197, 0.1);
  color: #0077c5;
}

.download-card:nth-child(2) .download-icon {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}

.download-card:nth-child(3) .download-icon {
  background: rgba(33, 115, 70, 0.1);
  color: #217346;
}

.download-info {
  flex: 1;
  margin-bottom: 20px;
}

.download-info h4 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.download-info p {
  margin: 0 0 15px 0;
  color: var(--gray-color);
  line-height: 1.5;
}

.file-details {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--gray-color);
}

.file-details span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-download {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-download:hover {
  background: var(--primary-dark);
}

/* Download Form */
.download-form {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  padding: 40px;
  color: white;
  text-align: center;
  margin: 40px 0;
}

.download-form h4 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
}

.download-form p {
  margin: 0 0 25px 0;
  opacity: 0.9;
}

.download-form .form-group {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.download-form input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

.download-form .btn-primary {
  padding: 14px 30px;
}

.form-note {
  margin-top: 15px;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Template Usage */
.template-usage {
  margin: 40px 0;
}

.usage-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.usage-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-content h5 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.step-content p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Good SRS Characteristics */
.good-srs-characteristics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.characteristic {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.char-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.char-icon.good {
  background: rgba(56, 176, 0, 0.1);
  color: var(--success-color);
}

.char-content h5 {
  margin: 0 0 8px 0;
  color: var(--dark-color);
}

.char-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.5;
}

/* Bad SRS Warning */
.bad-srs-warning {
  background: #fff5f5;
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 40px 0;
  border-left: 4px solid var(--danger-color);
}

.bad-practices {
  margin-top: 20px;
}

.bad-practice {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(239, 35, 60, 0.1);
}

.bad-practice:last-child {
  border-bottom: none;
}

.bad-icon {
  width: 40px;
  height: 40px;
  background: rgba(239, 35, 60, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.bad-icon i {
  color: var(--danger-color);
}

.bad-content h5 {
  margin: 0 0 8px 0;
  color: var(--dark-color);
}

.bad-content p {
  margin: 0 0 5px 0;
  color: var(--gray-color);
}

.bad-content .better {
  color: var(--success-color);
  font-weight: 500;
}

/* Quality Checklist */
.quality-checklist {
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  margin: 40px 0;
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--success-color);
}

.checklist-item label {
  color: var(--dark-color);
  cursor: pointer;
}

/* Conclusion Section */
.conclusion-section {
  background: #f8fafc;
  border-radius: var(--border-radius);
  padding: 40px;
}

.key-insight {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.insight-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.insight-icon i {
  color: white;
  font-size: 1.8rem;
}

.insight-content h3 {
  margin: 0 0 15px 0;
  color: var(--dark-color);
}

.insight-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.7;
}

.action-call {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.action-icon {
  width: 50px;
  height: 50px;
  background: rgba(58, 134, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.action-content h4 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.action-content p {
  margin: 0;
  color: var(--gray-color);
  line-height: 1.6;
}

/* Services Offered */
.services-offered {
  margin-top: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.service-offer {
  background: white;
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.service-offer:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.service-offer i {
  width: 60px;
  height: 60px;
  background: rgba(58, 134, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.service-offer h5 {
  margin: 0 0 10px 0;
  color: var(--dark-color);
}

.service-offer p {
  margin: 0;
  color: var(--gray-color);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Final CTA Box */
.final-cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius);
  padding: 40px;
  color: white;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.cta-content {
  flex: 1;
}

.cta-content h4 {
  margin: 0 0 15px 0;
  font-size: 1.8rem;
}

.cta-content p {
  margin: 0 0 25px 0;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
  padding: 12px 25px;
}

.cta-image {
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-image i {
  font-size: 4rem;
}

/* Sidebar Styles */
.sidebar-widget {
  margin-bottom: 30px;
}

.download-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--dark-color);
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.download-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.download-link i {
  font-size: 1.5rem;
}

.download-link:nth-child(1) i {
  color: #0077c5;
}

.download-link:nth-child(2) i {
  color: #ff0000;
}

.download-link:nth-child(3) i {
  color: #217346;
}

.download-link div {
  flex: 1;
}

.download-link strong {
  display: block;
  font-size: 0.95rem;
}

.download-link span {
  font-size: 0.8rem;
  color: var(--gray-color);
}

/* Read Time Estimate */
.read-time-estimate {
  background: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.time-section {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.time-section:last-child {
  border-bottom: none;
}

.time-label {
  color: var(--dark-color);
  font-weight: 500;
}

.time-value {
  color: var(--primary-color);
  font-weight: 600;
}

/* Social Share */
.social-share {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: white;
  font-size: 1.1rem;
}

.social-btn.linkedin {
  background: #0077b5;
}

.social-btn.twitter {
  background: #1da1f2;
}

.social-btn.facebook {
  background: #4267B2;
}

.social-btn.email {
  background: var(--primary-color);
}

.social-btn.copy {
  background: var(--gray-color);
}

.social-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Help Box */
.help-box {
  background: linear-gradient(135deg, #f0f7ff, #e1effe);
  border-radius: var(--border-radius);
  padding: 25px;
  text-align: center;
  border-left: 4px solid var(--primary-color);
}

.help-box p {
  margin: 0 0 20px 0;
  color: var(--dark-color);
}

.help-box .btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .srs-hero .hero-content {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .srs-hero .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-image {
    order: -1;
  }
  
  .diagram-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .diagram-step {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .step-arrow {
    transform: rotate(90deg);
    margin-left: 0;
    margin-top: 10px;
  }
  
  .relationship-chart {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .phase {
    width: 100%;
    text-align: left;
  }
  
  .phase-arrow {
    transform: rotate(90deg);
    margin: 10px 0;
  }
  
  .final-cta-box {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .section-navigation {
    flex-direction: column;
  }
  
  .section-nav-btn {
    width: 100%;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  
  .download-form .form-group {
    flex-direction: column;
  }
  
  .download-options {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
    text-align: center;
  }
  
  .table-of-contents {
    position: static;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .features-grid,
  .card-grid,
  .reasons-grid,
  .industry-cards,
  .comparison-explanation,
  .module-grid,
  .integration-grid,
  .additional-sections,
  .documents-grid,
  .services-grid,
  .good-srs-characteristics,
  .checklist-items {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .length-scale {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .length-scale::before {
    display: none;
  }
  
  .scale-point {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .point-marker {
    position: static;
    transform: none;
    margin-right: 15px;
  }
  
  .point-label {
    margin-top: 0;
    text-align: left;
  }
}

/* Print Styles */
@media print {
  .table-of-contents,
  .sidebar,
  .hero-highlight,
  .image-badge,
  .social-share,
  .help-box,
  .newsletter-form,
  .whatsapp-float,
  .back-to-top {
    display: none;
  }
  
  .content-wrapper {
    display: block;
  }
  
  .main-content {
    width: 100%;
  }
  
  .download-options {
    break-inside: avoid;
  }
  
  .final-cta-box {
    break-inside: avoid;
    border: 2px solid #000;
  }
}