@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.thankyou-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
}

.thankyou-hero::before,
.thankyou-hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
    opacity: 0.7;
}

.thankyou-hero::before {
    width: 380px;
    height: 380px;
    top: -140px;
    right: -120px;
    animation: floatSlow 12s ease-in-out infinite;
}

.thankyou-hero::after {
    width: 260px;
    height: 260px;
    bottom: -120px;
    left: -100px;
    animation: floatSlow 14s ease-in-out infinite;
}

.thankyou-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.thankyou-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 700;
    border-radius: 999px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15);
    animation: fadeUp 0.6s ease both;
}

.thankyou-copy h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.2;
    animation: fadeUp 0.7s ease both;
}

.thankyou-lead {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 22px;
    animation: fadeUp 0.8s ease both;
}

.thankyou-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
    animation: fadeUp 0.9s ease both;
}

    .thankyou-actions .btn {
        min-height: 46px;
        width: 197px;
    }

.thankyou-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    animation: fadeUp 1s ease both;
}

.thankyou-meta-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.thankyou-meta-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.12);
    border-color: rgba(14, 165, 233, 0.4);
}

.thankyou-meta-label {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.thankyou-meta-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
}

.thankyou-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
    animation: fadeUp 0.9s ease both;
    position: relative;
    color: #e2e8f0;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.thankyou-card h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #f8fafc;
}

.thankyou-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(14, 165, 233, 0.24), transparent 45%, rgba(16, 185, 129, 0.18));
    opacity: 0.75;
    pointer-events: none;
}

.thankyou-steps {
    counter-reset: step;
    display: grid;
    gap: 14px;
    padding-left: 0;
    margin: 0 0 18px;
}

.thankyou-steps li {
    list-style: none;
    padding: 14px 16px 14px 52px;
    position: relative;
    color: #e2e8f0;
    line-height: 1.6;
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.thankyou-steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 14px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.thankyou-note {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 12px;
    padding: 14px 16px;
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.thankyou-resources {
    padding: 50px 0 70px;
    background: #ffffff;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.resource-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    background: #f8fafc;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e2e8f0;
}

.resource-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
    border-color: rgba(23, 117, 193, 0.35);
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #0f172a;
}

.resource-card p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.6;
}

.resource-card a {
    font-weight: 700;
    color: #1775c1;
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

@media (max-width: 960px) {
    .thankyou-grid {
        grid-template-columns: 1fr;
    }

    .thankyou-meta {
        grid-template-columns: 1fr;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }
}
