/* ==========================================================================
   OmniDatac — Apex Enterprise Design System
   Premium corporate UI with deep indigo + slate palette
   Inspired by Stripe, Linear, Vercel — built for elite companies
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Override Bootstrap primary */
    --bs-primary: #4338ca;
    --bs-primary-rgb: 67, 56, 202;
    --bs-link-color: #4338ca;
    --bs-link-color-rgb: 67, 56, 202;
    --bs-link-hover-color: #3730a3;
    --bs-link-hover-color-rgb: 55, 48, 163;

    /* Brand Colors */
    --ap-primary: #4338ca;
    --ap-primary-rgb: 67, 56, 202;
    --ap-primary-light: #6366f1;
    --ap-primary-dark: #3730a3;
    --ap-primary-50: #eef2ff;
    --ap-primary-100: #e0e7ff;
    --ap-accent: #059669;
    --ap-accent-rgb: 5, 150, 105;
    --ap-accent-light: #34d399;

    /* Surfaces — Cool Slate */
    --ap-bg: #ffffff;
    --ap-bg-alt: #f8fafc;
    --ap-bg-card: #ffffff;
    --ap-surface: #f1f5f9;

    /* Text — Slate tones */
    --ap-text: #0f172a;
    --ap-text-secondary: #475569;
    --ap-text-muted: #94a3b8;

    /* Borders */
    --ap-border: #e2e8f0;
    --ap-border-light: #f1f5f9;

    /* Typography — Single professional font */
    --ap-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ap-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', monospace;

    /* Spacing & Sizing */
    --ap-radius: 8px;
    --ap-radius-sm: 6px;
    --ap-radius-lg: 12px;
    --ap-radius-xl: 16px;

    /* Effects — Subtle, corporate */
    --ap-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --ap-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --ap-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --ap-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --ap-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --ap-shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --ap-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ap-duration: 0.2s;
    --ap-duration-slow: 0.3s;

    /* Old variable compat */
    --od-primary: #4338ca;
    --od-primary-rgb: 67, 56, 202;
    --od-primary-light: #6366f1;
    --od-primary-dark: #3730a3;
    --od-accent: #059669;
    --od-accent-rgb: 5, 150, 105;
    --od-gradient: linear-gradient(135deg, #4338ca, #6366f1);
    --od-gradient-text: linear-gradient(135deg, #4338ca, #6366f1);
    --od-bg: #ffffff;
    --od-bg-alt: #f8fafc;
    --od-bg-card: #ffffff;
    --od-bg-glass: rgba(255,255,255,0.85);
    --od-surface: #f1f5f9;
    --od-text: #0f172a;
    --od-text-secondary: #475569;
    --od-text-muted: #94a3b8;
    --od-border: #e2e8f0;
    --od-border-light: #f1f5f9;
    --od-font: 'Inter', -apple-system, sans-serif;
    --od-radius: 8px;
    --od-radius-sm: 6px;
    --od-radius-lg: 12px;
    --od-shadow-card: 0 1px 3px rgba(0,0,0,0.06);
    --od-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08);
    --od-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --od-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --od-duration: 0.2s;
    --od-duration-fast: 0.15s;
    --od-fs-50: 0.875rem;
    --od-fs-75: 0.9375rem;
    --od-fs-100: 1rem;
    --od-fs-200: 1.125rem;
    --od-fs-300: 1.375rem;
    --od-shadow-glow: 0 0 30px rgba(67,56,202,0.12);

    /* Meridian compat */
    --m-primary: #4338ca;
    --m-primary-rgb: 67, 56, 202;
    --m-primary-light: #6366f1;
    --m-primary-dark: #3730a3;
    --m-accent: #059669;
    --m-accent-rgb: 5, 150, 105;
    --m-accent-light: #34d399;
    --m-bg: #ffffff;
    --m-bg-alt: #f8fafc;
    --m-bg-card: #ffffff;
    --m-surface: #f1f5f9;
    --m-text: #0f172a;
    --m-text-secondary: #475569;
    --m-text-muted: #94a3b8;
    --m-border: #e2e8f0;
    --m-border-light: #f1f5f9;
    --m-font-display: 'Inter', -apple-system, sans-serif;
    --m-font-body: 'Inter', -apple-system, sans-serif;
    --m-mono: 'JetBrains Mono', monospace;
    --m-radius: 8px;
    --m-radius-sm: 6px;
    --m-radius-lg: 12px;
    --m-radius-xl: 16px;
    --m-shadow-sm: var(--ap-shadow-sm);
    --m-shadow: var(--ap-shadow);
    --m-shadow-md: var(--ap-shadow-md);
    --m-shadow-lg: var(--ap-shadow-lg);
    --m-ease: var(--ap-ease);
    --m-duration: var(--ap-duration);
    --m-duration-fast: 0.15s;
}

