/* =========================================================
   PURPOSE:
   Global styling for the Vixly.PublicPortal project.

   RESPONSIBILITIES:
   - Define the public-facing visual foundation
   - Style the portal shell (topbar, footer, content area)
   - Style onboarding pages and cards
   - Preserve Blazor validation/error defaults where useful
   - Keep the look clean, modern, and separate from Control Plane

   IMPORTANT NOTES:
   - This stylesheet belongs to Vixly.PublicPortal
   - Do NOT mix Control Plane visual language into this file
   - Keep styling light, customer-facing, and uncluttered
   ========================================================= */

/* =========================================================
   ROOT TOKENS
   ========================================================= */
:root {
    --pp-bg: #f8fafc;
    --pp-surface: #ffffff;
    --pp-surface-muted: #f1f5f9;
    --pp-border: #e2e8f0;
    --pp-text: #0f172a;
    --pp-text-soft: #64748b;
    --pp-primary: #2563eb;
    --pp-primary-hover: #1d4ed8;
    --pp-accent: #0ea5e9;
    --pp-success: #16a34a;
    --pp-danger: #dc2626;
    --pp-warning-bg: #b32121;
    --pp-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --pp-shadow-md: 0 16px 40px rgba(15, 23, 42, 0.08);
    --pp-radius-sm: 10px;
    --pp-radius-md: 16px;
    --pp-radius-lg: 22px;
    --pp-container: 1180px;
}

/* =========================================================
   GLOBAL RESET / BASE
   ========================================================= */
html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: var(--pp-bg);
    color: var(--pp-text);
    font-family: "Segoe UI", Inter, Arial, sans-serif;
}

body {
    line-height: 1.5;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    color: var(--pp-primary);
    text-decoration: none;
}

    a:hover {
        color: var(--pp-primary-hover);
    }

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

    h1:focus {
        outline: none;
    }

/* =========================================================
   LAYOUT
   ========================================================= */
.pp-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.pp-container {
    width: 100%;
    max-width: var(--pp-container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.pp-content {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 48px;
}

/* =========================================================
   TOPBAR
   ========================================================= */
.pp-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--pp-border);
}

    .pp-topbar .pp-container {
        min-height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

.pp-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pp-text);
}

    .pp-brand:hover {
        color: var(--pp-text);
    }

.pp-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .pp-nav a {
        color: var(--pp-text-soft);
        font-weight: 600;
    }

        .pp-nav a:hover {
            color: var(--pp-text);
        }

/* =========================================================
   FOOTER
   ========================================================= */
.pp-footer {
    border-top: 1px solid var(--pp-border);
    background: #ffffff;
    color: var(--pp-text-soft);
}

    .pp-footer .pp-container {
        padding-top: 22px;
        padding-bottom: 22px;
        font-size: 0.95rem;
    }

/* =========================================================
   PAGE STRUCTURE
   ========================================================= */
.pp-page {
    padding-top: 16px;
    padding-bottom: 16px;
}

.pp-page__header {
    margin-bottom: 28px;
}

.pp-page__title {
    margin-bottom: 8px;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pp-text);
}

.pp-page__subtitle {
    max-width: 760px;
    color: var(--pp-text-soft);
    font-size: 1rem;
}

/* =========================================================
   HERO
   ========================================================= */
.pp-hero {
    padding: 88px 0 72px;
}

.pp-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.pp-hero__headline {
    font-size: 3.25rem;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}

.pp-hero__copy {
    max-width: 720px;
    font-size: 1.08rem;
    color: var(--pp-text-soft);
    margin-bottom: 28px;
}

.pp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pp-hero__panel {
    background: linear-gradient(135deg, #ffffff, #eef4ff);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    box-shadow: var(--pp-shadow-md);
    padding: 28px;
}

    .pp-hero__panel h3 {
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    .pp-hero__panel p {
        color: var(--pp-text-soft);
        margin-bottom: 0;
    }

/* =========================================================
   BUTTONS
   ========================================================= */
.pp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: var(--pp-primary);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: var(--pp-shadow-sm);
}

    .pp-btn:hover {
        background: var(--pp-primary-hover);
        color: #ffffff;
        transform: translateY(-1px);
    }

.pp-btn--secondary {
    background: #ffffff;
    color: var(--pp-text);
    border-color: var(--pp-border);
    box-shadow: none;
}

    .pp-btn--secondary:hover {
        background: var(--pp-surface-muted);
        color: var(--pp-text);
    }

.pp-btn--full {
    width: 100%;
}

/* =========================================================
   CARDS / PANELS
   ========================================================= */
.pp-card {
    background: var(--pp-surface);
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-md);
    box-shadow: var(--pp-shadow-sm);
    padding: 24px;
}

.pp-card--muted {
    background: var(--pp-surface-muted);
}

.pp-card__title {
    margin-bottom: 8px;
    font-size: 1.15rem;
    font-weight: 700;
}

.pp-card__text {
    color: var(--pp-text-soft);
}

.pp-panel-stack {
    display: grid;
    gap: 20px;
}

/* =========================================================
   GRID HELPERS
   ========================================================= */
.pp-grid {
    display: grid;
    gap: 20px;
}

.pp-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pp-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================================================
   PLAN CARDS
   ========================================================= */
.pp-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.pp-plan-card {
    background: #ffffff;
    border: 1px solid var(--pp-border);
    border-radius: var(--pp-radius-lg);
    box-shadow: var(--pp-shadow-sm);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pp-plan-card__name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.pp-plan-card__description {
    color: var(--pp-text-soft);
    min-height: 48px;
}

.pp-plan-card__price-block {
    padding: 16px;
    background: var(--pp-surface-muted);
    border-radius: var(--pp-radius-md);
    border: 1px solid var(--pp-border);
}

.pp-plan-card__price-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
}

.pp-plan-card__price-label {
    color: var(--pp-text-soft);
    font-weight: 600;
}

.pp-plan-card__price-value {
    font-weight: 800;
    color: var(--pp-text);
}

.pp-plan-card__limits {
    display: grid;
    gap: 8px;
}

.pp-plan-card__limit {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--pp-text-soft);
}

/* =========================================================
   FORMS
   ========================================================= */
