/* ==========================================================================
   PathFox Product Intelligence™ — pathfox.css
   Self-contained stylesheet. Carries forward design tokens from homepage,
   adds fox-specific extensions.
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
    /* Primary (Homepage) */
    --color-primary: #4F46E5;
    --color-primary-hover: #4338CA;
    --color-primary-light: #EEF2FF;

    /* Fox Identity */
    --color-fox: #F97316;
    --color-fox-hover: #EA580C;
    --color-fox-light: #FFF7ED;
    --color-fox-lighter: #FFFBF5;
    --color-fox-dark: #C2410C;

    /* Text */
    --color-heading: #0F172A;
    --color-body: #475569;
    --color-muted: #94A3B8;

    /* Surfaces */
    --color-white: #FFFFFF;
    --color-bg-alt: #F8FAFC;
    --color-card: #F1F5F9;

    /* Borders & Shadows */
    --color-border: #E2E8F0;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1);
    --shadow-nav: 0 1px 3px rgba(15, 23, 42, 0.08);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Pillar Accents */
    --color-violet: #7C3AED;
    --color-violet-light: #F5F3FF;
    --color-blue: #2563EB;
    --color-blue-light: #EFF6FF;
    --color-emerald: #059669;
    --color-emerald-light: #ECFDF5;
    --color-amber: #D97706;
    --color-amber-light: #FFFBEB;
    --color-pink: #DB2777;
    --color-pink-light: #FDF2F8;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
    --fs-sm: clamp(0.8125rem, 0.775rem + 0.2vw, 0.875rem);
    --fs-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1rem);
    --fs-md: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1.05rem + 0.4vw, 1.25rem);
    --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --fs-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --fs-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --fs-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.25rem);
    --fs-5xl: clamp(2.5rem, 1.75rem + 3.75vw, 4rem);

    /* Spacing */
    --section-py: clamp(4rem, 3rem + 5vw, 7rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-base);
    color: var(--color-body);
    line-height: 1.65;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    color: var(--color-heading);
    line-height: 1.2;
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--color-body);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn--sm {
    font-size: var(--fs-sm);
    padding: 0.5rem 1.125rem;
}

.btn--lg {
    font-size: var(--fs-md);
    padding: 0.875rem 2rem;
}

