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

:root {
    --primary-dark: #1e4976;
    --primary-light: #2c5f94;
    --accent-blue: #5b9fd3;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fb;
    --bg-white: #ffffff;
    --border-color: #e1e8ed;
    --shadow-sm: 0 2px 8px rgba(30, 73, 118, 0.08);
    --shadow-md: 0 4px 16px rgba(30, 73, 118, 0.12);
    --shadow-lg: 0 8px 24px rgba(30, 73, 118, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    min-height: 100vh;
    padding: 0;
}

.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-dark);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 0 0 4px 0;
    z-index: 10000;
    font-size: 14px;
}

.skip-to-content:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.language-selector select {
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--primary-dark);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231e4976' d='M1.41 0L6 4.58 10.59 0 12 1.42l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.language-selector select:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.language-selector select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(30, 73, 118, 0.1);
}

.container {
    max-width: 960px;
    margin: 60px auto 120px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.breadcrumb {
    background: var(--bg-light);
    padding: 16px 32px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--accent-blue);
}

.breadcrumb li:last-child span {
    color: var(--text-light);
}

header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 32px;
    text-align: center;
    border-bottom: 3px solid var(--accent-blue);
}

.main-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 18px;
    font-weight: 400;
    opacity: 0.95;
}

.content {
    padding: 48px 32px;
}

.intro-text {
    background: linear-gradient(135deg, #f0f7fc 0%, #e3f2fd 100%);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-blue);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-dark);
}

.section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h2 {
    color: var(--primary-dark);
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.section p {
    margin-bottom: 16px;
    font-size: 15px;
    text-align: justify;
    color: var(--text-dark);
}

.section ul,
.section ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.section li {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-dark);
}

.section strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.section a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.section a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.footer-note {
    background: linear-gradient(135deg, #fff9e6 0%, #ffe8a8 100%);
    padding: 24px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    color: #5d4e00;
    border: 1px solid #ffd54f;
}

footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.footer-meta {
    padding: 32px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}

.footer-meta p {
    margin: 6px 0;
}

.footer-meta a {
    transition: color 0.3s ease;
}

.footer-meta a:hover {
    color: var(--accent-blue) !important;
}

.footer-meta svg {
    transition: transform 0.3s ease;
}

.footer-meta a:hover svg {
    transform: scale(1.1);
}

.download-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease, opacity 0.3s ease;
    z-index: 999;
    width: 56px;
    height: 56px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 73, 118, 0.25);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 73, 118, 0.2), var(--shadow-lg);
}

.download-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .language-selector {
        top: 12px;
        right: 12px;
    }

    .language-selector select {
        padding: 8px 32px 8px 12px;
        font-size: 13px;
    }

    .container {
        margin: 56px 12px 100px;
        border-radius: 10px;
    }

    .breadcrumb {
        padding: 12px 20px;
        font-size: 12px;
    }

    .breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }

    header {
        padding: 40px 20px;
    }

    .main-title {
        font-size: 26px;
    }

    .subtitle {
        font-size: 15px;
    }

    .content {
        padding: 32px 20px;
    }

    .intro-text {
        padding: 18px;
        font-size: 14px;
        margin-bottom: 32px;
    }

    .section {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .section h2 {
        font-size: 19px;
        margin-bottom: 16px;
    }

    .section p,
    .section li {
        font-size: 14px;
    }

    .section ul,
    .section ol {
        margin-left: 20px;
    }

    .footer-note {
        padding: 18px;
        font-size: 13px;
        margin-top: 32px;
    }

    .footer-meta {
        padding: 24px 20px;
        font-size: 12px;
    }

    .download-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .download-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 52px 8px 90px;
        border-radius: 8px;
    }

    header {
        padding: 32px 16px;
    }

    .main-title {
        font-size: 22px;
    }

    .subtitle {
        font-size: 14px;
    }

    .content {
        padding: 24px 16px;
    }

    .intro-text {
        padding: 16px;
        font-size: 13px;
    }

    .section h2 {
        font-size: 17px;
    }

    .section p,
    .section li {
        font-size: 13px;
    }

    .breadcrumb {
        padding: 10px 16px;
    }

    .footer-meta {
        padding: 20px 16px;
    }

    .download-btn {
        bottom: 12px;
        right: 12px;
        padding: 10px 18px;
        font-size: 12px;
        gap: 6px;
    }

    .download-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media print {
    body {
        background: white;
        padding: 0;
    }

    .skip-to-content,
    .language-selector,
    .download-btn,
    .breadcrumb {
        display: none !important;
    }

    .container {
        box-shadow: none;
        border-radius: 0;
        margin: 0;
    }

    .section {
        page-break-inside: avoid;
    }

    footer {
        page-break-before: avoid;
    }

    header {
        background: var(--primary-dark);
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

#acceptBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 73, 118, 0.3);
    transition: all 0.3s ease;
}