/* ---------- Dark Theme ---------- */
[data-bs-theme="dark"] {
    --ap-bg: #0f172a;
    --ap-bg-alt: #1e293b;
    --ap-bg-card: #1e293b;
    --ap-surface: #334155;
    --ap-text: #f1f5f9;
    --ap-text-secondary: #94a3b8;
    --ap-text-muted: #64748b;
    --ap-border: #334155;
    --ap-border-light: #1e293b;
    --ap-shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --ap-shadow: 0 4px 6px rgba(0,0,0,0.25);
    --ap-shadow-md: 0 10px 15px rgba(0,0,0,0.3);
    --ap-shadow-lg: 0 20px 25px rgba(0,0,0,0.35);
    --ap-shadow-xl: 0 25px 50px rgba(0,0,0,0.4);
    --bs-body-bg: #0f172a;
    --bs-body-color: #f1f5f9;
    --bs-card-bg: #1e293b;
    --bs-border-color: #334155;

    --od-bg: #0f172a;
    --od-bg-alt: #1e293b;
    --od-bg-card: #1e293b;
    --od-bg-glass: rgba(30,41,59,0.85);
    --od-surface: #334155;
    --od-text: #f1f5f9;
    --od-text-secondary: #94a3b8;
    --od-text-muted: #64748b;
    --od-border: #334155;
    --od-border-light: #1e293b;
    --od-shadow-card: 0 1px 3px rgba(0,0,0,0.2);
    --od-shadow-lg: 0 20px 25px rgba(0,0,0,0.35);

    --m-bg: #0f172a;
    --m-bg-alt: #1e293b;
    --m-bg-card: #1e293b;
    --m-surface: #334155;
    --m-text: #f1f5f9;
    --m-text-secondary: #94a3b8;
    --m-text-muted: #64748b;
    --m-border: #334155;
    --m-border-light: #1e293b;
    --m-shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --m-shadow-md: 0 10px 15px rgba(0,0,0,0.3);
    --m-shadow-lg: 0 20px 25px rgba(0,0,0,0.35);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ap-font);
    background: var(--ap-bg);
    color: var(--ap-text);
    font-size: 0.9375rem;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--ap-font);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.025em;
    color: var(--ap-text);
    margin-bottom: 0.5em;
}

h1, .h1 { font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.035em; }
h2, .h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); }
h4, .h4 { font-size: 1.25rem; }
h5, .h5 { font-size: 1.0625rem; }
h6, .h6 { font-size: 0.9375rem; }

small, .small { font-size: 0.8125rem !important; }

::selection {
    background: rgba(var(--ap-primary-rgb), 0.15);
    color: var(--ap-primary-dark);
}

a {
    color: var(--ap-primary);
    transition: color var(--ap-duration) var(--ap-ease);
    text-decoration: none;
}

a:hover {
    color: var(--ap-primary-dark);
}

img { max-width: 100%; height: auto; }

/* ---------- Utility Classes ---------- */
.text-gradient,
.gradient-text {
    background: linear-gradient(135deg, var(--ap-primary), var(--ap-primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Section Styles ---------- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ap-font);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-primary);
    padding: 5px 14px;
    background: var(--ap-primary-50);
    border-radius: 100px;
    border: 1px solid var(--ap-primary-100);
    margin-bottom: 1rem;
}

[data-bs-theme="dark"] .section-badge {
    background: rgba(var(--ap-primary-rgb), 0.12);
    border-color: rgba(var(--ap-primary-rgb), 0.2);
}

.section-title {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: var(--ap-text);
    margin-bottom: 0.5em;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--ap-text-secondary);
    max-width: 560px;
    line-height: 1.6;
}

.section-title.text-white {
    color: #fff;
}

/* Section spacing */
section.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

section.py-5 > .container.py-5 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================================
   FLASH MESSAGES — Fixed overlay (no layout shift)
   ============================================================ */
.flash-messages {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: 100%;
    max-width: 720px;
    padding: 0 1rem;
    pointer-events: none;
}

.flash-messages .alert {
    pointer-events: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   TOP BAR — Contact & Social
   ============================================================ */
.top-bar {
    background: #020617;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.375rem 0;
    font-size: 0.75rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    transition: transform var(--ap-duration-slow) var(--ap-ease);
}

[data-bs-theme="light"] .top-bar {
    background: #1e293b;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--ap-duration) var(--ap-ease);
    display: inline-flex;
    align-items: center;
}

.top-bar a:hover {
    color: #fff;
}

.top-bar-social a {
    font-size: 0.8rem;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--ap-duration) var(--ap-ease);
}

.top-bar-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ap-primary-light);
}

.top-bar-hidden {
    transform: translateY(-100%);
}

/* ============================================================
   NAVIGATION — Minimal, corporate
   ============================================================ */
#mainNav {
    padding: 0.875rem 0;
    transition: all var(--ap-duration-slow) var(--ap-ease);
    background: transparent !important;
    border-bottom: 1px solid transparent;
    z-index: 1030;
    top: 34px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.nav-shell {
    padding: 0;
    border-radius: 0;
    background: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

#mainNav.scrolled .nav-shell {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
}

#mainNav.scrolled {
    padding: 0.625rem 0;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--ap-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="dark"] #mainNav.scrolled {
    background: rgba(15, 23, 42, 0.92) !important;
    border-bottom: 1px solid var(--ap-border);
}

.navbar-brand {
    font-family: var(--ap-font);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
}

#mainNav.scrolled .navbar-brand {
    color: var(--ap-text) !important;
}

/* Brand Logo */
.brand-logo {
    width: 36px;
    height: 36px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo svg {
    width: 100%;
    height: 100%;
}

.brand-logo .logo-hex {
    fill: none;
    stroke: url(#logoGrad);
    stroke-width: 1.8;
}

.brand-logo .logo-letter {
    fill: #fff;
    font-family: var(--ap-font);
    font-size: 18px;
    font-weight: 800;
    dominant-baseline: central;
    text-anchor: middle;
}

.brand-logo .logo-dot {
    fill: var(--ap-primary-light);
}

.brand-logo .logo-arc {
    fill: none;
    stroke: rgba(var(--ap-primary-rgb), 0.3);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-dasharray: 12 8;
    animation: arcSpin 20s linear infinite;
    transform-origin: center;
}

@keyframes arcSpin {
    to { transform: rotate(360deg); }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
    overflow: hidden;
}

.brand-text-name,
.brand-text-tag {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-text-name {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.brand-text-tag {
    font-family: var(--ap-font);
    font-size: 0.45rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

#mainNav.scrolled .brand-text-name {
    color: var(--ap-text);
}

#mainNav.scrolled .brand-text-tag {
    color: var(--ap-text-muted);
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-tag {
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Nav Links */
#mainNav .nav-link {
    font-family: var(--ap-font);
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem !important;
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--ap-duration) var(--ap-ease);
    position: relative;
    border-radius: 0;
}

#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.875rem;
    right: 0.875rem;
    height: 2px;
    background: var(--ap-primary-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--ap-duration-slow) var(--ap-ease);
    border-radius: 1px;
}

#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

#mainNav .nav-link:hover {
    color: #fff;
}

#mainNav .nav-link.active {
    color: #fff;
    font-weight: 600;
}

