@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --andala-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --andala-ink: #0b1220;
    --andala-ink-soft: #162033;
    --andala-slate: #5b6478;
    --andala-muted: #8b93a7;
    --andala-border: #e4e8ef;
    --andala-surface: #ffffff;
    --andala-bg: #f7f9fc;
    --andala-bg-soft: #eef2f7;
    --andala-primary: #0052ff;
    --andala-primary-dark: #003ecb;
    --andala-primary-soft: #ebf3ff;
    --andala-accent: #06b6d4;
    --andala-violet: #7c3aed;
    --andala-violet-soft: #f3e8ff;
    --andala-emerald: #059669;
    --andala-emerald-soft: #ecfdf5;
    --andala-amber: #d97706;
    --andala-amber-soft: #fffbeb;
    --andala-rose: #e11d48;
    --andala-rose-soft: #fff1f2;
    --andala-gradient-brand: linear-gradient(135deg, #0052ff 0%, #7c3aed 50%, #06b6d4 100%);
    --andala-gradient-warm: linear-gradient(135deg, #0052ff 0%, #7c3aed 100%);
    --andala-success: #047857;
    --andala-gradient: linear-gradient(135deg, #0b1220 0%, #162033 55%, #0b1f3a 100%);
    --andala-gradient-soft: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    --andala-shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.05);
    --andala-shadow: 0 16px 48px rgba(11, 18, 32, 0.08);
    --andala-shadow-lg: 0 32px 80px rgba(11, 18, 32, 0.12);
    --andala-radius: 14px;
    --andala-radius-sm: 10px;
    --andala-radius-lg: 20px;
    --andala-sidebar-width: 280px;
    --andala-grid: radial-gradient(circle at 1px 1px, rgba(11, 18, 32, 0.06) 1px, transparent 0);
}

/* ─── Base ─── */
.andala-body,
.nk-body.andala-app {
    font-family: var(--andala-font);
    color: var(--andala-ink);
    background: var(--andala-bg);
    -webkit-font-smoothing: antialiased;
    font-size: 0.9375rem;
}

.andala-body a,
.nk-body.andala-app a {
    transition: color 0.15s ease, opacity 0.15s ease;
}

/* ─── Logo ─── */
.andala-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none !important;
    color: var(--andala-ink) !important;
}

.andala-logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--andala-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.03em;
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.18);
    flex-shrink: 0;
}

.andala-logo-svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: block;
}

.andala-logo-svg.sm { width: 30px; height: 30px; }
.andala-logo-svg.lg { width: 44px; height: 44px; }

.andala-logo-mark.sm { width: 30px; height: 30px; border-radius: 9px; font-size: 0.85rem; }
.andala-logo-mark.lg { width: 44px; height: 44px; border-radius: 13px; font-size: 1.15rem; }

.andala-logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--andala-ink);
}

.andala-logo-text span { display: none; }

.andala-logo.light .andala-logo-text { color: #fff !important; }

/* ─── Marketing shell ─── */
.andala-marketing-nav {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.andala-marketing-nav .container-xl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.andala-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.andala-nav-links a {
    color: var(--andala-slate);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.andala-nav-links a:hover { color: var(--andala-ink); }

.andala-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.andala-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none !important;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    cursor: pointer;
    line-height: 1.2;
}

.andala-btn:hover { transform: translateY(-1px); }

.andala-btn-primary {
    background: var(--andala-gradient-warm);
    color: #fff !important;
    box-shadow: 0 8px 28px rgba(0, 82, 255, 0.28);
    background-size: 200% 200%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.4s ease;
}

.andala-btn-primary:hover {
    background-position: 100% 0;
    box-shadow: 0 14px 36px rgba(124, 58, 237, 0.35);
}

.andala-btn-outline {
    background: transparent;
    color: var(--andala-ink) !important;
    border-color: var(--andala-border);
}

.andala-btn-outline:hover {
    background: var(--andala-bg);
    border-color: #cbd5e1;
}

.andala-btn-ghost {
    background: transparent;
    color: var(--andala-slate) !important;
}

.andala-btn-ghost:hover { color: var(--andala-ink) !important; }

.andala-btn-white {
    background: #fff;
    color: var(--andala-ink) !important;
    box-shadow: var(--andala-shadow);
}

.andala-btn-white:hover { box-shadow: var(--andala-shadow-lg); }

.andala-btn-lg { padding: 0.9rem 1.75rem; font-size: 1rem; }

.andala-btn.btn-sm,
.andala-public-nav .andala-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
}

/* ─── Hero ─── */
.andala-hero {
    position: relative;
    overflow: hidden;
    background: var(--andala-gradient);
    color: #fff;
    padding: 5rem 0 6rem;
}

.andala-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.35), transparent 40%),
        radial-gradient(circle at 80% 10%, rgba(6, 182, 212, 0.2), transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.25), transparent 40%);
    pointer-events: none;
}

.andala-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.andala-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.andala-hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.andala-hero-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin-bottom: 2rem;
}

.andala-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
}

.andala-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
}

.andala-hero-trust strong {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.andala-hero-visual {
    position: relative;
}

.andala-dashboard-preview {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--andala-radius-lg);
    padding: 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow: var(--andala-shadow-lg);
}

.andala-preview-card {
    background: #fff;
    border-radius: var(--andala-radius);
    padding: 1.25rem;
    color: var(--andala-ink);
    box-shadow: var(--andala-shadow);
}

.andala-preview-card + .andala-preview-card { margin-top: 1rem; }

.andala-preview-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--andala-muted);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.andala-preview-amount {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.andala-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--andala-border);
    font-size: 0.9rem;
}

.andala-preview-row:last-child { border-bottom: 0; }

/* ─── Sections ─── */
.andala-section {
    padding: 5rem 0;
}

.andala-section-alt { background: var(--andala-bg-soft); }

.andala-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.andala-section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--andala-primary);
    margin-bottom: 0.75rem;
}

.andala-section-header h2 {
    font-size: clamp(1.85rem, 3vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.andala-section-header p {
    color: var(--andala-slate);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.andala-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.andala-feature-card {
    background: var(--andala-surface);
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius);
    padding: 1.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    height: 100%;
}

.andala-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--andala-shadow);
    border-color: #cbd5e1;
}

.andala-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    background: var(--andala-primary-soft);
    color: var(--andala-primary);
}

.andala-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.andala-feature-card p {
    color: var(--andala-slate);
    line-height: 1.65;
    margin: 0;
    font-size: 0.95rem;
}

.andala-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.andala-stat-card {
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--andala-surface);
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius);
}

.andala-stat-card strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--andala-ink);
}

