/* ═══════════════════════════════════════════════════════════════════════════
   AI Ops — Thank You page styles (v1.0.38)
   Figma node 29476:4496
   ═══════════════════════════════════════════════════════════════════════════
   Single-section layout: hero (left text + right status card).
   Reuses: .ai-ops-uc-eyebrow + ::before dot from ai-ops-shared.css.
   No JS — the "active" status row pulse is a pure CSS animation. */

.ai-ops-thank-you-body {
    background: #101010;
}

.ai-ops-thank-you-main {
    width: 100%;
    min-height: calc(100vh - 80px - 383px);
    /* viewport minus nav (80) minus footer (383px). Ensures the page fills
       the screen even if the hero is short. */
}

/* ─── Hero section ──────────────────────────────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-section--hero {
    position: relative;
    overflow: hidden;
    padding: 100px 150px;
    background-color: #101010;
    background-image:
        radial-gradient(ellipse 70% 60% at 92% 8%,
            rgba(80, 140, 200, 0.30)  0%,
            rgba(40,  80, 130, 0)    70%),
        radial-gradient(ellipse 60% 50% at 5% 25%,
            rgba(0, 0, 0, 0.40)  0%,
            rgba(0, 0, 0, 0)    70%),
        linear-gradient(180deg,
            #0e1224   0%,
            #11142a  20%,
            #14182e  40%,
            #161a2c  60%,
            #181a25  80%,
            #1a1a1a 100%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-position: center, center, center;
    background-repeat: no-repeat;
}

.ai-ops-thank-you-body .ai-ops-ty-hero-grid {
    display: grid;
    grid-template-columns: 620px 540px;
    gap: 80px;
    max-width: 1140px;
    margin: 0 auto;
    align-items: start;
}

/* ─── Hero text column ─────────────────────────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 620px;
}

.ai-ops-thank-you-body .ai-ops-ty-eyebrow {
    /* Inherits .ai-ops-uc-eyebrow base from shared.css (blue dot via ::before
       + uppercase letterspacing). */
    margin: 0;
}

.ai-ops-thank-you-body .ai-ops-ty-hero-h1 {
    margin: 0;
    font-family: var(--ao-font);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.96px;
    color: #ffffff;
}

.ai-ops-thank-you-body .ai-ops-ty-hero-body {
    color: #d2d2d2;
    font-family: var(--ao-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.32px;
}
.ai-ops-thank-you-body .ai-ops-ty-hero-body p {
    margin: 0 0 16px 0;
}
.ai-ops-thank-you-body .ai-ops-ty-hero-body p:last-child {
    margin-bottom: 0;
}

/* ─── CTA button (outlined blue per Figma) ─────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 8px;
}

.ai-ops-thank-you-body .ai-ops-ty-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: 3px solid #39acff;
    border-radius: 8px;
    background-image: linear-gradient(247.02deg, rgba(88, 185, 255, 0.1) 0%, rgba(69, 233, 255, 0.1) 100%);
    color: #ffffff;
    font-family: var(--ao-font);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.38px;
    text-decoration: none;
    text-transform: capitalize;
    transition: background-image 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.ai-ops-thank-you-body .ai-ops-ty-cta:hover,
.ai-ops-thank-you-body .ai-ops-ty-cta:focus-visible {
    background-image: linear-gradient(247.02deg, rgba(88, 185, 255, 0.18) 0%, rgba(69, 233, 255, 0.18) 100%);
    border-color: #58b9ff;
    transform: translateY(-1px);
}
.ai-ops-thank-you-body .ai-ops-ty-cta-arrow {
    flex-shrink: 0;
}

/* ─── Microcopy footer (3 paragraphs below CTA) ────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-microcopy {
    color: #d2d2d2;
    font-family: var(--ao-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.32px;
}
.ai-ops-thank-you-body .ai-ops-ty-microcopy p {
    margin: 0 0 8px 0;
}
.ai-ops-thank-you-body .ai-ops-ty-microcopy p:last-child {
    margin-bottom: 0;
}
.ai-ops-thank-you-body .ai-ops-ty-microcopy em {
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Status card (right column)
   ═══════════════════════════════════════════════════════════════════════════ */

.ai-ops-thank-you-body .ai-ops-ty-hero-card {
    display: block;
    width: 540px;
}

.ai-ops-thank-you-body .ai-ops-ty-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 24, 46, 0.95) 0%, rgba(14, 14, 14, 0.95) 100%);
    border: 1px solid rgba(80, 140, 200, 0.22);
    box-shadow:
        0 0 0 1px rgba(80, 140, 200, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(80, 140, 200, 0.12) inset;
}