.pp-form {
    display: grid;
    gap: 18px;
}

.pp-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pp-form__group {
    display: grid;
    gap: 8px;
}

.pp-form__label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pp-text);
}

.pp-input,
.pp-select,
.pp-textarea {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    color: var(--pp-text);
    font: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pp-textarea {
    min-height: 110px;
    resize: vertical;
}

    .pp-input:focus,
    .pp-select:focus,
    .pp-textarea:focus {
        outline: none;
        border-color: #93c5fd;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    }

.pp-form__help {
    font-size: 0.9rem;
    color: var(--pp-text-soft);
}

/* =========================================================
   INFORMATION STRIPS / STATUS
   ========================================================= */
.pp-alert {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-size: 0.95rem;
}

.pp-alert--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.pp-alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.pp-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* =========================================================
   INVOICE SUMMARY
   ========================================================= */
.pp-invoice-summary {
    display: grid;
    gap: 14px;
}

.pp-invoice-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--pp-border);
}

    .pp-invoice-summary__row:last-child {
        border-bottom: none;
    }

.pp-invoice-summary__label {
    color: var(--pp-text-soft);
    font-weight: 600;
}

.pp-invoice-summary__value {
    font-weight: 700;
    color: var(--pp-text);
}

.pp-invoice-summary__value--total {
    font-size: 1.15rem;
}

/* =========================================================
   EMPTY / LOADING STATES
   ========================================================= */
.pp-empty,
.pp-loading {
    padding: 32px 24px;
    text-align: center;
    color: var(--pp-text-soft);
}

/* =========================================================
   BLAZOR VALIDATION / ERROR DEFAULTS
   ========================================================= */
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: 0.9rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, var(--pp-warning-bg);
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
    border-radius: 14px;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .pp-hero__grid,
    .pp-plan-grid,
    .pp-grid--3 {
        grid-template-columns: 1fr;
    }

    .pp-grid--2,
    .pp-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pp-topbar .pp-container {
        min-height: auto;
        padding-top: 16px;
        padding-bottom: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .pp-nav {
        flex-wrap: wrap;
    }

    .pp-content {
        padding-top: 28px;
        padding-bottom: 36px;
    }

    .pp-page__title,
    .pp-hero__headline {
        font-size: 2.2rem;
    }

    .pp-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .pp-alert--spaced {
        margin-top: 16px;
    }

    .pp-btn--spaced {
        margin-top: 16px;
    }
}
/* =========================================================
   VIXLY MODERN HOMEPAGE
   PURPOSE:
   Enterprise-grade homepage styling for Vixly.PublicPortal

   RESPONSIBILITIES:
   - Hero visual experience
   - Modern SaaS presentation
   - Logistics-themed UI panels
   - Feature layouts
   - Enterprise positioning sections
   - CTA presentation
   - Responsive homepage behavior

   IMPORTANT NOTES:
   - Extend-only styling update
   - Does NOT alter existing onboarding pages
   - Scoped to homepage-specific class names
   ========================================================= */

/* =========================================================
   HOMEPAGE FOUNDATION
   ========================================================= */
.pp-home-page {
    overflow: hidden;
}

.pp-section {
    position: relative;
    padding: 96px 0;
}

.pp-section--muted {
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 30%), linear-gradient(to bottom, #ffffff, #f8fbff);
}

.pp-section--dark {
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.18), transparent 30%), linear-gradient(135deg, #081120, #0f172a);
    color: #ffffff;
}

.pp-section-header {
    margin-bottom: 54px;
    max-width: 760px;
}

.pp-section-header--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.pp-section-header--light h2,
.pp-section-header--light p {
    color: #ffffff;
}

.pp-section-header h2 {
    margin-bottom: 18px;
    font-size: 2.7rem;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.pp-section-header p {
    color: var(--pp-text-soft);
    font-size: 1.05rem;
}

/* =========================================================
   EYEBROW
   ========================================================= */
.pp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--pp-primary);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   HERO
   ========================================================= */
.pp-home-hero {
    position: relative;
    padding-top: 110px;
    padding-bottom: 110px;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 28%), radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.10), transparent 26%), linear-gradient(to bottom, #ffffff, #f8fbff);
}

    .pp-home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
        background-size: 42px 42px;
        pointer-events: none;
    }

.pp-home-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.pp-home-hero__headline {
    margin-bottom: 24px;
    font-size: 4.5rem;
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 900;
    max-width: 780px;
}

.pp-home-hero__copy {
    max-width: 720px;
    margin-bottom: 34px;
    font-size: 1.18rem;
    line-height: 1.8;
    color: var(--pp-text-soft);
}

.pp-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 34px;
}

.pp-home-hero__trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .pp-home-hero__trust-row span {
        padding: 10px 14px;
        border: 1px solid rgba(148, 163, 184, 0.24);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.85);
        color: var(--pp-text-soft);
        font-size: 0.9rem;
        font-weight: 700;
        backdrop-filter: blur(12px);
    }

/* =========================================================
   HERO VISUALS
   ========================================================= */
.pp-home-hero__visual {
    position: relative;
    min-height: 620px;
}

.pp-visual-card {
    border: 1px solid rgba(226, 232, 240, 0.7);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(24px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10), inset 0 1px 0 rgba(255,255,255,0.65);
}

.pp-visual-card--main {
    position: relative;
    z-index: 2;
    padding: 30px;
}

.pp-visual-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 38px;
}

    .pp-visual-card__top strong {
        display: block;
        margin-top: 6px;
        font-size: 1.3rem;
    }

.pp-visual-label {
    color: var(--pp-text-soft);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pp-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
}

.pp-status-pill--active {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

/* =========================================================
   ROUTE MAP
   ========================================================= */
.pp-route-map {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 42px;
}

.pp-route-line {
    flex: 1;
    max-width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--pp-primary), var(--pp-accent));
    border-radius: 999px;
}

.pp-route-node {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.20);
}

