/* ═══════════════════════════════════════════════════════════════
   Mophyz Influencer Portal — Liquid Glass Design System v3
   Self-contained (no dependency on main site Tailwind build)
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --inf-gold: #f59e0b;
    --inf-gold-light: #fbbf24;
    --inf-wine: #8b0000;
    --inf-text: #f8fafc;
    --inf-muted: rgba(248, 250, 252, 0.65);
    --inf-glass: rgba(255, 255, 255, 0.08);
    --inf-glass-strong: rgba(255, 255, 255, 0.14);
    --inf-glass-border: rgba(255, 255, 255, 0.18);
    --inf-glass-highlight: rgba(255, 255, 255, 0.35);
    --inf-blur: 28px;
    --inf-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 24px 64px rgba(0, 0, 0, 0.25);
    --inf-radius: 1.25rem;
    --inf-font: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

html.inf-light {
    --inf-text: #0f172a;
    --inf-muted: rgba(15, 23, 42, 0.65);
    --inf-glass: rgba(255, 255, 255, 0.55);
    --inf-glass-strong: rgba(255, 255, 255, 0.78);
    --inf-glass-border: rgba(255, 255, 255, 0.65);
    --inf-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

html.inf-light .inf-bg__scrim {
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.55) 0%, rgba(248, 250, 252, 0.88) 100%),
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 158, 11, 0.12), transparent 60%);
}

/* ── Reset / base ── */
.influencer-portal {
    margin: 0;
    min-height: 100vh;
    font-family: var(--inf-font);
    color: var(--inf-text);
    background: #0a0a0f;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.influencer-portal a { color: inherit; text-decoration: none; }
.influencer-portal img { max-width: 100%; height: auto; }

.text-gold { color: var(--inf-gold) !important; }

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Full-page photographic background ── */
.inf-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.inf-bg__photo {
    position: absolute;
    inset: -5%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: infBgDrift 28s ease-in-out infinite alternate;
    filter: saturate(1.1) contrast(1.05);
}

@keyframes infBgDrift {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.12) translate(-1%, -1.5%); }
}

.inf-bg__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 8, 12, 0.45) 0%, rgba(8, 8, 12, 0.82) 55%, rgba(8, 8, 12, 0.94) 100%),
        radial-gradient(ellipse 90% 70% at 50% -10%, rgba(139, 0, 0, 0.25), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 50%, rgba(245, 158, 11, 0.12), transparent 50%);
}

.inf-bg__mesh { position: absolute; inset: 0; }

.inf-bg__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    animation: infBlobDrift 20s ease-in-out infinite alternate;
}

.inf-bg__blob--gold {
    width: 50vw; height: 50vw; max-width: 600px; max-height: 600px;
    top: -10%; left: -8%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.45), transparent 70%);
}

.inf-bg__blob--wine {
    width: 45vw; height: 45vw; max-width: 520px; max-height: 520px;
    top: 20%; right: -10%;
    background: radial-gradient(circle, rgba(139, 0, 0, 0.4), transparent 70%);
    animation-delay: -7s;
}

.inf-bg__blob--amber {
    width: 40vw; height: 40vw; max-width: 480px; max-height: 480px;
    bottom: -5%; left: 25%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent 70%);
    animation-delay: -14s;
}

@keyframes infBlobDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3%, -2%) scale(1.08); }
}

.inf-bg__noise {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Layout ── */
.inf-main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 140px);
}

