/* ============================================
   ShoreTimer - Checklist Landing Page Styles
   ============================================ */

/* Header */
.checklist-header {
    background: linear-gradient(135deg, var(--teal) 0%, #1E8A7E 100%);
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.checklist-header h1 {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
}

.checklist-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Layout */
.checklist-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Top Row: Preview + Benefits side by side */
.checklist-top-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
}

/* PDF Preview Section */
.checklist-preview {
    text-align: center;
}

.checklist-preview-image {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.checklist-preview-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Placeholder preview styling if image doesn't exist */
.checklist-preview-placeholder {
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border-radius: 12px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.checklist-preview-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--teal);
    margin-bottom: 1.5rem;
}

.checklist-preview-placeholder h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.checklist-preview-placeholder p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Benefits List */
.checklist-benefits {
    margin-bottom: 1rem;
}

.checklist-benefits h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
}

.checklist-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
}

.checklist-benefits li svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Form Wrapper */
.checklist-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Form */
.checklist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Horizontal row for email + button */
.checklist-form-row {
    display: flex;
    gap: 1rem;
    align-items: stretch;
}

.checklist-form input[type="email"] {
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--navy);
    background: var(--white);
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

.checklist-form input[type="email"]:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(38, 166, 154, 0.1);
}

.checklist-form input[type="email"]::placeholder {
    color: var(--gray-400);
}

.checklist-form .btn {
    justify-content: center;
    padding: 1rem 2rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.checklist-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Consent checkbox */
.checklist-consent {
    margin-top: 0.5rem;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.consent-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--teal);
    flex-shrink: 0;
    cursor: pointer;
}

.consent-label span {
    flex: 1;
}

/* Honeypot */
.checklist-form .honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Privacy Text */
.checklist-privacy {
    font-size: 0.85rem;
    color: var(--gray-400);
    text-align: center;
}

/* Success Message */
.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--teal) 0%, #1E8A7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.form-success-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-success p {
    color: var(--gray-600);
    margin: 0;
}

/* Error Message */
.form-error {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border: 2px solid var(--coral);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: var(--coral);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Spinner */
.checklist-form .spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .checklist-header {
        padding: 6rem 1.5rem 3rem;
    }

    .checklist-header h1 {
        font-size: 2rem;
    }

    .checklist-content {
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }

    .checklist-top-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .checklist-preview {
        order: -1;
    }

    .checklist-preview-placeholder {
        max-width: none;
        width: 100%;
        padding: 2rem 1.5rem;
    }

    .checklist-benefits {
        text-align: left;
    }

    .checklist-form-row {
        flex-direction: column;
    }

    .checklist-form .btn {
        width: 100%;
    }

    .checklist-form-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .checklist-header h1 {
        font-size: 1.75rem;
    }

    .checklist-header p {
        font-size: 1rem;
    }

    .checklist-benefits li {
        font-size: 0.95rem;
    }
}
