/**
 * OmniGrow marketing / platform site — modern layer (landing, pricing, features, workspaces, signup).
 * Loaded after platform-shell.css. Requires body.platform-ui-modern on layouts/platform.
 */

:root {
    --og-radius-sm: 10px;
    --og-radius-md: 14px;
    --og-radius-lg: 22px;
    --og-radius-xl: 28px;
    --og-shadow-nav: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
    --og-shadow-card: 0 12px 32px rgba(15, 23, 42, 0.08);
    --og-shadow-card-hover: 0 20px 48px rgba(15, 23, 42, 0.12);
    --og-space-xs: 0.5rem;
    --og-space-sm: 0.875rem;
    --og-space-md: 1.25rem;
    --og-space-lg: clamp(1.75rem, 4vw, 2.75rem);
    --og-space-xl: clamp(3rem, 7vw, 5rem);
    --og-space-section-y: clamp(3.5rem, 8vw, 5.5rem);
    --og-text-display-weight: 700;
    --og-text-lead-size: clamp(1.05rem, 2vw, 1.2rem);
}

@keyframes platform-surface-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(0, -6px, 0) scale(1.02);
    }
}

body.platform-ui-modern {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-optical-sizing: auto;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
}

body.platform-ui-modern .platform-nav {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--og-shadow-nav) !important;
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
    z-index: 1030;
}

body.platform-ui-modern .platform-nav .nav-link {
    border-radius: 999px !important;
    font-weight: 600;
    transform: none !important;
}

body.platform-ui-modern .platform-nav .nav-link:not(.dropdown-toggle)::after {
    display: none !important;
}

body.platform-ui-modern .platform-nav .nav-link:hover {
    background: rgba(15, 23, 42, 0.04);
    color: var(--og-text) !important;
}

body.platform-ui-modern .platform-nav .nav-link.active {
    background: rgba(13, 148, 136, 0.12);
    color: var(--og-primary) !important;
}

body.platform-ui-modern .platform-nav .btn-primary {
    border-radius: 999px !important;
    padding-inline: 1.15rem !important;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}

body.platform-ui-modern .platform-nav .nav-link.btn-primary {
    border-radius: 999px !important;
}

body.platform-ui-modern .platform-nav .btn-primary:hover {
    transform: translateY(-1px);
}

body.platform-ui-modern .platform-main {
    overflow-x: clip;
}

body.platform-ui-modern .hero-section {
    padding-top: clamp(4.5rem, 10vw, 6rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

body.platform-ui-modern .hero-section h1 {
    max-width: min(100%, 22ch);
    font-weight: 700;
}

@media (min-width: 992px) {
    body.platform-ui-modern .hero-section h1 {
        max-width: min(100%, 30ch);
    }
}

body.platform-ui-modern .hero-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: rgba(13, 148, 136, 0.12);
    color: var(--og-primary);
    border: 1px solid rgba(13, 148, 136, 0.2);
}

body.platform-ui-modern .hero-proof-item {
    border-radius: var(--og-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.65);
}

body.platform-ui-modern .hero-metric {
    border-radius: var(--og-radius-md);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.72);
}

body.platform-ui-modern .login-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: var(--og-shadow-card) !important;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

body.platform-ui-modern .login-card:hover {
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .login-input-group input {
    border-radius: var(--og-radius-sm) !important;
}

body.platform-ui-modern .cta-button {
    border-radius: 999px !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.platform-ui-modern .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(13, 148, 136, 0.4);
}

body.platform-ui-modern .hero-secondary-btn {
    border-radius: 999px !important;
    font-weight: 600;
    border-width: 1.5px !important;
}

body.platform-ui-modern .feature-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: var(--og-shadow-card) !important;
    padding: 1.75rem !important;
    height: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.platform-ui-modern .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .section-light,
body.platform-ui-modern .section-muted {
    border-radius: 0;
}

body.platform-ui-modern .section-kicker {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(13, 148, 136, 0.1);
    color: var(--og-primary);
}

body.platform-ui-modern .platform-footer {
    border-top: none;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
}

body.platform-ui-modern .platform-footer--slim {
    padding: 1rem 0 1.15rem;
    margin-top: clamp(2rem, 5vw, 3.25rem);
}

body.platform-ui-modern .platform-footer__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
}

body.platform-ui-modern .platform-footer__copy {
    color: #94a3b8;
    font-size: 0.8125rem;
    line-height: 1.4;
}

