/* === Thank You Page === */

.thankyou-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.thankyou-hero {
    text-align: center;
    padding: 80px 24px 40px;
    background: linear-gradient(180deg, var(--warm) 0%, #fff 100%);
}

.thankyou-checkmark {
    margin-bottom: 24px;
    animation: checkPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.thankyou-hero h1 {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    color: var(--ink);
    margin-bottom: 12px;
}

.thankyou-sub {
    font-size: 1.1rem;
    color: var(--slate);
    line-height: 1.6;
}

/* Timeline */
.thankyou-timeline-section {
    padding: 48px 24px 56px;
}

.timeline {
    position: relative;
    padding-left: 48px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--cloud);
}

.timeline-step {
    position: relative;
    margin-bottom: 36px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: -48px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    z-index: 1;
}

.timeline-step.completed .timeline-icon {
    background: var(--green);
    color: #fff;
}

.timeline-step.upcoming .timeline-icon {
    background: #fff;
    border: 2px solid var(--cloud);
    color: var(--slate);
}

.timeline-content h3 {
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 6px;
    line-height: 1.4;
}

.timeline-step.completed .timeline-content h3 {
    color: var(--green);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.6;
}

/* Agent card */
.thankyou-agent {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    padding: 20px 24px;
    background: var(--warm);
    border-radius: 12px;
    border: 1px solid var(--cloud);
}

.thankyou-agent img {
    border-radius: 50%;
    object-fit: cover;
}

.thankyou-agent strong {
    font-size: 1.05rem;
    color: var(--ink);
}

.thankyou-agent p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-top: 2px;
    line-height: 1.5;
}

.thankyou-agent a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
}

/* Review CTA */
.thankyou-review-section {
    padding: 0 24px 56px;
}

.review-cta-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--warm);
    border-radius: 16px;
    border: 1px solid var(--cloud);
}

.review-cta-card h2 {
    font-family: 'Georgia', serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 8px;
}

.review-cta-card > p {
    color: var(--slate);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--green);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.review-btn:hover {
    background: var(--green-deep);
}

.review-btn svg {
    color: #facc15;
}

.review-note {
    font-size: 0.85rem;
    color: var(--mist);
    margin-top: 12px;
}

/* Back link */
.thankyou-back {
    text-align: center;
    padding: 0 24px 64px;
}

.back-link {
    color: var(--green);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 600px) {
    .thankyou-hero {
        padding: 60px 16px 32px;
    }
    .thankyou-hero h1 {
        font-size: 1.7rem;
    }
    .timeline {
        padding-left: 40px;
    }
    .timeline-icon {
        left: -40px;
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
    .timeline::before {
        left: 15px;
    }
    .review-cta-card {
        padding: 28px 20px;
    }
}