/* ── Liquid glass panels ── */
.inf-glass-panel,
.glass-card,
.inf-glass,
.inf-glass-strong {
    position: relative;
    background: var(--inf-glass);
    backdrop-filter: blur(var(--inf-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--inf-blur)) saturate(180%);
    border: 1px solid var(--inf-glass-border);
    border-radius: var(--inf-radius);
    box-shadow: var(--inf-shadow);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.inf-glass-panel--strong,
.glass-card,
.inf-glass-strong {
    background: var(--inf-glass-strong);
    backdrop-filter: blur(calc(var(--inf-blur) + 6px)) saturate(200%);
    -webkit-backdrop-filter: blur(calc(var(--inf-blur) + 6px)) saturate(200%);
}

.inf-glass-panel::before,
.glass-card--glow::before,
.inf-gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
        rgba(245, 158, 11, 0.65) 0%,
        rgba(255, 255, 255, 0.15) 40%,
        rgba(139, 0, 0, 0.35) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card--glow:hover,
.inf-hover-lift:hover,
.inf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.15), var(--inf-shadow);
    border-color: rgba(245, 158, 11, 0.35);
}

.inf-card,
.glass-card { padding: 1.5rem; }

/* ── Buttons ── */
.inf-btn,
.inf-btn-primary,
.glass-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #dc2626 100%);
    color: #111;
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.inf-btn:hover,
.inf-btn-primary:hover,
.glass-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 36px rgba(245, 158, 11, 0.45);
}

.inf-btn--ghost,
.inf-btn-ghost,
.glass-button--ghost {
    background: var(--inf-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--inf-glass-border);
    color: var(--inf-text);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background-image: none;
}

.inf-btn--ghost:hover,
.inf-btn-ghost:hover,
.glass-button--ghost:hover {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.4);
    color: var(--inf-text);
}

.inf-btn--sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }
.w-full { width: 100%; }

/* ── Inputs ── */
.inf-input,
.glass-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid var(--inf-glass-border);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--inf-text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.inf-input::placeholder,
.glass-input::placeholder { color: var(--inf-muted); }

.inf-input:focus,
.glass-input:focus {
    outline: none;
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

html.inf-light .inf-input,
html.inf-light .glass-input {
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
}

/* ── Navigation ── */
.inf-nav {
    position: sticky;
    top: 0;
    z-index: 1002;
    padding: 0.75rem 1rem 0;
}

.inf-nav__bar {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem 0.6rem 1rem;
    border-radius: 1rem;
    min-height: 3.25rem;
}

@media (min-width: 900px) {
    .inf-nav__bar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 1rem 1.5rem;
        padding: 0.6rem 1rem 0.6rem 1.25rem;
    }
}

.inf-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
}

.inf-nav__brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 399px) {
    .inf-nav__brand-text {
        display: none;
    }
}

.inf-nav__brand-text em {
    font-style: normal;
    color: var(--inf-gold);
    font-weight: 600;
}

.inf-nav__logo {
    width: 2.25rem;
    height: 2.25rem;
    max-width: 2.25rem;
    max-height: 2.25rem;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 2px;
    background: rgba(0, 0, 0, 0.2);
}

.inf-nav__links {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.inf-nav__links::-webkit-scrollbar { display: none; }

.inf-nav__link {
    padding: 0.45rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--inf-muted);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.inf-nav__link:hover,
.inf-nav__link.is-active {
    color: var(--inf-text);
    background: rgba(245, 158, 11, 0.15);
}

.inf-nav__actions {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.inf-nav__toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--inf-glass-border);
    color: var(--inf-text);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.65rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.inf-nav__toggle:focus {
    outline: none;
}

.inf-nav__toggle:focus-visible {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5);
}

.inf-nav__toggle-bar {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: var(--inf-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.inf-nav__toggle.is-active .inf-nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.inf-nav__toggle.is-active .inf-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.inf-nav__toggle.is-active .inf-nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.inf-nav__show-mobile { display: flex; }
.inf-nav__hide-mobile { display: none; }

@media (min-width: 900px) {
    .inf-nav__links { display: flex; }
    .inf-nav__show-mobile { display: none !important; }
    .inf-nav__hide-mobile { display: inline-flex; }
    .inf-nav__link { font-size: 0.85rem; padding: 0.5rem 0.8rem; }
}

@media (min-width: 1100px) {
    .inf-nav__bar { padding: 0.65rem 1.5rem; gap: 2rem; }
    .inf-nav__link { font-size: 0.875rem; }
}

/* Mobile drawer */
.inf-nav__overlay {
    position: fixed;
    inset: 0;
    z-index: 1003;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.inf-nav__overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

.inf-nav__overlay[hidden] {
    display: block !important;
    opacity: 0;
    pointer-events: none;
}

.inf-nav__drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(100%, 20rem);
    height: 100dvh;
    z-index: 1004;
    background: rgba(18, 18, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--inf-glass-border);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
}

.inf-nav__drawer.is-active {
    transform: translateX(0);
}

.inf-nav__drawer[hidden] {
    display: flex !important;
    transform: translateX(100%);
}

.inf-nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--inf-glass-border);
}