body.platform-ui-modern .platform-footer__legal {
    font-size: 0.8125rem;
    font-weight: 600;
}

body.platform-ui-modern .platform-footer a {
    transform: none;
}

body.platform-ui-modern .proof-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: var(--og-shadow-card) !important;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

body.platform-ui-modern .proof-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--og-shadow-card-hover) !important;
}

body.platform-ui-modern .proof-card img {
    border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}

body.platform-ui-modern .switch-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    padding: 1.15rem 1.2rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.platform-ui-modern .switch-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .industry-chip-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: var(--og-shadow-card) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.platform-ui-modern .industry-chip-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .pricing-mini-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: var(--og-shadow-card) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.platform-ui-modern .pricing-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .cta-section {
    border-radius: var(--og-radius-xl) var(--og-radius-xl) 0 0;
    margin-top: 0.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: none;
    box-shadow: 0 -20px 40px rgba(15, 23, 42, 0.04);
}

body.platform-ui-modern .proof-section,
body.platform-ui-modern .switch-section,
body.platform-ui-modern .industries-section,
body.platform-ui-modern .platform-pricing-strip {
    padding-top: var(--og-space-section-y);
    padding-bottom: var(--og-space-section-y);
}

body.platform-ui-modern .section-light {
    padding-top: var(--og-space-section-y);
    padding-bottom: var(--og-space-section-y);
}

body.platform-ui-modern .btn-primary:not(.nav-link) {
    border-radius: var(--og-radius-sm);
    font-weight: 600;
}

body.platform-ui-modern .form-control,
body.platform-ui-modern .form-select {
    border-radius: var(--og-radius-sm);
}

body.platform-ui-modern .card,
body.platform-ui-modern .pricing-card {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: var(--og-shadow-card) !important;
}

body.platform-ui-modern .table {
    border-radius: var(--og-radius-md);
    overflow: hidden;
}

body.platform-ui-modern .table thead th {
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--og-text-muted);
}

body.platform-ui-modern .platform-filter-panel {
    border-radius: var(--og-radius-lg) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    background: #fff !important;
    box-shadow: var(--og-shadow-card) !important;
}

/* ----- Phase 1: unified rhythm, hierarchy, softer chrome (not a Fresha clone) ----- */

body.platform-ui-modern .hero-section .lead {
    font-size: var(--og-text-lead-size);
    line-height: 1.65;
    max-width: 52ch;
}

body.platform-ui-modern .hero-section {
    border-bottom: none !important;
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.05);
}

body.platform-ui-modern .ui-gradient-surface {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(165deg, #f8fafc 0%, #fafafa 42%, #f1f5f9 100%);
}

body.platform-ui-modern .ui-gradient-surface::before {
    content: "";
    position: absolute;
    inset: -22%;
    z-index: -1;
    background:
        radial-gradient(ellipse 72% 55% at 14% 18%, rgba(13, 148, 136, 0.13), transparent 56%),
        radial-gradient(ellipse 58% 48% at 90% 78%, rgba(100, 116, 139, 0.09), transparent 52%);
    pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
    body.platform-ui-modern .ui-gradient-surface::before {
        animation: platform-surface-drift 18s ease-in-out infinite alternate;
    }
}

body.platform-ui-modern .hero-proof-item,
body.platform-ui-modern .hero-metric {
    border: none !important;
    box-shadow:
        0 6px 18px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.88);
}

body.platform-ui-modern .proof-section {
    border-top: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 55%, #f8fafc 100%);
}

body.platform-ui-modern .switch-section {
    border-top: none !important;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

body.platform-ui-modern .industries-section {
    border-top: none !important;
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%);
}

body.platform-ui-modern .section-light {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 48%, #f8fafc 100%);
    border-top: none !important;
    border-bottom: none !important;
}

body.platform-ui-modern .platform-nav__dropdown {
    --bs-dropdown-border-color: transparent;
    --bs-dropdown-border-radius: var(--og-radius-lg);
    padding: 0.45rem;
    margin-top: 0.6rem !important;
    min-width: 15.5rem;
    border: none !important;
    box-shadow: var(--og-shadow-card-hover);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.platform-ui-modern .platform-nav__dropdown .dropdown-item {
    border-radius: var(--og-radius-md);
    padding: 0;
    white-space: normal;
}

body.platform-ui-modern .platform-nav__dropdown-item {
    display: block;
    padding: 0.65rem 0.85rem !important;
    border-radius: var(--og-radius-md);
    transition: background 0.18s ease;
}

body.platform-ui-modern .platform-nav__dropdown-item:hover,
body.platform-ui-modern .platform-nav__dropdown-item:focus {
    background: rgba(13, 148, 136, 0.08) !important;
}

body.platform-ui-modern .platform-nav__dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--og-text);
    letter-spacing: -0.02em;
}

