/* ═══════════════════════════════════════════════════════════
   Use Cases — Public marketing landing pages
   Shared across /:lang/use-cases/* pages.
   Uses the same tokens as tutorials.css / homepage.ejs.
   ═══════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    color-scheme: light;
    --primary: #3B82F6;
    --primary-dark: #2563EB;
    --secondary: #8B5CF6;
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray: #64748B;
    --gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    --surface-primary: #ffffff;
    --surface-secondary: #F9FAFB;
    --surface-tertiary: #F3F4F6;
    --border: #E2E8F0;
    --success: #10B981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    background: var(--light);
    overflow-x: hidden;
    line-height: 1.5;
}

html { scroll-behavior: smooth; color-scheme: light; }

@keyframes uc-fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes uc-scanline {
    0%   { transform: translateY(0); opacity: 0.8; }
    50%  { transform: translateY(180px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.8; }
}

@keyframes uc-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ─── Hero ────────────────────────────────────────────────── */
.uc-hero {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    position: relative;
    overflow: hidden;
}

.uc-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    pointer-events: none;
}

.uc-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.uc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
    animation: uc-fadeInUp 0.5s ease;
}

.uc-hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    animation: uc-fadeInUp 0.6s ease;
}

.uc-hero h1 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uc-hero p.uc-lead {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 1.75rem;
    max-width: 560px;
    animation: uc-fadeInUp 0.7s ease;
}

.uc-hero-ctas {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    animation: uc-fadeInUp 0.85s ease;
}

.uc-btn-primary {
    background: var(--gradient);
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.uc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.uc-btn-secondary {
    background: var(--surface-primary);
    color: var(--primary);
    padding: 0.85rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.uc-btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
}

.uc-hero-meta {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

/* ─── Hero QR Visual ──────────────────────────────────────── */
.uc-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: uc-fadeInUp 1s ease;
}

.uc-qr-card {
    background: var(--surface-primary);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    max-width: 360px;
    width: 100%;
    position: relative;
    animation: uc-float 6s ease-in-out infinite;
}

.uc-qr-frame {
    position: relative;
    background: var(--surface-secondary);
    border-radius: 16px;
    padding: 1rem;
    overflow: hidden;
}

.uc-qr-svg {
    width: 100%;
    height: auto;
    display: block;
}

.uc-qr-scanline {
    position: absolute;
    left: 1rem; right: 1rem;
    top: 1rem;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    animation: uc-scanline 2.8s ease-in-out infinite;
}

.uc-qr-corners {
    position: absolute;
    inset: 1rem;
    pointer-events: none;
}

.uc-qr-corners::before,
.uc-qr-corners::after,
.uc-qr-card::before,
.uc-qr-card::after {
    content: '';
    position: absolute;
    width: 24px; height: 24px;
    border: 3px solid var(--primary);
}

.uc-qr-corners::before { top: 0; left: 0;     border-right: none; border-bottom: none; border-top-left-radius: 6px; }
.uc-qr-corners::after  { top: 0; right: 0;    border-left: none;  border-bottom: none; border-top-right-radius: 6px; }

.uc-qr-card .uc-qr-br {
    position: absolute;
    bottom: 2rem; left: 2rem;
    width: 24px; height: 24px;
    border: 3px solid var(--primary);
    border-right: none; border-top: none;
    border-bottom-left-radius: 6px;
}

.uc-qr-card .uc-qr-bl {
    position: absolute;
    bottom: 2rem; right: 2rem;
    width: 24px; height: 24px;
    border: 3px solid var(--primary);
    border-left: none; border-top: none;
    border-bottom-right-radius: 6px;
}

.uc-qr-card::before,
.uc-qr-card::after { display: none; }

.uc-qr-caption {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
}

/* ─── Highlight banner (e.g. "no website needed") ─────────── */
.uc-highlight-wrap {
    background: var(--surface-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.uc-highlight {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.uc-highlight-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    background: rgba(139, 92, 246, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.uc-highlight h2 {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
}

.uc-highlight h2 .accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uc-highlight p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.uc-highlight-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.uc-highlight-bullets li {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.55;
}

.uc-highlight-bullets svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--success);
    margin-top: 1px;
}

.uc-highlight-bullets strong {
    color: var(--dark);
    font-weight: 600;
}

.uc-highlight-visual {
    display: flex;
    justify-content: center;
}

.uc-share-card {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
    width: 100%;
    max-width: 360px;
}

.uc-share-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin-bottom: 0.875rem;
}

.uc-share-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--surface-tertiary);
    border-radius: 10px;
    padding: 0.75rem 0.875rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 1.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-share-link svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.uc-share-channels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.625rem;
}

