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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: rgb(37, 99, 235);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
}

.card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.25);
    padding: 40px;
}

.brand-header {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgb(37, 99, 235);
    margin-bottom: 4px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.5px;
}

.brand-tagline {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    color: rgb(37, 99, 235);
    margin-bottom: 8px;
}

.subtitle {
    color: #64748b;
    font-size: 16px;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-success {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgb(37, 99, 235);
    margin-bottom: 8px;
}

input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="email"]:focus {
    outline: none;
    border-color: rgb(37, 99, 235);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: rgb(37, 99, 235);
    background-color: rgba(37, 99, 235, 0.05);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: rgb(37, 99, 235);
}

.radio-option input[type="radio"]:checked + .radio-label {
    color: rgb(37, 99, 235);
    font-weight: 500;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: rgb(37, 99, 235);
    background-color: rgba(37, 99, 235, 0.1);
}

.radio-label {
    font-size: 14px;
    color: #4b5563;
}

.other-text-container {
    margin-top: 12px;
    padding: 16px;
    background-color: rgba(37, 99, 235, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.other-text-container label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgb(37, 99, 235);
    margin-bottom: 8px;
}

.other-text-container textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    resize: vertical;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.other-text-container textarea:focus {
    outline: none;
    border-color: rgb(37, 99, 235);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.btn-unsubscribe {
    width: 100%;
    padding: 14px 24px;
    background: rgb(37, 99, 235);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-unsubscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-unsubscribe:active {
    transform: translateY(0);
}

.footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.footer p {
    font-size: 14px;
    color: #6b7280;
}

.footer .copyright {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 8px;
}

.footer a {
    color: rgb(37, 99, 235);
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    color: rgb(29, 78, 216);
    text-decoration: underline;
}

/* Success page styles */
.success-container {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    color: white;
    font-size: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 12px;
}

.success-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: rgb(37, 99, 235);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}