body.platform-ui-modern .platform-nav__dropdown-desc {
    display: block;
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--og-text-muted);
    margin-top: 0.15rem;
    line-height: 1.35;
}

body.platform-ui-modern .platform-nav__login {
    font-weight: 600 !important;
    color: var(--og-text-muted) !important;
    padding-inline: 0.95rem !important;
}

body.platform-ui-modern .platform-nav__login:hover,
body.platform-ui-modern .platform-nav__login:focus {
    color: var(--og-text) !important;
    background: rgba(15, 23, 42, 0.05) !important;
}

body.platform-ui-modern .platform-nav .dropdown-toggle::after {
    margin-inline-start: 0.35rem;
}

@media (max-width: 991.98px) {
    body.platform-ui-modern .platform-nav .navbar-collapse {
        margin-top: 0.65rem !important;
        border: none !important;
        border-radius: var(--og-radius-lg) !important;
        padding: 0.6rem 0.45rem 0.85rem !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 16px 44px rgba(15, 23, 42, 0.1) !important;
    }

    body.platform-ui-modern .platform-nav .navbar-nav .nav-link {
        margin-inline: 0.15rem;
    }
}

body.platform-ui-modern .platform-nav-mobile__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--og-text-muted);
    padding: 0.65rem 0.75rem 0.2rem;
    opacity: 0.85;
}

body.platform-ui-modern .platform-footer--slim {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
}

body.platform-ui-modern .platform-footer__sitemap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 1.15rem;
    margin-bottom: 1.1rem;
    padding-inline: 0.25rem;
}

body.platform-ui-modern .platform-footer__sitemap a {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.18s ease;
}

body.platform-ui-modern .platform-footer__sitemap a:hover {
    color: #e2e8f0;
}

body.platform-ui-modern .platform-login-modal .modal-content {
    overflow: hidden;
}