#mainNav.scrolled .nav-link {
    color: var(--ap-text-secondary);
}

#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active {
    color: var(--ap-primary);
}

#mainNav.scrolled .nav-link::after {
    background: var(--ap-primary);
}

/* Nav CTA */
.nav-cta {
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    color: var(--ap-primary) !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    padding: 0.4375rem 1.125rem !important;
    border-radius: var(--ap-radius) !important;
    transition: all var(--ap-duration) var(--ap-ease) !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--ap-primary-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

#mainNav.scrolled .nav-cta {
    background: var(--ap-primary) !important;
    border-color: var(--ap-primary) !important;
    color: #fff !important;
}

#mainNav.scrolled .nav-cta:hover {
    background: var(--ap-primary-dark) !important;
    border-color: var(--ap-primary-dark) !important;
    box-shadow: 0 4px 12px rgba(var(--ap-primary-rgb), 0.25) !important;
}

.nav-cta-soft {
    background: transparent !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
}

.nav-cta-soft:hover {
    background: rgba(255,255,255,0.08) !important;
}

.nav-status { display: none; }
.nav-actions { flex-wrap: wrap; }

/* Navbar toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 10px;
    color: #fff;
    border-radius: var(--ap-radius-sm);
    flex-shrink: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: rgba(255,255,255,0.4);
}

#mainNav.scrolled .navbar-toggler {
    color: var(--ap-text);
    border-color: var(--ap-border);
}

/* ============================================================
   HERO SECTION — Corporate dark with subtle grid
   ============================================================ */
.hero-section {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: 144px;
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

[data-bs-theme="dark"] .hero-section {
    background: #020617;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--ap-primary-rgb), 0.08) 0%, transparent 70%);
    top: -250px;
    right: -150px;
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

/* Subtle grid */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 80%);
}

.hero-grid::before { display: none; }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section .hero-content,
.hero-section .hero-content h1,
.hero-section .hero-content p {
    color: #fff;
}

.hero-title {
    font-family: var(--ap-font);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.65;
    max-width: 460px;
    margin-bottom: 1.75rem;
}

.hero-dynamic-word {
    display: inline-block;
    min-width: 12ch;
    position: relative;
    color: var(--ap-primary-light);
    transition: opacity 0.24s var(--ap-ease), transform 0.24s var(--ap-ease);
}

.hero-dynamic-word.is-changing {
    opacity: 0;
    transform: translateY(6px);
}

/* Hero Mini Badges */
.hero-mini-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-mini-badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--ap-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-mini-badges span i {
    color: var(--ap-primary-light);
    font-size: 0.6875rem;
}

/* Hero Trust Rail */
.hero-trust-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: var(--ap-radius-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: transparent;
}

.trust-item i {
    color: var(--ap-accent-light);
    font-size: 0.6875rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-item i {
    color: rgba(var(--ap-primary-rgb), 0.7);
    font-size: 0.875rem;
}

.hero-stat-item .stat-number {
    font-family: var(--ap-font);
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero-stat-item .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
}

/* Hero Stage */
.hero-stage {
    position: relative;
    z-index: 1;
}

.hero-stage::before { display: none; }

.hero-stage {
    position: relative;
    z-index: 1;
}

.hero-stage::before { display: none; }

/* ---------- Phone Showcase ---------- */
.phone-showcase {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    height: 520px;
    perspective: 1200px;
}

.phone-mockup {
    position: absolute;
    transition: transform 0.5s var(--ap-ease), opacity 0.5s var(--ap-ease);
}

.phone-frame {
    width: 220px;
    height: 460px;
    background: #0f172a;
    border-radius: 32px;
    border: 3px solid #334155;
    padding: 8px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.08), inset 0 0 0 1px rgba(255,255,255,0.04);
    overflow: hidden;
}

