:root {
    --primary-color: #0f172a;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --warning-bg: #fffbeb;
    --warning-text: #b45309;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-width: 1200px;
    --radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 42px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2563eb;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #cbd5e1;
}

/* Disclaimer Box */
.disclaimer-box {
    background-color: var(--warning-bg);
    border: 1px solid #fde68a;
    color: var(--warning-text);
    padding: 15px 20px;
    border-radius: var(--radius);
    margin: 30px 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.disclaimer-box strong {
    display: block;
    margin-bottom: 5px;
}

/* Layout Grids */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Dashboard Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.badge {
    background: #e0f2fe;
    color: #0369a1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.general {
    background: #f1f5f9;
    color: #475569;
}

.card-body {
    flex-grow: 1;
}

.card-features {
    margin: 15px 0;
    padding-left: 20px;
}

.card-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.card-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* Comparison Table */
.table-responsive {
    overflow-x: auto;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th, 
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: #f1f5f9;
    font-weight: 600;
    color: var(--primary-color);
}

.comparison-table tr:hover {
    background-color: #f8fafc;
}

/* Article Section */
.article-list {
    margin-top: 40px;
}

.article-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.article-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: #cbd5e1;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: #fff;
}

.disclosure {
    font-size: 0.85rem;
    padding: 20px 0;
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
    margin-bottom: 20px;
    color: #94a3b8;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Content Pages */
.page-header {
    background-color: var(--bg-card);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.content-section {
    padding: 40px 0;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content h2, .text-content h3 {
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.text-content p {
    margin-bottom: 20px;
}

.text-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}