.inf-nav__drawer-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.inf-nav__drawer-close {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    border: 1px solid var(--inf-glass-border);
    background: rgba(255, 255, 255, 0.06);
    color: var(--inf-text);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.inf-nav__drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.inf-nav__drawer-link {
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.inf-nav__drawer-link:hover,
.inf-nav__drawer-link:active {
    background: rgba(245, 158, 11, 0.12);
    color: var(--inf-gold);
}

.inf-nav__drawer-foot {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--inf-glass-border);
}

/* Legacy mobile panel (unused) */
.inf-nav__mobile {
    display: none !important;
}

.inf-nav__mobile-link {
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.inf-nav__mobile-link:hover { background: rgba(245, 158, 11, 0.12); }

/* ── Page sections ── */
.inf-page-section {
    position: relative;
    z-index: 1;
    padding: 2rem 0 4rem;
}

.inf-page-section--apply {
    padding-top: 1.5rem;
}

.inf-page-header {
    text-align: center;
    margin-bottom: 2rem;
}

.inf-page-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--inf-gold);
    margin-bottom: 0.75rem;
}

.inf-page-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.inf-page-subtitle {
    color: var(--inf-muted);
    font-size: 1rem;
    max-width: 32rem;
    margin: 0 auto;
}

.inf-step-indicator--center { justify-content: center; }

/* ── Apply form ── */
.inf-apply-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: var(--inf-text);
}

.inf-apply-form .glass-input,
.inf-apply-form textarea.glass-input,
.inf-apply-form select.glass-input {
    margin-bottom: 0.25rem;
}

.inf-apply-form textarea.glass-input {
    min-height: 5rem;
    resize: vertical;
}

.inf-apply-form input[type="checkbox"],
.inf-apply-form input[type="radio"] {
    accent-color: var(--inf-gold);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.inf-apply-form label.flex,
.inf-apply-form .flex {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inf-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--inf-glass-border);
}

.ml-auto { margin-left: auto; }

.hidden { display: none !important; }

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
}

/* ── Footer ── */
.inf-footer {
    position: relative;
    z-index: 1;
    padding: 2.5rem 1.5rem;
    margin-top: 2rem;
}

.inf-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: var(--inf-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--inf-glass-border);
    border-radius: var(--inf-radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.inf-footer__brand { font-weight: 700; font-size: 1.1rem; }
.inf-footer__brand span { color: var(--inf-gold); }
.inf-footer__tagline { font-size: 0.8rem; color: var(--inf-muted); margin-top: 0.25rem; }
.inf-footer__links { display: flex; gap: 1.25rem; font-size: 0.875rem; }
.inf-footer__links a:hover { color: var(--inf-gold); }
.inf-footer__copy { font-size: 0.75rem; color: var(--inf-muted); width: 100%; text-align: center; margin-top: 0.5rem; }

/* ── Theme toggle ── */
.inf-theme-toggle {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    border: 1px solid var(--inf-glass-border);
    background: var(--inf-glass-strong);
    backdrop-filter: blur(16px);
    color: var(--inf-gold);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: var(--inf-shadow);
}

/* ── Hero ── */
.glass-mesh-hero,
.inf-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.inf-landing-hero {
    min-height: auto;
}

.inf-hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 900px) {
    .inf-hero-split {
        grid-template-columns: 1.15fr auto;
        gap: 3rem;
    }

    .inf-hero-split__copy {
        text-align: left;
    }
}