.pp-route-node--origin {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.pp-route-node--mid {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.pp-route-node--destination {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* =========================================================
   METRIC GRID
   ========================================================= */
.pp-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pp-metric-card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

    .pp-metric-card span {
        display: block;
        margin-bottom: 10px;
        color: var(--pp-text-soft);
        font-size: 0.9rem;
        font-weight: 700;
    }

    .pp-metric-card strong {
        font-size: 1.8rem;
        letter-spacing: -0.03em;
    }

/* =========================================================
   FLOATING CARDS
   ========================================================= */
.pp-visual-card--floating {
    position: absolute;
    z-index: 3;
    padding: 20px;
    min-width: 240px;
}

    .pp-visual-card--floating strong {
        display: block;
        margin: 10px 0 6px;
        font-size: 1rem;
    }

    .pp-visual-card--floating small {
        color: var(--pp-text-soft);
    }

.pp-visual-card--scan {
    top: 40px;
    right: -30px;
}

.pp-visual-card--invoice {
    bottom: 34px;
    left: -24px;
}

/* =========================================================
   FEATURE GRID
   ========================================================= */
.pp-feature-grid {
    gap: 24px;
}

.pp-feature-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

    .pp-feature-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(37,99,235,0.02), transparent 60%);
        pointer-events: none;
    }

    .pp-feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.22);
        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
    }

.pp-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--pp-primary), var(--pp-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 900;
}

/* =========================================================
   SPLIT SECTION
   ========================================================= */
.pp-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

    .pp-split-section h2 {
        margin-bottom: 22px;
        font-size: 3rem;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .pp-split-section p {
        margin-bottom: 28px;
        color: var(--pp-text-soft);
        line-height: 1.8;
    }

/* =========================================================
   CHECKLIST
   ========================================================= */
.pp-check-list {
    display: grid;
    gap: 14px;
}

    .pp-check-list div {
        position: relative;
        padding-left: 34px;
        font-weight: 600;
    }

        .pp-check-list div::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--pp-success);
            font-weight: 900;
        }

/* =========================================================
   OPERATIONS PANEL
   ========================================================= */
.pp-operations-panel {
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.pp-operations-panel__header {
    margin-bottom: 28px;
}

    .pp-operations-panel__header span {
        display: block;
        margin-bottom: 8px;
        color: var(--pp-text-soft);
        font-size: 0.85rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pp-operations-panel__header strong {
        font-size: 1.5rem;
    }

.pp-workflow-list {
    display: grid;
    gap: 16px;
}

.pp-workflow-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 18px;
    background: rgba(248,250,252,0.85);
}

    .pp-workflow-item span {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--pp-primary), var(--pp-accent));
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        font-weight: 900;
        flex-shrink: 0;
    }

    .pp-workflow-item strong {
        display: block;
        margin-bottom: 4px;
    }

    .pp-workflow-item small {
        color: var(--pp-text-soft);
    }

/* =========================================================
   INDUSTRIES
   ========================================================= */
.pp-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pp-industry-grid {
    gap: 24px;
}

.pp-industry-card {
    padding: 30px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease;
}

    .pp-industry-card:hover {
        transform: translateY(-4px);
    }

    .pp-industry-card h3 {
        margin-bottom: 14px;
        font-size: 1.25rem;
    }

    .pp-industry-card p {
        color: var(--pp-text-soft);
    }

/* =========================================================
   VALUE CARDS
   ========================================================= */
.pp-value-grid {
    gap: 24px;
}

.pp-value-card {
    padding: 30px;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
}

    .pp-value-card h3 {
        margin-bottom: 14px;
        font-size: 1.25rem;
        color: #ffffff;
    }

    .pp-value-card p {
        color: rgba(255,255,255,0.78);
    }

/* =========================================================
   FINAL CTA
   ========================================================= */
.pp-final-cta-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.pp-final-cta {
    position: relative;
    overflow: hidden;
    padding: 64px;
    border-radius: 36px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.20), transparent 30%), linear-gradient(135deg, #0f172a, #111827);
    color: #ffffff;
    text-align: center;
}

    .pp-final-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
        background-size: 40px 40px;
        pointer-events: none;
    }

    .pp-final-cta > * {
        position: relative;
        z-index: 2;
    }

    .pp-final-cta h2 {
        margin-bottom: 22px;
        font-size: 3.3rem;
        line-height: 1.02;
        letter-spacing: -0.05em;
    }

    .pp-final-cta p {
        max-width: 820px;
        margin: 0 auto 34px;
        color: rgba(255,255,255,0.78);
        font-size: 1.08rem;
        line-height: 1.8;
    }

.pp-final-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1280px) {

    .pp-home-hero__headline {
        font-size: 4rem;
    }

    .pp-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {

    .pp-home-hero__grid,
    .pp-split-section {
        grid-template-columns: 1fr;
    }

    .pp-home-hero__visual {
        min-height: auto;
    }

    .pp-visual-card--scan,
    .pp-visual-card--invoice {
        position: relative;
        inset: auto;
        margin-top: 20px;
    }

    .pp-final-cta {
        padding: 48px 34px;
    }

        .pp-section-header h2,
        .pp-split-section h2,
        .pp-final-cta h2 {
            font-size: 2.5rem;
        }
}

@media (max-width: 768px) {

    .pp-section {
        padding: 72px 0;
    }

    .pp-home-hero {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    .pp-home-hero__headline {
        font-size: 3rem;
    }

    .pp-home-hero__copy {
        font-size: 1.02rem;
    }

    .pp-metric-grid,
    .pp-grid--4 {
        grid-template-columns: 1fr;
    }

    .pp-final-cta h2,
    .pp-section-header h2,
    .pp-split-section h2 {
        font-size: 2.1rem;
    }

    .pp-final-cta {
        padding: 42px 24px;
    }

    .pp-home-hero__trust-row {
        gap: 10px;
    }

        .pp-home-hero__trust-row span {
            width: 100%;
            justify-content: center;
            text-align: center;
        }
}

/* =========================================================
   PUBLIC LAYOUT SPACING ADJUSTMENT
   PURPOSE:
   Allows full-width marketing pages to control their own spacing.

   RESPONSIBILITIES:
   - Remove default content padding only when rendering modern
     public marketing pages
   - Preserve the existing layout component
   - Avoid breaking onboarding, plans, invoice, and verification pages

   IMPORTANT NOTES:
   - This does not modify PublicLayout.razor
   - This only affects pages that use .pp-home-page
   ========================================================= */

.pp-content:has(.pp-home-page) {
    padding-top: 0;
    padding-bottom: 0;
}

/* =========================================================
   PLATFORM PAGE
   PURPOSE:
   Styling for the public Vixly platform overview page.

   RESPONSIBILITIES:
   - Style page hero
   - Style connected workflow flow
   - Style platform architecture card
   - Preserve marketing page spacing

   IMPORTANT NOTES:
   - New styles only
   - Safe for existing pages
   ========================================================= */

.pp-marketing-page {
    overflow: hidden;
}

.pp-content:has(.pp-marketing-page) {
    padding-top: 0;
    padding-bottom: 0;
}

.pp-page-hero {
    position: relative;
    padding: 110px 0 96px;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 28%), radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.10), transparent 26%), linear-gradient(to bottom, #ffffff, #f8fbff);
}

    .pp-page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
        background-size: 42px 42px;
        pointer-events: none;
    }