.andala-stat-card span {
    color: var(--andala-slate);
    font-size: 0.92rem;
}

.andala-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.andala-step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--andala-ink);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.andala-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.andala-testimonial {
    background: var(--andala-surface);
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius);
    padding: 1.75rem;
}

.andala-testimonial p {
    color: var(--andala-slate);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 0.98rem;
}

.andala-testimonial cite {
    font-style: normal;
    font-weight: 700;
    font-size: 0.92rem;
}

.andala-testimonial cite span {
    display: block;
    font-weight: 500;
    color: var(--andala-muted);
    margin-top: 0.15rem;
}

.andala-cta-band {
    background: var(--andala-gradient);
    color: #fff;
    border-radius: var(--andala-radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.andala-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.3), transparent 50%);
}

.andala-cta-band > * { position: relative; }

.andala-cta-band h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.andala-cta-band p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

/* ─── Footer ─── */
.andala-footer {
    background: var(--andala-ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
}

.andala-footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.andala-footer h6 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.andala-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.andala-footer li + li { margin-top: 0.55rem; }

.andala-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.92rem;
}

.andala-footer a:hover { color: #fff; }

.andala-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
}

/* ─── App shell overrides ─── */
.nk-body.andala-app .nk-sidebar {
    background: var(--andala-surface);
    border-right: 1px solid var(--andala-border);
    width: var(--andala-sidebar-width);
}

.nk-body.andala-app .nk-sidebar-head {
    border-bottom: 1px solid var(--andala-border);
    padding: 1.25rem 1.5rem;
}

.nk-body.andala-app .nk-menu-heading .overline-title {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: var(--andala-muted) !important;
    font-weight: 700;
}

.nk-body.andala-app .nk-menu-link {
    border-radius: 10px;
    margin: 0 0.75rem;
    padding: 0.65rem 0.85rem;
}

.nk-body.andala-app .nk-menu-item.active > .nk-menu-link,
.nk-body.andala-app .nk-menu-link:hover {
    background: var(--andala-primary-soft);
    color: var(--andala-primary);
}

.nk-body.andala-app .nk-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--andala-border);
}

.nk-body.andala-app .nk-header-wrap {
    min-height: 56px;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
}

.nk-body.andala-app .nk-header-news .nk-news-item {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--andala-bg);
    border: 1px solid var(--andala-border);
}

.nk-body.andala-app .nk-header-news .nk-news-icon {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.9rem;
}

.nk-body.andala-app .nk-header-news .nk-news-text p {
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.3;
}

.nk-body.andala-app .nk-header-news .nk-news-text span {
    color: var(--andala-muted);
}

.nk-body.andala-app .nk-header-tools .user-name {
    font-weight: 600;
    color: var(--andala-ink);
    font-size: 0.85rem;
}

.nk-body.andala-app .nk-header-tools .user-status {
    font-size: 0.68rem;
}

.nk-body.andala-app .nk-header-tools .user-avatar.sm {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
}

.nk-body.andala-app .nk-header-wallet-chip {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: var(--andala-bg);
    border: 1px solid var(--andala-border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--andala-ink);
    text-decoration: none !important;
}

.nk-body.andala-app .card-bordered {
    border-color: var(--andala-border);
    border-radius: var(--andala-radius);
    box-shadow: var(--andala-shadow-sm);
}

.nk-body.andala-app .card-inner {
    padding: 1.1rem 1.25rem;
}

.nk-body.andala-app .card-title .title {
    font-size: 0.95rem;
}

.nk-body.andala-app .form-control,
.nk-body.andala-app .form-select {
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
    border-radius: 8px;
}

.nk-body.andala-app textarea.form-control {
    min-height: auto;
}

.nk-body.andala-app .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--andala-slate);
}

.nk-body.andala-app .btn {
    font-size: 0.875rem;
    padding: 0.45rem 0.95rem;
    border-radius: 8px;
}

.nk-body.andala-app .btn-lg {
    font-size: 0.95rem;
    padding: 0.55rem 1.15rem;
}

.nk-body.andala-app .btn-sm {
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
}

.nk-body.andala-app .nk-content-body {
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
}

.nk-body.andala-app .nk-block-head {
    margin-bottom: 1rem;
}

.nk-body.andala-app .nk-block-head .nk-block-title,
.nk-body.andala-app .page-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    font-size: 1.15rem;
    margin-bottom: 0;
}

.nk-body.andala-app .nk-block-head hr {
    margin: 0.65rem 0 0;
    opacity: 0.15;
}

.nk-body.andala-app .row.gy-3 {
    --bs-gutter-y: 0.85rem;
}

.nk-body.andala-app .row.g-gs {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Dashboard: stop row gutters from overlapping content above */
.nk-body.andala-app .andala-dashboard .row.g-3,
.nk-body.andala-app .andala-dashboard .row.g-gs {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
    margin-top: 0;
}

.andala-dashboard-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.andala-dashboard-section-head--plain {
    margin-bottom: 0.75rem;
}

.andala-dashboard-section-head__copy {
    min-width: 0;
    flex: 1 1 220px;
}

.andala-dashboard-kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--andala-muted);
    margin-bottom: 0.35rem;
}

.andala-dashboard-section-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--andala-ink);
}

.andala-dashboard-section-title .icon {
    flex: 0 0 auto;
    line-height: 1;
}

.andala-dashboard-section-desc {
    margin: 0.35rem 0 0;
    color: var(--andala-slate);
    font-size: 0.875rem;
    line-height: 1.5;
}

.andala-dashboard-module-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.andala-dashboard-module-head__copy {
    min-width: 0;
}

.andala-dashboard-stat-row {
    position: relative;
    z-index: 1;
}

.andala-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.15rem;
}

.andala-stat-tile--compact {
    padding: 1.1rem 1.15rem;
}

.andala-stat-tile--compact .stat-value {
    font-size: 1.35rem;
}

.andala-dashboard-mini-stat {
    min-height: 100%;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--andala-border);
    border-radius: 10px;
    background: var(--andala-bg);
}

.andala-dashboard-mini-stat .stat-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--andala-muted);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.andala-dashboard-mini-stat .stat-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--andala-ink);
    line-height: 1.35;
    word-break: break-word;
}

.nk-body.andala-app .table {
    font-size: 0.875rem;
}

.nk-body.andala-app .table th {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    color: var(--andala-muted);
}

.nk-body.andala-app .alert {
    font-size: 0.875rem;
    padding: 0.65rem 0.9rem;
}

.nk-body.andala-app .nk-footer {
    background: transparent;
    border-top: 1px solid var(--andala-border);
    font-size: 0.8rem;
}

