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

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f0f5f4 0%, #e8eeec 100%);
    min-height: 100vh;
    padding: 0;
    color: #333;
    line-height: 1.8;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 103, 100, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #006764;
    text-decoration: none;
}

.logo span { color: #ff6b35; }

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

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover { color: #006764; }

.main-content { padding: 40px 20px; }

/* Mobile nav */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
    .logo { font-size: 1.3rem; }
    .nav-links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
    .main-content { padding: 20px 12px; }
}

.container { max-width: 850px; margin: 0 auto; }

.policy-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 103, 100, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 50px 45px;
    user-select: none;
    -webkit-user-select: none;
}

@media (max-width: 600px) {
    .policy-card {
        padding: 20px 16px;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 103, 100, 0.08);
    }
}

.logo-text { display: none; }

h1 {
    color: #006764;
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.3rem;
    }
}

.date {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #e8eeec;
}

@media (max-width: 600px) {
    .date {
        font-size: 0.85rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
}

.toc {
    background: linear-gradient(135deg, #f4faf8 0%, #eaf5f2 100%);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    border: 1px solid #d8e8e4;
}

@media (max-width: 600px) {
    .toc {
        padding: 16px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
}

.toc-title {
    text-align: center;
    color: #006764;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

@media (max-width: 600px) {
    .toc-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
}

.toc ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 600px) {
    .toc ul { gap: 8px; }
}

.toc li a {
    display: block;
    padding: 14px 20px;
    background: #fff;
    border-radius: 10px;
    color: #007a6e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: 1px solid #e0e8e4;
}

@media (max-width: 600px) {
    .toc li a {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
}

.toc li a:hover {
    background: linear-gradient(135deg, #006764 0%, #00827e 100%);
    color: #fff;
    transform: translateX(5px);
    border-color: transparent;
}

@media (max-width: 600px) {
    .toc li a:hover {
        transform: translateX(3px);
    }
}

.section { margin-bottom: 35px; }

@media (max-width: 600px) {
    .section { margin-bottom: 25px; }
}

.section-header {
    background: linear-gradient(135deg, #006764 0%, #007a6e 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 14px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 103, 100, 0.25);
}

@media (max-width: 600px) {
    .section-header {
        padding: 14px 16px;
        border-radius: 10px;
        margin-bottom: 18px;
    }
}

.section-header h2 { margin: 0; color: #fff; font-size: 1.4rem; font-weight: 700; }

@media (max-width: 600px) {
    .section-header h2 { font-size: 1.1rem; }
}

.section-header.personal { background: linear-gradient(135deg, #2d8b7a 0%, #3a9d8a 100%); }
.section-header.terms { background: linear-gradient(135deg, #4a9b8a 0%, #5aab9a 100%); }

h3 {
    color: #006764;
    font-size: 1.15rem;
    margin: 25px 0 12px;
    font-weight: 600;
}

@media (max-width: 600px) {
    h3 {
        font-size: 1rem;
        margin: 18px 0 10px;
    }
}

p, li { font-size: 0.95rem; color: #444; }

@media (max-width: 600px) {
    p, li {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

ul { margin: 12px 0; padding-left: 20px; }

@media (max-width: 600px) {
    ul {
        margin: 10px 0;
        padding-left: 16px;
    }
}

li { margin-bottom: 8px; }

@media (max-width: 600px) {
    li { margin-bottom: 6px; }
}

a { color: #007a6e; text-decoration: none; }

a:hover { text-decoration: underline; }

strong { color: #333; font-weight: 600; }

hr {
    border: none;
    border-top: 2px solid #e8eeec;
    margin: 30px 0;
}

.contacts {
    background: linear-gradient(135deg, #f4faf8 0%, #eaf5f2 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .contacts {
        padding: 14px;
        border-radius: 10px;
        margin-top: 15px;
    }
}

.contacts h3 { margin-top: 0; }

.footer {
    text-align: center;
    padding: 30px;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .footer {
        padding: 20px 15px;
        font-size: 0.8rem;
    }
}

/* Contact box */
.contact-box {
    background: linear-gradient(135deg, #f4faf8 0%, #eaf5f2 100%);
    padding: 25px;
    border-radius: 14px;
    margin-top: 30px;
    border: 1px solid #d8e8e4;
}

@media (max-width: 600px) {
    .contact-box {
        padding: 16px;
        border-radius: 10px;
        margin-top: 20px;
    }
    .contact-box h3 { font-size: 1.1rem; }
    .contact-box p { font-size: 0.85rem; }
}

/* Footer block */
.footer-block {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e8eeec;
    text-align: center;
}

@media (max-width: 600px) {
    .footer-block {
        margin-top: 25px;
        padding-top: 15px;
    }
    .footer-copyright { font-size: 0.85rem; }
    .footer-desc { font-size: 0.8rem; }
}

/* Highlight box */
.highlight {
    background: linear-gradient(135deg, #f4faf8 0%, #eaf5f2 100%);
    padding: 20px;
    border-radius: 12px;
    margin: 15px 0;
    border-left: 4px solid #006764;
}

@media (max-width: 600px) {
    .highlight {
        padding: 14px;
        border-radius: 8px;
        margin: 12px 0;
    }
}

/* Lists inside sections */
.section ul { padding-left: 18px; }
.section ol { padding-left: 18px; }
.section ol li { margin-bottom: 10px; }

@media (max-width: 600px) {
    .section ul, .section ol { padding-left: 14px; }
    .section ol li { margin-bottom: 8px; }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d7a3d;
    color: white;
    padding: 15px 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 9999;
    flex-wrap: wrap;
}

.cookie-notice p {
    margin: 0;
    font-size: 14px;
    color: white;
}

.cookie-notice a {
    color: #90EE90;
    text-decoration: underline;
}

.cookie-notice .btn {
    padding: 8px 20px;
    font-size: 14px;
    background: #fff;
    color: #2d7a3d;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-notice .btn:hover {
    background: #f0f0f0;
}
