/**
 * Thank You Page Styles
 * Version: 2.0
 */

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background-color-light);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ==========================================================================
   HEADLINE
   ========================================================================== */
h1 {
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
    color: var(--text-color);
}

h1 strong {
    font-weight: 700;
}

/* WYSIWYG output inside h1 - remove paragraph wrapper styling */
h1 p {
    display: inline;
    margin: 0;
}

/* ==========================================================================
   CONTENT TEXT
   ========================================================================== */
.content-text {
    font-size: 18px;
    line-height: 1.5;
}

.content-text p {
    margin-bottom: 0.5em;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-text ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.content-text ul:last-child {
    margin-bottom: 0;
}

.content-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.content-text ul li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.15em;
    background-color: var(--bullet-color, #16a34a);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3E%3C/path%3E%3Cpolyline points='22 4 12 14.01 9 11.01'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.content-text ul li:last-child {
    margin-bottom: 0;
}

/* Remove margin from paragraphs inside list items (TipTap output) */
.content-text ul li p {
    margin-bottom: 0;
}

/* Legacy support for parseMarkdown output */
.content-text .bullet-icon {
    flex-shrink: 0;
    margin-top: 0.2em;
    color: var(--primary-color);
}

.content-text .bullet-text strong,
.content-text ul li strong {
    font-weight: 700;
}

/* ==========================================================================
   CTA BUTTON
   ========================================================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    background-color: var(--primary-color);
    color: var(--btn-text-color);
    font-size: 14px;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease, color 0.3s ease;
    min-height: 44px;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    color: var(--btn-hover-text-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   MOBILE RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .content-text {
        font-size: 16px;
    }

    h1 {
        font-size: 22px;
    }

    .cta-button {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }
}