.phone-notch {
    width: 80px;
    height: 22px;
    background: #0f172a;
    border-radius: 0 0 14px 14px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1e293b;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.phone-status-bar .status-icons {
    display: flex;
    gap: 4px;
    font-size: 0.55rem;
}

/* Phone positions */
.phone-center {
    z-index: 3;
    bottom: 0;
}

.phone-back-left {
    z-index: 2;
    bottom: 20px;
    left: 0;
    transform: rotate(-8deg) scale(0.88);
    opacity: 0.85;
}

.phone-back-left:hover {
    transform: rotate(-4deg) scale(0.92);
    opacity: 1;
}

.phone-back-right {
    z-index: 2;
    bottom: 20px;
    right: 0;
    transform: rotate(8deg) scale(0.88);
    opacity: 0.85;
}

.phone-back-right:hover {
    transform: rotate(4deg) scale(0.92);
    opacity: 1;
}

/* ---- Phone App: Dashboard (Center) ---- */
.phone-app-dashboard {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pd-greeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.pd-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #818cf8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #fff;
}

.pd-balance-card {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-bal-label {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pd-bal-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.pd-bal-change {
    font-size: 0.6rem;
    color: #86efac;
    font-weight: 600;
}

.pd-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.pd-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 8px 4px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    font-size: 0.5rem;
    color: rgba(255,255,255,0.6);
    transition: background 0.2s;
}

.pd-action i {
    font-size: 0.85rem;
    color: #818cf8;
}

.pd-transactions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pd-tx-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pd-tx-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pd-tx-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.pd-tx-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pd-tx-name {
    font-size: 0.65rem;
    font-weight: 600;
    color: #fff;
}

.pd-tx-date {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.4);
}

.pd-tx-amt {
    font-size: 0.65rem;
    font-weight: 700;
}

.pd-tx-amt.positive { color: #86efac; }
.pd-tx-amt.negative { color: #fca5a5; }

/* ---- Phone App: Analytics (Left) ---- */
.phone-app-analytics {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pa-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.pa-badge {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(99,102,241,0.15);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
}

.pa-chart {
    background: rgba(255,255,255,0.02);
    border-radius: 10px;
    padding: 8px;
}

.pa-chart svg {
    width: 100%;
    height: 60px;
    display: block;
}

.pa-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.pa-stat {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.pa-num {
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
}

.pa-lbl {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pa-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
}

.pa-list-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
}

.pa-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pa-pct {
    margin-left: auto;
    font-weight: 700;
    color: #fff;
    font-size: 0.55rem;
}

/* ---- Phone App: Chat (Right) ---- */
.phone-app-chat {
    padding: 10px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pc-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.pc-count {
    font-size: 0.5rem;
    background: rgba(99,102,241,0.2);
    color: #818cf8;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.pc-messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.pc-msg {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 0.6rem;
    line-height: 1.4;
}

.pc-msg-received {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.85);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.pc-msg-sent {
    background: linear-gradient(135deg, #4338ca, #6366f1);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.pc-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    font-size: 0.55rem;
    color: rgba(255,255,255,0.3);
}

.pc-input i {
    color: #6366f1;
    font-size: 0.7rem;
}

/* ---------- Browser Mockup ---------- */
.browser-mockup {
    border-radius: var(--ap-radius-lg);
    overflow: hidden;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.03);
    font-family: var(--ap-font);
    font-size: 0.75rem;
    color: #cbd5e1;
}

.browser-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.browser-topbar .dot { width: 9px; height: 9px; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    padding: 4px 10px;
    font-size: 0.6875rem;
    color: #64748b;
    margin: 0 10px;
}

.browser-url i { color: var(--ap-accent-light); font-size: 0.625rem; }

.browser-actions {
    display: flex;
    gap: 8px;
    color: #475569;
    font-size: 0.6875rem;
}

.browser-body {
    padding: 0;
    background: #1e293b;
}

/* Mock nav */
.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: #0f172a;
}

.mock-logo {
    font-weight: 700;
    font-size: 0.78rem;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mock-logo i { color: var(--ap-primary-light); }

.mock-nav-links {
    display: flex;
    gap: 12px;
    font-size: 0.65rem;
    color: #475569;
}

.mock-nav-links span.active {
    color: #cbd5e1;
    font-weight: 600;
}

/* Mock stats */
.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 14px 8px;
}

.mock-stat-card {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--ap-radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.mock-stat-icon {
    width: 30px;
    height: 30px;
    border-radius: var(--ap-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.mock-stat-value {
    font-weight: 800;
    font-size: 0.8rem;
    color: #f1f5f9;
    line-height: 1.2;
}

.mock-stat-label {
    font-size: 0.55rem;
    color: #475569;
    line-height: 1.2;
}

.mock-stat-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0.5rem;
    font-weight: 700;
    padding: 1px 4px;
    border-radius: 4px;
}

.mock-stat-badge.up {
    background: rgba(var(--ap-accent-rgb), 0.15);
    color: var(--ap-accent-light);
}

/* Mock chart */
.mock-chart-area {
    margin: 0 14px 8px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--ap-radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mock-chart-title {
    font-weight: 600;
    font-size: 0.7rem;
    color: #cbd5e1;
}

.mock-chart-tabs {
    display: flex;
    font-size: 0.55rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.mock-chart-tabs span {
    padding: 2px 8px;
    color: #475569;
    cursor: default;
}

.mock-chart-tabs span.active {
    background: var(--ap-primary);
    color: #fff;
    font-weight: 600;
}

.mock-chart { position: relative; }

.mock-chart-svg {
    width: 100%;
    height: 72px;
    display: block;
}

.mock-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.55rem;
    color: #334155;
    padding-top: 4px;
}

/* Mock table */
.mock-bottom-row { padding: 0 14px 12px; }

.mock-table {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--ap-radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.mock-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    font-weight: 600;
    font-size: 0.68rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-link {
    font-size: 0.58rem;
    color: var(--ap-primary-light);
    font-weight: 600;
}

.mock-table-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-size: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mock-table-row:last-child { border-bottom: none; }

.mock-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(var(--ap-primary-rgb), 0.12);
    color: var(--ap-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 700;
    flex-shrink: 0;
}

.mock-name { flex: 1; color: #cbd5e1; font-weight: 500; }
.mock-amount { color: #94a3b8; font-weight: 600; font-variant-numeric: tabular-nums; }

.mock-status-pill {
    font-size: 0.5rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mock-status-pill.success {
    background: rgba(var(--ap-accent-rgb), 0.12);
    color: var(--ap-accent-light);
}

.mock-status-pill.pending {
    background: rgba(234, 179, 8, 0.12);
    color: #fbbf24;
}

/* Dots */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.code-keyword { color: #c084fc; }
.code-class { color: var(--ap-primary-light); }
.code-func { color: #60a5fa; }
.code-function { color: #60a5fa; }
.code-string { color: var(--ap-accent-light); }
.code-comment { color: #475569; }
.code-variable { color: #cbd5e1; }

/* ============================================================
   PAGE HERO (Inner Pages) — Clean gradient bar
   ============================================================ */
.page-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    padding: 8rem 0 2.5rem;
    color: #fff;
}

[data-bs-theme="dark"] .page-hero {
    background: #020617;
}

.page-hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ap-primary), transparent);
    opacity: 0.4;
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h4 {
    font-family: var(--ap-font);
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #fff;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.55);
}

.page-hero .breadcrumb { margin-bottom: 0; }

.page-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item.active {
    color: rgba(255,255,255,0.4);
    font-size: 0.8125rem;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.2);
}

.page-hero .breadcrumb-item a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.page-hero .breadcrumb-item a:hover {
    color: #fff;
}

/* ============================================================
   BUTTONS — Clean, professional
   ============================================================ */
.btn {
    font-family: var(--ap-font);
    font-weight: 600;
    border-radius: var(--ap-radius);
    transition: all var(--ap-duration) var(--ap-ease);
    position: relative;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--ap-primary);
    border-color: var(--ap-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--ap-primary-dark);
    border-color: var(--ap-primary-dark);
    box-shadow: 0 4px 12px rgba(var(--ap-primary-rgb), 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-gradient {
    background: var(--ap-primary);
    border: 1px solid var(--ap-primary);
    color: #fff;
    font-weight: 600;
    box-shadow: none;
}

.btn-gradient::before { display: none; }

.btn-gradient:hover {
    color: #fff;
    background: var(--ap-primary-dark);
    border-color: var(--ap-primary-dark);
    box-shadow: 0 4px 16px rgba(var(--ap-primary-rgb), 0.25);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

.btn-lg {
    padding: 0.6875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: var(--ap-radius);
}

/* ============================================================
   CARDS — Clean, minimal borders
   ============================================================ */
.card {
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-lg);
    background: var(--ap-bg-card);
    transition: all var(--ap-duration-slow) var(--ap-ease);
    box-shadow: var(--ap-shadow-xs);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--ap-shadow-md);
    border-color: rgba(var(--ap-primary-rgb), 0.15);
}

.od-card {
    background: var(--ap-bg-card);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-lg);
    padding: 1.75rem;
    transition: all var(--ap-duration-slow) var(--ap-ease);
    position: relative;
    overflow: hidden;
}

.od-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--ap-primary);
    opacity: 0;
    transition: opacity var(--ap-duration) var(--ap-ease);
}

.od-card:hover {
    box-shadow: var(--ap-shadow-md);
}

.od-card:hover::before {
    opacity: 1;
}

/* Service Card */
.service-card {
    border: 1px solid var(--ap-border);
    overflow: hidden;
    position: relative;
}

.service-card::before { display: none; }

.service-card:hover {
    box-shadow: var(--ap-shadow-md);
    border-color: rgba(var(--ap-primary-rgb), 0.2);
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--ap-primary-50);
    border-radius: var(--ap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--ap-primary);
    transition: all var(--ap-duration) var(--ap-ease);
}

[data-bs-theme="dark"] .service-icon-wrap {
    background: rgba(var(--ap-primary-rgb), 0.12);
}

.service-card:hover .service-icon-wrap {
    background: var(--ap-primary);
    color: #fff;
}

/* Service Illustration Panels */
.service-illustration {
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--bs-card-inner-border-radius, 11px) var(--bs-card-inner-border-radius, 11px) 0 0;
}

.service-deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.service-ill-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--ap-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    position: relative;
    z-index: 2;
    transition: transform var(--ap-duration-slow) ease;
}

.service-card:hover .service-ill-icon {
    transform: scale(1.08);
}

.service-ill-label {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   FEATURE CARD — Subtle left border
   ============================================================ */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    border-radius: var(--ap-radius);
    transition: all var(--ap-duration) var(--ap-ease);
    border-left: 2px solid transparent;
}

.feature-item:hover {
    background: var(--ap-primary-50);
    border-left-color: var(--ap-primary);
}

[data-bs-theme="dark"] .feature-item:hover {
    background: rgba(var(--ap-primary-rgb), 0.06);
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--ap-primary-50);
    border-radius: var(--ap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-primary);
    font-size: 1.05rem;
    transition: all var(--ap-duration) var(--ap-ease);
}

[data-bs-theme="dark"] .feature-icon {
    background: rgba(var(--ap-primary-rgb), 0.1);
}

.feature-item:hover .feature-icon {
    background: var(--ap-primary);
    color: #fff;
}

/* ============================================================
   TESTIMONIALS — Clean card
   ============================================================ */
.testimonial-card {
    background: var(--ap-bg-card);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-lg);
    padding: 1.75rem;
    position: relative;
    transition: all var(--ap-duration-slow) var(--ap-ease);
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 3.5rem;
    line-height: 1;
    color: rgba(var(--ap-primary-rgb), 0.1);
    position: absolute;
    top: 12px;
    right: 18px;
}

.testimonial-card:hover {
    box-shadow: var(--ap-shadow-md);
    border-color: rgba(var(--ap-primary-rgb), 0.15);
}

.testimonial-stars i {
    color: #eab308;
    font-size: 0.8125rem;
}

/* ============================================================
   AVATAR
   ============================================================ */
.avatar-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
    background: var(--ap-primary-50);
    color: var(--ap-primary);
}

[data-bs-theme="dark"] .avatar-circle {
    background: rgba(var(--ap-primary-rgb), 0.12);
}

.avatar-circle-sm { width: 30px; height: 30px; min-width: 30px; font-size: 0.75rem; }
.avatar-circle-lg { width: 52px; height: 52px; min-width: 52px; font-size: 1.125rem; }

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
    background: var(--ap-bg-card);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-xl);
    padding: 2.25rem;
    text-align: center;
    transition: all var(--ap-duration-slow) var(--ap-ease);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--ap-primary);
}

