body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f9f9fb;
    margin: 0;
    padding: 120px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #1a1a1a;
}

/* Header Styles */
.header-container {
    text-align: center;
    margin-bottom: 30px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: block;
}

.title {
    font-size: 42px;
    font-weight: 800;
    color: #111111;
    margin: 0 0 12px 0;
    letter-spacing: -0.04em;
}

.subtitle {
    font-size: 18px;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* Tabs Styles */
.tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    max-width: 800px;
}

.tab-button {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-button:hover {
    background: #f0f0f4;
    color: #111;
}

.tab-button.active {
    background: #111;
    color: white;
}

/* Table Container & Content Hide/Show */
.table-container {
    width: 100%;
    max-width: 800px;
    background: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-desc {
    color: #555555;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: left;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 18px 0;
    border-bottom: 1px solid #e5e5e5;
}

tbody tr:last-child td {
    border-bottom: 1px solid #e5e5e5; 
}

th {
    color: #888888;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 12px;
    padding-top: 0;
}

td {
    font-size: 15px;
}

/* First Column */
td:first-child {
    font-weight: 600;
    width: 38%;
    color: #222222;
}

td:first-child a {
    color: inherit;
    text-decoration: none;
}

td:first-child a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

/* Company Name Column */
td:nth-child(2) {
    font-weight: 500;
    width: 42%;
    color: #222222;
}

/* Country Column */
td:nth-child(3) {
    width: 20%;
}

/* Badge Base Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.country-code {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 6px;
    opacity: 0.7;
}

/* Specific Country Badge Colors */
.badge-us { background-color: #dbeafe; color: #1e40af; }
.badge-cn { background-color: #ffe4e6; color: #9f1239; }
.badge-fr { background-color: #dcfce7; color: #166534; }
.badge-jp { background-color: #fef08a; color: #854d0e; }
.badge-gb { background-color: #f3f4f6; color: #374151; } /* UK */
.badge-au { background-color: #fef3c7; color: #92400e; } /* Australia */
.badge-es { background-color: #ffedd5; color: #9a3412; } /* Spain */
.badge-ca { background-color: #fee2e2; color: #9f1239; } /* Canada */
.badge-co { background-color: #fef08a; color: #854d0e; } /* Colombia */
.badge-il { background-color: #eff6ff; color: #1d4ed8; } /* Israel */
.badge-nl { background-color: #fff7ed; color: #c2410c; } /* Netherlands */
.badge-it { background-color: #f0fdf4; color: #15803d; } /* Italy */

/* Top Banner Styles */
.top-banner {
    width: 100%;
    background-color: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    position: absolute;
    top: 0;
    left: 0;
    border-bottom: 1px solid #edf2f7;
    z-index: 10;
}

.top-banner button {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.top-banner button:hover {
    background-color: #1e293b;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* Modal Content Card */
.modal-content {
    background-color: white;
    width: 90%;
    max-width: 550px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: #475569;
}

.modal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

/* Browser Tabs inside Modal */
.browser-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1px;
    margin-bottom: 20px;
    overflow-x: auto;
}

.browser-tab-button {
    background: transparent;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.browser-tab-button:hover {
    color: #0f172a;
}

.browser-tab-button.active {
    color: #0f172a;
    border-bottom-color: #0f172a;
}

/* Browser Instructions */
.browser-instruction-content {
    display: none;
    animation: fadeIn 0.2s ease;
}

.browser-instruction-content.active {
    display: block;
}

.browser-instruction-content ol {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.browser-instruction-content li {
    margin-bottom: 12px;
}

.browser-instruction-content code {
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 13px;
    color: #0f172a;
}

.modal-footer {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}

.btn-primary {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #1e293b;
}

/* Footer Styles */
.site-footer {
    width: 100%;
    max-width: 800px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #edf2f7;
    font-size: 14px;
    color: #475569;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-left {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.footer-stats {
    font-size: 12px;
    color: #64748b;
}

.footer-right {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

@media (max-width: 640px) {
    .footer-right {
        align-items: flex-start;
    }
}

.newsletter-box {
    width: 100%;
    max-width: 320px;
}

.newsletter-box span {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 8px;
}

.newsletter-box form {
    display: flex;
    gap: 6px;
}

.newsletter-box input {
    flex: 1;
    border: 1px solid #cbd5e1;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    background-color: white;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-box input:focus {
    border-color: #0f172a;
}

.newsletter-box button {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-box button:hover {
    background-color: #1e293b;
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #0f172a;
}

.footer-links .admin-trigger {
    color: #edf2f7;
    font-size: 11px;
}
.footer-links .admin-trigger:hover {
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
}

.catcom-link {
    color: inherit;
    text-decoration: none;
}

.catcom-link:hover {
    text-decoration: underline;
}