.pp-page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 860px;
}

    .pp-page-hero__content h1 {
        margin-bottom: 24px;
        font-size: 4.2rem;
        line-height: 0.98;
        letter-spacing: -0.055em;
        font-weight: 900;
    }

    .pp-page-hero__content p {
        max-width: 760px;
        margin-bottom: 34px;
        color: var(--pp-text-soft);
        font-size: 1.15rem;
        line-height: 1.8;
    }

.pp-platform-flow {
    display: grid;
    gap: 20px;
}

.pp-platform-flow__item {
    position: relative;
    display: grid;
    grid-template-columns: 76px 0.8fr 1.2fr;
    gap: 24px;
    align-items: center;
    padding: 28px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 14px 36px rgba(15,23,42,0.05);
}

    .pp-platform-flow__item span {
        width: 56px;
        height: 56px;
        border-radius: 18px;
        background: linear-gradient(135deg, var(--pp-primary), var(--pp-accent));
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
    }

    .pp-platform-flow__item h3 {
        margin-bottom: 0;
        font-size: 1.25rem;
    }

    .pp-platform-flow__item p {
        margin-bottom: 0;
        color: var(--pp-text-soft);
        line-height: 1.7;
    }

.pp-platform-stack-card {
    display: grid;
    gap: 18px;
    padding: 32px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.14), transparent 32%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 22px 54px rgba(15,23,42,0.08);
}

.pp-platform-stack-card__layer {
    padding: 22px;
    border-radius: 20px;
    background: rgba(248,250,252,0.86);
    border: 1px solid rgba(226,232,240,0.88);
}

    .pp-platform-stack-card__layer span {
        display: block;
        margin-bottom: 8px;
        color: var(--pp-primary);
        font-size: 0.8rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pp-platform-stack-card__layer strong {
        display: block;
        color: var(--pp-text);
        line-height: 1.5;
    }

/* =========================================================
   RESPONSIVE PLATFORM PAGE
   ========================================================= */
@media (max-width: 1024px) {

    .pp-platform-flow__item {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pp-page-hero__content h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {

    .pp-page-hero {
        padding: 76px 0 72px;
    }

    .pp-page-hero__content h1 {
        font-size: 2.55rem;
    }

    .pp-page-hero__content p {
        font-size: 1rem;
    }
}

/* =========================================================
   FEATURES PAGE
   PURPOSE:
   Styling for the public Vixly features page.

   RESPONSIBILITIES:
   - Style feature scan visual
   - Style barcode mockup
   - Preserve existing marketing page styling

   IMPORTANT NOTES:
   - New styles only
   - Safe for existing pages
   ========================================================= */

.pp-feature-scan-card {
    position: relative;
    padding: 34px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.14), transparent 32%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 22px 54px rgba(15,23,42,0.08);
}

.pp-feature-scan-card__header {
    margin-bottom: 32px;
}

    .pp-feature-scan-card__header span {
        display: block;
        margin-bottom: 8px;
        color: var(--pp-text-soft);
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pp-feature-scan-card__header strong {
        font-size: 1.5rem;
    }

.pp-feature-barcode {
    height: 110px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.92);
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 7px;
}

    .pp-feature-barcode span {
        display: block;
        width: 8px;
        border-radius: 999px;
        background: #0f172a;
    }

        .pp-feature-barcode span:nth-child(2) {
            width: 14px;
        }

        .pp-feature-barcode span:nth-child(3) {
            width: 5px;
        }

        .pp-feature-barcode span:nth-child(5) {
            width: 18px;
        }

        .pp-feature-barcode span:nth-child(7) {
            width: 12px;
        }

        .pp-feature-barcode span:nth-child(9) {
            width: 16px;
        }

.pp-feature-scan-card__details {
    display: grid;
    gap: 14px;
}

    .pp-feature-scan-card__details div {
        padding: 18px;
        border-radius: 18px;
        background: rgba(248,250,252,0.86);
        border: 1px solid rgba(226,232,240,0.88);
    }

    .pp-feature-scan-card__details span {
        display: block;
        margin-bottom: 6px;
        color: var(--pp-text-soft);
        font-size: 0.82rem;
        font-weight: 800;
    }

    .pp-feature-scan-card__details strong {
        display: block;
        color: var(--pp-text);
    }

/* =========================================================
   INDUSTRIES PAGE
   PURPOSE:
   Styling for the public Vixly industries page.

   RESPONSIBILITIES:
   - Style industry cards
   - Style operational network visual
   - Preserve existing marketing page styling

   IMPORTANT NOTES:
   - New styles only
   - Safe for existing pages
   ========================================================= */

.pp-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pp-industry-detail-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: 26px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 14px 36px rgba(15,23,42,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .pp-industry-detail-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(14,165,233,0.08), transparent 34%);
        pointer-events: none;
    }

    .pp-industry-detail-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 50px rgba(15,23,42,0.08);
    }

.pp-industry-detail-card__icon {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--pp-primary), var(--pp-accent));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.pp-industry-detail-card h3,
.pp-industry-detail-card p,
.pp-industry-detail-card ul {
    position: relative;
    z-index: 2;
}

