/* --- VARIABLES --- */
:root {
    --primary: #004aad;
    --primary-dark: #00337a;
    --accent: #f0f4f8;
    --text: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* --- RESET & GLOBAL --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f7fafc;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: linear-gradient(120deg, var(--primary) 0%, #002b5e 100%);
    color: var(--white);
    padding: 5rem 1rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    margin-bottom: 2rem;
}

.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.subtitle { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }

.scroll-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}

.scroll-btn:hover { transform: translateY(-2px); }

/* --- CARDS & TYPOGRAPHY --- */
.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

h2 { color: var(--primary); font-size: 1.8rem; margin-bottom: 1rem; }
h3 { margin: 1.5rem 0 1rem; color: var(--text); }
p { margin-bottom: 1rem; }

.badge {
    background: #e53e3e; 
    color: white; 
    padding: 0.25rem 0.75rem;
    border-radius: 4px; 
    font-size: 0.75rem; 
    font-weight: 700; 
    margin-bottom: 0.5rem;
    display: inline-block;
}

.highlight-box {
    background: #ebf8ff; 
    border-left: 4px solid var(--primary);
    padding: 1.5rem; 
    border-radius: 0 8px 8px 0; 
    margin-top: 1.5rem;
}

.campaign-text h3 {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.image-card img { 
    width: 100%; 
    border-radius: 12px; 
    box-shadow: var(--shadow); 
    display: block;
}

/* --- FORM & PETITION STYLES --- */
.petition-section { border: 2px solid var(--primary); }

.survey-section { 
    background: #f8fafc; 
    padding: 1.5rem; 
    border-radius: 8px; 
    margin: 1.5rem 0; 
    border: 1px solid var(--border); 
}

.survey-group { margin-bottom: 1.2rem; }
.survey-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.95rem; }

input[type="text"], input[type="email"], select {
    width: 100%; 
    padding: 0.8rem; 
    border: 1px solid var(--border); 
    border-radius: 6px; 
    font-size: 1rem;
    font-family: inherit;
}

.input-row { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.input-group { flex: 1; }
.input-group label { display: block; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }

.checkbox-wrapper-modern { 
    display: flex; 
    flex-direction: row; /* Changed from column to row */
    align-items: flex-start; 
    gap: 1rem;
    background: var(--accent); 
    padding: 1.2rem; 
    border-radius: 6px; 
    margin-bottom: 1rem; 
}

.checkbox-wrapper-modern input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 4px; /* Aligns checkbox with the first line of text */
    flex-shrink: 0;
    cursor: pointer;
}

.checkbox-wrapper-modern label {
    cursor: pointer;
    line-height: 1.4;
}

.secondary-checkbox { 
    background: white; 
    border: 1px dashed var(--border); 
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Privacy Notice (indented under checkbox) */
.privacy-notice {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.6rem;
    margin-left: 2.25rem; 
    line-height: 1.5;
}

.privacy-notice a {
    color: var(--primary);
    text-decoration: underline;
}

/* Submit Button & Loader */
.submit-btn {
    width: 100%; 
    background: var(--primary); 
    color: white; 
    padding: 1.2rem;
    border: none; 
    border-radius: 8px; 
    font-size: 1.2rem; 
    font-weight: 700; 
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover { background: var(--primary-dark); }

.submit-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.loader {
    display: none; 
    border: 3px solid rgba(255,255,255,0.3); 
    border-radius: 50%;
    border-top: 3px solid white; 
    width: 20px; 
    height: 20px; 
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }
.submit-btn.loading .btn-text { display: none; }
.submit-btn.loading .loader { display: block; margin: 0 auto; }

/* Success State */
.hidden { display: none; }
#successMessage { text-align: center; padding: 3rem; background: #f0fff4; border: 2px solid #48bb78; border-radius: 12px; }
.success-icon { font-size: 3rem; background: #48bb78; color: white; width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 1rem; line-height: 60px; }

/* --- CAMPAIGNER PROFILE SECTION --- */
.campaigner-profile {
    padding: 0 !important;
    overflow: hidden;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr; /* Image is wider to fit both people */
    align-items: stretch;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.profile-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-content h3 { color: var(--primary); margin-top: 0; }

.profile-content p {
    font-style: italic;
    border-left: 3px solid var(--border);
    padding-left: 1.2rem;
    margin-bottom: 2rem;
}

.signature-img { 
    max-width: 140px; 
    display: block; 
    margin: 10px 0; 
    mix-blend-mode: multiply; 
}

.role {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: normal;
}

/* --- FOOTER --- */
footer { 
    background: #1a202c; 
    color: #718096; 
    text-align: center; 
    padding: 3rem 0; 
    font-size: 0.8rem; 
    margin-top: 4rem; 
}

.imprint { max-width: 600px; margin: 0 auto; line-height: 1.6; }
.saern-link a { color: var(--white); font-weight: bold; text-decoration: none; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-image {
        height: 320px;
    }
    
    .profile-content {
        padding: 1.5rem;
    }

    .input-row { flex-direction: column; gap: 1rem; }
    
    .hero h1 { font-size: 1.8rem; }
    
    .privacy-notice {
        margin-left: 0;
        text-align: left;
    }
}