/* ==========================================================================
   Use Cases – Public Pages  (uc- prefix)
   ========================================================================== */

/* ===== HERO ===== */
.uc-hero,
.uc-detail-hero {
    position: relative;
    background: var(--color-dark-bg, #050210);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(100px, 10vw, 140px) 24px clamp(80px, 8vw, 100px);
}
.uc-hero::before,
.uc-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 40%, rgba(100,80,200,.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 60%, rgba(140,100,240,.08) 0%, transparent 70%);
    pointer-events: none;
}
.uc-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}
.uc-orbitals {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 800px);
    aspect-ratio: 2 / 1;
    pointer-events: none;
    z-index: 1;
}
.uc-hero-w {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.uc-hero-t {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
.uc-hero-t em {
    font-style: normal;
    background: linear-gradient(135deg, #FF6B81, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.uc-hero-sub {
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255, 255, 255, .65);
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.uc-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: rgba(255,255,255,.45);
}
.uc-breadcrumb a { color: rgba(255,255,255,.6); text-decoration: none; }
.uc-breadcrumb a:hover { color: #fff; }

/* Fade-in */
.uc-fade { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.uc-fade-2 { transition-delay: .1s; }
.uc-fade-3 { transition-delay: .2s; }
.uc-fade-in { opacity: 1; transform: translateY(0); }

/* Scroll reveal */
.uc-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.uc-visible { opacity: 1; transform: translateY(0); }

/* Orbital animations */
.uc-orbit-1 { animation: ucSpin1 40s linear infinite; transform-origin: 400px 200px; }
.uc-orbit-2 { animation: ucSpin2 30s linear infinite reverse; transform-origin: 400px 200px; }
.uc-orbit-3 { animation: ucSpin1 20s linear infinite; transform-origin: 400px 200px; }
@keyframes ucSpin1 { to { transform: rotate(360deg); } }
@keyframes ucSpin2 { to { transform: rotate(-360deg); } }
.uc-node { animation: ucPulse 3s ease-in-out infinite; }
.uc-node-2 { animation-delay: .5s; }
.uc-node-3 { animation-delay: 1s; }
.uc-node-4 { animation-delay: 1.5s; }
.uc-node-5 { animation-delay: 2s; }
.uc-node-6 { animation-delay: 2.5s; }
@keyframes ucPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.uc-conn { stroke-dasharray: 300; stroke-dashoffset: 300; animation: ucDraw 4s ease forwards; }
.uc-conn-2 { animation-delay: .4s; }
.uc-conn-3 { animation-delay: .8s; }
.uc-conn-4 { animation-delay: 1.2s; }
.uc-conn-5 { animation-delay: 1.6s; }
@keyframes ucDraw { to { stroke-dashoffset: 0; } }
[class^="uc-glow"] { animation: ucGlow 4s ease-in-out infinite; }
.uc-glow-2 { animation-delay: 1.3s; }
.uc-glow-3 { animation-delay: 2.6s; }
@keyframes ucGlow { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ===== LANDING PAGE BLOCKS ===== */
.uc-block {
    padding: 80px 0;
}
.uc-bg-light { background: var(--gray-50, #f9fafb); }
.uc-bg-dark {
    background: var(--color-dark-bg, #050210);
    color: #fff;
}
.uc-wrap {
    max-width: 1232px;
    margin: 0 auto;
    padding: 0 24px;
}
.uc-block-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}
.uc-block-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--color-text, #101828);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}
.uc-bg-dark .uc-block-header h2 { color: #fff; }
.uc-block-header h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #F43F5E, #D946EF, #7F56D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.uc-block-header p {
    font-size: 16px;
    color: var(--color-text-light, #667085);
    line-height: 1.6;
    margin: 0;
}
.uc-bg-dark .uc-block-header p { color: rgba(255,255,255,.6); }
.uc-block-header .uc-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary, #7F56D9);
    margin-bottom: 8px;
}
.uc-bg-dark .uc-block-header .uc-label { color: rgba(255,255,255,.5); }

/* ===== INTRO (text + image side-by-side) ===== */
.uc-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.uc-intro-text h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: var(--color-text, #101828);
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.uc-intro-text h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #F43F5E, #D946EF, #7F56D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.uc-intro-text p {
    font-size: 16px;
    color: var(--color-text-light, #667085);
    line-height: 1.7;
    margin: 0 0 12px;
}
.uc-intro-img {
    border-radius: 16px;
    overflow: hidden;
    background: var(--color-surface, #f0f1f3);
    aspect-ratio: 4 / 3;
}
.uc-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.uc-intro-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light, #98A2B3);
    font-size: 14px;
    font-weight: 500;
}

/* ===== PAIN POINTS / CHALLENGES ===== */
.uc-pains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.uc-pain {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gray-200, #E5E7EB);
    padding: 28px 24px;
    text-align: center;
}
.uc-bg-dark .uc-pain {
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.08);
}
.uc-pain-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(244,63,94,.1), rgba(127,86,217,.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-accent, #F43F5E);
}
.uc-bg-dark .uc-pain-icon {
    background: rgba(255,255,255,.08);
    color: #FF6B81;
}
.uc-pain-icon svg { width: 24px; height: 24px; }
.uc-pain h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-text, #101828);
}
.uc-bg-dark .uc-pain h3 { color: #fff; }
.uc-pain p {
    font-size: 14px;
    color: var(--color-text-light, #667085);
    line-height: 1.5;
    margin: 0;
}
.uc-bg-dark .uc-pain p { color: rgba(255,255,255,.55); }

/* ===== FEATURES GRID ===== */
.uc-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.uc-feature {
    text-align: center;
}
.uc-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(127,86,217,.08), rgba(217,70,239,.08));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-primary, #7F56D9);
}
.uc-feature-icon svg { width: 26px; height: 26px; }
.uc-feature h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-text, #101828);
}
.uc-feature p {
    font-size: 14px;
    color: var(--color-text-light, #667085);
    line-height: 1.55;
    margin: 0;
}

/* ===== STEPS / HOW IT WORKS ===== */
.uc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    counter-reset: step;
}
.uc-step {
    text-align: center;
    position: relative;
}
.uc-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary, #7F56D9), #D946EF);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.uc-step h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-text, #101828);
}
.uc-bg-dark .uc-step h3 { color: #fff; }
.uc-step p {
    font-size: 14px;
    color: var(--color-text-light, #667085);
    line-height: 1.5;
    margin: 0;
}
.uc-bg-dark .uc-step p { color: rgba(255,255,255,.55); }

/* ===== STATS BAR ===== */
.uc-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.uc-stat-num {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    background: linear-gradient(135deg, #FF6B81, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 6px;
}
.uc-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,.55);
    font-weight: 500;
}

/* ===== GALLERY ===== */
.uc-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.uc-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface, #f0f1f3);
    aspect-ratio: 4 / 3;
}
.uc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.uc-gallery-item:hover img { transform: scale(1.04); }
.uc-gallery-item.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light, #98A2B3);
    font-size: 13px;
    font-weight: 500;
}

/* ===== PRODUCT RECO ===== */
.uc-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.uc-product {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gray-200, #E5E7EB);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.uc-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.uc-product-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(127,86,217,.08), rgba(217,70,239,.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--color-primary, #7F56D9);
}
.uc-product-icon svg { width: 28px; height: 28px; }
.uc-product h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}
.uc-product p {
    font-size: 13px;
    color: var(--color-text-light, #667085);
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}
.uc-product-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary, #7F56D9);
}

/* ===== TESTIMONIAL ===== */
.uc-testimonial {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
.uc-testimonial blockquote {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    margin: 0 0 20px;
    font-style: italic;
}
.uc-testimonial cite {
    font-style: normal;
    font-size: 14px;
    color: rgba(255,255,255,.5);
}

/* ===== HERO LABEL ===== */
.uc-hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 100px;
}

/* ===== QUICK JUMP PILLS ===== */
.uc-jump {
    background: #fff;
    border-bottom: 1px solid var(--gray-200, #E5E7EB);
    position: sticky;
    top: 72px;
    z-index: 50;
}
.uc-jump-inner {
    max-width: 1232px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.uc-jump-inner::-webkit-scrollbar { display: none; }
.uc-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--gray-200, #E5E7EB);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text, #344054);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.uc-jump-pill:hover {
    background: var(--color-primary-bg, #F5F0FF);
    border-color: var(--color-primary, #7F56D9);
    color: var(--color-primary, #7F56D9);
}
.uc-jump-pill svg { flex-shrink: 0; }

/* ===== VALUE PROPS ===== */
.uc-value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.uc-value-item {
    text-align: center;
    padding: 32px 24px;
}
.uc-value-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(127,86,217,.08), rgba(217,70,239,.06));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-primary, #7F56D9);
}
.uc-value-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text, #101828);
    margin: 0 0 8px;
}
.uc-value-item p {
    font-size: 14px;
    color: var(--color-text-light, #667085);
    line-height: 1.6;
    margin: 0;
}

/* ===== CATEGORY SECTIONS ===== */
.uc-cat-section { padding: 72px 0; }
.uc-cat-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.uc-cat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.uc-cat-info { flex: 1; min-width: 200px; }
.uc-cat-info h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text, #101828);
    margin: 0 0 4px;
    letter-spacing: -0.01em;
}
.uc-cat-info p {
    font-size: 15px;
    color: var(--color-text-light, #667085);
    margin: 0;
    line-height: 1.5;
}
.uc-cat-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary, #7F56D9);
    background: var(--color-primary-bg, #F5F0FF);
    padding: 4px 12px;
    border-radius: 100px;
    white-space: nowrap;
}

/* ===== CARD PLACEHOLDER ===== */
.uc-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== (Legacy index sections — kept for compatibility) ===== */
.uc-section { padding: 80px 0; }
.uc-section-inner { max-width: 1232px; margin: 0 auto; padding: 0 24px; }
.uc-section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary, #7F56D9);
    margin-bottom: 8px;
}
.uc-section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--color-text, #101828);
    margin: 0 0 40px;
    letter-spacing: -0.02em;
}
.uc-section-title em {
    font-style: normal;
    background: linear-gradient(135deg, #F43F5E, #D946EF, #7F56D9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.uc-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.uc-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--gray-200, #E5E7EB);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, box-shadow .2s;
}
.uc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.08);
}
.uc-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-surface, #f9fafb);
}
.uc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.uc-card:hover .uc-card-img img { transform: scale(1.04); }
.uc-card-body { padding: 20px 24px 24px; }
.uc-card-body h3 { font-size: 17px; font-weight: 700; color: var(--color-text, #101828); margin: 0 0 8px; }
.uc-card-body p { font-size: 14px; color: var(--color-text-light, #667085); line-height: 1.5; margin: 0 0 12px; }
.uc-card-link { font-size: 13px; font-weight: 600; color: var(--color-primary, #7F56D9); }
.uc-card:hover .uc-card-link { text-decoration: underline; }

/* ===== CTA ===== */
.uc-cta {
    background: linear-gradient(135deg, #050210 0%, #1a0a3d 100%);
    padding: 80px 0;
    text-align: center;
}
.uc-cta-inner { max-width: 560px; margin: 0 auto; padding: 0 24px; }
.uc-cta h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: #fff; margin: 0 0 12px; }
.uc-cta p { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.6; margin: 0 0 28px; }
.uc-cta-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #FF6B81, #FF8A65);
    text-decoration: none;
    transition: opacity .2s;
}
.uc-cta-btn:hover { opacity: .9; color: #fff; }

/* ===== INLINE CTA BUTTON (in content — inherits from .uc-cta-btn) ===== */
.uc-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-accent-light, #FF6B81), #FF8A65);
    text-decoration: none;
    transition: opacity .2s;
    margin-top: 8px;
}
.uc-btn:hover { opacity: .9; color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .uc-cards { grid-template-columns: repeat(2, 1fr); }
    .uc-hero-t { font-size: clamp(28px, 4.5vw, 40px); }
    .uc-intro { grid-template-columns: 1fr; gap: 32px; }
    .uc-pains { grid-template-columns: repeat(2, 1fr); }
    .uc-features { grid-template-columns: repeat(2, 1fr); }
    .uc-steps { grid-template-columns: repeat(2, 1fr); }
    .uc-stats { grid-template-columns: repeat(2, 1fr); }
    .uc-gallery { grid-template-columns: repeat(2, 1fr); }
    .uc-products { grid-template-columns: repeat(2, 1fr); }
    .uc-value-grid { grid-template-columns: repeat(2, 1fr); }
    .uc-jump { top: 56px; }
    .uc-cat-count { display: none; }
}
@media (max-width: 560px) {
    .uc-cards { grid-template-columns: 1fr; }
    .uc-hero, .uc-detail-hero { padding: 80px 20px 60px; }
    .uc-block { padding: 48px 0; }
    .uc-section { padding: 48px 0; }
    .uc-cat-section { padding: 48px 0; }
    .uc-cta { padding: 48px 0; }
    .uc-pains { grid-template-columns: 1fr; }
    .uc-features { grid-template-columns: 1fr; }
    .uc-steps { grid-template-columns: 1fr; }
    .uc-stats { grid-template-columns: repeat(2, 1fr); }
    .uc-gallery { grid-template-columns: 1fr; }
    .uc-products { grid-template-columns: 1fr; }
    .uc-value-grid { grid-template-columns: 1fr; }
    .uc-value-item { padding: 20px 16px; }
    .uc-cat-header { gap: 12px; }
    .uc-cat-info h2 { font-size: 20px; }
    .uc-jump { top: 56px; }
    .uc-jump-inner { padding: 10px 16px; gap: 6px; }
    .uc-jump-pill { font-size: 12px; padding: 5px 10px; }
}