.nk-body.andala-app .nk-footer .nav-link {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
}

.nk-body.andala-app .andala-app-footer-disclaimer {
    max-width: 28rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--andala-muted);
}

.nk-body.andala-app .andala-stat-tile {
    padding: 1.15rem;
}

.nk-body.andala-app .andala-stat-tile .stat-value {
    font-size: 1.35rem;
}

.nk-body.andala-app .andala-dashboard-banner .banner-copy h2 {
    font-size: 1.25rem;
}

.nk-body.andala-app .andala-dashboard-banner .banner-copy p {
    font-size: 0.875rem;
}

@media (min-width: 1200px) {
    .nk-body.andala-app .nk-sidebar {
        width: var(--andala-sidebar-width);
        min-width: var(--andala-sidebar-width);
        max-width: var(--andala-sidebar-width);
    }

    .nk-body.andala-app .nk-sidebar + .nk-wrap,
    .nk-body.andala-app .nk-sidebar-overlay + .nk-wrap {
        padding-left: var(--andala-sidebar-width);
    }
}

.andala-stat-tile {
    background: var(--andala-surface);
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius);
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.andala-stat-tile:hover {
    box-shadow: var(--andala-shadow);
    transform: translateY(-2px);
}

.andala-stat-tile .stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--andala-slate);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.andala-stat-tile .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--andala-ink);
}

.andala-stat-tile .stat-meta {
    font-size: 0.88rem;
    color: var(--andala-muted);
    margin-top: 0.35rem;
}

.andala-page-header {
    margin-bottom: 2rem;
}

.andala-page-header h1,
.andala-page-header .page-title {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.andala-page-header p {
    color: var(--andala-slate);
    margin: 0;
}

.andala-quick-action {
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 0.75rem 1rem !important;
}

/* ─── Auth split layout ─── */
.andala-auth-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

.andala-auth-brand {
    display: none;
    background: var(--andala-gradient);
    color: #fff;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.andala-auth-brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.35), transparent 50%);
}

.andala-auth-brand-inner {
    position: relative;
    max-width: 420px;
    margin: auto;
}

.andala-auth-brand h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 2rem 0 1rem;
}

.andala-auth-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-size: 1.02rem;
}

.andala-auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--andala-bg);
}

.andala-auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--andala-surface);
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius-lg);
    padding: 2.25rem;
    box-shadow: var(--andala-shadow);
}

.andala-auth-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
}

.andala-auth-card .auth-sub {
    color: var(--andala-slate);
    margin-bottom: 1.75rem;
}

.andala-form-group { margin-bottom: 1.15rem; }

.andala-form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--andala-ink);
}

.andala-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius-sm);
    font-family: var(--andala-font);
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    background: #fff;
}

.andala-form-control:focus {
    outline: none;
    border-color: var(--andala-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.andala-form-error {
    color: #dc2626;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.andala-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.andala-form-link {
    color: var(--andala-primary);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.andala-form-link:hover { text-decoration: underline; }

/* ─── Public shop/events header ─── */
.andala-public-header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--andala-border);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.andala-public-header .container-lg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.andala-public-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ─── Responsive ─── */
@media (min-width: 768px) {
    .andala-nav-links { display: flex; }
    .andala-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
    .nk-body.andala-app .nk-header-wallet-chip { display: inline-flex; }
}

@media (min-width: 992px) {
    .andala-auth-wrap { grid-template-columns: 1fr 1fr; }
    .andala-auth-brand { display: flex; align-items: center; }
    .andala-footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
}

@media (max-width: 991px) {
    .andala-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
    .andala-footer-grid { grid-template-columns: 1fr; }
    .andala-hero { padding: 3.5rem 0 4rem; }
    .andala-section { padding: 3.5rem 0; }
}

/* ─── Corporate marketing v2 ─── */
.andala-hero-corporate {
    position: relative;
    overflow: hidden;
    background: var(--andala-gradient-soft);
    padding: 4.5rem 0 5rem;
    border-bottom: 1px solid var(--andala-border);
}

.andala-hero-corporate::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--andala-grid);
    background-size: 24px 24px;
    opacity: 0.55;
    pointer-events: none;
}

.andala-hero-corporate::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.08), transparent 68%);
    pointer-events: none;
}

.andala-hero-corporate .container-xl { position: relative; z-index: 1; }

.andala-hero-corporate h1 {
    font-size: clamp(2.35rem, 4.8vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
    color: var(--andala-ink);
    margin-bottom: 1.25rem;
}

.andala-hero-corporate .hero-lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--andala-slate);
    max-width: 560px;
    margin-bottom: 2rem;
}

.andala-hero-badge-corp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--andala-border);
    box-shadow: var(--andala-shadow-sm);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--andala-primary);
    margin-bottom: 1.25rem;
}

.andala-hero-image-wrap {
    position: relative;
}

.andala-hero-image-main {
    width: 100%;
    border-radius: var(--andala-radius-lg);
    border: 1px solid var(--andala-border);
    box-shadow: var(--andala-shadow-lg);
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.andala-hero-float-card {
    position: absolute;
    left: -1.25rem;
    bottom: 1.5rem;
    background: #fff;
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius);
    padding: 1rem 1.15rem;
    box-shadow: var(--andala-shadow);
    min-width: 210px;
}

.andala-hero-float-card strong {
    display: block;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
    color: var(--andala-ink);
}

.andala-hero-float-card span {
    font-size: 0.82rem;
    color: var(--andala-muted);
}

.andala-trust-strip {
    padding: 1.35rem 0;
    background: #fff;
    border-bottom: 1px solid var(--andala-border);
}

.andala-trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    color: var(--andala-muted);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.andala-trust-strip-inner span {
    color: var(--andala-slate);
    font-weight: 700;
}

.andala-showcase-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.andala-showcase-row:last-child { margin-bottom: 0; }

.andala-showcase-copy h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
}

.andala-showcase-copy p {
    color: var(--andala-slate);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.andala-showcase-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.andala-showcase-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: var(--andala-slate);
    font-size: 0.95rem;
}

.andala-showcase-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--andala-primary);
}

.andala-showcase-media {
    position: relative;
    border-radius: var(--andala-radius-lg);
    overflow: hidden;
    border: 1px solid var(--andala-border);
    box-shadow: var(--andala-shadow);
}

.andala-showcase-media img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.andala-showcase-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 18, 32, 0.35));
    pointer-events: none;
}

.andala-product-card-img {
    overflow: hidden;
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.andala-product-card-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--andala-shadow);
}

.andala-product-card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.andala-product-card-img .card-body {
    padding: 1.35rem 1.5rem 1.5rem;
}