/* ─── Pulse + headline + subline block ─────────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-card-pulse-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 0 12px;
}

.ai-ops-thank-you-body .ai-ops-ty-card-pulse {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ai-ops-thank-you-body .ai-ops-ty-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(52, 211, 153, 0.45);
    animation: aiOpsTyPulse 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.ai-ops-thank-you-body .ai-ops-ty-pulse-ring--2 {
    animation-delay: -1.2s;
}

@keyframes aiOpsTyPulse {
    0%   { transform: scale(0.6); opacity: 0.9; }
    70%  { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

.ai-ops-thank-you-body .ai-ops-ty-pulse-check {
    position: relative;
    z-index: 1;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 211, 153, 0.12);
    border-radius: 50%;
}

.ai-ops-thank-you-body .ai-ops-ty-card-h {
    margin: 0;
    font-family: var(--ao-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    text-align: center;
}

.ai-ops-thank-you-body .ai-ops-ty-card-sub {
    margin: 0;
    font-family: var(--ao-font);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(140, 170, 255, 0.55);
    text-align: center;
}

/* ─── "WHAT WE'RE DOING NOW" eyebrow ───────────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-card-eyebrow {
    margin: 8px 0 0 0;
    font-family: var(--ao-font);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #97c7ff;
    text-transform: uppercase;
}

/* ─── Status rows ──────────────────────────────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-card-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ai-ops-thank-you-body .ai-ops-ty-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.ai-ops-thank-you-body .ai-ops-ty-row-icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-ops-thank-you-body .ai-ops-ty-row-label {
    flex: 1;
    font-family: var(--ao-font);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

.ai-ops-thank-you-body .ai-ops-ty-row-badge {
    flex-shrink: 0;
    font-family: var(--ao-font);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ai-ops-thank-you-body .ai-ops-ty-row-badge--done {
    color: #6affc6;
}
.ai-ops-thank-you-body .ai-ops-ty-row-badge--queued {
    color: rgba(140, 170, 255, 0.5);
}
.ai-ops-thank-you-body .ai-ops-ty-row-badge--scheduled {
    color: rgba(140, 170, 255, 0.5);
    text-transform: none;
}

/* Active row: glowing border + 3-dot loader */
.ai-ops-thank-you-body .ai-ops-ty-card-row--active {
    background: rgba(81, 161, 255, 0.08);
    border-color: rgba(81, 161, 255, 0.45);
    box-shadow: 0 0 16px rgba(81, 161, 255, 0.18);
}
.ai-ops-thank-you-body .ai-ops-ty-card-row--active .ai-ops-ty-row-label {
    color: #ffffff;
}

.ai-ops-thank-you-body .ai-ops-ty-row-icon--dots {
    gap: 2px;
}
.ai-ops-thank-you-body .ai-ops-ty-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #51a1ff;
    animation: aiOpsTyDots 1.4s ease-in-out infinite;
}
.ai-ops-thank-you-body .ai-ops-ty-dot:nth-child(2) {
    animation-delay: 0.2s;
}
.ai-ops-thank-you-body .ai-ops-ty-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes aiOpsTyDots {
    0%, 60%, 100% { opacity: 0.3; transform: scale(0.7); }
    30%           { opacity: 1;   transform: scale(1.1); }
}

/* Queued + scheduled rows: dimmed text */
.ai-ops-thank-you-body .ai-ops-ty-card-row--queued .ai-ops-ty-row-label,
.ai-ops-thank-you-body .ai-ops-ty-card-row--scheduled .ai-ops-ty-row-label {
    color: rgba(210, 210, 210, 0.7);
}

/* ─── While-you-wait callout ───────────────────────────────────────────── */

.ai-ops-thank-you-body .ai-ops-ty-card-while {
    margin-top: 4px;
    padding: 12px 14px;
    border-radius: 8px;
    background: rgba(81, 161, 255, 0.06);
    border: 1px solid rgba(81, 161, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-ops-thank-you-body .ai-ops-ty-while-eyebrow {
    margin: 0;
    font-family: var(--ao-font);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    color: #97c7ff;
}

.ai-ops-thank-you-body .ai-ops-ty-while-body {
    margin: 0;
    font-family: var(--ao-font);
    font-size: 9px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive (tablet + mobile)
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
    .ai-ops-thank-you-body .ai-ops-ty-section--hero {
        padding: 80px 60px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-hero-card,
    .ai-ops-thank-you-body .ai-ops-ty-hero-text {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 940px) {
    .ai-ops-thank-you-body .ai-ops-ty-section--hero {
        padding: 64px 32px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-hero-card {
        order: -1; /* card moves above text on stacked layout */
        width: 100%;
        max-width: 540px;
        margin: 0 auto;
    }
    .ai-ops-thank-you-body .ai-ops-ty-hero-h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .ai-ops-thank-you-body .ai-ops-ty-section--hero {
        padding: 48px 20px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-hero-h1 {
        font-size: 30px;
        letter-spacing: 0.6px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-card {
        padding: 24px 18px;
    }
    .ai-ops-thank-you-body .ai-ops-ty-cta {
        font-size: 17px;
        padding: 14px 24px;
    }
}
