/**
 * RTS Page — Page-specific styles
 */

.page-rts {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: #334155;
    background: #f8fafc;
}

/* Download badge in hero */
.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.download-badge i {
    color: #ef4444;
}

/* RTS content container */
.rts-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* Download section */
.download-section {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    margin: -40px 0 48px;
    position: relative;
    z-index: 2;
    color: white;
}
.download-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: white !important;
    margin: 0 0 10px;
}
.download-section p {
    color: rgba(255,255,255,0.85) !important;
    font-size: 1rem;
}

/* Download buttons */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #1e293b;
    border: none;
}
.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #1e293b;
}
.btn-download.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-download.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* RTS sections */
.rts-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.rts-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
}
.rts-section h3 {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 32px 0 14px;
}
.rts-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #334155;
}
.rts-section ul {
    padding-left: 0;
    list-style: none;
}
.rts-section li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #334155;
    padding: 4px 0 4px 22px;
    position: relative;
}
.rts-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 7px;
    height: 7px;
    background: #2563eb;
    border-radius: 50%;
}
.rts-section a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}
.rts-section a:hover {
    text-decoration: underline;
}

/* Info / Warning boxes */
.info-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}
.info-box h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1d4ed8;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-box p {
    font-size: 0.9375rem;
    color: #334155;
    margin: 0 0 6px;
    line-height: 1.7;
}
.info-box ul {
    margin: 8px 0 0;
}

.warning-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0;
}
.warning-box h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #b45309;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.warning-box p {
    font-size: 0.9375rem;
    color: #78350f;
    margin: 0;
    line-height: 1.7;
}

/* RTS grid */
.rts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.rts-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    transition: all 0.2s ease;
}
.rts-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-color: #cbd5e1;
}
.rts-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rts-card h4 i {
    color: #2563eb;
}
.rts-card p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}
.rts-card ul {
    margin: 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 28px;
    margin-top: 24px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #e2e8f0;
}
.timeline-item {
    position: relative;
    padding: 0 0 28px 20px;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #2563eb;
}
.timeline-item:last-child::before {
    background: #059669;
    box-shadow: 0 0 0 2px #059669;
}
.timeline-date {
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 4px;
}
.timeline-item p {
    font-size: 0.9375rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* Tables */
.rts-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}
.rts-section thead {
    background: #f1f5f9;
}
.rts-section th {
    font-family: 'Sora', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
    padding: 14px 18px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e2e8f0;
}
.rts-section td {
    font-size: 0.9375rem;
    color: #334155;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    line-height: 1.6;
}
.rts-section tbody tr:hover {
    background: #f8fafc;
}

/* Download highlight box */
.download-highlight-box {
    background: linear-gradient(135deg, #eff6ff, #f5f3ff);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 24px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.download-highlight-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}
.download-highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.download-highlight-text h4 {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.download-highlight-text p {
    font-size: 0.875rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}
.btn-highlight-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-highlight-download:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .rts-section { padding: 28px 22px; }
    .rts-grid { grid-template-columns: 1fr; }
    .download-section { padding: 36px 24px; }
    .download-highlight-box { flex-direction: column; align-items: flex-start; }
    .rts-section table { font-size: 0.875rem; }
    .rts-section th, .rts-section td { padding: 10px 12px; }
}