.andala-product-card-img h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.andala-product-card-img p {
    color: var(--andala-slate);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.andala-metrics-dark {
    background: var(--andala-gradient);
    color: #fff;
    border-radius: var(--andala-radius-lg);
    padding: 3rem 2rem;
}

.andala-metrics-dark .andala-stat-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.andala-metrics-dark .andala-stat-card strong { color: #fff; }
.andala-metrics-dark .andala-stat-card span { color: rgba(255, 255, 255, 0.72); }

.andala-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--andala-primary-soft);
    color: var(--andala-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.andala-cta-image {
    position: relative;
    border-radius: var(--andala-radius-lg);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
}

.andala-cta-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.andala-cta-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.88), rgba(0, 82, 255, 0.55));
    z-index: 1;
}

.andala-cta-image-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 620px;
}

.andala-cta-image-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.andala-cta-image-content p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.75rem;
}

.andala-auth-brand {
    background:
        linear-gradient(135deg, rgba(11, 18, 32, 0.92), rgba(11, 18, 32, 0.78)),
        url('/images/brand/auth-tech.jpg') center/cover no-repeat;
}

.andala-auth-brand::before { display: none; }

.andala-page-hero-image {
    position: relative;
    border-radius: var(--andala-radius-lg);
    overflow: hidden;
    min-height: 240px;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--andala-border);
}

.andala-page-hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.andala-page-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.45) 100%);
    z-index: 1;
}

.andala-page-hero-image .hero-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 640px;
}

.andala-page-hero-image h1,
.andala-page-hero-image h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.andala-page-hero-image p {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.andala-dashboard-banner {
    position: relative;
    border-radius: var(--andala-radius-lg);
    overflow: hidden;
    min-height: 160px;
    margin-bottom: 2rem;
    border: 1px solid var(--andala-border);
}

.andala-dashboard-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.andala-dashboard-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 18, 32, 0.9), rgba(11, 18, 32, 0.35));
    z-index: 1;
}

.andala-dashboard-banner .banner-copy {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
}

.andala-dashboard-banner h2 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.35rem;
    color: #fff;
}

.andala-dashboard-banner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.andala-stat-tile .stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--andala-primary-soft);
    color: var(--andala-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .andala-showcase-row { grid-template-columns: 1fr 1fr; }
    .andala-showcase-row.reverse .andala-showcase-copy { order: 2; }
    .andala-showcase-row.reverse .andala-showcase-media { order: 1; }
}

@media (min-width: 992px) {
    .andala-hero-corporate-grid {
        display: grid;
        grid-template-columns: 1.05fr 0.95fr;
        gap: 3rem;
        align-items: center;
    }
}

@media (max-width: 991px) {
    .andala-hero-float-card {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
}

/* ═══════════════════════════════════════════════════════════
   Motion, color accents & premium polish
   ═══════════════════════════════════════════════════════════ */

@keyframes andala-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes andala-glow-pulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.06); }
}