.pp-industry-detail-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.pp-industry-detail-card p {
    color: var(--pp-text-soft);
    line-height: 1.75;
}

.pp-industry-detail-card ul {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.pp-industry-detail-card li {
    position: relative;
    padding-left: 26px;
    color: var(--pp-text);
    font-weight: 700;
    font-size: 0.95rem;
}

    .pp-industry-detail-card li::before {
        content: "•";
        position: absolute;
        left: 0;
        color: var(--pp-primary);
        font-weight: 900;
    }

/* =========================================================
   INDUSTRY VISUAL CARD
   ========================================================= */
.pp-industry-visual-card {
    padding: 34px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.14), transparent 32%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 22px 54px rgba(15,23,42,0.08);
}

.pp-industry-visual-card__header {
    margin-bottom: 34px;
}

    .pp-industry-visual-card__header span {
        display: block;
        margin-bottom: 8px;
        color: var(--pp-text-soft);
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pp-industry-visual-card__header strong {
        display: block;
        max-width: 420px;
        font-size: 1.55rem;
        line-height: 1.35;
    }

.pp-industry-network {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.pp-industry-network__node {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: #f1f5f9;
    border: 1px solid rgba(226,232,240,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pp-text);
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(15,23,42,0.06);
}

.pp-industry-network__node--primary {
    background: linear-gradient(135deg, var(--pp-primary), var(--pp-accent));
    color: #ffffff;
    border-color: transparent;
}

.pp-industry-network__line {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, var(--pp-primary), var(--pp-accent));
    opacity: 0.72;
}

.pp-industry-visual-card__stats {
    display: grid;
    gap: 14px;
}

    .pp-industry-visual-card__stats div {
        padding: 18px;
        border-radius: 18px;
        background: rgba(248,250,252,0.86);
        border: 1px solid rgba(226,232,240,0.88);
    }

    .pp-industry-visual-card__stats span {
        display: block;
        margin-bottom: 6px;
        color: var(--pp-text-soft);
        font-size: 0.82rem;
        font-weight: 800;
    }

    .pp-industry-visual-card__stats strong {
        color: var(--pp-text);
    }

/* =========================================================
   RESPONSIVE INDUSTRIES PAGE
   ========================================================= */
@media (max-width: 1024px) {

    .pp-industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .pp-industries-grid {
        grid-template-columns: 1fr;
    }

    .pp-industry-network {
        flex-wrap: wrap;
        gap: 12px;
    }

    .pp-industry-network__line {
        display: none;
    }
}

/* =========================================================
   ABOUT PAGE
   PURPOSE:
   Styling for the public Vixly About page.

   RESPONSIBILITIES:
   - Style story section
   - Preserve modern marketing page layout
   - Maintain enterprise-grade visual consistency

   IMPORTANT NOTES:
   - New styles only
   - Safe for existing pages
   ========================================================= */

.pp-about-story {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: start;
}

    .pp-about-story h2 {
        margin-bottom: 0;
        font-size: 3rem;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

.pp-about-story__copy {
    display: grid;
    gap: 22px;
}

    .pp-about-story__copy p {
        margin-bottom: 0;
        color: var(--pp-text-soft);
        font-size: 1.08rem;
        line-height: 1.9;
    }

/* =========================================================
   RESPONSIVE ABOUT PAGE
   ========================================================= */
@media (max-width: 1024px) {

    .pp-about-story {
        grid-template-columns: 1fr;
        gap: 28px;
    }

        .pp-about-story h2 {
            font-size: 2.5rem;
        }
}

@media (max-width: 768px) {

    .pp-about-story h2 {
        font-size: 2.1rem;
    }

    .pp-about-story__copy p {
        font-size: 1rem;
    }
}

/* =========================================================
   CONTACT PAGE
   PURPOSE:
   Styling for the public Vixly contact page.

   RESPONSIBILITIES:
   - Style contact/demo layout
   - Style contact information cards
   - Preserve modern marketing page consistency

   IMPORTANT NOTES:
   - New styles only
   - Safe for existing pages
   ========================================================= */

.pp-contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
}

.pp-contact-panel {
    padding: 42px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.12), transparent 30%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 22px 54px rgba(15,23,42,0.08);
}

    .pp-contact-panel h2 {
        margin-bottom: 20px;
        font-size: 2.45rem;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .pp-contact-panel p {
        margin-bottom: 30px;
        color: var(--pp-text-soft);
        line-height: 1.8;
    }

.pp-contact-methods {
    display: grid;
    gap: 14px;
}

.pp-contact-method {
    padding: 18px;
    border-radius: 18px;
    background: rgba(248,250,252,0.86);
    border: 1px solid rgba(226,232,240,0.88);
}

    .pp-contact-method span {
        display: block;
        margin-bottom: 6px;
        color: var(--pp-text-soft);
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pp-contact-method strong {
        display: block;
        color: var(--pp-text);
        line-height: 1.5;
    }

.pp-contact-card {
    padding: 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 18px 46px rgba(15,23,42,0.07);
}

    .pp-contact-card h3 {
        margin-bottom: 24px;
        font-size: 1.5rem;
    }

.pp-contact-card__actions {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

/* =========================================================
   RESPONSIVE CONTACT PAGE
   ========================================================= */
@media (max-width: 1024px) {

    .pp-contact-grid {
        grid-template-columns: 1fr;
    }

    .pp-contact-panel h2 {
        font-size: 2.1rem;
    }
}

@media (max-width: 768px) {

    .pp-contact-panel,
    .pp-contact-card {
        padding: 28px;
    }

        .pp-contact-panel h2 {
            font-size: 1.9rem;
        }
}
/* =========================================================
   PUBLIC TOPBAR MOBILE MENU
   PURPOSE:
   Pure Blazor/CSS mobile navigation for Vixly.PublicPortal.

   RESPONSIBILITIES:
   - Display mobile menu button on smaller screens
   - Collapse desktop navigation into mobile panel
   - Preserve premium SaaS header experience
   - Avoid JavaScript dependency

   IMPORTANT NOTES:
   - Extend-only styling
   - Existing desktop navigation remains unchanged
   ========================================================= */

.pp-mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

    .pp-mobile-menu-button span {
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: var(--pp-text);
    }

/* =========================================================
   MOBILE HEADER BEHAVIOR
   ========================================================= */
@media (max-width: 1120px) {

    .pp-public-topbar__inner {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 16px;
    }

    .pp-mobile-menu-button {
        display: inline-flex;
        justify-self: end;
    }

    .pp-public-nav,
    .pp-public-topbar__actions {
        display: none;
    }

    .pp-public-nav--open {
        display: grid;
        grid-column: 1 / -1;
        width: 100%;
        gap: 8px;
        padding: 18px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(18px);
    }

        .pp-public-nav--open a {
            padding: 13px 14px;
            border-radius: 14px;
            color: var(--pp-text);
            background: rgba(248, 250, 252, 0.76);
        }

            .pp-public-nav--open a:hover {
                background: rgba(37, 99, 235, 0.08);
                color: var(--pp-primary);
            }

            .pp-public-nav--open a::after {
                display: none;
            }

    .pp-public-topbar__actions--open {
        display: grid;
        grid-column: 1 / -1;
        width: 100%;
        gap: 12px;
        padding: 18px;
        border-radius: 22px;
        background: rgba(248, 250, 252, 0.9);
        border: 1px solid rgba(226, 232, 240, 0.9);
    }

        .pp-public-topbar__actions--open .pp-public-topbar__link,
        .pp-public-topbar__actions--open .pp-public-topbar__cta {
            width: 100%;
            justify-content: center;
            text-align: center;
        }
}

@media (max-width: 640px) {

    .pp-public-topbar__inner {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .pp-public-brand__mark {
        width: 40px;
        height: 40px;
    }

    .pp-public-nav--open,
    .pp-public-topbar__actions--open {
        padding: 14px;
        border-radius: 18px;
    }
}

/* =========================================================
   HOMEPAGE IMAGE VISUAL
   PURPOSE:
   Styles the SVG-based logistics network hero visual.

   RESPONSIBILITIES:
   - Display the Vixly logistics network SVG cleanly
   - Preserve floating operational cards
   - Improve homepage visual quality
   - Keep responsive behavior stable

   IMPORTANT NOTES:
   - Uses /images/vixly-logistics-network.svg
   - Extend-only styling
   ========================================================= */

.pp-home-hero__visual--image {
    min-height: auto;
}

.pp-home-image-frame {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(22px);
}

    .pp-home-image-frame::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 32%), radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.10), transparent 30%);
        pointer-events: none;
        z-index: 2;
    }

    .pp-home-image-frame img {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: auto;
    }

