/* /assets/css/style.css */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #222;
    background-color: #f8f9fb;
    line-height: 1.6;
}

a {
    color: #005bbb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    color: #fff;
    padding: 32px 20px 40px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://images.pexels.com/photos/799443/pexels-photo-799443.jpeg?auto=compress&cs=tinysrgb&w=1600");
    background-size: cover;
    background-position: center;
    filter: brightness(0.40);
    z-index: -2;
}

header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 23, 54, 0.8) 0%, rgba(11, 23, 54, 0.6) 35%, rgba(0, 0, 0, 0) 80%);
    z-index: -1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.lang-switch {
    position: absolute;
    top: 16px;
    right: 20px;
    z-index: 1;
    display: flex;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.lang-switch a,
.lang-switch span {
    color: #fff;
}

.lang-switch a {
    opacity: 0.7;
}

.lang-switch a:hover {
    opacity: 1;
    text-decoration: underline;
}

.lang-switch .lang-sep {
    opacity: 0.4;
}

header h1 {
    margin: 0 0 12px;
    font-size: 32px;
}

header p {
    margin: 0;
    max-width: 640px;
    font-size: 16px;
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 22px;
    border-radius: 22px;
    border: 1px solid #fff;
    color: #0b1736;
    background: #fff;
    font-weight: 600;
    font-size: 14px;
}

main {
    padding: 32px 0 40px;
}

section {
    margin-bottom: 32px;
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

section h2 {
    margin-top: 0;
    font-size: 22px;
}

.legal-hub {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.legal-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e2e5ec;
}

.legal-link {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e2e5ec;
    color: #222;
}

.legal-link:hover {
    text-decoration: none;
}

.legal-link strong {
    display: block;
    color: #0b1736;
    font-size: 17px;
    line-height: 1.35;
}

.legal-copy {
    display: block;
}

.legal-description {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 14px;
}

.legal-link .legal-action {
    color: #005bbb;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

footer {
    border-top: 1px solid #e2e5ec;
    padding: 16px 20px 24px;
    font-size: 13px;
    color: #666;
}

.deletion-form {
    margin-top: 16px;
    max-width: 520px;
}

.deletion-form .form-row {
    margin-bottom: 16px;
}

.deletion-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.deletion-form input,
.deletion-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7dbe4;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #222;
    background: #fff;
    box-sizing: border-box;
}

.deletion-form input:focus,
.deletion-form textarea:focus {
    outline: none;
    border-color: #005bbb;
}

.deletion-form textarea {
    resize: vertical;
}

.form-note {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

.submit-btn {
    display: inline-block;
    padding: 10px 22px;
    border: none;
    border-radius: 22px;
    background: #005bbb;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #00489c;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    margin-top: 12px;
    font-size: 14px;
}

.form-status.success {
    color: #1a7f37;
}

.form-status.error {
    color: #c0392b;
}

@media (max-width: 768px) {
    header {
        padding: 24px 16px 32px;
    }

    header h1 {
        font-size: 24px;
    }

    section {
        padding: 20px 16px;
    }

    .legal-link {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lang-switch {
        top: 12px;
        right: 16px;
    }
}
