* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: #2d3436;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2d3436 0%, #636e72 100%);
    border-radius: 15px 15px 0 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 2rem;
    color: #2d3436;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.back-link:hover {
    color: #636e72;
    background: #e9ecef;
}

h1 {
    color: #2d3436;
    margin-bottom: 1rem;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    border-bottom: 3px solid #2d3436;
    padding-bottom: 1rem;
}

.date {
    color: #636e72;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

h2 {
    color: #2d3436;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    padding-left: 1rem;
    border-left: 4px solid #2d3436;
}

h3 {
    color: #2d3436;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    text-align: justify;
    line-height: 1.9;
    color: #555;
}

ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    list-style-type: square;
}

li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: #555;
}

strong {
    color: #2d3436;
    font-weight: 600;
}

.form-feedback {
    margin: 1.5rem 0;
    padding: 1.1rem 1.3rem;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #f0f4f8;
    color: #2d3436;
    font-weight: 600;
}

.form-feedback.success {
    border-color: #2e7d32;
    background: #e6f4ea;
    color: #205e24;
}

.form-feedback.error {
    border-color: #c0392b;
    background: #fdecea;
    color: #8c2a1f;
}

.form-feedback ul {
    margin: 0.8rem 0 0 1.4rem;
}

.privacy-form {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-row label {
    font-weight: 600;
    color: #2d3436;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-row input,
.form-row textarea {
    padding: 0.9rem 1rem;
    border: 2px solid #d1d9e6;
    border-radius: 8px;
    font-size: 1rem;
    background: #ffffff;
    color: #2d3436;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #2d3436;
    box-shadow: 0 0 0 3px rgba(45, 52, 54, 0.15);
}

.form-submit {
    justify-self: flex-start;
    padding: 0.9rem 1.9rem;
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(45, 52, 54, 0.3);
}

.form-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

@media (max-width: 768px) {
    body {
        padding: 1rem 0;
    }
    
    .container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    ul {
        margin-left: 1.5rem;
    }
}