/* =========================================================
   PLATFORM DASHBOARD HERO
   PURPOSE:
   Adds dashboard preview visual to the Vixly Platform page.

   RESPONSIBILITIES:
   - Display product-style SaaS dashboard illustration
   - Keep platform hero modern and responsive
   - Preserve existing platform page layout

   IMPORTANT NOTES:
   - Uses /images/vixly-dashboard-preview.svg
   - Extend-only styling
   ========================================================= */

.pp-platform-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.pp-platform-dashboard-preview {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(226,232,240,0.82);
    box-shadow: 0 28px 70px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.75);
    backdrop-filter: blur(22px);
}

    .pp-platform-dashboard-preview img {
        display: block;
        width: 100%;
        height: auto;
    }

@media (max-width: 1024px) {

    .pp-platform-hero-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   REQUEST DEMO FORM
   PURPOSE:
   Adds premium public demo-request form styling.

   RESPONSIBILITIES:
   - Style the static contact/demo form
   - Keep form consistent with Vixly public website language
   - Preserve existing form controls

   IMPORTANT NOTES:
   - UI only
   - No backend submission yet
   ========================================================= */

.pp-demo-form {
    display: grid;
    gap: 18px;
    margin-top: 30px;
}

.pp-contact-methods--spaced {
    margin-top: 30px;
}

/* =========================================================
   GLOBAL PREMIUM MOTION SYSTEM
   PURPOSE:
   Adds subtle SaaS-style motion and premium polish.

   RESPONSIBILITIES:
   - Floating hero visuals
   - Smooth hover interactions
   - Animated gradients
   - Soft motion for cards and panels
   - Enterprise-grade visual polish

   IMPORTANT NOTES:
   - CSS only
   - No JavaScript required
   - Safe extension styling
   ========================================================= */

/* =========================================================
   GLOBAL TRANSITIONS
   ========================================================= */
.pp-card,
.pp-feature-card,
.pp-industry-card,
.pp-industry-detail-card,
.pp-value-card,
.pp-contact-card,
.pp-contact-panel,
.pp-platform-stack-card,
.pp-platform-flow__item,
.pp-home-image-frame,
.pp-platform-dashboard-preview,
.pp-btn {
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

    /* =========================================================
   CARD HOVER LIFT
   ========================================================= */
    .pp-card:hover,
    .pp-feature-card:hover,
    .pp-industry-card:hover,
    .pp-value-card:hover,
    .pp-contact-card:hover,
    .pp-platform-flow__item:hover {
        transform: translateY(-8px);
        box-shadow: 0 28px 60px rgba(15, 23, 42, 0.10);
    }

    /* =========================================================
   BUTTON MOTION
   ========================================================= */
    .pp-btn:hover {
        transform: translateY(-2px);
    }

    .pp-btn:active {
        transform: translateY(0);
    }

/* =========================================================
   HERO FLOATING EFFECT
   ========================================================= */
.pp-home-hero__visual,
.pp-platform-dashboard-preview {
    animation: ppFloat 8s ease-in-out infinite;
}

@keyframes ppFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================================
   FLOATING OPERATION CARDS
   ========================================================= */
.pp-visual-card--floating {
    animation: ppCardFloat 7s ease-in-out infinite;
}

.pp-visual-card--invoice {
    animation-delay: 1.2s;
}

@keyframes ppCardFloat {

    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================================
   HERO BACKGROUND GLOW
   ========================================================= */
.pp-home-hero::before,
.pp-page-hero::before {
    animation: ppGlowShift 14s ease-in-out infinite alternate;
}

@keyframes ppGlowShift {

    0% {
        opacity: 0.45;
        transform: scale(1);
    }

    100% {
        opacity: 0.75;
        transform: scale(1.04);
    }
}

/* =========================================================
   INPUT FOCUS POLISH
   ========================================================= */
.pp-input,
.pp-select,
.pp-textarea {
    transition: border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

    .pp-input:focus,
    .pp-select:focus,
    .pp-textarea:focus {
        outline: none;
        border-color: rgba(37, 99, 235, 0.55);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10), 0 12px 24px rgba(37, 99, 235, 0.08);
        background: #ffffff;
    }

/* =========================================================
   NAVIGATION LINK POLISH
   ========================================================= */
.pp-public-nav a,
.pp-public-footer__links a {
    transition: color 0.24s ease, opacity 0.24s ease;
}

/* =========================================================
   HERO IMAGE DEPTH
   ========================================================= */
.pp-home-image-frame:hover,
.pp-platform-dashboard-preview:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 36px 80px rgba(15, 23, 42, 0.14), inset 0 1px 0 rgba(255,255,255,0.75);
}

/* =========================================================
   SOFT SECTION FADE-IN
   ========================================================= */
.pp-section {
    animation: ppFadeUp 0.8s ease;
}

@keyframes ppFadeUp {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   REDUCE MOTION ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {

    .pp-home-hero__visual,
    .pp-platform-dashboard-preview,
    .pp-visual-card--floating,
    .pp-section,
    .pp-home-hero::before,
    .pp-page-hero::before {
        animation: none !important;
    }

    .pp-card,
    .pp-feature-card,
    .pp-industry-card,
    .pp-value-card,
    .pp-btn,
    .pp-home-image-frame,
    .pp-platform-dashboard-preview {
        transition: none !important;
    }
}

/* =========================================================
   SVG BRANDING SYSTEM
   PURPOSE:
   Styles the official Vixly SVG logo assets.

   RESPONSIBILITIES:
   - Control responsive logo rendering
   - Preserve clean navbar alignment
   - Support desktop and mobile layouts

   IMPORTANT NOTES:
   - Uses vixly-logo-horizontal.svg
   - Extend-only styling
   ========================================================= */

.pp-public-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.pp-public-brand__logo {
    display: block;
    width: auto;
    height: 54px;
}

/* =========================================================
   RESPONSIVE LOGO
   ========================================================= */
@media (max-width: 768px) {

    .pp-public-brand__logo {
        height: 44px;
    }
}

@media (max-width: 480px) {

    .pp-public-brand__logo {
        height: 38px;
    }
}

/* =========================================================
   FOOTER SVG BRANDING
   PURPOSE:
   Styles official Vixly footer logo rendering.

   RESPONSIBILITIES:
   - Display the horizontal SVG brand cleanly in the footer
   - Preserve enterprise footer layout
   - Keep footer branding responsive

   IMPORTANT NOTES:
   - Uses /images/vixly-logo-horizontal.svg
   - Extend-only styling
   ========================================================= */

.pp-public-footer__logo {
    display: block;
    width: auto;
    height: 72px;
    filter: drop-shadow(0 14px 28px rgba(15, 23, 42, 0.18));
}

@media (max-width: 768px) {

    .pp-public-footer__logo {
        height: 58px;
    }
}

/* =========================================================
   PLANS PAGE MODERNIZATION
   PURPOSE:
   Premium SaaS pricing page styling for Vixly.

   RESPONSIBILITIES:
   - Modernize pricing cards
   - Improve hierarchy and readability
   - Create enterprise-grade pricing presentation
   - Preserve existing functionality

   IMPORTANT NOTES:
   - Styling only
   - No logic changes
   - Safe extension update
   ========================================================= */

/* =========================================================
   PAGE HEADER
   ========================================================= */
.pp-page__header {
    max-width: 860px;
    margin: 0 auto 64px;
    text-align: center;
}

.pp-page__title {
    margin-bottom: 18px;
    font-size: 4rem;
    line-height: 0.98;
    letter-spacing: -0.05em;
    font-weight: 900;
}

.pp-page__subtitle {
    color: var(--pp-text-soft);
    font-size: 1.12rem;
    line-height: 1.8;
}

/* =========================================================
   PLAN GRID
   ========================================================= */
.pp-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

/* =========================================================
   PLAN CARD
   ========================================================= */
.pp-plan-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 34px;
    border-radius: 34px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.12), transparent 34%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 22px 54px rgba(15,23,42,0.08), inset 0 1px 0 rgba(255,255,255,0.76);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

    .pp-plan-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at bottom left, rgba(37,99,235,0.08), transparent 32%);
        pointer-events: none;
    }

    .pp-plan-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 34px 74px rgba(15,23,42,0.12), inset 0 1px 0 rgba(255,255,255,0.82);
        border-color: rgba(37,99,235,0.18);
    }