@keyframes andala-gradient-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes andala-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes andala-fade-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes andala-scale-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.andala-text-gradient {
    background: var(--andala-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.andala-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.andala-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Public catalog pages (events/shop/campaigns) are not marketing-body — don't hide reveals before JS */
.andala-body .andala-reveal {
    opacity: 1;
    transform: none;
}

.andala-body.andala-motion-on .andala-reveal:not(.is-visible) {
    opacity: 0;
    transform: translateY(12px);
}

.andala-body.andala-motion-on .andala-reveal.is-visible {
    opacity: 1;
    transform: none;
}

.andala-marketing-nav {
    transition: box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.andala-marketing-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 32px rgba(11, 18, 32, 0.06);
    border-bottom-color: transparent;
}

.andala-nav-links a {
    position: relative;
    transition: color 0.2s ease;
}

.andala-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: var(--andala-gradient-brand);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.andala-nav-links a:hover::after {
    transform: scaleX(1);
}

/* Hero orbs & color wash */
.andala-hero-corporate .andala-hero-orbs {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.andala-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: andala-glow-pulse 8s ease-in-out infinite;
}

.andala-hero-orb--blue {
    width: 340px;
    height: 340px;
    top: -80px;
    left: -60px;
    background: rgba(0, 82, 255, 0.18);
}

.andala-hero-orb--violet {
    width: 280px;
    height: 280px;
    top: 20%;
    right: 10%;
    background: rgba(124, 58, 237, 0.14);
    animation-delay: -2s;
}

.andala-hero-orb--cyan {
    width: 220px;
    height: 220px;
    bottom: -40px;
    left: 35%;
    background: rgba(6, 182, 212, 0.16);
    animation-delay: -4s;
}

.andala-hero-corporate::after {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 68%);
}

.andala-hero-badge-corp {
    background: linear-gradient(135deg, #fff, #f8fbff);
    border: 1px solid rgba(0, 82, 255, 0.15);
    animation: andala-fade-up 0.7s ease both;
}

.andala-hero-corporate h1 {
    animation: andala-fade-up 0.8s ease 0.1s both;
}

.andala-hero-corporate .hero-lead {
    animation: andala-fade-up 0.8s ease 0.2s both;
}

.andala-hero-corporate .andala-hero-actions {
    animation: andala-fade-up 0.8s ease 0.3s both;
}

.andala-hero-image-wrap {
    animation: andala-scale-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.andala-hero-image-main {
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.andala-hero-image-wrap:hover .andala-hero-image-main {
    transform: scale(1.02);
    box-shadow: 0 40px 90px rgba(0, 82, 255, 0.15);
}

.andala-hero-float-card {
    border-left: 3px solid transparent;
    border-image: var(--andala-gradient-brand) 1;
    animation: andala-float 5s ease-in-out infinite;
}

.andala-hero-float-card strong {
    background: var(--andala-gradient-warm);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.andala-trust-strip {
    position: relative;
    background: linear-gradient(90deg, #fff, #f8faff, #fff);
}

.andala-trust-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--andala-gradient-brand);
    background-size: 200% 200%;
    animation: andala-gradient-flow 6s ease infinite;
}

.andala-section-kicker {
    background: var(--andala-gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.andala-section-kicker--light {
    background: linear-gradient(135deg, #93c5fd, #c4b5fd, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}

.andala-product-card-img {
    position: relative;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.andala-product-card-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    z-index: 2;
}

.andala-product-card-img:nth-child(1)::before,
.col-md-4:nth-child(1) .andala-product-card-img::before {
    background: linear-gradient(90deg, #0052ff, #06b6d4);
}

.col-md-4:nth-child(2) .andala-product-card-img::before {
    background: linear-gradient(90deg, #7c3aed, #0052ff);
}

.col-md-4:nth-child(3) .andala-product-card-img::before {
    background: linear-gradient(90deg, #059669, #06b6d4);
}

.andala-product-card-img:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 56px rgba(11, 18, 32, 0.12);
}

.andala-product-card-img img {
    transition: transform 0.5s ease;
}

.andala-product-card-img:hover img {
    transform: scale(1.06);
}

.andala-showcase-media {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.andala-showcase-media:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(0, 82, 255, 0.12);
}

.andala-showcase-media::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.08), rgba(124, 58, 237, 0.06));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.andala-showcase-media:hover::before {
    opacity: 1;
}

.andala-metrics-dark {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1220 0%, #1a1040 40%, #0b1f3a 100%);
    background-size: 200% 200%;
    animation: andala-gradient-flow 12s ease infinite;
}

.andala-metrics-dark::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    top: -100px;
    right: -80px;
    background: radial-gradient(circle, rgba(0, 82, 255, 0.25), transparent 70%);
    animation: andala-glow-pulse 6s ease-in-out infinite;
}

.andala-metrics-dark::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    bottom: -80px;
    left: -40px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
    animation: andala-glow-pulse 8s ease-in-out infinite reverse;
}

.andala-metrics-dark > * {
    position: relative;
    z-index: 1;
}

.andala-metrics-dark .andala-stat-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

.andala-metrics-dark .andala-stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.andala-step-num {
    background: var(--andala-gradient-warm);
    box-shadow: 0 8px 24px rgba(0, 82, 255, 0.35);
}

.andala-feature-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.andala-feature-card:hover {
    border-color: rgba(0, 82, 255, 0.25);
}

.andala-testimonial {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.andala-testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--andala-shadow);
}

.andala-testimonial-avatar {
    background: var(--andala-gradient-warm);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 82, 255, 0.25);
}

.andala-testimonial:nth-child(2) .andala-testimonial-avatar {
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

.andala-testimonial:nth-child(3) .andala-testimonial-avatar {
    background: linear-gradient(135deg, #059669, #0052ff);
}

.andala-cta-image::before {
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.85), rgba(0, 82, 255, 0.5), rgba(124, 58, 237, 0.45));
    background-size: 200% 200%;
    animation: andala-gradient-flow 10s ease infinite;
}

.andala-footer {
    position: relative;
    background: linear-gradient(180deg, #0b1220 0%, #121a2e 100%);
}

.andala-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--andala-gradient-brand);
    opacity: 0.5;
}

/* App dashboard polish */
.andala-dashboard-banner::before {
    background: linear-gradient(105deg, rgba(11, 18, 32, 0.92) 0%, rgba(0, 82, 255, 0.45) 45%, rgba(124, 58, 237, 0.35) 100%);
}

.andala-stat-tile {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.andala-stat-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.andala-stat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(11, 18, 32, 0.1);
    border-color: rgba(0, 82, 255, 0.2);
}

.andala-stat-tile:hover::after {
    opacity: 1;
}

.andala-stat-tile--blue::after { background: linear-gradient(90deg, #0052ff, #06b6d4); }
.andala-stat-tile--violet::after { background: linear-gradient(90deg, #7c3aed, #0052ff); }
.andala-stat-tile--emerald::after { background: linear-gradient(90deg, #059669, #06b6d4); }
.andala-stat-tile--amber::after { background: linear-gradient(90deg, #d97706, #e11d48); }

.andala-stat-tile--blue .stat-icon { background: var(--andala-primary-soft); color: var(--andala-primary); }
.andala-stat-tile--violet .stat-icon { background: var(--andala-violet-soft); color: var(--andala-violet); }
.andala-stat-tile--emerald .stat-icon { background: var(--andala-emerald-soft); color: var(--andala-emerald); }
.andala-stat-tile--amber .stat-icon { background: var(--andala-amber-soft); color: var(--andala-amber); }

.nk-body.andala-app .nk-menu-item.active > .nk-menu-link {
    background: linear-gradient(90deg, var(--andala-primary-soft), rgba(124, 58, 237, 0.08));
    color: var(--andala-primary);
    font-weight: 600;
}

.nk-body.andala-app .nk-header-wallet-chip {
    background: linear-gradient(135deg, #fff, #f0f7ff);
    border-color: rgba(0, 82, 255, 0.2);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.nk-body.andala-app .nk-header-wallet-chip:hover {
    box-shadow: 0 8px 24px rgba(0, 82, 255, 0.15);
    transform: translateY(-1px);
}

.andala-auth-brand {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(11, 18, 32, 0.88), rgba(0, 82, 255, 0.35), rgba(124, 58, 237, 0.3)),
        url('/images/brand/auth-tech.jpg') center/cover no-repeat;
}

.andala-auth-brand::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.25), transparent 50%);
    pointer-events: none;
}

.andala-auth-card {
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.andala-auth-card:hover {
    box-shadow: 0 24px 64px rgba(0, 82, 255, 0.1);
}

.andala-page-hero-image::before {
    background: linear-gradient(105deg, rgba(11, 18, 32, 0.9) 0%, rgba(0, 82, 255, 0.4) 50%, rgba(124, 58, 237, 0.35) 100%);
}

.andala-quick-action {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.andala-quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 255, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    .andala-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .andala-hero-orb,
    .andala-hero-float-card,
    .andala-metrics-dark,
    .andala-trust-strip::before,
    .andala-cta-image::before,
    .andala-hero-corporate h1,
    .andala-hero-corporate .hero-lead,
    .andala-hero-corporate .andala-hero-actions,
    .andala-hero-badge-corp,
    .andala-hero-image-wrap {
        animation: none;
    }
}

.andala-admin .nk-sidebar {
    border-right: 3px solid var(--andala-blue, #0052ff);
}

.andala-admin .nk-menu-heading .overline-title {
    color: var(--andala-blue, #0052ff);
}

/* Product marketing pages */
.andala-product-page-hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--andala-border);
}

.andala-product-page-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.andala-product-page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--andala-grid, linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px));
    background-size: 28px 28px;
    opacity: 0.45;
}

.andala-product-page-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.andala-product-page-hero-orb--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: 8%;
}

.andala-product-page-hero-orb--2 {
    width: 260px;
    height: 260px;
    bottom: -60px;
    left: 4%;
}

.andala-product-page-hero--blue {
    background: linear-gradient(145deg, #eef2f7 0%, #e4eaf3 42%, #f8fafc 100%);
}
.andala-product-page-hero--blue .andala-product-page-hero-orb--1 { background: rgba(37, 99, 235, 0.14); }
.andala-product-page-hero--blue .andala-product-page-hero-orb--2 { background: rgba(99, 102, 241, 0.1); }
.andala-product-page-hero--blue .andala-product-page-hero-icon-wrap {
    background: linear-gradient(145deg, #dbeafe, #eff6ff);
    color: #1d4ed8;
    border-color: #bfdbfe;
}

.andala-product-page-hero--violet {
    background: linear-gradient(145deg, #f0eef6 0%, #e8e4f2 42%, #faf9fc 100%);
}
.andala-product-page-hero--violet .andala-product-page-hero-orb--1 { background: rgba(124, 58, 237, 0.12); }
.andala-product-page-hero--violet .andala-product-page-hero-orb--2 { background: rgba(167, 139, 250, 0.1); }
.andala-product-page-hero--violet .andala-product-page-hero-icon-wrap {
    background: linear-gradient(145deg, #ede9fe, #f5f3ff);
    color: #6d28d9;
    border-color: #ddd6fe;
}

.andala-product-page-hero--amber {
    background: linear-gradient(145deg, #f5f2ea 0%, #ece6d8 42%, #fafaf8 100%);
}
.andala-product-page-hero--amber .andala-product-page-hero-orb--1 { background: rgba(217, 119, 6, 0.12); }
.andala-product-page-hero--amber .andala-product-page-hero-orb--2 { background: rgba(245, 158, 11, 0.09); }
.andala-product-page-hero--amber .andala-product-page-hero-icon-wrap {
    background: linear-gradient(145deg, #fef3c7, #fffbeb);
    color: #b45309;
    border-color: #fde68a;
}

.andala-product-page-hero--rose {
    background: linear-gradient(145deg, #f5eef0 0%, #ecdfe4 42%, #faf8f9 100%);
}
.andala-product-page-hero--rose .andala-product-page-hero-orb--1 { background: rgba(225, 29, 72, 0.1); }
.andala-product-page-hero--rose .andala-product-page-hero-orb--2 { background: rgba(244, 114, 182, 0.09); }
.andala-product-page-hero--rose .andala-product-page-hero-icon-wrap {
    background: linear-gradient(145deg, #ffe4e6, #fff1f2);
    color: #be123c;
    border-color: #fecdd3;
}

.andala-product-page-hero h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.andala-product-page-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.andala-product-page-hero-icon-wrap {
    width: min(100%, 320px);
    aspect-ratio: 1;
    border-radius: 28px;
    border: 1px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.andala-product-page-hero-icon-wrap .icon {
    font-size: clamp(4rem, 10vw, 5.5rem);
    line-height: 1;
}

.andala-product-page-hero-media {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.5);
}

.andala-product-page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
}

.andala-powered-by {
    font-size: 0.82rem;
    color: var(--andala-slate, #64748b);
    margin: 0;
}

.andala-powered-by a {
    color: var(--andala-primary, #0052ff);
    font-weight: 600;
    text-decoration: none;
}

.andala-powered-by a:hover {
    text-decoration: underline;
}

.andala-footer .andala-powered-by a {
    color: rgba(255, 255, 255, 0.92);
}

.andala-marketing-nav .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--andala-border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    padding: 0.5rem;
}

.andala-public-nav .dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--andala-border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    padding: 0.5rem;
    font-size: 0.9rem;
}

.andala-nav-links .dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
    font-weight: 500;
}

.andala-public-nav .dropdown-item {
    border-radius: 8px;
    padding: 0.45rem 0.85rem;
}

.andala-public-nav .andala-btn.active {
    color: var(--andala-primary);
    background: rgba(0, 82, 255, 0.08);
}

.nk-footer .andala-powered-by {
    display: inline;
    font-size: 0.78rem;
}

/* Colorful product page feature cards */
.andala-product-feature-card {
    border-width: 1px;
    border-style: solid;
}

.andala-product-feature-card--blue {
    background: linear-gradient(155deg, #eff6ff 0%, #ffffff 72%);
    border-color: #bfdbfe;
}
.andala-product-feature-card--blue .andala-feature-icon { background: #dbeafe; color: #1d4ed8; }

.andala-product-feature-card--violet {
    background: linear-gradient(155deg, #f5f3ff 0%, #ffffff 72%);
    border-color: #ddd6fe;
}
.andala-product-feature-card--violet .andala-feature-icon { background: #ede9fe; color: #6d28d9; }

.andala-product-feature-card--emerald {
    background: linear-gradient(155deg, #ecfdf5 0%, #ffffff 72%);
    border-color: #a7f3d0;
}
.andala-product-feature-card--emerald .andala-feature-icon { background: #d1fae5; color: #047857; }

.andala-product-feature-card--amber {
    background: linear-gradient(155deg, #fffbeb 0%, #ffffff 72%);
    border-color: #fde68a;
}
.andala-product-feature-card--amber .andala-feature-icon { background: #fef3c7; color: #b45309; }

.andala-product-feature-card--cyan {
    background: linear-gradient(155deg, #ecfeff 0%, #ffffff 72%);
    border-color: #a5f3fc;
}
.andala-product-feature-card--cyan .andala-feature-icon { background: #cffafe; color: #0e7490; }

.andala-product-feature-card--rose {
    background: linear-gradient(155deg, #fff1f2 0%, #ffffff 72%);
    border-color: #fecdd3;
}
.andala-product-feature-card--rose .andala-feature-icon { background: #ffe4e6; color: #be123c; }

.andala-product-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.andala-product-step-card {
    border-width: 1px;
    border-style: solid;
}

.andala-product-step-card--blue {
    background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 100%);
    border-color: #93c5fd;
}
.andala-product-step-card--blue .andala-step-num { background: #2563eb; }

.andala-product-step-card--violet {
    background: linear-gradient(160deg, #f5f3ff 0%, #f8fafc 100%);
    border-color: #c4b5fd;
}
.andala-product-step-card--violet .andala-step-num { background: #7c3aed; }

.andala-product-step-card--emerald {
    background: linear-gradient(160deg, #ecfdf5 0%, #f8fafc 100%);
    border-color: #6ee7b7;
}
.andala-product-step-card--emerald .andala-step-num { background: #059669; }

/* ─── Mobile navigation (hamburger + panel) ─── */
.andala-nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 10px;
    border: 1px solid var(--andala-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.andala-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--andala-ink);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.andala-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.andala-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.andala-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.andala-mobile-menu {
    display: none;
    border-top: 1px solid var(--andala-border);
    background: #fff;
    box-shadow: 0 16px 32px rgba(11, 18, 32, 0.08);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}

.andala-mobile-menu.is-open { display: block; }

.andala-mobile-menu > .container-xl,
.andala-mobile-menu > .container-lg {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.andala-mobile-group {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--andala-border);
}

.andala-mobile-group:last-child { border-bottom: 0; padding-bottom: 0; }

.andala-mobile-heading {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--andala-muted);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.andala-mobile-group a {
    color: var(--andala-ink);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 0.25rem;
    border-radius: 8px;
}

.andala-mobile-group a:hover { background: var(--andala-bg-soft); color: var(--andala-primary); }

.andala-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.andala-mobile-actions .andala-btn {
    width: 100%;
    justify-content: center;
}

/* Keep desktop nav-links visible when scripts leave the panel open on resize */
@media (min-width: 768px) {
    .andala-marketing-nav .andala-mobile-menu { display: none !important; }
}
/* ─── Module picker / workspace switcher ─── */
.andala-module-picker-wrap {
    max-width: 920px;
}

.andala-module-card {
    height: 100%;
    border: 1px solid var(--andala-border, #e4e8ef);
    border-radius: var(--andala-radius, 14px);
    background: #fff;
    padding: 1.15rem 1.2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.andala-module-card:hover {
    border-color: rgba(0, 82, 255, 0.28);
    box-shadow: 0 10px 28px rgba(0, 82, 255, 0.08);
}

.andala-module-card.is-selected {
    border-color: rgba(0, 82, 255, 0.45);
    background: linear-gradient(160deg, #eff6ff 0%, #ffffff 70%);
}

.andala-module-card.is-primary {
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.12);
}

.andala-module-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.andala-module-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--andala-primary-soft, #ebf3ff);
    color: var(--andala-primary, #0052ff);
    font-size: 1.2rem;
}

.andala-module-card__title {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--andala-ink, #0b1220);
    margin-bottom: 0.35rem;
    cursor: pointer;
}

.andala-module-card__desc {
    color: var(--andala-slate, #5b6478);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.9rem;
    min-height: 2.7em;
}

.andala-module-card__primary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--andala-slate, #5b6478);
    cursor: pointer;
    margin: 0;
}

.andala-module-card.is-primary .andala-module-card__primary {
    color: var(--andala-primary, #0052ff);
}

.andala-empty-state {
    text-align: center;
    padding: 2.25rem 1.25rem;
    max-width: 480px;
    margin: 0 auto;
}

.andala-empty-state__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--andala-primary-soft, #eff6ff);
    color: var(--andala-primary, #0052ff);
    font-size: 1.45rem;
}

.andala-empty-state__title {
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.andala-empty-state__desc {
    color: var(--andala-slate, #5b6478);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}

.andala-setup-cta {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
}

.andala-setup-cta__icon {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--andala-primary-soft, #eff6ff);
    color: var(--andala-primary, #0052ff);
    font-size: 1.35rem;
}

.andala-setup-cta__body {
    flex: 1 1 auto;
    min-width: 0;
}

.andala-setup-cta__title {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--andala-ink);
}

.andala-setup-cta__desc {
    margin: 0 0 1.15rem;
    color: var(--andala-slate, #5b6478);
    font-size: 0.9rem;
    line-height: 1.55;
}

.andala-setup-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.andala-setup-cta__skip {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.andala-setup-cta__skip .btn {
    margin: 0;
}

/* Invoice template presets + layout fixes */
.andala-template-option {
    cursor: pointer;
    border: 1px solid #e5e9f2;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.andala-template-option.is-selected,
.andala-template-option:has(input:checked) {
    border-color: var(--andala-primary, #0052ff);
    box-shadow: 0 0 0 1px var(--andala-primary, #0052ff);
}

.andala-template-swatch {
    height: 8px;
    border-radius: 999px;
    width: 100%;
}

.invoice {
    --invoice-accent: #0f172a;
    --invoice-font: var(--andala-font, "Plus Jakarta Sans", system-ui, sans-serif);
    position: relative;
    width: 100%;
    max-width: 100%;
}

.invoice .invoice-wrap {
    font-family: var(--invoice-font);
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

/* Avoid double card chrome when document sits inside .card-inner */
.card-inner > .invoice > .invoice-wrap,
.invoice-print-wrap > .invoice > .invoice-wrap {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.invoice .invoice-tpl-banner {
    display: none;
}

.invoice .invoice-brand {
    padding-bottom: 1.25rem;
}

.invoice .invoice-logo {
    max-height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.invoice .invoice-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    padding-bottom: 1.25rem;
}

.invoice .invoice-head--from {
    flex-direction: column;
}

.invoice .invoice-contact {
    flex: 1 1 240px;
    min-width: 0;
    max-width: 100%;
}

.invoice .invoice-contact .title {
    margin-bottom: 0.65rem;
    word-break: break-word;
}

.invoice .invoice-contact ul.list-plain {
    margin: 0;
    padding: 0;
    list-style: none;
}

.invoice .invoice-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.35rem 0;
    line-height: 1.4;
}

.invoice .invoice-contact ul .icon {
    flex: 0 0 auto;
    margin: 0.1rem 0 0;
    line-height: 1;
}

.invoice .invoice-contact ul .icon + span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    color: #8094ae;
}

.invoice .invoice-desc {
    flex: 0 1 280px;
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    padding-top: 0 !important;
}

.invoice .invoice-doc-heading {
    margin: 0 0 0.75rem;
    font-size: 1.05rem !important;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--invoice-accent, #6576ff);
}

.invoice .invoice-desc .title {
    /* legacy safety if any leftover .title headings remain */
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem;
}

.invoice .invoice-meta {
    margin: 0;
    padding: 0;
    list-style: none;
}

.invoice .invoice-meta > li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.75rem;
    padding: 0.3rem 0;
}

.invoice .invoice-meta__label {
    flex: 0 0 6rem;
    min-width: 5.5rem;
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8094ae;
}

.invoice .invoice-meta__value {
    flex: 1 1 8rem;
    min-width: 0;
    padding-left: 0 !important;
    font-size: 0.875rem;
    font-weight: 600;
    color: #526484;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.invoice .invoice-bills {
    font-size: 0.875rem;
    width: 100%;
}

.invoice .invoice-bills .table {
    min-width: 0 !important;
    width: 100%;
    margin-bottom: 0;
}

.invoice .invoice-bills .table th,
.invoice .invoice-bills .table td {
    vertical-align: top;
    word-break: break-word;
}

.invoice .invoice-bills .table th.text-end,
.invoice .invoice-bills .table td.text-end,
.invoice .invoice-bills .table tfoot td {
    white-space: nowrap;
    word-break: normal;
}

.invoice .invoice-bills .table tfoot td {
    white-space: nowrap;
}

.invoice .invoice-notes {
    font-size: 0.8rem;
    font-style: italic;
    color: #8094ae;
    line-height: 1.5;
}

.invoice .invoice-footer {
    border-top: 1px solid var(--andala-border, #e4e8ef);
}

.invoice .invoice-sign-img {
    max-height: 64px;
    width: auto;
    max-width: 180px;
}

.invoice .invoice-stamp-img {
    max-height: 72px;
    width: auto;
    max-width: 120px;
}

.invoice .invoice-status-badge {
    font-weight: 600;
    white-space: nowrap;
}

.invoice.invoice-tpl-professional .invoice-doc-heading {
    color: var(--invoice-accent);
    letter-spacing: 0.02em;
}

.invoice.invoice-tpl-professional .invoice-bills thead th {
    border-bottom: 2px solid var(--invoice-accent);
}

.invoice.invoice-tpl-modern .invoice-wrap {
    border-radius: 12px;
}

.invoice.invoice-tpl-modern .invoice-tpl-banner {
    display: block;
    height: 10px;
    margin: -0.25rem -0.25rem 1rem;
    border-radius: 8px 8px 0 0;
    background: var(--invoice-accent);
}

.card-inner > .invoice.invoice-tpl-modern .invoice-tpl-banner {
    margin: 0 0 1rem;
}

.invoice.invoice-tpl-modern .invoice-doc-heading {
    color: var(--invoice-accent);
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 1rem !important;
}

.invoice.invoice-tpl-modern .invoice-bills thead th {
    color: var(--invoice-accent);
    background: rgba(0, 82, 255, 0.06);
    border: 0;
}

.invoice.invoice-tpl-minimal .invoice-brand {
    text-align: left !important;
}

.invoice.invoice-tpl-minimal .invoice-logo {
    max-height: 48px;
}

.invoice.invoice-tpl-minimal .invoice-doc-heading {
    font-weight: 500;
    color: var(--invoice-accent);
    letter-spacing: 0.1em;
    font-size: 0.9rem !important;
}

.invoice.invoice-tpl-minimal .invoice-bills .table {
    --bs-table-striped-bg: transparent;
}

.invoice.invoice-tpl-minimal .invoice-bills thead th {
    border-top: 0;
    border-bottom: 1px solid #cbd5e1;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #64748b;
}

/* Invoice app pages: forms, lists, side panels */
.nk-body.andala-app .invoice-show__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.nk-body.andala-app .invoice-show__toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.nk-body.andala-app .invoice-show__document {
    overflow: hidden;
}

.nk-body.andala-app .invoice-show__document > .invoice {
    overflow: hidden;
}

.nk-body.andala-app #invoice-items-table .form-control,
.nk-body.andala-app #invoice-items-table .form-select {
    width: 100%;
    min-width: 0;
}

.nk-body.andala-app #invoice-items-table td {
    vertical-align: top;
}

.nk-body.andala-app .invoice-list-table-wrap,
.nk-body.andala-app .invoice-payments-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nk-body.andala-app .invoice-list-table-wrap .table,
.nk-body.andala-app .invoice-payments-table-wrap .table {
    margin-bottom: 0;
}

.nk-body.andala-app .invoice-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.nk-body.andala-app .card-inner .dataTables_wrapper {
    overflow-x: auto;
}

/* ─── Event setup wizard ─── */
.event-setup-steps-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 991px) {
    .event-setup-steps-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .event-setup-steps-list {
        grid-template-columns: 1fr;
    }
}

.event-setup-step-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    height: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius-sm);
    background: var(--andala-surface);
    text-decoration: none;
    color: inherit;
}

.event-setup-step-link.is-disabled {
    opacity: 0.55;
    cursor: default;
}

.event-setup-step.is-current .event-setup-step-link {
    border-color: var(--andala-primary);
    background: var(--andala-primary-soft);
}

.event-setup-step.is-done .event-setup-step-link {
    border-color: #b7e4c7;
    background: #f6fffb;
}

.event-setup-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--andala-bg-soft);
    color: var(--andala-ink);
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.event-setup-step.is-current .event-setup-step-num {
    background: var(--andala-primary);
    color: #fff;
}

.event-setup-step.is-done .event-setup-step-num {
    background: var(--andala-emerald);
    color: #fff;
}

.event-setup-step-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.event-setup-step-text strong {
    font-size: 0.875rem;
    line-height: 1.3;
}

.event-setup-step-text small {
    color: var(--andala-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.event-wizard-form .event-setup-section {
    display: block;
}

.event-wizard-footer {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--andala-border);
}

.event-faq-empty {
    background: var(--andala-bg);
}

.event-faq-item .form-label {
    margin-bottom: 0.35rem;
}

/* ─── Event manage hub ─── */
.event-hub-head .page-title {
    font-size: 1.35rem;
}

.event-hub-share-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-hub-share-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--andala-muted);
    margin-bottom: 0.2rem;
}

.event-hub-share-link {
    word-break: break-all;
}

.event-hub-embed summary {
    cursor: pointer;
    user-select: none;
}

.event-hub-embed-code {
    padding: 0.65rem 0.75rem;
    background: var(--andala-bg);
    border: 1px solid var(--andala-border);
    border-radius: var(--andala-radius-sm);
    word-break: break-all;
}

.event-hub-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1199px) {
    .event-hub-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .event-hub-nav {
        grid-template-columns: 1fr;
    }
}

.event-hub-nav-title {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.event-hub-nav-desc {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 0.875rem;
}

.event-hub-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.event-hub-nav-links .btn {
    font-size: 0.8125rem;
}

/* ─── Form submit loading ─── */
.btn.is-loading,
.andala-btn.is-loading,
.dual-listbox .dual-listbox__button.is-loading,
input[type="submit"].is-loading {
    position: relative;
    pointer-events: none;
    cursor: wait;
    opacity: 0.88;
}

.btn.is-loading .andala-btn-spinner,
.andala-btn.is-loading .andala-btn-spinner,
input[type="submit"].is-loading + .andala-btn-spinner {
    vertical-align: -0.125em;
    margin-right: 0.35rem;
}

.andala-btn.is-loading,
.btn.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.andala-btn.is-loading .andala-btn-loading-text,
.btn.is-loading .andala-btn-loading-text {
    line-height: 1.2;
}

input[type="submit"].is-loading {
    min-width: 7rem;
}

.andala-btn-primary.is-loading .andala-btn-spinner,
.btn-primary.is-loading .andala-btn-spinner,
.btn-outline-primary.is-loading .andala-btn-spinner {
    border-color: currentcolor;
    border-right-color: transparent;
}

