/* Base Styles */
.erc-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.erc-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Typography */
.erc-heading-1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.erc-heading-2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 40px;
    margin-bottom: 20px;
}

.erc-heading-3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #334155;
    margin-top: 30px;
    margin-bottom: 15px;
}

.erc-para {
    font-size: 1.125rem;
    color: #475569;
    margin-top: 0;
    margin-bottom: 20px;
}

.erc-para-small {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0;
    margin-bottom: 10px;
}

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

.erc-text-bold {
    font-weight: 700;
}

.erc-text-highlight {
    color: #2563eb;
}

/* Links and Buttons */
.erc-link {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.erc-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.erc-btn {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1), 0 2px 4px -1px rgba(37, 99, 235, 0.06);
}

.erc-btn:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -2px rgba(37, 99, 235, 0.1);
}

.erc-btn-large {
    padding: 20px 40px;
    font-size: 1.25rem;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
}

/* Layout Elements */
.erc-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-top: 20px;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.erc-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2563eb;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.erc-logo-icon {
    margin-right: 8px;
    font-size: 1.75rem;
}

.erc-logo-img {
    height: 35px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.erc-hero {
    padding-top: 100px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #cffafe 50%, #eff6ff 100%);
    text-align: center;
}

.erc-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #ffffff;
}

.erc-section-alt {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #f8fafc;
}

.erc-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    margin-bottom: 30px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.erc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.erc-card-highlight {
    border-top: 4px solid #2563eb;
}

/* Images */
.erc-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.erc-img-center {
    margin-left: auto;
    margin-right: auto;
}

.erc-img-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Lists */
.erc-list {
    margin-top: 0;
    margin-bottom: 20px;
    padding-left: 20px;
}

.erc-list-none {
    list-style-type: none;
    padding-left: 0;
}

.erc-list-item {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 10px;
}

.erc-feature-list {
    list-style-type: none;
    padding-left: 0;
}

.erc-feature-item {
    font-size: 1.125rem;
    color: #334155;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.erc-feature-icon {
    color: #10b981;
    margin-right: 12px;
    font-weight: bold;
}

/* Tables */
.erc-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.erc-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.erc-table-th {
    background-color: #f1f5f9;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
}

.erc-table-td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.erc-table-tr-alt {
    background-color: #f8fafc;
}

/* Grid Layouts */
.erc-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .erc-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.erc-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .erc-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Footer */
.erc-footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding-top: 60px;
    padding-bottom: 40px;
    font-size: 0.875rem;
}

.erc-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.erc-footer-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.erc-footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.erc-footer-disclosure {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.erc-footer-copy {
    text-align: center;
    margin-top: 20px;
}

/* Utilities */
.erc-mb-4 { margin-bottom: 1rem; }
.erc-mb-8 { margin-bottom: 2rem; }
.erc-mt-4 { margin-top: 1rem; }
.erc-mt-8 { margin-top: 2rem; }

/* Navbar */
.erc-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media (max-width: 768px) {
    .erc-header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .erc-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.erc-nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.erc-nav-link:hover {
    color: #2563eb;
}

/* CTA Banner */
.erc-cta-banner {
    padding-top: 80px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    text-align: center;
    color: white;
}
.erc-cta-banner .erc-btn:hover {
    background-color: #f1f5f9 !important;
    color: #1e3a8a !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Preloader */
.erc-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.erc-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e2e8f0;
    border-top: 6px solid #2563eb;
    border-radius: 50%;
    animation: erc-spin 1s linear infinite;
}
@keyframes erc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cookie Popup */
.erc-cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #0f172a;
    color: #ffffff;
    padding: 20px;
    z-index: 99998;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    transition: bottom 0.5s ease;
    display: flex;
    justify-content: center;
}
.erc-cookie-popup.show {
    bottom: 0;
}
.erc-cookie-content {
    max-width: 1100px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.erc-cookie-text {
    font-size: 0.875rem;
    flex: 1;
    min-width: 250px;
    color: #cbd5e1;
}
.erc-cookie-buttons {
    display: flex;
    gap: 15px;
}
.erc-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;
}
.erc-btn-accept {
    background-color: #2563eb;
    color: white;
}
.erc-btn-accept:hover {
    background-color: #1d4ed8;
}
.erc-btn-reject {
    background-color: transparent;
    color: #cbd5e1;
    border: 1px solid #cbd5e1;
}
.erc-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