/* =========================================================
   PLAN NAME
   ========================================================= */
.pp-plan-card__name {
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -0.04em;
    font-weight: 900;
    color: var(--pp-text);
}

.pp-plan-card__description {
    color: var(--pp-text-soft);
    line-height: 1.8;
}

/* =========================================================
   PRICE BLOCK
   ========================================================= */
.pp-plan-card__price-block {
    display: grid;
    gap: 16px;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(226,232,240,0.82);
    backdrop-filter: blur(14px);
}

.pp-plan-card__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pp-plan-card__price-label {
    color: var(--pp-text-soft);
    font-size: 0.92rem;
    font-weight: 700;
}

.pp-plan-card__price-value {
    color: var(--pp-text);
    font-size: 1.08rem;
    font-weight: 900;
}

/* =========================================================
   LIMITS
   ========================================================= */
.pp-plan-card__limits {
    display: grid;
    gap: 12px;
}

.pp-plan-card__limit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(248,250,252,0.86);
    border: 1px solid rgba(226,232,240,0.84);
}

    .pp-plan-card__limit span {
        color: var(--pp-text-soft);
        font-size: 0.9rem;
        font-weight: 700;
    }

    .pp-plan-card__limit strong {
        color: var(--pp-text);
        font-size: 0.95rem;
        font-weight: 900;
    }

/* =========================================================
   PLAN FORM
   ========================================================= */
.pp-form {
    display: grid;
    gap: 18px;
}