.pricing-card:hover {
    box-shadow: var(--ap-shadow-lg);
}

.pricing-price {
    font-family: var(--ap-font);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--ap-primary);
}

/* ============================================================
   CTA SECTIONS — Corporate dark
   ============================================================ */
.cta-icon {
    font-size: 3.5rem;
    opacity: 0.9;
    line-height: 1;
}

.cta-section {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

[data-bs-theme="dark"] .cta-section {
    background: #020617;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ap-primary), transparent);
    opacity: 0.3;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   PROSE
   ============================================================ */
.prose {
    line-height: 1.8;
    font-size: 0.9375rem;
    color: var(--ap-text-secondary);
}

.prose h2, .prose h3, .prose h4 {
    font-family: var(--ap-font);
    color: var(--ap-text);
    margin-top: 2em;
    margin-bottom: 0.75em;
    font-weight: 700;
}

.prose p { margin-bottom: 1.25em; }
.prose img { border-radius: var(--ap-radius); margin: 1.5em 0; }
.prose ul, .prose ol { margin-bottom: 1.25em; padding-left: 1.5em; }

.prose code {
    background: var(--ap-primary-50);
    padding: 0.2em 0.45em;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-family: var(--ap-mono);
    color: var(--ap-primary);
}

[data-bs-theme="dark"] .prose code {
    background: rgba(var(--ap-primary-rgb), 0.1);
}

.prose pre {
    background: #0f172a;
    color: #cbd5e1;
    padding: 1.25rem;
    border-radius: var(--ap-radius-lg);
    overflow-x: auto;
    border: 1px solid var(--ap-border);
}

.prose pre code { background: none; padding: 0; color: inherit; }

.prose blockquote {
    border-left: 3px solid var(--ap-primary);
    padding: 1rem 1.25rem;
    margin: 1.5em 0;
    background: var(--ap-primary-50);
    border-radius: 0 var(--ap-radius-sm) var(--ap-radius-sm) 0;
}

[data-bs-theme="dark"] .prose blockquote {
    background: rgba(var(--ap-primary-rgb), 0.06);
}

/* ============================================================
   FORMS — Clean, minimal
   ============================================================ */
.form-control,
.form-select {
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius);
    padding: 0.5625rem 0.875rem;
    font-size: 0.875rem;
    font-family: var(--ap-font);
    transition: all var(--ap-duration) var(--ap-ease);
    background: var(--ap-bg-card);
    color: var(--ap-text);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ap-primary);
    box-shadow: 0 0 0 3px rgba(var(--ap-primary-rgb), 0.1);
}

