/* ===================================
   TV vs Projector Calculator Styles
   =================================== */

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #141824;
    --bg-card: #1a1f2e;
    --bg-card-hover: #222938;
    --text-primary: #ffffff;
    --text-secondary: #b4b9c8;
    --text-muted: #6c7280;
    --accent-tv: #3b82f6;
    --accent-projector: #f59e0b;
    --accent-hybrid: #8b5cf6;
    --accent-success: #10b981;
    --accent-warning: #ef4444;
    --border-color: #2d3748;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-tv: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-projector: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px 30px;
    background: var(--bg-secondary);
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.header-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-content h1 i {
    -webkit-text-fill-color: var(--accent-tv);
    margin-right: 15px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-card);
    border-radius: 10px;
    margin-top: 25px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.4s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Main Content */
#mainContent {
    min-height: 500px;
}

/* Section */
.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.section-header i {
    font-size: 3rem;
    color: var(--accent-tv);
    margin-bottom: 15px;
    display: block;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Question Group */
.question-group {
    margin-bottom: 35px;
}

.question-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-flex;
    cursor: help;
}

.tooltip i {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.tooltip:hover i {
    color: var(--accent-tv);
}

.tooltip::after {
    content: attr(data-tip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    z-index: 100;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Radio Cards */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.radio-cards.inline {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.radio-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 100px;
}

.radio-card .card-content i {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.radio-card .card-content span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.radio-card:hover .card-content {
    background: var(--bg-card-hover);
    border-color: var(--accent-tv);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.radio-card input[type="radio"]:checked + .card-content {
    background: var(--bg-card-hover);
    border-color: var(--accent-tv);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.radio-card input[type="radio"]:checked + .card-content i {
    color: var(--accent-tv);
    transform: scale(1.1);
}

.radio-card input[type="radio"]:checked + .card-content span {
    color: var(--text-primary);
}

/* Checkbox Cards */
.checkbox-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.checkbox-card {
    position: relative;
    cursor: pointer;
}

.checkbox-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-card .card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.checkbox-card .card-content i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    min-width: 30px;
}

.checkbox-card .card-content span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.checkbox-card:hover .card-content {
    background: var(--bg-card-hover);
    border-color: var(--accent-tv);
    transform: translateX(5px);
}

.checkbox-card input[type="checkbox"]:checked + .card-content {
    background: var(--bg-card-hover);
    border-color: var(--accent-success);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.checkbox-card input[type="checkbox"]:checked + .card-content i {
    color: var(--accent-success);
}

.checkbox-card input[type="checkbox"]:checked + .card-content span {
    color: var(--text-primary);
}

/* Slider Container */
.slider-container {
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--bg-secondary);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
    transition: transform 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-value {
    text-align: center;
    margin-top: 15px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.slider-value span {
    color: var(--accent-tv);
}

/* Info Box */
.info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: var(--text-secondary);
}

.info-box i {
    color: var(--accent-tv);
    font-size: 1.2rem;
}

.info-box.warning {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.info-box.warning i {
    color: var(--accent-warning);
}

.info-box.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.info-box.success i {
    color: var(--accent-success);
}

/* Navigation */
.navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    padding: 20px;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-tv);
    transform: translateY(-3px);
}

/* Results Section */
.results-section {
    animation: fadeIn 0.8s ease;
}

/* Product Recommendations */
.product-recommendations {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-title i {
    color: var(--accent-tv);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.tv {
    border-color: rgba(59, 130, 246, 0.3);
}

.product-card.tv:hover {
    border-color: var(--accent-tv);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.product-card.projector {
    border-color: rgba(245, 158, 11, 0.3);
}

.product-card.projector:hover {
    border-color: var(--accent-projector);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.3);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon i {
    font-size: 1.5rem;
}

.product-type {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    padding: 5px 12px;
    background: var(--bg-secondary);
    border-radius: 20px;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-size {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-card.tv .product-price {
    color: var(--accent-tv);
}

.product-card.projector .product-price {
    color: var(--accent-projector);
}

.product-features,
.product-pros {
    margin-bottom: 20px;
}

.product-features strong,
.product-pros strong {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.product-features ul,
.product-pros ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li,
.product-pros li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li i {
    color: var(--accent-success);
    font-size: 0.75rem;
}

.product-pros li i {
    color: var(--accent-projector);
    font-size: 0.75rem;
}

.product-bestfor {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--accent-tv);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.product-bestfor i {
    color: var(--accent-tv);
    margin-right: 8px;
}

.product-bestfor strong {
    color: var(--text-primary);
}

.btn-product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.product-card.tv .btn-product {
    background: var(--gradient-tv);
}

.product-card.projector .btn-product {
    background: var(--gradient-projector);
}

/* Retailer Links */
.retailer-links {
    margin-top: auto;
}

.retailer-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    font-weight: 600;
}

.retailer-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-retailer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 15px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.btn-retailer:hover {
    transform: translateX(5px);
    border-color: var(--accent-tv);
    background: var(--bg-card-hover);
}

/* Retailer-specific colors */
.btn-retailer.amazon:hover {
    border-color: #ff9900;
}

.btn-retailer.bestbuy:hover {
    border-color: #0046be;
}

.btn-retailer.bhphoto:hover {
    border-color: #f47d31;
}

.btn-retailer.walmart:hover {
    border-color: #0071ce;
}

.btn-retailer i {
    font-size: 1rem;
}

.recommendation-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.recommendation-badge {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.recommendation-badge.tv {
    background: var(--gradient-tv);
}

.recommendation-badge.projector {
    background: var(--gradient-projector);
}

.recommendation-badge.hybrid {
    background: linear-gradient(135deg, var(--accent-hybrid) 0%, var(--accent-tv) 100%);
}

.recommendation-badge.either {
    background: linear-gradient(135deg, var(--accent-success) 0%, var(--accent-tv) 100%);
}

.recommendation-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.recommendation-explanation {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.scores-display {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.score-item {
    padding: 20px 30px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.score-item.tv {
    border-color: var(--accent-tv);
}

.score-item.projector {
    border-color: var(--accent-projector);
}

.score-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.score-value {
    font-size: 2rem;
    font-weight: 700;
}

.score-item.tv .score-value {
    color: var(--accent-tv);
}

.score-item.projector .score-value {
    color: var(--accent-projector);
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.detail-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.detail-card h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-card h3 i {
    color: var(--accent-tv);
}

.cost-comparison {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.cost-column {
    flex: 1;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.cost-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
}

.cost-column.tv h4 {
    color: var(--accent-tv);
}

.cost-column.projector h4 {
    color: var(--accent-projector);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.cost-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

/* Use Case Scores */
.use-case-bars {
    display: grid;
    gap: 20px;
    margin-top: 15px;
}

.use-case-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.use-case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.use-case-label {
    font-weight: 600;
    font-size: 0.95rem;
}

.use-case-score {
    font-weight: 700;
    color: var(--accent-tv);
}

.use-case-bar {
    height: 12px;
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
}

.use-case-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 1s ease;
}

.use-case-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Risk Flags */
.risk-flags {
    margin-top: 30px;
}

.risk-flag {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    margin-bottom: 15px;
}

.risk-flag i {
    color: var(--accent-warning);
    font-size: 1.3rem;
    margin-top: 2px;
}

.risk-flag-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.risk-flag-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-download {
    background: var(--accent-success);
    color: white;
}

.btn-download:hover {
    background: #059669;
}

/* =========================
   SEO Micro-Explainers (Crawlable + Collapsible)
========================= */

.seo-explainer {
  margin: 12px 0 0;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.seo-explainer > summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  user-select: none;
}

.seo-explainer > summary::-webkit-details-marker {
  display: none;
}

.seo-explainer .seo-badge {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.15);
}

.seo-explainer .seo-label {
  font-weight: 600;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.seo-explainer .seo-chevron {
  margin-left: auto;
  transition: transform 180ms ease;
  opacity: 0.85;
}

.seo-explainer[open] .seo-chevron {
  transform: rotate(180deg);
}

.seo-explainer .seo-body {
  padding: 0 14px 14px;
}

.seo-explainer .seo-body p {
  margin: 8px 0 0;
  line-height: 1.5;
  opacity: 0.92;
}

.seo-explainer > summary:focus {
  outline: 2px solid rgba(0, 255, 180, 0.35);
  outline-offset: 2px;
  border-radius: 12px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .radio-cards {
        grid-template-columns: 1fr;
    }

    .radio-cards.inline {
        grid-template-columns: 1fr;
    }

    .checkbox-cards {
        grid-template-columns: 1fr;
    }

    .cost-comparison {
        flex-direction: column;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .recommendation-title {
        font-size: 1.8rem;
    }

    .recommendation-explanation {
        font-size: 1rem;
    }

    .navigation {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .action-buttons {
        flex-direction: column;
    }

    /* Product recommendations mobile */
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .product-recommendations {
        padding: 25px 20px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Legal Pages Styling */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.legal-section {
    margin-bottom: 40px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.legal-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent-tv);
    padding-bottom: 10px;
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.legal-section li::before {
    content: "→";
    position: absolute;
    left: 10px;
    color: var(--accent-tv);
    font-weight: 700;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.back-link {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }

    .navigation,
    .action-buttons,
    .footer {
        display: none;
    }
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding: 40px 20px;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.copyright {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-tv);
    text-decoration: underline;
}

.footer-separator {
    color: var(--border-color);
    font-size: 0.9rem;
}

.footer-disclaimer {
    padding: 20px;
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--accent-tv);
    border-radius: 8px;
    margin-top: 20px;
}

.footer-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.footer-disclaimer strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px;
    }

    .copyright {
        font-size: 0.85rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 10px;
    }

    .footer-separator {
        display: none;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-disclaimer {
        padding: 15px;
    }

    .footer-disclaimer p {
        font-size: 0.8rem;
    }
}
