/* ==========================================================================
   Business application page-specific styles — Pulse Packaging
   Uses tokens from css/brand-v1.6.css. Coral accent throughout (Pulse).
   Class names use a generic ".app-" prefix so this file is the reusable
   template for all 24 business-application pages — copy, recolor
   (Indigo <-> Coral), and re-point content for the next application.
   ========================================================================== */

/* ---- Breadcrumb ---- */

/* Structural merge (2026-08-16, Track B): breadcrumb moved inside
   .da-hero--compact (see dataartha.css), so it shares one box and one
   continuous 135deg gradient with the hero — no separate background to
   keep in sync. Two prior attempts (flat navy-700, then a copied gradient
   on the separate box) both failed under computed math — see
   docs/known-issues.md for the full write-up. .da-hero--compact's
   padding-top now absorbs the fixed-nav clearance this rule used to
   provide alone; this rule's own margin-bottom preserves the prior visual
   gap before the H1 row. */
.app-breadcrumb {
    margin-bottom: 64px;
    font-size: 0.85rem;
}

.app-breadcrumb a {
    color: color-mix(in srgb, var(--da-white) 70%, transparent);
    text-decoration: none;
    font-weight: 500;
}

.app-breadcrumb a:hover {
    color: var(--da-white);
    text-decoration: underline;
}

.app-breadcrumb i {
    font-size: 0.65rem;
    margin: 0 0.5rem;
    color: color-mix(in srgb, var(--da-white) 70%, transparent);
    vertical-align: middle;
}

.app-breadcrumb span {
    color: var(--da-white);
    font-weight: 600;
}

/* ---- Hero ---- */

/* ---- Hero visual: browser-chrome card with a pallet-stacking mockup -----
   Rebuilt 2026-08-16, Track B hero-visual audit (Cluster B fix): replaces
   the generic directory-row shape with boxes stacking into a pallet —
   grounded in this page's real copy ("batch creation, product labelling,
   weight management, carton and pallet management, and dispatch
   readiness"). Concrete and literal — boxes becoming a pallet. */

.pkgv-fallback {
    position: absolute;
    inset: 0;
}

.pkgv-pallet {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    padding-bottom: 0.5rem;
}

.pkgv-pallet-row {
    display: flex;
    gap: 0.35rem;
}

.pkgv-box {
    width: 42px;
    height: 32px;
    border-radius: 4px;
    background: linear-gradient(135deg, #E8A87C 0%, var(--da-coral-700) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.pkgv-pallet-base {
    width: 110px;
    height: 10px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 0.25rem;
}

.pkgv-badge-top {
    top: -6%;
    right: 4%;
}

.pkgv-badge-top i {
    color: #E8A87C;
}

.pkgv-badge-bottom {
    bottom: -6%;
    left: 6%;
}

.pkgv-badge-bottom i {
    color: #3FBF6F;
}

/* ---- Shared section label / title pattern ---- */

/* ---- Overview ---- */

.app-intro {
    padding: 70px 0 20px;
    background: var(--da-white);
}

.app-intro-text {
    font-size: 1.05rem;
    color: var(--da-gray-500);
    line-height: 1.8;
    max-width: 820px;
    margin-bottom: 1.25rem;
}

.app-benefits-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.75rem;
}

/* ---- Key Features ---- */

.app-features {
    padding: 60px 0 70px;
    background: var(--da-gray-100);
}

/* ---- Business Value ---- */

.app-value {
    background: var(--da-navy-900);
    padding: 60px 0;
}

/* ---- Platform Integrations & Deployment ---- */

.app-foundation {
    padding: 70px 0;
    background: var(--da-white);
}

.app-foundation-text {
    font-size: 1rem;
    color: var(--da-gray-500);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.app-foundation-item {
    background: var(--da-gray-100);
    border: 1px solid var(--da-gray-300);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    height: 100%;
    transition: border-color 0.25s ease;
}

.app-foundation-item:hover {
    border-color: var(--da-coral-600);
}

.app-foundation-item i {
    font-size: 1.1rem;
    color: var(--da-coral-600);
    flex-shrink: 0;
}

.app-foundation-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--da-navy-900);
    line-height: 1.3;
}

/* ---- Target Industries & Users ---- */

.app-built-for {
    padding: 70px 0;
    background: var(--da-gray-100);
}

.app-tag-link {
    text-decoration: none;
}

/* ---- Why This Application ---- */

.app-why {
    padding: 70px 0;
    background: var(--da-white);
}

/* ---- Closing CTA band ---- */

.app-cta-band {
    background: var(--da-navy-700);
    padding: 60px 0;
}

.app-cta-content {
    text-align: center;
    color: var(--da-white);
}

/* ---- Responsive ---- */

@media (max-width: 991.98px) {

    .app-hero-title {
        font-size: 2rem;
    }

    .app-hero-visual {
        max-width: 380px;
        margin-top: 1rem;
    }

    .pkgv-badge {
        padding: 0.5rem 0.8rem;
    }

    .pkgv-badge-line {
        width: 44px;
    }

    .app-section-title {
        font-size: 1.55rem;
    }
}

@media (max-width: 575.98px) {
    .app-hero-title {
        font-size: 1.65rem;
    }

    .app-section-title {
        font-size: 1.4rem;
    }

    .app-feature-card {
        padding: 1.4rem;
    }

    .app-cta-title {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-feature-card,
    .app-value-item,
    .app-why-item,
    .app-tag,
    .app-deploy-chip,
    .app-btn-primary,
    .app-btn-secondary,
    .app-cta-actions a {
        transition: none;
    }

    .app-feature-card:hover,
    .app-value-item:hover,
    .app-why-item:hover,
    .app-deploy-chip:hover,
    .app-btn-primary:hover,
    .app-cta-actions a:hover {
        transform: none;
    }
}