.form-control-lg,
.form-select-lg {
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    border-radius: var(--ap-radius);
}

.form-label {
    font-weight: 500;
    font-size: 0.8125rem;
    color: var(--ap-text);
    margin-bottom: 0.375rem;
}

/* ============================================================
   FOOTER — Corporate dark
   ============================================================ */
.site-footer {
    background: #0f172a;
    color: #64748b;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="dark"] .site-footer {
    background: #020617;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--ap-primary-rgb), 0.3), transparent);
}

.site-footer h5,
.site-footer h6 {
    color: #f1f5f9;
    font-family: var(--ap-font);
}

.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: all var(--ap-duration) var(--ap-ease);
}

.site-footer a:hover {
    color: #e2e8f0;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--ap-radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9375rem;
    color: #94a3b8;
    transition: all var(--ap-duration) var(--ap-ease);
}

.footer-social a:hover {
    background: var(--ap-primary);
    color: #fff;
    border-color: var(--ap-primary);
    padding-left: 0;
}

.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { display: inline-block; padding: 2px 0; font-size: 0.8125rem; }

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle,
#themeToggle {
    width: 36px;
    height: 36px;
    border-radius: var(--ap-radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--ap-duration) var(--ap-ease);
    font-size: 0.9375rem;
}

.theme-toggle:hover,
#themeToggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

#mainNav.scrolled #themeToggle,
#mainNav.scrolled .theme-toggle {
    background: var(--ap-bg-alt);
    border-color: var(--ap-border);
    color: var(--ap-text-secondary);
}

#mainNav.scrolled #themeToggle:hover,
#mainNav.scrolled .theme-toggle:hover {
    border-color: var(--ap-primary);
    color: var(--ap-primary);
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--ap-primary);
    color: #fff;
    border-radius: var(--ap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--ap-duration-slow) var(--ap-ease);
    z-index: 999;
    border: none;
    box-shadow: 0 4px 12px rgba(var(--ap-primary-rgb), 0.25);
    font-size: 1rem;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--ap-primary-dark);
    box-shadow: 0 6px 16px rgba(var(--ap-primary-rgb), 0.3);
}

/* ============================================================
   ANIMATIONS — Subtle, professional
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-24px); }
    to { opacity: 1; transform: translateX(0); }
}

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

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

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

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--ap-primary-rgb), 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(var(--ap-primary-rgb), 0); }
}

@keyframes typing-cursor {
    0%, 100% { border-color: var(--ap-primary); }
    50% { border-color: transparent; }
}

.animate-fadeInUp { animation: fadeInUp 0.5s var(--ap-ease) forwards; }
.animate-fadeInLeft { animation: fadeInLeft 0.5s var(--ap-ease) forwards; }
.animate-fadeInRight { animation: fadeInRight 0.5s var(--ap-ease) forwards; }
.animate-scaleIn { animation: scaleIn 0.35s var(--ap-ease) forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }

/* Scroll-triggered */
[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ap-ease), transform 0.5s var(--ap-ease);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ap-ease), transform 0.5s var(--ap-ease);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   BACKGROUND SECTIONS
   ============================================================ */
