/* Workforce OS marketing welcome page — decorative & layout rules not covered by Bootstrap/theme.css utilities. */

/* Charcoal & Coral theme — scoped to this page only (custom-welcome.css is
   pushed exclusively by welcome.blade.php, loading after theme.css, so this
   :root override wins here without touching the admin app's theme colors). */
:root {
    --p-50: 250 250 250;
    --p-100: 244 244 245;
    --p-200: 228 228 231;
    --p-300: 212 212 216;
    --p-400: 161 161 170;
    --p-500: 82 82 91;
    --p-600: 28 28 30;
    --p-700: 9 9 11;
    --p-800: 5 5 6;
    --p-900: 0 0 0;
    --p-hex: #1c1c1e;

    --accent-50: 253 237 234;
    --accent-100: 250 216 209;
    --accent-200: 245 178 165;
    --accent-300: 240 141 122;
    --accent-400: 236 112 90;
    --accent-500: 232 84 62;
    --accent-600: 209 61 40;
    --accent-700: 176 45 28;
    --accent-hex: #e8543e;
}

.ui-page-stack {
    width: 100%;
}

.ui-navbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgb(255 255 255 / 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--surface-border, #e2e8f0);
}

.ui-navbar .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

html.dark .ui-navbar {
    background: rgb(15 23 42 / 0.85);
}

.ui-text-secondary {
    color: var(--text-secondary, #64748b);
}

.ui-section-alt {
    background: var(--surface-bg, #fff);
}

html.dark .border-slate-200 {
    border-color: var(--slate-700) !important;
}

.ui-logo-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(var(--p-600)), rgb(var(--p-400)));
    color: #fff;
    flex-shrink: 0;
}

.ui-hero {
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.ui-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(60% 50% at 15% 0%, rgb(var(--accent-100) / 0.5), transparent 70%),
        radial-gradient(50% 40% at 100% 20%, rgb(var(--p-200) / 0.4), transparent 70%);
    pointer-events: none;
}

html.dark .ui-hero-glow {
    background:
        radial-gradient(60% 50% at 15% 0%, rgb(var(--accent-700) / 0.25), transparent 70%),
        radial-gradient(50% 40% at 100% 20%, rgb(var(--p-700) / 0.3), transparent 70%);
}

.ui-hero-content {
    position: relative;
    z-index: 1;
}

.ui-eyebrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    background: rgb(var(--accent-50));
    border: 1px solid rgb(var(--accent-200));
    color: rgb(var(--accent-700));
    font-size: 0.8125rem;
    font-weight: 600;
}

html.dark .ui-eyebrow-pill {
    background: rgb(var(--accent-900, 60 20 14) / 0.4);
    border-color: rgb(var(--accent-700));
    color: rgb(var(--accent-300));
}

.ui-industry-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--surface-bg, #fff);
    border: 1px solid var(--surface-border, #e2e8f0);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #475569);
    white-space: nowrap;
}

.ui-feature-card {
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .ui-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px -8px rgb(0 0 0 / 0.12);
    }
}

.ui-step-item {
    position: relative;
}

.ui-step-connector {
    display: none;
}

@media (min-width: 992px) {
    .ui-step-connector {
        display: block;
        position: absolute;
        top: 28px;
        left: calc(100% - 8px);
        width: calc(100% - 40px);
        border-top: 2px dashed var(--surface-border, #e2e8f0);
    }
}

.ui-cta-banner {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgb(var(--p-700)), rgb(var(--p-500)));
    color: #fff;
}

.ui-cta-banner .btn-light {
    color: rgb(var(--p-700));
    font-weight: 600;
}

.ui-fade-up {
    opacity: 0;
    transform: translateY(12px);
}

@media (prefers-reduced-motion: no-preference) {
    .ui-fade-up {
        animation: ui-fade-up-in 0.6s ease-out forwards;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ui-fade-up {
        opacity: 1;
        transform: none;
    }
}

@keyframes ui-fade-up-in {
    to {
        opacity: 1;
        transform: none;
    }
}