.inf-hero-split__copy {
    text-align: center;
}

.inf-hero-split__qr {
    display: flex;
    justify-content: center;
}

.inf-hero-qr {
    position: static;
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: var(--inf-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--inf-glass-border);
    box-shadow: var(--inf-shadow);
}

.inf-hero-qr__frame {
    width: clamp(120px, 22vw, 156px) !important;
}

.qr-scan--influencer-hero .qr-scan__hint {
    max-width: 11rem;
    font-size: 0.72rem;
    color: var(--inf-muted);
}

.qr-scan--influencer-hero .qr-scan__label {
    font-size: 0.72rem;
}

.inf-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(8, 8, 12, 0.5) 100%);
    pointer-events: none;
}

.glass-page-enter,
.inf-fade-in {
    animation: infFadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes infFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Stats ── */
.inf-stat-value {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--inf-text), var(--inf-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Icon wrap ── */
.glass-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(139, 0, 0, 0.1));
    border: 1px solid var(--inf-glass-border);
    transition: transform 0.3s ease;
}

.glass-card:hover .glass-icon-wrap { transform: scale(1.1); }

/* ── Mesh blobs (hero sections) ── */
.inf-mesh-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.inf-mesh-bg__blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: infBlobDrift 18s ease-in-out infinite alternate; }
.inf-mesh-bg__blob--gold { width: 55%; height: 55%; top: -15%; left: -10%; background: radial-gradient(circle, rgba(245, 158, 11, 0.45), transparent 70%); }
.inf-mesh-bg__blob--rose { width: 45%; height: 50%; top: 10%; right: -5%; background: radial-gradient(circle, rgba(190, 24, 93, 0.35), transparent 70%); animation-delay: -6s; }
.inf-mesh-bg__blob--amber { width: 40%; height: 40%; bottom: -10%; left: 30%; background: radial-gradient(circle, rgba(251, 191, 36, 0.25), transparent 70%); animation-delay: -12s; }

/* ── Timeline ── */
.inf-timeline { position: relative; padding-left: 2rem; }
.inf-timeline::before {
    content: '';
    position: absolute;
    left: 0.55rem; top: 0.5rem; bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--inf-gold), transparent);
}
.inf-timeline__item {
    position: relative;
    padding-bottom: 2rem;
    animation: infFadeUp 0.6s ease both;
}
.inf-timeline__item::before {
    content: '';
    position: absolute;
    left: -1.65rem; top: 0.35rem;
    width: 12px; height: 12px;
    border-radius: 9999px;
    background: var(--inf-gold);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}

/* ── Step indicators ── */
.inf-step-indicator { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.inf-step-dot {
    width: 2.5rem; height: 0.35rem;
    border-radius: 9999px;
    background: var(--inf-glass-border);
    transition: background 0.3s, transform 0.3s;
}
.inf-step-dot.is-active,
.inf-step-dot.is-done { background: var(--inf-gold); }
.inf-step-dot.is-active { transform: scaleY(1.4); }

/* ── Status pills ── */
.inf-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.inf-status-pill--pending { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.inf-status-pill--approved { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.inf-status-pill--rejected { background: rgba(239, 68, 68, 0.15); color: #f87171; }

/* ── Portal dashboard shell ── */
.inf-portal-shell { min-height: 100vh; }

.inf-portal-layout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 1024px) {
    .inf-portal-layout { flex-direction: row; }
}

.inf-portal-sidebar {
    padding: 1.5rem;
    border-bottom: 1px solid var(--inf-glass-border);
}

@media (min-width: 1024px) {
    .inf-portal-sidebar {
        width: 16rem;
        min-height: 100vh;
        border-bottom: none;
        border-right: 1px solid var(--inf-glass-border);
    }
}

.inf-portal-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.inf-portal-sidebar__brand img { height: 2rem; width: auto; }

.inf-portal-sidebar__nav { display: flex; flex-direction: column; gap: 0.25rem; }

.inf-portal-sidebar__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: var(--inf-muted);
    transition: all 0.2s;
}

.inf-portal-sidebar__link:hover,
.inf-portal-sidebar__link.is-active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--inf-text);
}

