/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header__logo-link {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header__logo-link:hover {
    color: #0052a3;
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.header__nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.header__nav-link:hover {
    background-color: #f0f7ff;
    color: #0066cc;
}

.header__nav-link--active {
    background-color: #0066cc;
    color: #fff;
}

.header__nav-link--active:hover {
    background-color: #0052a3;
    color: #fff;
}

.header__burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.header__burger-line {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

.header__burger--active .header__burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.header__burger--active .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main {
    min-height: calc(100vh - 70px - 80px);
    padding: 40px 0;
}

/* Article Styles */
.article {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.article__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.article__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 30px;
    line-height: 1.2;
}

.article__subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 40px 0 20px 0;
    line-height: 1.3;
}

.article__subheading {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin: 30px 0 16px 0;
    line-height: 1.3;
}

.article__intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.7;
}

.article__content p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #555;
}

.article__section {
    margin-bottom: 40px;
}

.article__image {
    margin: 30px 0;
    text-align: center;
}

.article__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article__list {
    margin: 24px 0;
}

.article__list h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.article__list ul,
.article__list ol {
    margin-left: 24px;
    margin-bottom: 20px;
}

.article__list li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.article__list li strong {
    color: #333;
}

.article__table {
    margin: 30px 0;
    overflow-x: auto;
}

.article__table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.article__table th,
.article__table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.article__table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.article__table tr:last-child td {
    border-bottom: none;
}

/* Page Styles */
.page {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.page__title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.2;
}

/* FAQ Styles */
.faq__item {
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq__item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq__question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    padding: 20px;
    margin: 0;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq__question:hover {
    background-color: #e9ecef;
}

.faq__answer {
    padding: 20px;
    background-color: #fff;
}

.faq__answer p {
    margin: 0;
    line-height: 1.7;
    color: #555;
}

/* Privacy Styles */
.privacy__section {
    margin-bottom: 40px;
}

.privacy__subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.privacy__subheading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 12px 0;
}

.privacy p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: #555;
}

.privacy ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

.privacy__contact {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.privacy__contact p {
    margin: 0;
    line-height: 1.6;
}

/* Contact Styles */
.contact__image {
    margin-bottom: 30px;
    text-align: center;
}

.contact__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact__intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact__section {
    margin-bottom: 32px;
}

.contact__subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.contact__info p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.contact__social {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact__social-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact__social-link:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

.contact__link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact__link:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer__text {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header__nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 99;
    }

    .header__nav--active {
        left: 0;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 0;
        padding: 40px 20px;
    }

    .header__nav-item {
        width: 100%;
    }

    .header__nav-link {
        display: block;
        padding: 16px;
        border-bottom: 1px solid #e9ecef;
        border-radius: 0;
    }

    .header__burger {
        display: flex;
    }

    .article__container,
    .page__container {
        padding: 20px;
    }

    .article__title,
    .page__title {
        font-size: 2rem;
    }

    .article__subtitle {
        font-size: 1.5rem;
    }

    .article__subheading {
        font-size: 1.2rem;
    }

    .article__table {
        font-size: 0.9rem;
    }

    .article__table th,
    .article__table td {
        padding: 12px 8px;
    }

    .contact__social {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact__social-link {
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .header__container {
        padding: 0 16px;
    }

    .article__container,
    .page__container {
        padding: 16px;
    }

    .article__title,
    .page__title {
        font-size: 1.8rem;
    }

    .article__subtitle {
        font-size: 1.3rem;
    }

    .article__subheading {
        font-size: 1.1rem;
    }

    .footer__container {
        padding: 0 16px;
    }

    .footer__text {
        font-size: 0.8rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article,
.page {
    animation: fadeIn 0.6s ease-out;
}

/* Hover Effects */
.article__img:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.faq__item:hover .faq__question {
    color: #0066cc;
}

/* Print Styles */
@media print {
    .header,
    .footer {
        display: none;
    }
    
    .article,
    .page {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .article__img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}