.pp-form__group {
    display: grid;
    gap: 10px;
}

.pp-form__label {
    color: var(--pp-text);
    font-size: 0.92rem;
    font-weight: 800;
}

.pp-input,
.pp-select,
.pp-textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(226,232,240,0.9);
    background: rgba(255,255,255,0.92);
    color: var(--pp-text);
    font-size: 0.95rem;
    font-weight: 600;
}

/* =========================================================
   SUMMARY CARD
   ========================================================= */
.pp-invoice-summary {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.pp-invoice-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(226,232,240,0.72);
}

.pp-invoice-summary__label {
    color: var(--pp-text-soft);
    font-weight: 700;
}

.pp-invoice-summary__value {
    color: var(--pp-text);
    font-weight: 900;
}

.pp-invoice-summary__value--total {
    color: var(--pp-primary);
    font-size: 1.1rem;
}

/* =========================================================
   FULL WIDTH BUTTON
   ========================================================= */
.pp-btn--full {
    width: 100%;
    justify-content: center;
}

/* =========================================================
   RESPONSIVE PLANS PAGE
   ========================================================= */
@media (max-width: 1200px) {

    .pp-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .pp-page__title {
        font-size: 2.8rem;
    }

    .pp-plan-grid {
        grid-template-columns: 1fr;
    }

    .pp-plan-card {
        padding: 28px;
    }
}
/* =========================================================
   PLANS HERO ENHANCEMENT
   PURPOSE:
   Premium hero treatment for the public plans page.
   ========================================================= */

.pp-plans-hero {
    position: relative;
    padding: 72px 32px 48px;
}

.pp-plans-hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

    .pp-plans-hero__badges span {
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.08);
        color: var(--pp-primary);
        font-size: 0.9rem;
        font-weight: 800;
    }

/* =========================================================
   MOCK TRACKING PAGE
   PURPOSE:
   Styling for public tracking preview page.

   RESPONSIBILITIES:
   - Style mock tracking lookup
   - Style shipment status cards
   - Style operational timeline
   - Preserve tenant-bound architecture messaging

   IMPORTANT NOTES:
   - Public preview only
   - No backend tracking logic
   ========================================================= */

.pp-track-search-card {
    margin-bottom: 32px;
    padding: 42px;
    border-radius: 30px;
    background: radial-gradient(circle at top right, rgba(14,165,233,0.12), transparent 30%), linear-gradient(135deg, #ffffff, #f8fbff);
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 22px 54px rgba(15,23,42,0.08);
}

    .pp-track-search-card h2 {
        margin-bottom: 16px;
        font-size: 2.5rem;
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .pp-track-search-card p {
        max-width: 760px;
        color: var(--pp-text-soft);
        line-height: 1.8;
    }

.pp-track-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    margin-top: 28px;
}

.pp-track-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    margin-bottom: 32px;
}

.pp-track-status-card,
.pp-track-summary-card,
.pp-track-timeline-card {
    padding: 34px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.88);
    box-shadow: 0 18px 46px rgba(15,23,42,0.07);
}

.pp-track-status-card__top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
}

    .pp-track-status-card__top h2 {
        margin-bottom: 0;
        font-size: 2.4rem;
        letter-spacing: -0.04em;
    }

.pp-track-route {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 30px;
}

    .pp-track-route div,
    .pp-track-summary-list div {
        padding: 18px;
        border-radius: 18px;
        background: rgba(248,250,252,0.86);
        border: 1px solid rgba(226,232,240,0.88);
    }

    .pp-track-route span,
    .pp-track-summary-list span {
        display: block;
        margin-bottom: 6px;
        color: var(--pp-text-soft);
        font-size: 0.82rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    .pp-track-route strong,
    .pp-track-summary-list strong {
        color: var(--pp-text);
    }

.pp-track-progress__bar {
    height: 12px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

    .pp-track-progress__bar span {
        display: block;
        width: 72%;
        height: 100%;
        border-radius: 999px;
        background: linear-gradient(to right, var(--pp-primary), var(--pp-accent));
    }

.pp-track-progress__labels {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: var(--pp-text-soft);
    font-weight: 800;
}

.pp-track-summary-card h3 {
    margin-bottom: 22px;
    font-size: 1.6rem;
}

.pp-track-summary-list {
    display: grid;
    gap: 14px;
}

.pp-track-timeline-card .pp-section-header {
    margin-bottom: 32px;
}

.pp-track-timeline {
    display: grid;
    gap: 0;
}

.pp-track-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 18px;
    padding-bottom: 28px;
}

    .pp-track-timeline__item::before {
        content: "";
        position: absolute;
        left: 11px;
        top: 24px;
        bottom: 0;
        width: 2px;
        background: #e2e8f0;
    }

    .pp-track-timeline__item:last-child {
        padding-bottom: 0;
    }

        .pp-track-timeline__item:last-child::before {
            display: none;
        }

    .pp-track-timeline__item > span {
        width: 24px;
        height: 24px;
        border-radius: 999px;
        background: #cbd5e1;
        border: 5px solid #ffffff;
        box-shadow: 0 0 0 1px #e2e8f0;
        z-index: 2;
    }

.pp-track-timeline__item--complete > span {
    background: var(--pp-success);
}

.pp-track-timeline__item--active > span {
    background: var(--pp-primary);
}

.pp-track-timeline__item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--pp-text);
    font-size: 1.1rem;
}

.pp-track-timeline__item p {
    margin-bottom: 8px;
    color: var(--pp-text-soft);
    line-height: 1.7;
}

.pp-track-timeline__item small {
    color: var(--pp-text-soft);
    font-weight: 800;
}

/* =========================================================
   RESPONSIVE TRACKING PREVIEW
   ========================================================= */
@media (max-width: 1024px) {

    .pp-track-grid,
    .pp-track-route,
    .pp-track-search {
        grid-template-columns: 1fr;
    }

    .pp-track-status-card__top {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    .pp-track-search-card,
    .pp-track-status-card,
    .pp-track-summary-card,
    .pp-track-timeline-card {
        padding: 28px;
    }

        .pp-track-search-card h2,
        .pp-track-status-card__top h2 {
            font-size: 2rem;
        }
}