.inf-portal-sidebar__logout { margin-top: 2rem; }
.inf-portal-content { flex: 1; padding: 1.5rem 2rem; }

.inf-alert {
    padding: 0.85rem 1rem;
    border-radius: 0.875rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
    backdrop-filter: blur(12px);
}
.inf-alert--success { background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.35); color: #6ee7b7; }
.inf-alert--error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); color: #fca5a5; }

/* ── Utility grid (minimal tailwind replacements) ── */
.grid { display: grid; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.max-w-md { max-width: 28rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-mono { font-family: ui-monospace, monospace; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.uppercase { text-transform: uppercase; }
.tracking-\[0\.32em\] { letter-spacing: 0.32em; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.max-h-48 { max-height: 12rem; }
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.pl-5 { padding-left: 1.25rem; }
.whitespace-pre-line { white-space: pre-line; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.cursor-pointer { cursor: pointer; }
.block { display: block; }
.inline-flex { display: inline-flex; }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:p-8 { padding: 2rem; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:flex { display: flex !important; }
    .md\:gap-6 { gap: 1.5rem; }
    .md\:text-3xl { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:text-7xl { font-size: 4.5rem; }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Gradient text */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops, #fbbf24, #f59e0b, #f43f5e)); }
.from-yellow-400 { --tw-gradient-from: #facc15; }
.via-amber-400 { --tw-gradient-via: #fbbf24; }
.to-rose-500 { --tw-gradient-to: #f43f5e; }
.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Tables */
table { border-collapse: collapse; width: 100%; }
th, td { padding: 0.75rem 1rem; }

/* Details/FAQ */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* Signature pad */
.inf-signature-pad {
    width: 100%;
    height: 180px;
    border-radius: 0.875rem;
    border: 1px dashed var(--inf-glass-border);
    background: rgba(255, 255, 255, 0.04);
    touch-action: none;
}

/* Step cards */
.inf-step-card { animation: infFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Color utilities used in views */
.text-emerald-300 { color: #6ee7b7; }
.text-emerald-400 { color: #34d399; }
.text-amber-300 { color: #fcd34d; }
.text-amber-400 { color: #fbbf24; }
.text-blue-300 { color: #93c5fd; }
.text-red-300 { color: #fca5a5; }
.text-red-400 { color: #f87171; }
.bg-emerald-500\/20 { background: rgba(16, 185, 129, 0.2); }
.bg-blue-500\/20 { background: rgba(59, 130, 246, 0.2); }
.bg-amber-500\/20 { background: rgba(245, 158, 11, 0.2); }
.border-\[var\(--inf-border\)\] { border-color: var(--inf-glass-border); }
.border-\[var\(--inf-border\)\]\/50 { border-color: rgba(255, 255, 255, 0.09); }
.border-\[var\(--inf-border\)\]\/60 { border-color: rgba(255, 255, 255, 0.1); }
.text-\[var\(--inf-muted\)\] { color: var(--inf-muted); }
.hover\:bg-white\/5:hover { background: rgba(255, 255, 255, 0.05); }
.transition-colors { transition: color 0.2s, background-color 0.2s; }
.transition-transform { transition: transform 0.2s; }
.group-open\:rotate-180:is(:where(.group):open *) { transform: rotate(180deg); }

/* Legacy aliases — same as sidebar links */
.inf-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: var(--inf-muted);
    transition: all 0.2s;
}
.inf-nav-link:hover,
.inf-nav-link--active {
    background: rgba(245, 158, 11, 0.15);
    color: var(--inf-text);
}

.inf-hover-lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