.uc-share-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.875rem 0.5rem;
    background: var(--surface-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.uc-share-channel:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.uc-share-channel-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
}

.uc-share-channel-icon svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
    .uc-highlight { grid-template-columns: 1fr; gap: 2rem; padding: 3.5rem 1.25rem; }
    .uc-highlight h2 { font-size: 1.75rem; }
    .uc-share-card { max-width: 100%; }
}

/* ─── Generic section ─────────────────────────────────────── */
.uc-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.uc-section-alt {
    background: var(--surface-primary);
}

.uc-section-alt-wrap {
    background: var(--surface-primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.uc-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.uc-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.uc-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.uc-section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ─── How it works (3 steps) ──────────────────────────────── */
.uc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    counter-reset: uc-step;
}

.uc-step {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uc-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.uc-step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.uc-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.uc-step p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ─── Use case grid ───────────────────────────────────────── */
/* minmax 340px forces max 3 cols at 1200px container (3*340+2*24 = 1068). */
.uc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* Lock a 4-card grid to 4/2/1 columns so a 4-item grid never orphans at 3 cols */
.uc-grid.uc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .uc-grid.uc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .uc-grid.uc-grid-4 { grid-template-columns: 1fr; }
}

.uc-card {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.uc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.uc-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.uc-card-icon svg { width: 26px; height: 26px; }

.uc-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.uc-card p {
    font-size: 0.925rem;
    color: var(--gray);
    line-height: 1.6;
}

.uc-card-where {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border);
    font-size: 0.8rem;
    color: var(--gray);
}

.uc-card-where strong {
    color: var(--dark);
    font-weight: 600;
}

/* ─── Feature strip (what the bot does after scan) ────────── */
/* minmax 320px forces max 3 cols so 6 items → 2×3 clean. */
.uc-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.uc-feature {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.uc-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uc-feature-icon svg { width: 20px; height: 20px; }

.uc-feature h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.uc-feature p {
    font-size: 0.875rem;
    color: var(--gray);
    line-height: 1.55;
}

/* ─── Comparison (old way vs. PopABot QR) ─────────────────── */
.uc-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.uc-compare-col {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
}

.uc-compare-col.bad { border-color: #FCA5A5; background: #FEF2F2; }
.uc-compare-col.good { border-color: #86EFAC; background: #F0FDF4; }

.uc-compare-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.uc-compare-col.bad .uc-compare-title { color: #B91C1C; }
.uc-compare-col.good .uc-compare-title { color: #15803D; }

.uc-compare ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.uc-compare li {
    display: flex;
    gap: 0.625rem;
    font-size: 0.925rem;
    color: var(--dark);
    line-height: 1.5;
}

.uc-compare li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.uc-compare-col.bad li svg { color: #DC2626; }
.uc-compare-col.good li svg { color: #16A34A; }

/* ─── FAQ ─────────────────────────────────────────────────── */
.uc-faq {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.uc-faq-item {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.2s ease;
}

.uc-faq-item:hover { border-color: rgba(59, 130, 246, 0.3); }

.uc-faq-q {
    font-size: 1.025rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.375rem;
}

.uc-faq-a {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ─── Conversation starters ("hooks") preview cards ───────── */
/* minmax 420px forces max 2 cols so 4 items → 2×2 clean. */
.uc-hooks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 1.5rem;
}

.uc-hook-card {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.uc-hook-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.uc-hook-header {
    background: var(--gradient);
    color: #fff;
    padding: 0.875rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.uc-hook-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uc-hook-avatar svg { width: 16px; height: 16px; }

.uc-hook-body {
    background: var(--surface-secondary);
    padding: 1.125rem 1.125rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.uc-hook-bubble {
    background: var(--surface-primary);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: 14px 14px 14px 4px;
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 92%;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.uc-hook-chips {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-top: 0.25rem;
}

.uc-hook-chip {
    align-self: flex-end;
    background: var(--surface-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
    border-radius: 9999px;
    padding: 0.45rem 0.875rem;
    font-size: 0.825rem;
    font-weight: 500;
    max-width: 92%;
    text-align: right;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.uc-hook-footer {
    background: var(--surface-primary);
    border-top: 1px solid var(--border);
    padding: 0.75rem 1.125rem;
    font-size: 0.75rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.uc-hook-footer svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--primary); }

.uc-hook-footer strong { color: var(--dark); font-weight: 600; }

/* Tip callout inside a section */
.uc-tip {
    max-width: 820px;
    margin: 2rem auto 0;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.925rem;
    line-height: 1.6;
    display: flex;
    gap: 0.625rem;
}

.uc-tip svg { width: 20px; height: 20px; flex-shrink: 0; color: #3B82F6; margin-top: 2px; }

.uc-tip strong { color: #1E3A8A; font-weight: 700; }

/* ─── Booking picker mock (AI Appointment Booking page) ────── */
.uc-book-card {
    background: var(--surface-primary);
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
    overflow: hidden;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.uc-book-header {
    background: var(--gradient);
    color: #fff;
    padding: 0.875rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.uc-book-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uc-book-header-avatar svg { width: 16px; height: 16px; }

.uc-book-body {
    padding: 1.125rem;
    background: var(--surface-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.uc-book-bubble {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 12px 12px 12px 4px;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--dark);
    max-width: 90%;
    align-self: flex-start;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.uc-book-picker {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.875rem;
}

.uc-book-date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.uc-book-date svg { width: 14px; height: 14px; color: var(--primary); }

.uc-book-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.uc-book-slot {
    padding: 0.45rem 0;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface-primary);
    font-size: 0.8rem;
    color: var(--dark);
    font-weight: 500;
}

.uc-book-slot.selected {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.uc-book-slot.unavail {
    opacity: 0.35;
    text-decoration: line-through;
    background: var(--surface-tertiary);
}

.uc-book-confirm {
    background: var(--gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 0.7rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* ─── Event types table (AI Appointment Booking page) ──────── */
.uc-events {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 720px) {
    .uc-events {
        grid-template-columns: 1fr;
    }
}

.uc-event-col {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.uc-event-col-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uc-event-col-title svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.uc-event-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border);
    gap: 0.5rem;
}

.uc-event-row:last-child { border-bottom: none; }

.uc-event-name {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--dark);
}

.uc-event-name small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gray);
    margin-top: 1px;
}

.uc-event-duration {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── Qualification flow cards (WhatsApp handover page) ────── */
.uc-flows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .uc-flows {
        grid-template-columns: 1fr;
    }
}

.uc-flow-card {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.uc-flow-header {
    background: var(--gradient);
    color: #fff;
    padding: 0.875rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.uc-flow-header-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uc-flow-header-icon svg { width: 16px; height: 16px; }

.uc-flow-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.uc-flow-step-bot {
    padding: 0.6rem 0.875rem;
    border-radius: 14px 14px 14px 4px;
    font-size: 0.875rem;
    line-height: 1.45;
    max-width: 88%;
    background: var(--surface-tertiary);
    color: var(--dark);
    align-self: flex-start;
}

/* Button choices for a flow step — full set displayed, one marked as tapped */
.uc-flow-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-self: flex-end;
    justify-content: flex-end;
    max-width: 92%;
    margin-top: 2px;
    margin-bottom: 2px;
}

.uc-flow-choice {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.4rem 0.75rem;
    border-radius: 9999px;
    border: 1.5px solid var(--border);
    background: var(--surface-primary);
    color: var(--gray);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0.65;
}

.uc-flow-choice.tapped {
    background: var(--gradient);
    border-color: transparent;
    color: #fff;
    opacity: 1;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
    font-weight: 600;
}

.uc-flow-choice.tapped::before {
    content: '';
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Terminal step — contact form widget is triggered */
.uc-flow-form-trigger {
    align-self: stretch;
    background: #EEF2FF;
    border: 1.5px dashed var(--primary);
    border-radius: 12px;
    padding: 0.75rem 0.875rem;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.uc-flow-form-trigger svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.uc-flow-divider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
    margin: 0.5rem 0 0.25rem;
}

.uc-flow-divider::before,
.uc-flow-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.uc-flow-handover {
    background: #dcf8c6;
    color: #0b5138;
    border: 1px solid #b7e4b0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 0.85rem;
    line-height: 1.55;
    align-self: stretch;
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
}

.uc-flow-handover svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: #25d366;
    margin-top: 1px;
}

.uc-flow-handover strong { color: #064e2a; font-weight: 700; }

.uc-flow-footer {
    background: var(--surface-primary);
    border-top: 1px solid var(--border);
    padding: 0.75rem 1.125rem;
    font-size: 0.75rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.uc-flow-footer svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--primary); }

.uc-flow-footer strong { color: var(--dark); font-weight: 600; }

/* ─── WhatsApp message preview ────────────────────────────── */
.uc-wa-wrap {
    max-width: 420px;
    margin: 0 auto;
    background: #E5DDD5;
    background-image: linear-gradient(rgba(229, 221, 213, 0.9), rgba(229, 221, 213, 0.9));
    border-radius: 18px;
    padding: 1.25rem 1rem;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.12);
}

.uc-wa-header {
    background: #128C7E;
    color: #fff;
    margin: -1.25rem -1rem 1rem;
    padding: 0.875rem 1rem;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.uc-wa-header svg {
    width: 22px;
    height: 22px;
    color: #25d366;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
}

.uc-wa-meta {
    font-size: 0.7rem;
    opacity: 0.85;
    font-weight: 400;
}

.uc-wa-bubble {
    background: #dcf8c6;
    color: #111;
    border-radius: 10px 10px 2px 10px;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    line-height: 1.4;
    max-width: 90%;
    margin-left: auto;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
    word-break: break-word;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.uc-wa-bubble .uc-wa-field {
    display: block;
}

.uc-wa-bubble .uc-wa-field strong {
    color: #075e54;
    font-weight: 700;
}

.uc-wa-time {
    font-size: 0.65rem;
    color: #4a7a6a;
    text-align: right;
    margin-top: 4px;
}

.uc-wa-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Ways to share (big) — used on no-website-needed page ── */
/* minmax 220px forces max 4 cols within 980px so 8 items → 2×4 clean. */
.uc-ways {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 980px;
    margin: 0 auto;
}

.uc-way {
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.uc-way:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
}

.uc-way-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.uc-way-icon svg { width: 22px; height: 22px; }

.uc-way h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.uc-way p {
    font-size: 0.825rem;
    color: var(--gray);
    line-height: 1.5;
}

/* ─── Related use cases strip ─────────────────────────────── */
/* Flex wrap + capped card width — avoids grid empty tracks when
   there is only one related item, while still allowing multiple
   cards to fit in a row later without forcing ugly stretching. */
.uc-related {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.uc-related .uc-related-card {
    flex: 1 1 280px;
    max-width: 360px;
}

.uc-related-card {
    display: flex;
    gap: 0.875rem;
    align-items: center;
    background: var(--surface-primary);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.125rem 1.25rem;
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.uc-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    color: var(--dark);
}

.uc-related-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.12);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.uc-related-icon svg { width: 20px; height: 20px; }

.uc-related-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.uc-related-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray);
}

.uc-related-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
}

/* ─── Final CTA ───────────────────────────────────────────── */
.uc-cta {
    background: var(--gradient);
    color: #fff;
    text-align: center;
    padding: 4.5rem 1.5rem;
}

.uc-cta h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.875rem;
    max-width: 720px;
    margin-inline: auto;
}

.uc-cta p {
    font-size: 1.075rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 640px;
    margin-inline: auto;
}

.uc-cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.uc-cta-btn:hover { transform: translateY(-2px); color: var(--primary); }

.uc-cta-note {
    margin-top: 0.875rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ─── Breadcrumb ──────────────────────────────────────────── */
/* Breadcrumb lives BEFORE the hero — the fixed nav is ~72px tall,
   so the hero's 8rem top padding overlaps it. We place breadcrumb
   inside the hero instead (see markup), keeping this class for
   the page-content-style usage on subpages. */
.uc-breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
    font-size: 0.85rem;
    color: var(--gray);
    position: relative;
    z-index: 2;
}

.uc-hero .uc-breadcrumb {
    padding: 0 0 1.25rem;
    opacity: 0.85;
}

.uc-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.uc-breadcrumb a:hover { text-decoration: underline; }
.uc-breadcrumb .sep { margin: 0 0.4rem; color: var(--gray); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .uc-hero { padding-top: 7rem; }
    .uc-hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .uc-hero h1 { font-size: 2.5rem; }
    .uc-hero p.uc-lead { font-size: 1.05rem; }
    .uc-steps { grid-template-columns: 1fr; }
    .uc-compare { grid-template-columns: 1fr; }
    .uc-section { padding: 3.5rem 1.25rem; }
    .uc-section-title { font-size: 1.75rem; }
    .uc-cta h2 { font-size: 1.65rem; }
}

@media (max-width: 480px) {
    .uc-hero h1 { font-size: 2rem; }
    .uc-qr-card { padding: 1.5rem; }
}

/* ─── Conversational Funnel page ───────────────────────────── */
.uc-fn-hero-card {
    max-width: 440px;
    margin: 0 auto;
}

.uc-fn-endpoint {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.8rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    border: 1px solid transparent;
}

.uc-fn-endpoint svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.uc-fn-endpoint.booking {
    background: rgba(59, 130, 246, 0.10);
    border-color: rgba(59, 130, 246, 0.25);
    color: #1e40af;
}
.uc-fn-endpoint.booking svg { color: var(--primary); }

.uc-fn-endpoint.form {
    background: rgba(139, 92, 246, 0.10);
    border-color: rgba(139, 92, 246, 0.25);
    color: #5b21b6;
}
.uc-fn-endpoint.form svg { color: var(--secondary); }

.uc-fn-endpoint.ai {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.12);
    color: var(--dark);
}
.uc-fn-endpoint.ai svg { color: var(--dark); }

.uc-fn-endpoint.whatsapp {
    background: rgba(34, 197, 94, 0.10);
    border-color: rgba(34, 197, 94, 0.25);
    color: #065f46;
}
.uc-fn-endpoint.whatsapp svg { color: #16a34a; }

.uc-fn-endpoint-list {
    margin-top: 0.55rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.uc-fn-endpoint-inline {
    font-size: 0.78rem;
    color: var(--gray);
    padding-left: 0.85rem;
    border-left: 2px solid var(--border);
    line-height: 1.4;
}

/* ─── Hotel & rental chatbot page ──────────────────────────── */
.uc-hc-hero-card {
    max-width: 440px;
    margin: 0 auto;
}

.uc-hc-thread {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 1.125rem 1.25rem;
}

.uc-hc-bubble {
    max-width: 85%;
    padding: 0.6rem 0.85rem;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.uc-hc-bubble.bot {
    align-self: flex-start;
    background: var(--surface-secondary);
    color: var(--dark);
    border-bottom-left-radius: 4px;
}

.uc-hc-bubble.user {
    align-self: flex-end;
    background: var(--gradient);
    color: #fff;
    border-bottom-right-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.uc-hc-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 1px 5px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    flex-shrink: 0;
}

/* ─── Assessment chatbot page ──────────────────────────────── */
/* Progress bar — mirrors chat-assessment.js:renderProgressBar.
   Solid primary fill on a neutral track (brand gradient fill
   would blend into the gradient header above it). */
.uc-asm-progress {
    height: 4px;
    background: #E5E7EB;
    position: relative;
}

.uc-asm-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--primary);
    transition: width 0.3s ease;
}

/* Mirrors chat-assessment.js:renderResultCard — light-gray card,
   centered column, 64px score badge on top, filled CTA, outlined DL. */
.uc-asm-result {
    margin-top: 0.75rem;
    padding: 1.4rem 1rem;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.9rem;
}

.uc-asm-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.uc-asm-verdict-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a2e;
    line-height: 1.3;
}

.uc-asm-verdict-desc {
    font-size: 0.8rem;
    color: #4a5568;
    line-height: 1.5;
    max-width: 320px;
}

.uc-asm-cta {
    display: inline-block;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

.uc-asm-dl {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
}