.bg-alt { background: var(--ap-bg-alt); }
.bg-surface { background: var(--ap-surface); }

.bg-grid-pattern {
    background-image: radial-gradient(circle, var(--ap-border) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ============================================================
   ACCORDION (Pricing FAQ)
   ============================================================ */
.accordion-item {
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius) !important;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.accordion-button {
    font-weight: 600;
    font-size: 0.875rem;
    font-family: var(--ap-font);
    border-radius: var(--ap-radius) !important;
    background: var(--ap-bg-card);
    color: var(--ap-text);
}

.accordion-button:not(.collapsed) {
    background: var(--ap-primary-50);
    color: var(--ap-primary);
    box-shadow: none;
}

[data-bs-theme="dark"] .accordion-button:not(.collapsed) {
    background: rgba(var(--ap-primary-rgb), 0.08);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(var(--ap-primary-rgb), 0.2);
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-step { text-align: center; position: relative; }

.process-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ap-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ap-font);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.125rem;
}

/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #0f172a;
    padding: 2rem;
}

[data-bs-theme="dark"] .auth-page {
    background: #020617;
}

.auth-card {
    background: var(--ap-bg-card);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-xl);
    box-shadow: var(--ap-shadow-xl);
    overflow: hidden;
    max-width: 420px;
    width: 100%;
    padding: 2.25rem;
}

[data-bs-theme="dark"] .auth-card {
    background: #1e293b;
    border: 1px solid #334155;
}

/* ============================================================
   BADGE STYLES
   ============================================================ */
.badge {
    font-weight: 600;
    letter-spacing: 0.02em;
    font-family: var(--ap-font);
    font-size: 0.6875rem;
}

.badge-soft-primary {
    background: var(--ap-primary-50);
    color: var(--ap-primary);
}

[data-bs-theme="dark"] .badge-soft-primary {
    background: rgba(var(--ap-primary-rgb), 0.12);
}

/* ============================================================
   CONTACT INFO CARD
   ============================================================ */
.contact-info-card {
    background: var(--ap-bg-card);
    border: 1px solid var(--ap-border);
    border-radius: var(--ap-radius-lg);
    padding: 1.75rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: var(--ap-primary-50);
    border-radius: var(--ap-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-primary);
    font-size: 1.125rem;
}