.btn--fox {
    background: linear-gradient(135deg, #FB923C, #F97316, #EA580C);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.5);
}

.btn--fox:hover {
    background: linear-gradient(135deg, #F97316, #EA580C, #C2410C);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.6);
}

.btn--ghost {
    background: transparent;
    color: var(--color-heading);
    border: 1.5px solid var(--color-border);
}

.btn--ghost:hover {
    border-color: var(--color-fox);
    color: var(--color-fox);
    transform: translateY(-1px);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-fox);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn--white:hover {
    background: var(--color-fox-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn--ghost-white {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn--ghost-white:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
}

/* ---------- Badge ---------- */
.badge {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
}

.badge--fox {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

/* ==========================================================================
   2. HERO
   ========================================================================== */

/* Override CTA button in top nav for this page only */
body.dark-hero .nav:not(.nav--scrolled) .nav__cta {
    background: linear-gradient(135deg, #FB923C, #F97316, #EA580C);
    box-shadow: 0 4px 12px rgba(194, 65, 12, 0.5);
}

body.dark-hero .nav:not(.nav--scrolled) .nav__cta:hover {
    background: linear-gradient(135deg, #F97316, #EA580C, #C2410C);
    box-shadow: 0 6px 20px rgba(194, 65, 12, 0.6);
}

.hero {
    padding-top: calc(72px + 6rem);
    padding-bottom: var(--section-py);
    background: #F97316;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, #FB923C 0%, #F97316 33%, #EA580C 66%, #C2410C 100%);
    animation: ctaRadialSwirl 12s ease infinite;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hero__content {
    max-width: 560px;
}

.hero__title {
    font-size: 3.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 1.25rem 0;
    line-height: 1.08;
    color: var(--color-white);
}

.hero__subtitle {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero__note {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   3. CHAT DEMO (Hero)
   ========================================================================== */

.chat-demo {
    width: 100%;
    max-width: 500px;
    margin-top: 23px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-left: auto;
}

.chat-demo__header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
}

.chat-demo__avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.chat-demo__name {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
}

.chat-demo__status {
    font-size: var(--fs-xs);
    color: var(--color-emerald);
    margin-left: auto;
}

.chat-demo__body {
    padding: 1rem;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* User message */
.chat-demo__user-row {
    align-self: flex-end;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    max-width: 85%;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.chat-demo__user-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-demo__user {
    background: var(--color-fox);
    color: var(--color-white);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md) var(--radius-md) var(--radius-sm) var(--radius-md);
    font-size: var(--fs-sm);
}

.chat-demo__user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

/* Thinking dots */
.chat-demo__thinking {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.4s ease, margin 0.4s ease;
    margin: 0;
}

.chat-demo__thinking.visible {
    opacity: 1;
    max-height: 60px;
    overflow: visible;
    margin: 0.5rem 0;
}

.chat-demo__thinking-avatar {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.chat-demo__dots {
    display: flex;
    gap: 4px;
    background: var(--color-card);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
}

.chat-demo__dots span {
    width: 6px;
    height: 6px;
    background: var(--color-muted);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.chat-demo__dots span:nth-child(2) { animation-delay: 0.2s; }
.chat-demo__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}

/* Fox response */
.chat-demo__response {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-demo__response.visible {
    opacity: 1;
}

.chat-demo__response-avatar {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.chat-demo__response-bubble {
    background: var(--color-card);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm) var(--radius-md) var(--radius-md) var(--radius-md);
    font-size: var(--fs-sm);
    line-height: 1.6;
    color: var(--color-heading);
    max-width: 90%;
}

.chat-demo__response-line {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.chat-demo__response-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-demo__response-line + .chat-demo__response-line {
    margin-top: 0.375rem;
}

.chat-demo__response-line--spaced {
    margin-top: 0.5em;
}

.chat-demo__response-line--highlight {
    color: var(--color-fox);
    font-weight: 600;
}

/* Fixed body heights — prevents page jumping during animations */
#chatDemo .chat-demo__body {
    height: 350px;
    min-height: 0;
}

#qaDemo .chat-demo__body {
    height: 490px;
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
#qaDemo .chat-demo__body::-webkit-scrollbar {
    display: none;
}

#actionsDemo .chat-demo__body {
    height: 420px;
    min-height: 0;
}

/* Actions demo — green result lines */
.act-result {
    color: var(--color-emerald);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.act-result svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Input placeholder */
.chat-demo__input {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--color-border);
    gap: 0.5rem;
}

.chat-demo__input-placeholder {
    font-size: var(--fs-sm);
    color: var(--color-muted);
    flex: 1;
}

.chat-demo__input-btn {
    width: 28px;
    height: 28px;
    background: var(--color-fox-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-demo__input-btn svg {
    width: 14px;
    height: 14px;
    color: var(--color-fox);
}

/* ==========================================================================
   4. PILLAR SECTIONS
   ========================================================================== */

.pillar {
    padding: var(--section-py) 0;
}

.pillar--white {
    background: var(--color-white);
}

.pillar--alt {
    background: var(--color-bg-alt);
}

.pillar--fox-lighter {
    background: var(--color-fox-lighter);
}

.pillar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pillar--reverse .pillar__inner {
    direction: rtl;
}

.pillar--reverse .pillar__inner > * {
    direction: ltr;
}

.pillar__badge {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.pillar__badge--fox {
    background: var(--color-fox-light);
    color: var(--color-fox);
}

.pillar__title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.pillar__desc {
    font-size: var(--fs-md);
    color: var(--color-body);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.pillar__features {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.pillar__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: var(--fs-base);
    line-height: 1.55;
}

.pillar__check {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    color: var(--color-fox);
}

/* Pillar Mockups */
.pillar__mockup {
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: var(--color-fox-light);
}

.mockup-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.mockup-card__header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.mockup-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-fox);
}

.mockup-card__title {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
}

/* Bar chart mockup */
.mockup-bars {
    padding: 1rem;
}

.mockup-bars__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.mockup-bars__item:last-child {
    margin-bottom: 0;
}

.mockup-bars__label {
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--color-body);
    min-width: 90px;
    text-align: right;
}

.mockup-bars__track {
    flex: 1;
    height: 24px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.mockup-bars__fill {
    height: 100%;
    background: var(--color-fox);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-white);
    min-width: 1.75rem;
}

.mockup-bars__fill--2 { background: #FB923C; }
.mockup-bars__fill--3 { background: #FDBA74; }
.mockup-bars__fill--4 { background: #FED7AA; }

.mockup-bars__fill {
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mockup-bars__item:nth-child(2) .mockup-bars__fill { transition-delay: 0.15s; }
.mockup-bars__item:nth-child(3) .mockup-bars__fill { transition-delay: 0.3s; }
.mockup-bars__item:nth-child(4) .mockup-bars__fill { transition-delay: 0.45s; }

.mockup-bars__summary {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0 1rem 0.5rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mockup-bars__summary.visible {
    opacity: 1;
    transform: translateY(0);
}

.mockup-bars__summary-avatar {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mockup-bars__summary-bubble {
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--color-body);
    background: var(--color-bg-alt);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.mockup-bars__summary-bubble strong {
    color: var(--color-heading);
}

/* Ranked list mockup */
.mockup-rank {
    padding: 0.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-rank__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.75rem 0.25rem;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
}

.mockup-rank__header-rank {
    min-width: 20px;
}

.mockup-rank__header-feature {
    flex: 1;
}

.mockup-rank__header-score {
    text-align: right;
}

.mockup-rank__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mockup-rank__item.visible {
    opacity: 1;
    transform: translateY(0);
}

.mockup-rank__position {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: var(--color-fox);
    min-width: 20px;
}

.mockup-rank__name {
    flex: 1;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-heading);
}

.mockup-rank__score {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-fox);
    background: var(--color-fox-light);
    padding: 0.125rem 0.625rem;
    border-radius: var(--radius-sm);
}

/* 1st place — green */
.mockup-rank__item:nth-child(2) {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.25);
}
.mockup-rank__item:nth-child(2) .mockup-rank__position { color: #059669; }
.mockup-rank__item:nth-child(2) .mockup-rank__score { color: #059669; background: rgba(16, 185, 129, 0.1); }

/* 2nd place — amber/orange */
.mockup-rank__item:nth-child(3) {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.25);
}
.mockup-rank__item:nth-child(3) .mockup-rank__position { color: #D97706; }
.mockup-rank__item:nth-child(3) .mockup-rank__score { color: #D97706; background: rgba(245, 158, 11, 0.1); }

/* 3rd place — yellow */
.mockup-rank__item:nth-child(4) {
    background: rgba(234, 179, 8, 0.06);
    border-color: rgba(234, 179, 8, 0.25);
}
.mockup-rank__item:nth-child(4) .mockup-rank__position { color: #CA8A04; }
.mockup-rank__item:nth-child(4) .mockup-rank__score { color: #CA8A04; background: rgba(234, 179, 8, 0.1); }

/* 4th & 5th — muted */
.mockup-rank__item:nth-child(5),
.mockup-rank__item:nth-child(6) {
    background: #FFFFFF;
}
.mockup-rank__item:nth-child(5) .mockup-rank__score,
.mockup-rank__item:nth-child(6) .mockup-rank__score {
    font-weight: 500;
    color: var(--color-muted);
    background: var(--color-bg-alt);
}

/* Health mockup */
.mockup-health {
    padding: 0.5rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mockup-health__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mockup-health__item.visible {
    opacity: 1;
    transform: translateY(0);
}

.mockup-health__name {
    flex: 1;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--color-heading);
}

.mockup-health__pct {
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--color-body);
    min-width: 30px;
    text-align: right;
}

.mockup-health__status {
    font-size: var(--fs-xs);
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.mockup-health__status--good {
    background: var(--color-emerald-light);
    color: var(--color-emerald);
}

.mockup-health__status--warning {
    background: #FEF2F2;
    color: #DC2626;
}

.mockup-health__summary {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mockup-health__summary.visible {
    opacity: 1;
    transform: translateY(0);
}

.mockup-health__summary-avatar {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.mockup-health__summary-bubble {
    font-size: var(--fs-sm);
    line-height: 1.5;
    color: var(--color-body);
    background: var(--color-bg-alt);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
}

.mockup-health__summary-bubble strong {
    color: var(--color-heading);
}

/* QA mockup */
.mockup-qa {
    padding: 1rem;
}

.mockup-qa__question {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
    padding: 0.5rem 0.75rem;
    background: var(--color-fox-light);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.mockup-qa__answer {
    font-size: var(--fs-sm);
    color: var(--color-body);
    line-height: 1.6;
    padding-left: 0.75rem;
    border-left: 3px solid var(--color-fox);
}

.mockup-qa__answer-item {
    padding: 0.25rem 0;
}

.mockup-qa__answer-item strong {
    color: var(--color-heading);
}

/* Action mockup */
.mockup-actions {
    padding: 0.25rem 0;
}

.mockup-actions__item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
}

.mockup-actions__item:last-child {
    border-bottom: none;
}

.mockup-actions__command {
    font-size: var(--fs-sm);
    color: var(--color-heading);
    margin-bottom: 0.375rem;
}

.mockup-actions__result {
    font-size: var(--fs-xs);
    color: var(--color-emerald);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.mockup-actions__result svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   5. CONTEXT-AWARE SECTION
   ========================================================================== */

.context {
    padding: var(--section-py) 0;
    background: var(--color-white);
}

.context__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.context-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.25s ease;
}

.context-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.context-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--color-fox-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.context-card__icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-fox);
}

.context-card__title {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.context-card__desc {
    font-size: var(--fs-sm);
    color: var(--color-body);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.context-card__prompts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.context-card__prompt {
    font-size: var(--fs-xs);
    color: var(--color-fox-dark);
    background: var(--color-fox-light);
    padding: 0.375rem 0.625rem;
    border-radius: var(--radius-sm);
    line-height: 1.4;
}

/* ==========================================================================
   6. TESTIMONIAL SPOTLIGHT
   ========================================================================== */

.testimonial-spotlight {
    padding: var(--section-py) 0;
    background: var(--color-bg-alt);
}

.testimonial-spotlight__card {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-spotlight__stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 1.25rem;
}

.testimonial-spotlight__stars svg {
    width: 22px;
    height: 22px;
    color: #F59E0B;
}

.testimonial-spotlight__quote {
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.45;
    font-style: normal;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.testimonial-spotlight__sup {
    font-size: calc(0.55em - 3px);
    vertical-align: super;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-left: 1px;
}

.testimonial-spotlight__author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.testimonial-spotlight__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-spotlight__name {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--color-heading);
    text-align: left;
}

.testimonial-spotlight__role {
    font-size: var(--fs-xs);
    color: var(--color-muted);
    text-align: left;
}

/* ==========================================================================
   7. FINAL CTA
   ========================================================================== */

.final-cta {
    padding: calc(var(--section-py) / 2) 0;
    margin-bottom: -1px;
    background: #F97316;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at 50% 50%, #FB923C 0%, #F97316 30%, #EA580C 60%, #C2410C 100%);
    animation: ctaRadialSwirl 12s ease infinite;
}

.final-cta > * {
    position: relative;
    z-index: 1;
}

@keyframes ctaRadialSwirl {
    0%   { transform: translate(0%, 0%) scale(1); }
    25%  { transform: translate(15%, -10%) scale(1.1); }
    50%  { transform: translate(-10%, 15%) scale(1.05); }
    75%  { transform: translate(-15%, -5%) scale(1.15); }
    100% { transform: translate(0%, 0%) scale(1); }
}

.final-cta__inner {
    max-width: 640px;
    margin: 0 auto;
}

.final-cta__logo-wrap {
    display: flex;
    justify-content: center;
}

.final-cta__logo {
    display: block;
    height: auto;
    transform: scale(0);
    opacity: 0;
    transition: none;
}

.final-cta__logo-wrap.is-visible .final-cta__logo {
    animation: fox-bounce-in 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fox-bounce-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    72% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.final-cta__title {
    font-size: var(--fs-4xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-white);
    margin-bottom: 1rem;
}

.final-cta__subtitle {
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.final-cta__note {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ---- <= 1024px ---- */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero__content {
        max-width: 100%;
        text-align: center;
    }

    .hero__ctas {
        justify-content: center;
    }

    .hero__note {
        text-align: center;
    }

    .chat-demo {
        max-width: 400px;
        margin: 0 auto;
    }

    .pillar__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .pillar--reverse .pillar__inner {
        direction: ltr;
    }

    .pillar__visual {
        order: -1;
    }

    .pillar__mockup {
        max-width: 500px;
        margin: 0 auto;
    }

    .context__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- <= 640px ---- */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .context__grid {
        grid-template-columns: 1fr;
    }

    .hero__ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero__ctas .btn {
        width: 100%;
        max-width: 300px;
    }

    .chat-demo {
        max-width: 100%;
    }

    .chat-demo__body {
        min-height: 240px;
    }
}
