:root {
    --bg-primary: #FCFCFD;
    --bg-secondary: #F4F7FA;
    --bg-header-footer: #1E293B;
    --brand-primary: #2563EB;
    --brand-primary-hover: #1D4ED8;
    --brand-secondary: #0EA5A4;
    --highlight: #F97316;
    --card-bg: #FFFFFF;
    --section-bg: #EFF6FF;
    --border: #D9E2EC;
    --border-hover: #2563EB;
    --success: #16A34A;
    --warning: #D97706;
    --text-main: #111827;
    --text-secondary: #6B7280;
    --text-muted: #94A3B8;
    
    --radius-card: 18px;
    --radius-btn: 8px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--brand-primary);
    color: white;
    padding: 8px;
    z-index: 1000;
    transition: top 0.2s;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}
:focus-visible {
    outline: 3px solid var(--brand-secondary);
    outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { color: var(--brand-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--brand-primary-hover); }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section {
    padding: 5rem 0;
}
.section-bg {
    background-color: var(--section-bg);
}
.grid {
    display: grid;
    gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Header & Nav */
.site-header {
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}
.nav-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.nav-link {
    color: var(--text-main);
    font-weight: 500;
}
.nav-link:hover {
    color: var(--brand-primary);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.mobile-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--text-main);
}
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-soft);
        border-bottom: 1px solid var(--border);
    }
    .nav-menu.active {
        display: flex;
    }
    .mobile-toggle {
        display: block;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}
.btn-primary {
    background-color: var(--brand-primary);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--brand-primary-hover);
    color: #fff;
}
.btn-secondary {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid #CBD5E1;
}
.btn-secondary:hover {
    border-color: var(--brand-secondary);
    color: var(--brand-secondary);
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-hover);
}
.card-header { margin-bottom: 1.5rem; }
.card-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

/* Hero */
.hero {
    background-color: var(--bg-primary);
    padding: 6rem 0 4rem;
    text-align: center;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}
.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* Notice Panels */
.notice-panel {
    background-color: var(--card-bg);
    border-left: 4px solid var(--brand-secondary);
    padding: 1.5rem;
    border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}
.notice-panel.warning {
    border-left-color: var(--warning);
}
.notice-panel h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.notice-panel p { margin-bottom: 0; }

/* Tables */
.table-wrapper {
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}
.comparison-table th, .comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.comparison-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-main);
}
.comparison-table tr:last-child td { border-bottom: none; }
.status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}
.status-yes { background: #DCFCE7; color: var(--success); }
.status-no { background: #FEE2E2; color: #EF4444; }
.status-partial { background: #FEF3C7; color: var(--warning); }

/* Accordion FAQ */
.accordion-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    margin-bottom: 1rem;
    background: var(--card-bg);
}
.accordion-header {
    width: 100%;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    text-align: left;
}
.accordion-content {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.accordion-content p {
    padding-bottom: 1.25rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Lists */
.feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
.feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}
.limitation-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
.limitation-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}
.limitation-list li::before {
    content: '−';
    position: absolute;
    left: 0;
    color: var(--warning);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Content Layouts */
.editorial-content {
    max-width: 800px;
    margin: 0 auto;
}
.editorial-content h2 { margin-top: 2.5rem; }
.editorial-content ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }

/* Footer */
.site-footer {
    background-color: var(--bg-header-footer);
    color: #F8FAFC;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: var(--text-muted);
}
.footer-links a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 9999;
    transition: bottom 0.4s ease;
    border-top: 1px solid var(--border);
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
}
.cookie-text {
    flex: 1;
    min-width: 300px;
}
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-btn);
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .cookie-banner, .btn {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .container {
        width: 100%;
        max-width: none;
        padding: 0;
    }
}