/* Case Watch Styles */

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #5a67d8;
}

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

/* Header */
.site-header {
    padding: 20px 0;
}

.site-header .container {
    max-width: 600px;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* Main */
main {
    flex: 1;
    padding: 20px 0 60px;
}

/* Landing Page */
.landing {
    text-align: center;
}

.hero {
    color: #fff;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0;
    max-width: 400px;
    margin: 0 auto;
}

/* Signup Card */
.signup-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}

.help-text {
    font-weight: 400;
    color: #9ca3af;
}

input[type="text"],
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="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

@media (max-width: 500px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.checkbox-label:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.checkbox-label input {
    margin-right: 10px;
    accent-color: #667eea;
}

.checkbox-label input:checked + span {
    color: #667eea;
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 8px;
}

@media (max-width: 500px) {
    .radio-group {
        flex-direction: column;
    }
}

/* Subscribe Button */
.btn-subscribe {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-subscribe:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

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

.disclaimer {
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
    margin: 16px 0 0;
}

.disclaimer a {
    color: #9ca3af;
}

.source-note {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.source-note a {
    color: #fff;
}

/* Flash Messages */
.flash-messages {
    margin-bottom: 20px;
}

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

.flash-success {
    background: #d1fae5;
    color: #065f46;
}

.flash-error {
    background: #fee2e2;
    color: #991b1b;
}

/* Footer */
.site-footer {
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover {
    color: #fff;
}

/* Confirmation & Other Pages */
.page-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    margin: 40px auto;
}

.page-card h2 {
    margin: 0 0 12px;
    color: #1a1a1a;
}

.page-card p {
    color: #6b7280;
    margin: 0 0 20px;
}

.page-card .btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.page-card .btn:hover {
    text-decoration: none;
    opacity: 0.9;
}

.page-card .btn-danger {
    background: #ef4444;
}

/* Preferences Page */
.preferences-form {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
    max-width: 500px;
    margin: 40px auto;
}

.preferences-form h2 {
    margin: 0 0 8px;
    color: #1a1a1a;
    text-align: center;
}

.preferences-form .email-display {
    text-align: center;
    color: #6b7280;
    margin-bottom: 24px;
}

.form-actions {
    margin-top: 24px;
}

.form-actions .btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.unsubscribe-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #9ca3af;
    font-size: 13px;
}

/* Privacy Page */
.privacy-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: left;
    max-width: 600px;
    margin: 40px auto;
}

.privacy-content h2 {
    margin: 0 0 24px;
    color: #1a1a1a;
}

.privacy-content h3 {
    margin: 24px 0 8px;
    color: #374151;
    font-size: 16px;
}

.privacy-content p {
    color: #6b7280;
    margin: 0 0 16px;
}
