/* Base Resets and Variables */
:root {
    --rc-primary: #0a2540;
    --rc-primary-light: #204066;
    --rc-secondary: #0070f3;
    --rc-secondary-hover: #0056b3;
    --rc-text-main: #333333;
    --rc-text-light: #666666;
    --rc-bg: #f8fafc;
    --rc-white: #ffffff;
    --rc-border: #e2e8f0;
    --rc-radius: 8px;
    --rc-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --rc-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Strict class-based reset */
.rc-reset {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--rc-font);
}

.rc-body {
    background-color: var(--rc-bg);
    color: var(--rc-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.rc-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.rc-container-sm {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.rc-flex {
    display: flex;
}

.rc-flex-col {
    flex-direction: column;
}

.rc-items-center {
    align-items: center;
}

.rc-justify-between {
    justify-content: space-between;
}

.rc-justify-center {
    justify-content: center;
}

.rc-gap-20 {
    gap: 20px;
}

.rc-gap-40 {
    gap: 40px;
}

.rc-gap-10 {
    gap: 10px;
}

.rc-grid {
    display: grid;
}

.rc-grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .rc-grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* Header */
.rc-header {
    background-color: var(--rc-white);
    border-bottom: 1px solid var(--rc-border);
    padding-top: 15px;
    padding-bottom: 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.rc-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--rc-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Typography */
.rc-h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--rc-primary);
    margin-bottom: 20px;
}

.rc-h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--rc-primary);
    margin-top: 40px;
    margin-bottom: 15px;
}

.rc-h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--rc-primary);
    margin-bottom: 10px;
}

.rc-text {
    font-size: 16px;
    color: var(--rc-text-main);
    margin-bottom: 16px;
}

.rc-text-lg {
    font-size: 18px;
    color: var(--rc-text-light);
    margin-bottom: 24px;
}

.rc-text-sm {
    font-size: 14px;
    color: var(--rc-text-light);
}

.rc-text-center {
    text-align: center;
}

.rc-link {
    color: var(--rc-secondary);
    text-decoration: underline;
    cursor: pointer;
}

.rc-link:hover {
    color: var(--rc-secondary-hover);
}

.rc-link-nav {
    color: var(--rc-text-main);
    text-decoration: none;
    font-weight: 500;
}

.rc-link-nav:hover {
    color: var(--rc-secondary);
}

.rc-list {
    margin-bottom: 20px;
    padding-left: 20px;
}

.rc-list-item {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--rc-text-main);
}

/* Components */
.rc-hero {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--rc-white);
}

.rc-card {
    background-color: var(--rc-white);
    border-radius: var(--rc-radius);
    padding: 30px;
    box-shadow: var(--rc-shadow);
    border: 1px solid var(--rc-border);
}

.rc-btn {
    display: inline-block;
    background-color: var(--rc-secondary);
    color: var(--rc-white);
    padding: 14px 28px;
    border-radius: var(--rc-radius);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    width: 100%;
    max-width: 300px;
}

.rc-btn:hover {
    background-color: var(--rc-secondary-hover);
    transform: translateY(-1px);
}

.rc-btn-full {
    width: 100%;
    max-width: none;
}

.rc-img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--rc-radius);
}

.rc-img-hero {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--rc-radius);
    box-shadow: var(--rc-shadow);
}

.rc-icon {
    width: 24px;
    height: 24px;
    fill: var(--rc-secondary);
}

.rc-disclosure {
    background-color: #f1f5f9;
    padding: 15px;
    border-radius: var(--rc-radius);
    margin-top: 40px;
    margin-bottom: 40px;
    border-left: 4px solid var(--rc-secondary);
}

/* Footer */
.rc-footer {
    background-color: var(--rc-primary);
    color: var(--rc-white);
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 60px;
}

.rc-footer-text {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 10px;
}

.rc-footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    margin-right: 15px;
}

.rc-footer-link:hover {
    color: var(--rc-white);
    text-decoration: underline;
}

.rc-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Table */
.rc-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
}

.rc-table {
    width: 100%;
    border-collapse: collapse;
}

.rc-th {
    background-color: var(--rc-primary);
    color: var(--rc-white);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.rc-td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--rc-border);
    color: var(--rc-text-main);
}

.rc-tr:hover {
    background-color: var(--rc-bg);
}

/* Utility */
.rc-mt-10 { margin-top: 10px; }
.rc-mt-20 { margin-top: 20px; }
.rc-mb-20 { margin-bottom: 20px; }
.rc-mt-40 { margin-top: 40px; }
.rc-mb-40 { margin-bottom: 40px; }
.rc-bold { font-weight: 700; }
.rc-highlight { color: var(--rc-secondary); font-weight: 600; }

/* Preloader */
.rc-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--rc-white);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.rc-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid var(--rc-border);
    border-top: 6px solid var(--rc-secondary);
    border-radius: 50%;
    animation: rc-spin 1s linear infinite;
}

@keyframes rc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie Popup */
.rc-cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--rc-bg);
    border-top: 1px solid var(--rc-border);
    padding: 20px;
    z-index: 99998;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    transition: bottom 0.5s ease;
    display: flex;
    justify-content: center;
}
.rc-cookie-popup.show {
    bottom: 0;
}
.rc-cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.rc-cookie-text {
    font-size: 0.875rem;
    flex: 1;
    min-width: 250px;
    color: var(--rc-text-main);
}
.rc-cookie-buttons {
    display: flex;
    gap: 15px;
}
.rc-cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.rc-btn-accept {
    background-color: var(--rc-primary);
    color: var(--rc-white);
}
.rc-btn-accept:hover {
    background-color: var(--rc-secondary);
}
.rc-btn-reject {
    background-color: transparent;
    color: var(--rc-text-light);
    border: 1px solid var(--rc-border);
}
.rc-btn-reject:hover {
    background-color: var(--rc-border);
    color: var(--rc-text-main);
}