[data-bs-theme="dark"] .contact-info-icon {
    background: rgba(var(--ap-primary-rgb), 0.1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .top-bar {
        font-size: 0.65rem;
        padding: 0.25rem 0;
        overflow: hidden;
    }
    .top-bar .container {
        overflow: hidden;
    }
    .top-bar-social { display: none !important; }
    .top-bar-contact {
        gap: 0.5rem !important;
        font-size: 0.65rem;
        overflow: hidden;
        white-space: nowrap;
        width: 100%;
    }
    .top-bar-contact a {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 50%;
    }
    #mainNav { top: 26px; }
    #mainNav.scrolled { top: 0; }
    .nav-shell { padding: 0; }
    .brand-tag { display: none; }
    .hero-section { padding: 7.5rem 0 2.5rem; }
    .hero-title { font-size: 1.375rem; }
    .hero-subtitle { font-size: 0.9375rem; max-width: 100%; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .hero-mini-badges { gap: 0.375rem; }
    .hero-mini-badges span { font-size: 0.6875rem; padding: 4px 10px; }
    .hero-trust-rail { gap: 0.375rem; }
    .trust-item { font-size: 0.6875rem; padding: 4px 10px; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
    .page-hero { padding: 5rem 0 2rem; }
    .page-hero h4 { font-size: 1.375rem; }
    .section-title { font-size: 1.375rem; }
    .section-subtitle { font-size: 0.9375rem; }
    .cta-icon { font-size: 3rem; }

    #mainNav {
        background: rgba(15, 23, 42, 0.95) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        width: 100%;
        left: 0;
        right: 0;
    }

    #mainNav.scrolled {
        background: rgba(255, 255, 255, 0.95) !important;
    }

    [data-bs-theme="dark"] #mainNav,
    [data-bs-theme="dark"] #mainNav.scrolled {
        background: rgba(15, 23, 42, 0.95) !important;
    }

    .navbar-collapse {
        background: var(--ap-bg-card);
        border-radius: var(--ap-radius-lg);
        padding: 0.75rem;
        margin-top: 0.75rem;
        box-shadow: var(--ap-shadow-lg);
        border: 1px solid var(--ap-border);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 2px !important;
        width: 100%;
        flex-direction: column !important;
    }

    .navbar-nav .nav-item {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #mainNav .nav-link {
        color: var(--ap-text) !important;
        padding: 0.625rem 1rem !important;
        display: flex !important;
        align-items: center;
        width: 100%;
        border-radius: var(--ap-radius-sm);
        font-size: 0.875rem;
    }

    #mainNav .nav-link:hover,
    #mainNav .nav-link.active {
        color: var(--ap-primary) !important;
        background: var(--ap-primary-50);
        border-radius: var(--ap-radius-sm);
    }

    [data-bs-theme="dark"] #mainNav .nav-link {
        color: rgba(255,255,255,0.85) !important;
    }

    [data-bs-theme="dark"] #mainNav .nav-link:hover,
    [data-bs-theme="dark"] #mainNav .nav-link.active {
        color: var(--ap-primary-light) !important;
        background: rgba(var(--ap-primary-rgb), 0.08);
    }

    #mainNav .nav-link::after { display: none; }

    .navbar-nav .nav-item:has(.nav-cta) {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--ap-border);
    }

    .nav-cta {
        width: 100% !important;
        justify-content: center !important;
        text-align: center;
        display: flex !important;
        padding: 0.5rem 1rem !important;
        border-radius: var(--ap-radius-sm) !important;
    }

    .navbar-nav .nav-item:has(.theme-toggle) {
        margin-top: 0.25rem;
    }

    .theme-toggle,
    #themeToggle {
        width: 100% !important;
        height: auto !important;
        padding: 0.5rem 1rem !important;
        border-radius: var(--ap-radius-sm) !important;
        justify-content: center !important;
        display: flex !important;
        font-size: 0.875rem;
    }

    .navbar-toggler {
        position: relative;
        z-index: 10;
        flex-shrink: 0;
    }

    #mainNav .container {
        flex-wrap: wrap;
        max-width: 100%;
        overflow: visible;
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        max-width: calc(100% - 56px);
        flex-shrink: 1;
        overflow: hidden;
    }

    #mainNav .navbar-collapse {
        flex-basis: 100%;
        width: 100%;
    }

    .btn-lg {
        font-size: 0.875rem !important;
        padding: 0.5rem 1.25rem !important;
    }

    .phone-showcase {
        height: 420px;
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .hero-section { padding: 7rem 0 2rem; }
    .hero-title { font-size: 1.25rem; }
    .hero-subtitle { font-size: 0.875rem; }
    .section-title { font-size: 1.25rem; }
    .section-subtitle { font-size: 0.875rem; }
    .page-hero h4 { font-size: 1.25rem; }
    .cta-icon { font-size: 2.5rem; }
    .hero-stats { gap: 1rem; }
    .hero-stat-item .stat-number { font-size: 1.375rem; }
    .hero-mini-badges span { font-size: 0.625rem; padding: 3px 8px; }
    .trust-item { font-size: 0.625rem; padding: 3px 8px; }
    .mock-stats { grid-template-columns: 1fr; gap: 6px; }
    .mock-nav-links { display: none; }
    .browser-mockup { font-size: 0.68rem; border-radius: var(--ap-radius-lg); }
    .browser-topbar { padding: 8px 10px; }
    .mock-stat-value { font-size: 0.75rem; }
    .mock-chart-svg { height: 56px; }
    .mock-table-row { font-size: 0.6rem; }
    .mock-avatar { width: 22px; height: 22px; font-size: 0.5rem; }

    .phone-showcase { height: 360px; }
    .phone-frame { width: 160px; height: 340px; border-radius: 24px; }
    .phone-notch { width: 56px; height: 16px; }
    .phone-back-left { display: none; }
    .phone-back-right { display: none; }

    .btn-lg {
        font-size: 0.8125rem !important;
        padding: 0.4375rem 1rem !important;
    }

    .pricing-card.featured { transform: scale(1); }
    .pricing-card.featured:hover { transform: none; }

    section.py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .top-bar-contact a {
        max-width: 48%;
        font-size: 0.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .navbar, .site-footer, .scroll-top, .theme-toggle, .btn,
    #themeToggle { display: none !important; }
    body { background: #fff !important; }
    .card { box-shadow: none !important; border: 1px solid #ddd !important; }
    #invoicePrint { box-shadow: none !important; }
}

/* ============================================================
   BOOTSTRAP OVERRIDES — Map to Apex palette
   ============================================================ */
.bg-primary { background-color: var(--ap-primary) !important; }
.text-primary { color: var(--ap-primary) !important; }
.border-primary { border-color: var(--ap-primary) !important; }

.btn-outline-primary {
    color: var(--ap-primary);
    border-color: var(--ap-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:active {
    background: var(--ap-primary);
    border-color: var(--ap-primary);
    color: #fff;
}
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--ap-primary-rgb), 0.2);
}

.bg-light { background-color: var(--ap-bg-alt) !important; }

.text-secondary {
    color: var(--ap-text-secondary) !important;
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.glass {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--ap-border);
}

[data-bs-theme="dark"] .glass {
    background: rgba(30, 41, 59, 0.75);
}

.glow-primary { box-shadow: 0 0 24px rgba(var(--ap-primary-rgb), 0.1); }

.hover-lift {
    transition: all var(--ap-duration-slow) var(--ap-ease);
}

.hover-lift:hover {
    box-shadow: var(--ap-shadow-md);
}

.divider-gradient {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ap-border), transparent);
    border: none;
}

.count-up { font-variant-numeric: tabular-nums; }

.list-check li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-check li::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
    color: var(--ap-primary);
    font-weight: bold;
}

.theme-aurora {
    position: relative;
    background: transparent;
}

.theme-aurora::before,
.theme-aurora::after {
    display: none;
}

.letter-spacing-1 {
    letter-spacing: 0.06em;
}

/* ============================================================
   VERTICAL TIMELINE (Process Steps)
   ============================================================ */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--ap-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 2.25rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 4px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ap-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.6875rem;
    z-index: 1;
}

.timeline-content h5 {
    font-family: var(--ap-font);
    margin-bottom: 0.5rem;
}

/* ============================================================
   NUMBER STAT CARDS
   ============================================================ */
.stat-card {
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: var(--ap-radius-lg);
    background: var(--ap-bg-card);
    border: 1px solid var(--ap-border);
    transition: all var(--ap-duration-slow) var(--ap-ease);
}

.stat-card:hover {
    border-color: rgba(var(--ap-primary-rgb), 0.2);
    box-shadow: var(--ap-shadow-md);
}

.stat-card .stat-number {
    font-family: var(--ap-font);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--ap-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.8125rem;
    color: var(--ap-text-secondary);
    font-weight: 500;
}

/* ============================================================
   INPUT GROUP (Auth)
   ============================================================ */
.input-group .input-group-text {
    border-color: var(--ap-border);
    color: var(--ap-text-muted);
}

.input-group .form-control:focus ~ .input-group-text,
.input-group:focus-within .input-group-text {
    border-color: var(--ap-primary);
}
