* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.9;
    color: #2c2c2c;
    background: #fff5f5;
    min-height: 100vh;
}

.policy-layout {
    display: flex;
    min-height: 100vh;
}

.policy-sidebar {
    width: 300px;
    background: linear-gradient(180deg, #8b0000 0%, #a52a2a 50%, #c0392b 100%);
    color: #ffffff;
    padding: 2rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(139, 0, 0, 0.3);
    z-index: 100;
}

.sidebar-header {
    padding: 0 2rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2rem;
}

.sidebar-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.date {
    font-size: 0.9rem;
    color: #ffcccc;
    font-style: italic;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.nav-item {
    display: block;
    padding: 1rem 1.5rem;
    color: #ffcccc;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #ffffff;
    color: #ffffff;
    transform: translateX(5px);
}

.sidebar-footer {
    margin-top: 3rem;
    padding: 0 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}

.back-link {
    display: inline-block;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.policy-main {
    margin-left: 300px;
    flex: 1;
    padding: 3rem;
    background: #ffffff;
}

.main-header {
    background: linear-gradient(135deg, #8b0000 0%, #a52a2a 100%);
    color: #ffffff;
    padding: 2.5rem;
    margin: -3rem -3rem 3rem -3rem;
    border-bottom: 5px solid #6b0000;
    text-align: center;
}

.main-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: #ffcccc;
    font-style: italic;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-paragraph {
    background: #fff5f5;
    border: 2px solid #8b0000;
    border-left: 6px solid #8b0000;
    padding: 2rem;
    margin-bottom: 3rem;
    border-radius: 5px;
}

.intro-paragraph p {
    font-size: 1.1rem;
    color: #2c2c2c;
    line-height: 1.9;
    margin: 0;
}

.policy-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #ffffff;
    border: 2px solid #ffe5e5;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.policy-section:hover {
    border-color: #8b0000;
    box-shadow: 0 5px 20px rgba(139, 0, 0, 0.1);
}

.section-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b0000 0%, #a52a2a 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
}

.section-content {
    flex: 1;
}

.section-content h3 {
    color: #8b0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffe5e5;
}

.section-content h4 {
    color: #a52a2a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    border-left: 3px solid #8b0000;
}

.section-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.9;
    color: #444;
    font-size: 1.05rem;
}

.styled-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    list-style: none;
}

.styled-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.8;
    color: #444;
}

.styled-list li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: #8b0000;
    font-size: 0.8rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 2px solid #ffe5e5;
}

.info-table tr {
    border-bottom: 1px solid #ffe5e5;
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 1rem;
    border-right: 1px solid #ffe5e5;
    color: #444;
}

.info-table td:last-child {
    border-right: none;
}

.info-table tr:nth-child(odd) {
    background: #fff5f5;
}

.important-note {
    background: #ffe5e5;
    border-left: 4px solid #8b0000;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 3px;
    font-weight: 600;
    color: #8b0000;
}

.contact-info {
    background: #fff5f5;
    border: 2px solid #8b0000;
    padding: 2rem;
    margin-top: 1.5rem;
    border-radius: 5px;
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: #2c2c2c;
}

.contact-info strong {
    color: #8b0000;
    font-size: 1.2rem;
}

.form-feedback {
    margin: 1.5rem 0;
    padding: 1.2rem 1.4rem;
    border-radius: 4px;
    border: 2px solid transparent;
    background: #fff0f0;
    color: #5b0b0b;
    font-weight: 600;
}

.form-feedback.success {
    border-color: #2e7d32;
    background: #e6f3e7;
    color: #1f5d22;
}

.form-feedback.error {
    border-color: #c0392b;
    background: #fde2de;
    color: #842517;
}

.form-feedback ul {
    margin: 0.8rem 0 0 1.2rem;
    font-weight: 500;
}

.privacy-form {
    display: grid;
    gap: 1.3rem;
    margin-top: 1.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-row label {
    font-weight: 600;
    color: #6b0000;
    letter-spacing: 0.3px;
}

.form-row input,
.form-row textarea {
    padding: 0.9rem 1rem;
    border: 2px solid #f5b7b1;
    border-radius: 5px;
    font-size: 1rem;
    background: #ffffff;
    color: #2c2c2c;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
}

.form-submit {
    justify-self: flex-start;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, #8b0000 0%, #a52a2a 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.25);
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 1024px) {
    .policy-sidebar {
        width: 250px;
    }
    
    .policy-main {
        margin-left: 250px;
    }
}

@media (max-width: 768px) {
    .policy-layout {
        flex-direction: column;
    }
    
    .policy-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .policy-main {
        margin-left: 0;
        padding: 2rem 1.5rem;
    }
    
    .main-header {
        margin: -2rem -1.5rem 2rem -1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .main-header h2 {
        font-size: 1.8rem;
    }
    
    .policy-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table td {
        padding: 0.8rem;
    }
}