body.platform-ui-modern .platform-login-modal__content {
    border-radius: var(--og-radius-lg);
    box-shadow: var(--og-shadow-card-hover);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.platform-ui-modern .feature-card,
body.platform-ui-modern .card,
body.platform-ui-modern .pricing-card,
body.platform-ui-modern .proof-card,
body.platform-ui-modern .switch-card,
body.platform-ui-modern .industry-chip-card,
body.platform-ui-modern .pricing-mini-card,
body.platform-ui-modern .login-card {
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

body.platform-ui-modern .platform-page-hero {
    border-bottom: none !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
}

/* ---------- Phase 2: motion, glossy polish, continuous-flow refinements ---------- */

body.platform-ui-modern main.platform-main section {
    scroll-margin-top: 5.5rem;
}

body.platform-ui-modern .ui-reveal {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ui-reveal-delay, 0ms);
    will-change: opacity, transform;
}

body.platform-ui-modern .ui-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

body.platform-ui-modern .ui-reveal-stagger > * {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

body.platform-ui-modern .ui-reveal-stagger.is-visible > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(1) {
    transition-delay: 0.04s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(2) {
    transition-delay: 0.1s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(3) {
    transition-delay: 0.16s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(4) {
    transition-delay: 0.22s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(5) {
    transition-delay: 0.28s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(6) {
    transition-delay: 0.34s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(7) {
    transition-delay: 0.4s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(8) {
    transition-delay: 0.46s;
}
body.platform-ui-modern .ui-reveal-stagger.is-visible > *:nth-child(9) {
    transition-delay: 0.52s;
}

@media (prefers-reduced-motion: reduce) {
    body.platform-ui-modern .ui-reveal,
    body.platform-ui-modern .ui-reveal.is-visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    body.platform-ui-modern .ui-reveal-stagger > *,
    body.platform-ui-modern .ui-reveal-stagger.is-visible > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

body.platform-ui-modern .features-hero.ui-gradient-surface,
body.platform-ui-modern .pricing-hero.ui-gradient-surface {
    border-bottom: none !important;
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.05);
    background: linear-gradient(165deg, #f8fafc 0%, #fafafa 42%, #f1f5f9 100%) !important;
}

body.platform-ui-modern .tenant-login-page-hero {
    padding-block: clamp(3rem, 12vw, 5rem);
    min-height: min(72vh, 760px);
    display: flex;
    align-items: center;
}

body.platform-ui-modern .proof-strip {
    border: none !important;
    box-shadow:
        0 14px 36px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.94) !important;
}

body.platform-ui-modern .proof-strip img {
    border: none !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.platform-ui-modern .feature-block {
    border: none !important;
    box-shadow:
        0 12px 28px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.platform-ui-modern .feature-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .feature-block .kicker {
    border: none !important;
    background: rgba(13, 148, 136, 0.09);
    color: var(--og-primary);
}

body.platform-ui-modern .pricing-card {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.25s ease;
}

body.platform-ui-modern .pricing-card:hover {
    transform: translateY(-4px);
}

body.platform-ui-modern .dir-card {
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    border: none !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

body.platform-ui-modern .dir-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .platform-nav {
    transition: box-shadow 0.35s ease, background 0.35s ease;
}

body.platform-ui-modern .modal.fade .modal-dialog {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

body.platform-ui-modern .cta-button,
body.platform-ui-modern .hero-secondary-btn {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

body.platform-ui-modern .pricing-comparison table {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    border-radius: var(--og-radius-md);
    overflow: hidden;
}

body.platform-ui-modern .pricing-comparison .table thead th {
    border-bottom: none;
    background: rgba(248, 250, 252, 0.95);
}

/* ----- Humanized typography & inner-page hero motion ----- */

body.platform-ui-modern .platform-section-lead {
    max-width: 42rem;
    font-size: clamp(1.02rem, 2.2vw, 1.14rem);
    line-height: 1.65;
    letter-spacing: -0.01em;
}

body.platform-ui-modern .platform-hero-headline {
    letter-spacing: -0.035em;
    line-height: 1.15;
}

body.platform-ui-modern .platform-hero-note {
    font-size: 0.94rem;
    max-width: 36rem;
    line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
    body.platform-ui-modern .features-hero.ui-reveal.is-visible .platform-hero-inner > *,
    body.platform-ui-modern .pricing-hero.ui-reveal.is-visible .platform-hero-inner > *,
    body.platform-ui-modern .platform-page-hero.ui-reveal.is-visible .platform-hero-inner > * {
        animation: platform-hero-line-in 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    body.platform-ui-modern .features-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(1),
    body.platform-ui-modern .pricing-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(1),
    body.platform-ui-modern .platform-page-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(1) {
        animation-delay: 0.03s;
    }

    body.platform-ui-modern .features-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(2),
    body.platform-ui-modern .pricing-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(2),
    body.platform-ui-modern .platform-page-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(2) {
        animation-delay: 0.12s;
    }

    body.platform-ui-modern .pricing-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(3) {
        animation-delay: 0.18s;
    }

    body.platform-ui-modern .pricing-hero.ui-reveal.is-visible .platform-hero-inner > *:nth-child(4) {
        animation-delay: 0.26s;
    }
}

@keyframes platform-hero-line-in {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.platform-ui-modern .features-hero.ui-reveal .platform-hero-inner > *,
    body.platform-ui-modern .pricing-hero.ui-reveal .platform-hero-inner > *,
    body.platform-ui-modern .platform-page-hero.ui-reveal .platform-hero-inner > * {
        animation: none !important;
    }
}

/* Industry tiles with photography */

body.platform-ui-modern .industry-chip-card--rich {
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none !important;
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

body.platform-ui-modern .industry-chip-card--rich:hover {
    transform: translateY(-4px);
    box-shadow: var(--og-shadow-card-hover);
}

body.platform-ui-modern .industry-chip-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #e2e8f0 0%, #f8fafc 100%);
}

body.platform-ui-modern .industry-chip-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.platform-ui-modern .industry-chip-card--rich:hover .industry-chip-card__media img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    body.platform-ui-modern .industry-chip-card--rich:hover .industry-chip-card__media img {
        transform: none;
    }
}

body.platform-ui-modern .industry-chip-card__body {
    padding: 1.1rem 1.2rem 1.25rem;
}

body.platform-ui-modern .industry-chip-card__title {
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

body.platform-ui-modern .industry-chip-card__body p {
    font-size: 0.92rem;
    line-height: 1.45;
}
