/* ==========================================================================
   VAG BRAND AFFILIATE PARTNER PLATFORM — MASTER STYLESHEET
   Theme: Medium-Dark Robotic / AI-Inspired Premium FinTech SaaS
   Brand: VAG BRAND (VEDICAMRIT GREENS PRIVATE LIMITED)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS VARIABLES (MEDIUM-DARK ROBOTIC THEME)
   -------------------------------------------------------------------------- */
:root {
    /* Indian Tricolour Inspired Brand Accents */
    --color-saffron: #EA580C;            /* Indian Saffron / Deep Amber 600 */
    --color-saffron-light: #F97316;      /* Bright Saffron 500 */
    --color-saffron-subtle: rgba(249, 115, 22, 0.08);
    --color-saffron-border: rgba(249, 115, 22, 0.25);

    --color-primary: #059669;            /* Growth Green / Emerald 600 */
    --color-primary-dark: #047857;       /* Deep Emerald 700 */
    --color-primary-light: #10B981;      /* Bright Emerald 500 */
    --color-primary-glow: rgba(5, 150, 105, 0.18);
    --color-primary-alpha: rgba(5, 150, 105, 0.08);

    --color-accent-cyan: #0284C7;        /* Ashoka Chakra Blue / Sky 600 */
    --color-accent-cyan-light: #0EA5E9;  /* Light Sky Blue 500 */
    --color-accent-cyan-glow: rgba(2, 132, 199, 0.18);
    --color-accent-cyan-alpha: rgba(2, 132, 199, 0.08);

    --color-accent-gold: #D97706;        /* Warm Amber 600 */
    --color-accent-gold-glow: rgba(217, 119, 6, 0.16);
    --color-accent-gold-alpha: rgba(217, 119, 6, 0.08);

    --color-accent-purple: #7C3AED;      /* Royal Violet 600 */
    --color-accent-danger: #DC2626;      /* Crimson Red 600 */

    /* Premium Light Multi-Colour Surfaces */
    --bg-page: #F8FAFC;                  /* Crisp Clean Slate 50 Base */
    --bg-surface: #FFFFFF;               /* Pure White Card/Surface */
    --bg-surface-elevated: #FFFFFF;      /* Elevated Pure White Card */
    --bg-surface-hover: #F8FAFC;          /* Hover State */
    --bg-surface-subtle: #F1F5F9;        /* Recessed Plate */

    /* High-Contrast WCAG AAA Typography for Light UI */
    --text-heading: #0F172A;             /* Slate 900 - Ultra Clear Crisp */
    --text-body: #334155;                /* Slate 700 - Deep Legible Charcoal */
    --text-muted: #64748B;               /* Slate 500 - Refined Secondary */
    --text-subtle: #94A3B8;              /* Slate 400 - Subdued Labels */
    --text-white: #FFFFFF;               /* White Text on Badges/Buttons */

    /* Delicate Modern Borders */
    --border-light: rgba(15, 23, 42, 0.09);
    --border-subtle: rgba(15, 23, 42, 0.05);
    --border-strong: rgba(15, 23, 42, 0.15);
    --border-glow: rgba(5, 150, 105, 0.25);
    --border-saffron-glow: rgba(249, 115, 22, 0.25);
    --border-cyan-glow: rgba(2, 132, 199, 0.25);

    /* Typography */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Soft 3D Elevation Shadows */
    --shadow-subtle: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.07), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-3d: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --shadow-hover-3d: 0 16px 36px -6px rgba(15, 23, 42, 0.12), 0 4px 16px -2px rgba(5, 150, 105, 0.12);

    /* Transitions */
    --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. FOUNDATIONAL RESET & CYBERNETIC BACKGROUND CANVAS
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-page);
    color: var(--text-body);
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-body);
    background-color: #F8FAFC;
    /* Indian Tricolour Inspired Light Multi-Colour Background */
    background-image:
        radial-gradient(ellipse 100% 55% at 50% 0%, rgba(254, 243, 199, 0.40) 0%, rgba(255, 237, 213, 0.22) 40%, transparent 75%),
        radial-gradient(ellipse 70% 35% at 90% 25%, rgba(209, 250, 229, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 65% 35% at 10% 55%, rgba(224, 242, 254, 0.35) 0%, transparent 55%),
        linear-gradient(180deg, #FFFDFB 0%, #FAFBFD 25%, #F0FDF4 65%, #FAFBFD 100%);
    background-attachment: fixed;
    overflow-x: clip;
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Robotic Background Particle Canvas (Subtle Ambient Pastel Accent for Light Theme) */
#roboticBgCanvas {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    z-index: -1 !important;
    opacity: 0.35 !important;
}

/* Fluid Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(1.85rem, 4vw, 2.9rem);
    line-height: 1.15;
    font-weight: 900;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.22;
}

h3 {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: 0.95rem;
}

h6 {
    font-size: 0.85rem;
}

p {
    margin-bottom: 0.75rem;
    color: var(--text-body);
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE CONTAINER & ROBOTIC SECTION TONES
   -------------------------------------------------------------------------- */
.container {
    width: min(100% - 32px, 1240px);
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 16px, 1240px);
    }
}

@media (max-width: 360px) {
    .container {
        width: min(100% - 10px, 1240px);
    }
}

.section {
    padding: clamp(52px, 6.5vw, 92px) 0;
    position: relative;
    width: 100%;
    z-index: 2;
}

/* Light Multi-Colour Tricolour Section Variations */
.section-white {
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.section-mint {
    background: linear-gradient(180deg, #F0FDF4 0%, #FAFDF7 50%, #FFFFFF 100%);
    border-top: 1px solid rgba(5, 150, 105, 0.15);
    border-bottom: 1px solid rgba(5, 150, 105, 0.15);
    position: relative;
}

.section-mint::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #059669, transparent);
}

.section-slate-soft {
    background: linear-gradient(180deg, #FFFBF5 0%, #FFFCF7 50%, #FFFFFF 100%);
    border-top: 1px solid rgba(249, 115, 22, 0.15);
    border-bottom: 1px solid rgba(249, 115, 22, 0.15);
    position: relative;
}

.section-slate-soft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #EA580C, transparent);
}

.section-cyan-soft {
    background: linear-gradient(180deg, #F0F9FF 0%, #F8FCFF 50%, #FFFFFF 100%);
    border-top: 1px solid rgba(2, 132, 199, 0.15);
    border-bottom: 1px solid rgba(2, 132, 199, 0.15);
    position: relative;
}

.section-page {
    background-color: transparent;
}

.section-dark {
    background: #0B1120;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-white);
}

/* Futuristic Eyebrow Badge */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.14);
    border: 1px solid rgba(16, 185, 129, 0.40);
    border-radius: var(--radius-full);
    color: var(--color-primary-light);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.18);
}

.section-tag.dark {
    background: rgba(56, 189, 248, 0.14);
    border-color: rgba(56, 189, 248, 0.40);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.18);
}

.section-title {
    margin-bottom: 12px;
    color: var(--text-heading);
}

.section-title.dark {
    color: var(--text-white);
}

.section-subtitle {
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    color: var(--text-muted);
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: clamp(26px, 4.5vw, 44px);
    line-height: 1.68;
}

.section-subtitle.dark {
    color: var(--text-subtle);
}

.text-center {
    text-align: center;
}

.highlight-green {
    color: var(--color-primary-light);
}

.highlight-gradient {
    background: linear-gradient(135deg, #10B981 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   4. CONTINUOUS RIGHT-TO-LEFT ANNOUNCEMENT MARQUEE TICKER (SEAMLESS LOOP)
   -------------------------------------------------------------------------- */
.top-headline-strip {
    background: linear-gradient(90deg, #064E3B 0%, #0F172A 50%, #064E3B 100%);
    border-bottom: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--text-white);
    font-size: 0.78rem;
    font-weight: 700;
    height: 38px;
    min-height: 38px;
    max-height: 38px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1010;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    overflow-x: clip !important;
    user-select: none;
    contain: paint;
    box-sizing: border-box;
}

.ticker-wrap {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow: hidden !important;
    overflow-x: clip !important;
    position: relative;
    contain: paint;
    box-sizing: border-box;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: tickerMove 28s linear infinite;
    will-change: transform;
}

.top-headline-strip:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-group {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    flex-shrink: 0;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #F8FAFC;
    font-size: 0.82rem;
    font-weight: 700;
}

.ticker-item .ticker-badge {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.50);
    border-radius: var(--radius-full);
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light);
}

.ticker-separator {
    color: rgba(56, 189, 248, 0.60);
    font-weight: 900;
}

@keyframes tickerMove {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (max-width: 640px) {
    .top-headline-strip {
        height: 34px;
        min-height: 34px;
        font-size: 0.74rem;
    }

    .ticker-track {
        animation-duration: 22s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   5. PREMIUM LIGHT HYBRID APP-LIKE STICKY HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
    width: 100%;
}

/* Strictly Constrained Logo with Clean White Background */
.brand-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}

.brand-logo-badge {
    background: #FFFFFF !important;
    padding: 3px 6px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-wrapper:hover .brand-logo-badge {
    transform: scale(1.02);
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3) !important;
}

.brand-logo-img {
    height: 34px !important;
    max-height: 34px !important;
    width: auto !important;
    max-width: 120px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.brand-title-group {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.12rem;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* 4 Core Nav Links */
.nav-menu-minimal {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.5vw, 30px);
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--text-body);
    padding: 6px 0;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.site-header .hamburger-btn {
    display: none;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-heading);
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-subtle);
}

.site-header .hamburger-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--bg-surface-subtle);
}

@media (max-width: 1024px) {
    .site-header {
        height: 60px;
    }

    .header-inner {
        height: 60px;
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .nav-menu-minimal {
        display: none !important;
    }

    .site-header .hamburger-btn {
        display: inline-flex !important;
    }
}


@media (max-width: 640px) {
    .site-header {
        height: 52px;
    }

    .header-inner {
        height: 52px;
        gap: 6px;
    }

    .brand-wrapper {
        gap: 6px !important;
    }

    .brand-logo-badge {
        padding: 2px 4px !important;
        border-radius: 6px !important;
    }

    .brand-logo-img {
        height: 24px !important;
        max-height: 24px !important;
        max-width: 70px !important;
    }

    .brand-title {
        font-size: 0.88rem !important;
        font-weight: 800 !important;
    }

    .brand-subtitle {
        display: none !important;
    }

    .header-actions {
        gap: 4px !important;
    }

    .btn-lang-toggle {
        padding: 4px 7px !important;
        font-size: 10px !important;
        border-radius: 9999px !important;
    }

    #btnHeaderDashboard {
        padding: 5px 8px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
    }

    .header-dash-prefix {
        display: none !important;
    }

    .hamburger-btn {
        padding: 0 !important;
        width: 34px !important;
        height: 32px !important;
        min-width: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 6px !important;
    }

    .hamburger-text {
        display: none !important;
    }

    #guestActionButtons {
        gap: 4px !important;
    }

    #guestActionButtons a.btn {
        padding: 4px 7px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 380px) {
    .site-header {
        height: 48px;
    }

    .header-inner {
        height: 48px;
        gap: 3px;
    }

    .brand-wrapper {
        gap: 4px !important;
    }

    .brand-logo-img {
        height: 20px !important;
        max-height: 20px !important;
        max-width: 55px !important;
    }

    .brand-title {
        font-size: 0.78rem !important;
    }

    #btnHeaderDashboard {
        padding: 4px 5px !important;
        font-size: 9.5px !important;
    }

    .btn-lang-toggle {
        padding: 3px 5px !important;
        font-size: 9px !important;
    }

    .hamburger-btn {
        width: 30px !important;
        height: 28px !important;
        min-width: 30px !important;
    }
}

/* Mobile Navigation Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #FFFFFF;
    border-left: 1px solid var(--border-light);
    padding: 24px 20px;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    box-shadow: -8px 0 32px rgba(15, 23, 42, 0.15);
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

.drawer-nav-group-title {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 14px 0 6px 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mobile-nav-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-primary-light);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.70);
    backdrop-filter: blur(6px);
    z-index: 1040;
    display: none;
}

.drawer-backdrop.active {
    display: block;
}

/* --------------------------------------------------------------------------
   6. CYBERNETIC BUTTON SYSTEM
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-fast);
    white-space: normal;
    word-break: normal;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    user-select: none;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.50);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    color: var(--text-heading);
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.20);
}

.btn-dark {
    background: #1E293B;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 13px 26px;
    font-size: 0.94rem;
}

.btn-sm {
    padding: 6px 13px;
    font-size: 0.80rem;
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   7. ROBOTIC HERO SECTION & 3D LAYERED COMPOSITION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: clamp(38px, 5.5vw, 76px) 0;
    background:
        radial-gradient(circle at 16% 12%, rgba(249, 115, 22, 0.055) 0%, transparent 45%),
        radial-gradient(circle at 84% 88%, rgba(5, 150, 105, 0.065) 0%, transparent 48%),
        radial-gradient(circle at 78% 18%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
        #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: clamp(24px, 3.5vw, 44px);
    align-items: center;
    width: 100%;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.07);
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(5, 150, 105, 0.08);
}

.badge-dot-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    display: inline-block;
}

.hero-headline {
    font-size: clamp(1.95rem, 4.2vw, 3.25rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.hero-description {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    color: var(--text-body);
    line-height: 1.70;
    margin-bottom: 24px;
    max-width: 590px;
}

@media (max-width: 960px) {
    .hero-description {
        margin-inline: auto;
    }
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

@media (max-width: 960px) {
    .hero-cta-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-fintech-card {
        padding: 16px 14px;
        border-radius: 16px;
    }
}

.btn-app-cta {
    min-height: 48px;
    padding: 12px 22px;
    font-size: 14.5px;
    font-weight: 800;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-app-cta:active {
    transform: scale(0.97);
}

.btn-app-secondary {
    min-height: 48px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    transition: transform 0.15s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.btn-app-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.btn-app-secondary:active {
    transform: scale(0.97);
}

/* Prominent Hero Affiliate Auth Action Buttons (AFFILIATE REGISTER & AFFILIATE LOGIN) */
.hero-auth-prominent-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    width: 100%;
}

@media (max-width: 960px) {
    .hero-auth-prominent-group {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-auth-prominent-group {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 18px;
    }
}

.btn-hero-auth {
    flex: 1 1 0;
    min-width: 190px;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 900;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.2s ease,
                border-color 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 640px) {
    .btn-hero-auth {
        width: 100%;
        min-width: 0;
        padding: 14px 20px;
        font-size: 14px;
    }
}

.btn-hero-auth:active {
    transform: scale(0.97) !important;
}

.btn-hero-auth-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    flex-shrink: 0;
}

.btn-hero-auth-label {
    white-space: nowrap;
    line-height: 1;
}

/* Primary/Highlighted CTA: AFFILIATE REGISTER */
.btn-hero-auth-register {
    background: linear-gradient(135deg, #059669 0%, #10B981 50%, #047857 100%);
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 26px rgba(5, 150, 105, 0.40), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-hero-auth-register:hover {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(5, 150, 105, 0.52), 0 4px 10px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.60);
}

/* Secondary Noticeable CTA: AFFILIATE LOGIN */
.btn-hero-auth-login {
    background: #0F172A;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-hero-auth-login:hover {
    background: #1E293B;
    border-color: rgba(56, 189, 248, 0.60);
    color: #38BDF8 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.38);
}

.hero-trust-micro {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #64748B;
    font-weight: 600;
}

@media (max-width: 960px) {
    .hero-trust-micro {
        justify-content: center;
    }
}

.trust-check {
    color: #059669;
    font-weight: 800;
}

.trust-micro-sep {
    color: #CBD5E1;
}

/* Modern Mobile-App Fintech Earning Card */
.hero-fintech-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: clamp(18px, 2.2vw, 24px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
    position: relative;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hero-fintech-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.10);
    border-color: rgba(5, 150, 105, 0.35);
}

.fintech-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 10px;
}

.fintech-kicker {
    font-size: 10.5px;
    color: #64748B;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.fintech-amount-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fintech-amount {
    font-size: clamp(20px, 2.4vw, 24px);
    font-weight: 900;
    color: var(--text-heading);
}

.fintech-tag-green {
    font-size: 11px;
    color: #059669;
    font-weight: 800;
    background: rgba(5, 150, 105, 0.10);
    padding: 2px 7px;
    border-radius: 6px;
}

.badge-live-attribution {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-radius: 9999px;
    padding: 3px 9px;
    white-space: nowrap;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.fintech-tx-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.fintech-tx-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.fintech-tx-card:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.fintech-tx-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.fintech-tx-icon-wrap.tx-green {
    background: rgba(5, 150, 105, 0.10);
    color: #059669;
}

.fintech-tx-icon-wrap.tx-cyan {
    background: rgba(2, 132, 199, 0.10);
    color: #0284C7;
}

.fintech-tx-detail {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.fintech-tx-title {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fintech-tx-subtitle {
    font-size: 10.5px;
    color: #64748B;
}

.fintech-tx-val {
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    flex-shrink: 0;
}

.fintech-meta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.fintech-meta-cell {
    background: #F8FAFC;
    padding: 9px 10px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    text-align: center;
}

.meta-label {
    display: block;
    font-size: 10.5px;
    color: #64748B;
    font-weight: 700;
    margin-bottom: 2px;
}

.meta-val {
    display: block;
    font-size: 13px;
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   7B. VISUAL PROMOTIONAL SHOWCASE BANNERS (HERBAL PRODUCTS + AFFILIATE + SOCIAL)
   -------------------------------------------------------------------------- */
.app-banners-section {
    padding: clamp(32px, 4.5vw, 60px) 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.home-showcase-banners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(18px, 2.5vw, 28px);
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 960px) {
    .home-showcase-banners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.app-banner-card {
    border-radius: 22px;
    padding: clamp(22px, 3vw, 32px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.85);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease;
    box-sizing: border-box;
}

.app-banner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.10);
}

/* Banner 1: Affiliate Program */
.banner-partner-program {
    background: linear-gradient(150deg, #FFFFFF 0%, #F0FDF4 55%, #E6F7ED 100%);
    border-color: rgba(5, 150, 105, 0.25);
}

.banner-partner-program:hover {
    border-color: rgba(5, 150, 105, 0.45);
}

/* Banner 2: Herbal Products */
.banner-herbal-products {
    background: linear-gradient(150deg, #FFFFFF 0%, #FFFBF5 55%, #FEF3C7 100%);
    border-color: rgba(217, 119, 6, 0.22);
}

.banner-herbal-products:hover {
    border-color: rgba(217, 119, 6, 0.42);
}

/* Banner 3: Social Media Affiliate (Wider Desktop Grid Card) */
.banner-social-affiliate.banner-card-wide {
    grid-column: 1 / -1;
    background: linear-gradient(150deg, #FFFFFF 0%, #F8FAFC 45%, #F0F9FF 100%);
    border-color: rgba(2, 132, 199, 0.22);
}

.banner-social-affiliate.banner-card-wide:hover {
    border-color: rgba(2, 132, 199, 0.42);
}

.banner-wide-grid {
    display: grid;
    grid-template-columns: 1.28fr 0.72fr;
    gap: clamp(24px, 3.5vw, 40px);
    align-items: center;
    width: 100%;
}

@media (max-width: 960px) {
    .banner-wide-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.banner-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.banner-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.banner-category-tag.tag-emerald {
    background: rgba(5, 150, 105, 0.10);
    color: #047857;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.banner-category-tag.tag-saffron {
    background: rgba(234, 88, 12, 0.10);
    color: #C2410C;
    border: 1px solid rgba(234, 88, 12, 0.25);
}

.banner-category-tag.tag-cyan {
    background: rgba(2, 132, 199, 0.10);
    color: #0369A1;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.banner-badge-highlight {
    font-size: 11.5px;
    font-weight: 800;
    color: #059669;
    background: #FFFFFF;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(5, 150, 105, 0.25);
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.10);
}

.banner-badge-organic {
    font-size: 11.5px;
    font-weight: 800;
    color: #B45309;
    background: #FFFFFF;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(217, 119, 6, 0.25);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.10);
}

.banner-badge-cyan {
    font-size: 11.5px;
    font-weight: 800;
    color: #0284C7;
    background: #FFFFFF;
    padding: 4px 10px;
    border-radius: 8px;
    border: 1px solid rgba(2, 132, 199, 0.25);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.10);
}

.banner-card-title {
    font-size: clamp(1.22rem, 2vw, 1.48rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--text-heading);
    margin-bottom: 8px;
    letter-spacing: -0.015em;
}

.banner-card-title-lg {
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    font-weight: 900;
    line-height: 1.20;
    color: var(--text-heading);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.banner-card-subheading {
    font-size: 13.5px;
    font-weight: 800;
    color: #B45309;
    margin-bottom: 10px;
}

.banner-card-subheading-lg {
    font-size: clamp(13.5px, 1.6vw, 15px);
    font-weight: 800;
    color: #0284C7;
    margin-bottom: 12px;
}

.banner-card-text {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.68;
    margin-bottom: 18px;
    max-width: 560px;
}

.banner-perks-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.banner-perk-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    background: rgba(255, 255, 255, 0.85);
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.perk-check {
    color: #059669;
    font-weight: 900;
}

.banner-card-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-banner-action {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 800;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-banner-action:active {
    transform: scale(0.97);
}

.btn-banner-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.btn-banner-link:hover {
    color: var(--color-primary);
}

/* Herbal Products Mini Preview Strip */
.banner-products-preview-strip {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.banner-mini-prod {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    flex: 1 1 110px;
    min-width: 100px;
    transition: border-color 0.2s ease;
}

.banner-mini-prod:hover {
    border-color: rgba(217, 119, 6, 0.35);
}

.banner-mini-prod img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    background: #F8FAFC;
    flex-shrink: 0;
}

.mini-prod-name {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1.25;
}

.banner-ingredient-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ingredient-pill {
    font-size: 11px;
    font-weight: 700;
    color: #78350F;
    background: rgba(217, 119, 6, 0.09);
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid rgba(217, 119, 6, 0.18);
}

/* Social Media Selling Steps */
.banner-social-steps-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.social-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    padding: 6px 11px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0284C7;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-txt {
    font-size: 12px;
    font-weight: 700;
    color: #1E293B;
}

.step-arrow {
    color: #94A3B8;
    font-weight: 700;
    font-size: 12px;
}

/* Creator Ambient Canvas & Preview Pod */
.banner-wide-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.social-ambient-canvas {
    position: relative;
    width: 100%;
    max-width: 320px;
    padding: 24px 18px;
    display: flex;
    justify-content: center;
}

.creator-preview-pod {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    width: 100%;
    position: relative;
    z-index: 2;
}

.creator-pod-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.creator-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669, #0284C7);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creator-pod-user {
    font-size: 12px;
    font-weight: 800;
    color: #0F172A;
}

.creator-pod-sub {
    font-size: 10.5px;
    color: #64748B;
}

.creator-product-sample {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.creator-product-sample img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 6px;
    background: #FFFFFF;
}

.creator-prod-name {
    font-size: 12px;
    font-weight: 800;
    color: #0F172A;
}

.creator-prod-comm {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    margin-top: 2px;
}

.creator-status-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #059669;
    text-align: center;
}

/* Floating Ambient Platform Icons (Subtle Visual Icons Only, Soft Opacity) */
.social-banner-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    opacity: 0.75;
    z-index: 3;
    pointer-events: none;
    animation: ambientBannerIconFloat 6s ease-in-out infinite;
}

.social-banner-icon.icon-ig-ambient {
    top: 4px;
    left: -4px;
    color: #E1306C;
    animation-delay: 0s;
}

.social-banner-icon.icon-yt-ambient {
    top: 4px;
    right: -4px;
    color: #EF4444;
    animation-delay: 1.4s;
}

.social-banner-icon.icon-wa-ambient {
    bottom: 8px;
    left: -6px;
    color: #10B981;
    animation-delay: 2.8s;
}

.social-banner-icon.icon-tg-ambient {
    bottom: 8px;
    right: -6px;
    color: #0284C7;
    animation-delay: 4.2s;
}

.social-banner-icon.icon-fb-ambient {
    top: 44%;
    right: -14px;
    color: #1877F2;
    animation-delay: 2.0s;
}

.social-banner-icon.icon-tt-ambient {
    top: 44%;
    left: -14px;
    color: #0F172A;
    animation-delay: 3.5s;
}

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

/* Botanical Decorative Leaf Watermark */
.banner-botanical-accent {
    position: absolute;
    right: -24px;
    bottom: -24px;
    width: 140px;
    height: 140px;
    color: #059669;
    pointer-events: none;
    user-select: none;
}

.botanical-leaf-svg {
    width: 100%;
    height: 100%;
}

/* --------------------------------------------------------------------------
   7C. ULTRA PRO SINGLE-PAGE GLASSMORPHISM REGISTRATION & OTP UI SYSTEM
   Strictly Single-Page Continuous Form Flow (Zero Multi-Step Steppers / Wizards)
   Master Design System loaded via /assets/css/registration-glass.css
   -------------------------------------------------------------------------- */
.reg-dark-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 18px 80px;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.reg-dark-card {
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: clamp(24px, 4vw, 48px);
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.65);
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

/* Form Groups & Inputs */
.reg-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 640px) {
    .reg-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.reg-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.reg-field-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reg-field-label .required-dot {
    color: #EF4444;
    font-weight: 900;
}

.reg-field-input,
.reg-field-select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    color: #0F172A;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.reg-field-input:focus,
.reg-field-select:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.reg-field-input.input-error,
.reg-field-select.input-error {
    border-color: #EF4444;
    background: #FEF2F2;
}

.reg-field-helper {
    font-size: 11.5px;
    color: #64748B;
    margin-top: 4px;
}

.reg-field-error-msg {
    font-size: 11.5px;
    color: #EF4444;
    font-weight: 700;
    margin-top: 4px;
    display: none;
}

/* Social Platform Selector */
.social-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.social-opt-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.social-opt-card:hover {
    border-color: #CBD5E1;
    background: #FFFFFF;
}

.social-opt-card.selected {
    border-color: #0284C7;
    background: #F0F9FF;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.social-opt-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.social-opt-name {
    font-size: 12px;
    font-weight: 700;
    color: #1E293B;
}

/* Document Upload Card */
.doc-upload-card {
    border: 2px dashed #CBD5E1;
    background: #F8FAFC;
    border-radius: 18px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.2s ease;
    margin-bottom: 16px;
    position: relative;
}

.doc-upload-card.dragover {
    border-color: #059669;
    background: #F0FDF4;
}

.doc-upload-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.doc-upload-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 4px;
}

.doc-upload-sub {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 14px;
}

.doc-upload-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-doc-action {
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: none;
    transition: transform 0.15s ease;
}

.btn-doc-action:active {
    transform: scale(0.97);
}

/* Document Preview Pod */
.doc-preview-pod {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.doc-thumb-box {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.doc-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doc-meta-col {
    flex: 1;
    min-width: 0;
}

.doc-name-text {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-size-text {
    font-size: 11.5px;
    color: #64748B;
    margin-top: 2px;
}

.doc-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    margin-top: 4px;
}

.doc-action-btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* Camera Experience Viewport */
.camera-experience-box {
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: #F8FAFC;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.camera-stream-viewport {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 16px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #0F172A;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.camera-stream-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* mirror selfie */
}

.camera-face-guide {
    position: absolute;
    width: 72%;
    height: 82%;
    border: 2px dashed rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.4);
}

.camera-guide-text {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    font-size: 11px;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.camera-action-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Review Summary Screen */
.review-summary-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.review-section-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.review-section-main {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.review-section-icon {
    font-size: 20px;
}

.review-section-info {
    min-width: 0;
}

.review-section-title {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
}

.review-section-val {
    font-size: 12px;
    color: #475569;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-section-badge {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    background: rgba(5, 150, 105, 0.10);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-review-edit {
    font-size: 12px;
    font-weight: 800;
    color: #0284C7;
    background: #FFFFFF;
    border: 1px solid #BAE6FD;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-review-edit:hover {
    background: #F0F9FF;
    border-color: #0284C7;
}

/* Mandatory Consents */
.consent-group-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consent-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.5;
}

.consent-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #059669;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.consent-checkbox-row a {
    color: #059669;
    font-weight: 700;
    text-decoration: underline;
}

/* Wizard Navigation Bar */
.reg-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #F1F5F9;
}

.btn-reg-prev {
    min-height: 48px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    color: #475569;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-reg-prev:hover {
    background: #E2E8F0;
    color: #0F172A;
}

.btn-reg-next {
    min-height: 48px;
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 800;
    color: #FFFFFF;
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    border: none;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.28);
    cursor: pointer;
    margin-left: auto;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-reg-next:active {
    transform: scale(0.97);
}

.btn-reg-submit {
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 900;
    color: #FFFFFF;
    background: linear-gradient(135deg, #059669 0%, #10B981 50%, #047857 100%);
    border: none;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
    cursor: pointer;
    width: 100%;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-reg-submit:active {
    transform: scale(0.98);
}

.btn-reg-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Success Celebratory View */
.reg-success-card {
    text-align: center;
    padding: 30px 10px;
}

.reg-success-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #FFFFFF;
    font-size: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.3);
    margin-bottom: 18px;
}

.reg-success-id-box {
    background: #F0FDF4;
    border: 1px solid rgba(5, 150, 105, 0.3);
    border-radius: 12px;
    padding: 14px;
    display: inline-block;
    margin: 18px 0 24px 0;
}

.reg-success-id-val {
    font-size: 20px;
    font-weight: 900;
    font-family: monospace;
    color: #047857;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   8. ROBOTIC 3D CARDS & CELEBRATION BENEFIT ANIMATION SYSTEM
   -------------------------------------------------------------------------- */
.card-3d {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(20px, 2.8vw, 28px);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
    min-width: 0;
    width: 100%;
}

.card-3d:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(5, 150, 105, 0.35);
}

/* Subtle Indian Tricolour Highlights for Multi-Column Card Grids */
.grid-3-col > .card-3d:nth-child(3n+1) {
    border-top: 3px solid #EA580C;
    background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 65%);
}
.grid-3-col > .card-3d:nth-child(3n+2) {
    border-top: 3px solid #0284C7;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 65%);
}
.grid-3-col > .card-3d:nth-child(3n) {
    border-top: 3px solid #059669;
    background: linear-gradient(180deg, #F6FBF8 0%, #FFFFFF 65%);
}

.grid-4-col > .card-3d:nth-child(4n+1) {
    border-top: 3px solid #EA580C;
    background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 65%);
}
.grid-4-col > .card-3d:nth-child(4n+2) {
    border-top: 3px solid #0284C7;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 65%);
}
.grid-4-col > .card-3d:nth-child(4n+3) {
    border-top: 3px solid #059669;
    background: linear-gradient(180deg, #F6FBF8 0%, #FFFFFF 65%);
}
.grid-4-col > .card-3d:nth-child(4n) {
    border-top: 3px solid #D97706;
    background: linear-gradient(180deg, #FFFDF0 0%, #FFFFFF 65%);
}

/* Celebration Benefit Cards Reveal Animation */
.celebrate-card {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.celebrate-card.celebrate-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.celebrate-card:nth-child(1) {
    transition-delay: 0.05s;
}

.celebrate-card:nth-child(2) {
    transition-delay: 0.15s;
}

.celebrate-card:nth-child(3) {
    transition-delay: 0.25s;
}

.celebrate-card:nth-child(4) {
    transition-delay: 0.35s;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(16px, 2vw, 22px);
    width: 100%;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(14px, 1.8vw, 18px);
    width: 100%;
}

.icon-box-3d {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 14px;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.20);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.card-3d:hover .icon-box-3d {
    transform: scale(1.08);
}

.icon-box-3d.cyan {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.20);
}

.icon-box-3d.gold {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.35);
    color: var(--color-accent-gold);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.20);
}

/* --------------------------------------------------------------------------
   9. EXACT 2-TIER SALES & COMMISSION CALCULATOR
   -------------------------------------------------------------------------- */
.calc-master-container {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 32px);
    box-shadow: var(--shadow-3d);
    position: relative;
    width: 100%;
}

.calc-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(20px, 3vw, 32px);
    align-items: start;
    width: 100%;
}

@media (max-width: 860px) {
    .calc-grid-layout {
        grid-template-columns: 1fr;
    }
}

.calc-product-preview-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    margin-top: 10px;
}

.calc-prod-thumb {
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border-radius: var(--radius-sm);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.calc-prod-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.calc-qty-control-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 480px) {
    .calc-qty-control-row {
        grid-template-columns: 1fr;
    }
}

.calc-summary-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calc-result-card-3d {
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 13px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition-fast);
}

.calc-result-card-3d:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
    border-color: rgba(5, 150, 105, 0.35);
}

.calc-result-card-3d.highlight-total {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(5, 150, 105, 0.35);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}

/* Commission Tiers Grid */
.commission-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 18px;
    margin-bottom: 22px;
    width: 100%;
}

.comm-tier-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-normal);
}

.comm-tier-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover-3d);
}

.comm-tier-card.primary-tier {
    border-top: 4px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.12);
}

.comm-pct-display {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 4px;
}

.comm-pct-display.green {
    color: var(--color-primary-light);
}

.comm-pct-display.cyan {
    color: var(--color-accent-cyan);
}

.comm-pct-display.gray {
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. PRODUCT CATALOG (UNIFORM 3D PRESENTATION & BALANCED DIMENSIONS)
   -------------------------------------------------------------------------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    width: 100%;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 860px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 580px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.product-card {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.88);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px -8px rgba(16, 185, 129, 0.14), 0 10px 18px -4px rgba(15, 23, 42, 0.08);
    border-color: rgba(16, 185, 129, 0.45);
}

.product-image-container {
    width: 100%;
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    background: radial-gradient(circle at 50% 38%, #FFFFFF 0%, #F8FAFC 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(241, 245, 249, 0.95);
    padding: 18px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .product-image-container {
        height: 190px;
        min-height: 190px;
        max-height: 190px;
        padding: 14px;
    }
}

.product-image-container img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.07));
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), filter 0.32s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.04) translateY(-2px);
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.12));
}

.product-badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #059669;
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    padding: 4px 10px;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
    z-index: 2;
}

/* Neutral Placeholder for Missing Images (Zero Logo Abuse) */
.product-no-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #94A3B8;
    font-size: 0.78rem;
    font-weight: 700;
    background: #F8FAFC;
    border-radius: 10px;
    border: 1px dashed #CBD5E1;
}

.product-no-img-placeholder .placeholder-icon {
    font-size: 32px;
    opacity: 0.6;
}

.product-body {
    padding: 16px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-heading, #0F172A);
    margin-bottom: 6px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    max-height: 2.7em;
}

.product-short-desc {
    font-size: 0.80rem;
    color: var(--text-muted, #64748B);
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.35em;
    max-height: 4.35em;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 28px;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 900;
    color: #059669;
    letter-spacing: -0.01em;
}

.price-mrp {
    font-size: 0.82rem;
    color: #94A3B8;
    text-decoration: line-through;
}

.price-discount-tag {
    margin-left: auto;
    font-size: 0.70rem;
    font-weight: 800;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 7px;
    border-radius: 6px;
}

.product-comm-pill {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.74rem;
    font-weight: 800;
    color: #047857;
    margin-bottom: 14px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-actions {
    margin-top: auto;
    padding: 0 18px 18px 18px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.product-card-actions .btn {
    height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Product Detail Page View */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(20px, 3.5vw, 40px);
    align-items: start;
    width: 100%;
}

@media (max-width: 860px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }
}

.product-detail-gallery {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-card);
    width: 100%;
}

.product-main-img-box {
    width: 100%;
    height: 300px;
    background: #FFFFFF;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    padding: 12px;
}

.product-main-img-box img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.product-thumbs-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.thumb-item {
    width: 52px;
    height: 52px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 3px;
    cursor: pointer;
    flex-shrink: 0;
    background: #FFFFFF;
}

.thumb-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. TABLES & PRODUCT EXAMPLES (CONTAINED SCROLLING)
   -------------------------------------------------------------------------- */
.sales-examples-table-wrapper {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(14px, 2.5vw, 24px);
    box-shadow: var(--shadow-card);
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    min-width: 560px;
}

th {
    background: rgba(14, 21, 36, 0.95);
    color: var(--text-heading);
    text-align: left;
    padding: 11px 13px;
    font-weight: 800;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}

td {
    padding: 11px 13px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-body);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------------------------
   12. INTEGRATION-READY GOOGLE REVIEWS & TESTIMONIALS
   -------------------------------------------------------------------------- */
.integration-ready-box {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 3.5vw, 36px) 20px;
    text-align: center;
    box-shadow: var(--shadow-card);
    width: 100%;
}

.google-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 21, 36, 0.90);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    padding: 5px 12px;
    box-shadow: var(--shadow-subtle);
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.empty-state-card {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 50px) 20px;
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION (ROBOTIC TECH STYLE)
   -------------------------------------------------------------------------- */
.faq-box-wrapper {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.faq-card-item {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-fast);
}

.faq-card-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.15);
}

.faq-header-trigger {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-heading);
    cursor: pointer;
    user-select: none;
    gap: 12px;
}

.faq-arrow-icon {
    font-size: 0.90rem;
    color: var(--color-primary-light);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-card-item.active .faq-arrow-icon {
    transform: rotate(180deg);
}

.faq-body-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.90rem;
    color: var(--text-body);
    line-height: 1.68;
}

.faq-card-item.active .faq-body-content {
    padding: 0 20px 18px 20px;
    max-height: 400px;
}

/* --------------------------------------------------------------------------
   14. FORMS & 6-BOX OTP VERIFICATION
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: 14px;
    text-align: left;
    width: 100%;
}

.form-label {
    display: block;
    font-size: 0.80rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 9px 12px;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: var(--radius-md);
    color: var(--text-heading);
    font-size: 0.90rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
    background: #FFFFFF;
}

textarea.form-control {
    height: auto;
    min-height: 90px;
    padding: 10px 12px;
    resize: vertical;
}

.form-notification {
    padding: 11px 13px;
    border-radius: var(--radius-md);
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 10px;
    display: none;
}

.form-notification.success {
    background: rgba(5, 150, 105, 0.10);
    border: 1px solid rgba(5, 150, 105, 0.35);
    color: #047857;
    display: block;
}

.form-notification.error {
    background: rgba(220, 38, 38, 0.10);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: var(--color-accent-danger);
    display: block;
}

/* 6-Box OTP Verification Container */
.otp-inputs-wrapper {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 14px 0;
}

.otp-box {
    width: 42px;
    height: 48px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 900;
    background: #FFFFFF;
    border: 2px solid #CBD5E1;
    border-radius: var(--radius-md);
    color: var(--text-heading);
    transition: var(--transition-fast);
}

.otp-box:focus,
.otp-box.filled {
    border-color: var(--color-primary);
    background: #FFFFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.otp-timer-text {
    font-size: 0.80rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
}

.otp-resend-link {
    color: var(--color-primary-light);
    font-weight: 800;
    cursor: pointer;
}

.otp-resend-link.disabled {
    color: var(--text-subtle);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   15. MULTI-COLUMN CORPORATE FOOTER (LIGHT THEME)
   -------------------------------------------------------------------------- */
.site-footer {
    background: #F8FAFC !important;
    color: var(--text-body) !important;
    border-top: 1px solid var(--border-light) !important;
    padding: clamp(48px, 5.5vw, 70px) 0 28px 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr;
    gap: clamp(18px, 3vw, 32px);
    margin-bottom: 36px;
    width: 100%;
}

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

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

.footer-col-title {
    font-size: 0.80rem;
    font-weight: 800;
    color: var(--text-heading) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav-item {
    font-size: 0.84rem;
    color: var(--text-muted) !important;
    cursor: pointer;
    transition: var(--transition-fast);
}

.footer-nav-item:hover {
    color: var(--color-primary) !important;
}

.footer-social-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #64748B;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.footer-social-btn:hover {
    color: var(--color-primary);
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.30);
    transform: translateY(-2px);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.76rem;
    color: #64748B;
}

.footer-bottom-badges {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --------------------------------------------------------------------------
   16. EXECUTIVE DASHBOARD (AUTHENTICATED)
   -------------------------------------------------------------------------- */
.app-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: 290px;
    max-width: 86vw;
    background: #FFFFFF;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -320px;
    height: 100vh;
    height: 100dvh;
    z-index: 1060;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-shrink: 0;
}

.sidebar.active {
    left: 0 !important;
    box-shadow: 0 0 50px rgba(15, 23, 42, 0.22);
}


.sidebar-header {
    padding: 16px 14px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-nav {
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-item:hover {
    background: rgba(5, 150, 105, 0.08);
    color: #059669;
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(5, 150, 105, 0.12) 0%, rgba(5, 150, 105, 0.03) 100%);
    color: #047857;
    font-weight: 800;
    border-left: 3px solid #059669;
}

.sidebar-footer {
    padding: 14px;
    border-top: 1px solid var(--border-light);
}

.user-profile-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.40) 0%, rgba(248, 250, 252, 0.75) 15%, rgba(240, 249, 255, 0.35) 45%, rgba(240, 253, 244, 0.40) 80%, #F8FAFC 100%);
}

.top-navbar {
    height: 64px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.content-body {
    padding: clamp(16px, 2.5vw, 24px);
    flex: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-subtle);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover-3d);
    border-color: rgba(5, 150, 105, 0.35);
}

/* Subtle Indian Tricolour Highlights for KPI Columns */
.stats-grid > .stat-card:nth-child(4n+1) {
    border-top: 3px solid #EA580C;
    background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 65%);
}

.stats-grid > .stat-card:nth-child(4n+2) {
    border-top: 3px solid #0284C7;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 65%);
}

.stats-grid > .stat-card:nth-child(4n+3) {
    border-top: 3px solid #059669;
    background: linear-gradient(180deg, #F6FBF8 0%, #FFFFFF 65%);
}

.stats-grid > .stat-card:nth-child(4n) {
    border-top: 3px solid #D97706;
    background: linear-gradient(180deg, #FFFDF0 0%, #FFFFFF 65%);
}

.stat-label {
    font-size: 0.80rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
    font-weight: 600;
}

.stat-value {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--text-heading);
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--color-primary-light);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-accent-gold);
}

.badge-info {
    background: rgba(56, 189, 248, 0.15);
    color: var(--color-accent-cyan);
}

/* Global Overflow Control */
html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Mobile Sidebar Backdrop Overlay */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sidebar-backdrop.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

body.sidebar-open {
    overflow: hidden !important;
}

/* Top Navbar Hamburger Toggle (Desktop & Mobile) */
.top-navbar .hamburger-btn,
#menuToggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0 !important;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    color: var(--text-heading);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.top-navbar .hamburger-btn:hover,
#menuToggle:hover {
    background: var(--bg-surface-subtle);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.15);
}

.top-navbar .hamburger-btn:active,
#menuToggle:active {
    transform: scale(0.96);
}

.hamburger-btn .hamburger-text {
    display: none !important;
}

@media (max-width: 1024px) {
    .top-navbar {
        padding: 10px 16px;
    }
}


/* Ultra Premium Auth UI Styling */
.auth-page-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 16px;
    position: relative;
}

.auth-card-ultra {
    width: 100%;
    max-width: 460px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 36px 30px;
    box-shadow: var(--shadow-3d);
    position: relative;
    box-sizing: border-box;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.30);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.auth-trust-banner {
    display: flex;
    justify-content: space-around;
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 10px 8px;
    margin-top: 24px;
    font-size: 11px;
    color: var(--text-muted);
}

.auth-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.auth-step-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding: 6px 12px;
    background: #F1F5F9;
    border-radius: 8px;
}

.auth-step-pill .step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

/* Profile Modal Styling */
.profile-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.profile-modal-card {
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
    box-sizing: border-box;
}

@media (max-width: 360px) {
    .auth-card-ultra {
        padding: 24px 18px;
    }

    .otp-box {
        width: 36px;
        height: 44px;
        font-size: 1.15rem;
    }

    .otp-inputs-wrapper {
        gap: 5px;
    }
}

/* --------------------------------------------------------------------------
   EXPLICIT Z-INDEX STACKING CONTEXT (Canvas -> Background -> Header -> Content -> Modals)
   -------------------------------------------------------------------------- */
.top-headline-strip {
    position: relative !important;
    z-index: 1010 !important;
}

.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border-light) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

#mainAppContent {
    position: relative !important;
    z-index: 10 !important;
    min-height: calc(100vh - 160px);
    width: 100%;
}

.route-page {
    position: relative !important;
    z-index: 10 !important;
    width: 100%;
}

#appRoot {
    position: relative !important;
    z-index: 10 !important;
    width: 100%;
}

.site-footer {
    position: relative !important;
    z-index: 10 !important;
    background: #F8FAFC !important;
    color: var(--text-body) !important;
}

/* Official Affiliate Program Banner Styling */
.affiliate-official-banner-wrap {
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

.affiliate-official-banner-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.45);
}

.affiliate-official-banner-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    transition: filter 0.25s ease;
}

.affiliate-official-banner-wrap:hover img {
    filter: brightness(1.02);
}

@media (max-width: 768px) {
    .affiliate-official-banner-wrap {
        border-radius: 12px !important;
        margin-bottom: 18px !important;
    }

    .affiliate-official-banner-wrap img {
        border-radius: 11px !important;
    }
}

/* ==========================================================================
   DASHBOARD OPEN STORE LINK BUTTON (Black Background + White Text)
   ========================================================================== */
.btn-open-store-black {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #27272a !important;
    font-weight: 800 !important;
    padding: 8px 16px !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}

.btn-open-store-black:hover,
.btn-open-store-black:focus,
.btn-open-store-black:active {
    background: #18181b !important;
    color: #FFFFFF !important;
    border-color: #3f3f46 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6) !important;
}

/* ==========================================================================
   DIRECT TEAM — ADD PARTNER MODAL & SPONSOR INCOME SYSTEM STYLES
   ========================================================================== */
.modal-partner-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 12, 22, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.modal-partner-dialog {
    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow-y: auto;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    box-shadow: var(--shadow-3d);
    padding: 28px 24px;
    position: relative;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.sponsor-badge-display {
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.30);
    color: var(--color-primary);
    font-family: monospace;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
}

.sponsor-income-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.sponsor-stat-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Complete Mobile Responsive Polish */
@media (max-width: 768px) {
    .modal-partner-dialog {
        padding: 20px 16px;
        max-height: 95vh;
        border-radius: 16px;
    }

    .sponsor-income-stat-grid {
        grid-template-columns: 1fr;
    }

    .top-navbar {
        padding: 8px 12px !important;
        gap: 8px !important;
    }

    .header-actions {
        gap: 6px !important;
    }

    .btn-open-store-black {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   MASTER RESPONSIVE & PREMIUM UI SYSTEM (ALL BREAKPOINTS & PRINT)
   ========================================================================== */

/* 1. Permanent Session Timer Badge Hide (Preserving JS Session Heartbeat) */
#sessionCountdownBadge,
.session-timer-badge {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* 2. Universal Auto-Stack Grid Utilities (LEFT + RIGHT -> TOP + BOTTOM) */
.dash-split-grid,
.grid-responsive-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 2vw, 24px);
    width: 100%;
    box-sizing: border-box;
}

/* Enforce vertical stacking on tablets & mobile */
@media (max-width: 900px) {

    .dash-split-grid,
    .grid-responsive-2col,
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1.15fr 0.85fr"],
    [style*="grid-template-columns: 1.1fr 0.9fr"],
    [style*="grid-template-columns: 1.2fr 0.8fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* 3. Global Overflow Zero-Leakage Shield */
html,
body {
    overflow-x: clip !important;
    max-width: 100% !important;
    width: 100% !important;
}

.app-container,
.main-wrapper,
.content-body,
#mainAppContent,
.route-page {
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip !important;
    box-sizing: border-box !important;
}

/* 4. Table Scroll-Safe Guarantee */
.table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    scrollbar-width: thin;
    margin-bottom: 8px;
}

/* 5. Fluid Responsive OTP Boxes for Small Mobile (360px - 430px) */
@media (max-width: 420px) {
    .otp-inputs-wrapper {
        gap: clamp(4px, 1.6vw, 7px) !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .otp-box {
        width: clamp(34px, 11.5vw, 42px) !important;
        height: clamp(42px, 13vw, 48px) !important;
        font-size: 1.15rem !important;
        border-radius: 8px !important;
        padding: 0 !important;
    }

    .auth-card-ultra {
        padding: 22px 14px !important;
    }

    .top-navbar {
        padding: 8px 10px !important;
    }

    .page-title {
        font-size: 14px !important;
    }
}

/* 6. Tablet Landscape & Large Screen Polish (1024px - 2560px+) */
@media (min-width: 1600px) {

    .container,
    .content-body {
        max-width: 1560px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* 7. Profile & Bank Vault Full-Width Architecture */
.profile-full-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.profile-header-card {
    background: linear-gradient(135deg, #FFFBF5 0%, #FFFFFF 50%, #F0FDF4 100%) !important;
    border: 1px solid rgba(5, 150, 105, 0.25) !important;
    box-shadow: var(--shadow-card) !important;
}

.profile-fields-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.profile-field-tile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 18px;
    background: #F8FAFC;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-subtle);
    box-sizing: border-box;
}

.profile-field-tile:hover {
    border-color: rgba(5, 150, 105, 0.35);
    background: #F1F5F9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.profile-field-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 220px;
    flex: 1 1 auto;
}

.profile-field-label {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.profile-field-subtext {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}

.profile-field-value-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
}

.profile-field-val {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--text-heading);
    word-break: break-all;
    max-width: 100%;
}

@media (max-width: 640px) {
    .profile-field-tile {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }

    .profile-field-value-group {
        width: 100%;
        justify-content: space-between;
        text-align: left;
        padding-top: 8px;
        border-top: 1px dashed var(--border-subtle);
    }

    .profile-field-val {
        text-align: left;
    }
}

.bank-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .bank-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 8. Print & Share Optimization */
@media print {

    .site-header,
    .top-headline-strip,
    .sidebar,
    .top-navbar,
    .sidebar-backdrop,
    .modal-partner-backdrop,
    .profile-modal-backdrop,
    .btn,
    button,
    #cyberCanvas,
    .ambient-glow-orb,
    .interactive-glow,
    .realtime-ticker-pill {
        display: none !important;
    }

    body,
    html,
    #mainAppContent,
    .app-container,
    .main-wrapper,
    .content-body {
        background: #FFFFFF !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        width: 100% !important;
        min-height: auto !important;
    }

    .card-3d,
    .stat-card,
    .product-card,
    .sales-examples-table-wrapper {
        background: #FFFFFF !important;
        color: #000000 !important;
        border: 1px solid #CBD5E1 !important;
        box-shadow: none !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    .brand-logo-img {
        display: block !important;
        max-height: 48px !important;
    }

    h1,
    h2,
    h3,
    h4,
    p,
    span,
    td,
    th {
        color: #000000 !important;
        text-shadow: none !important;
    }

    a {
        color: #059669 !important;
        text-decoration: underline !important;
    }
}

/* --------------------------------------------------------------------------
   17. AMBIENT FLOATING VECTOR SOCIAL MEDIA ICONS (Icon-Only, Ambient Soft Glow)
   -------------------------------------------------------------------------- */
.app-social-ambient-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
    z-index: 1;
}

.floating-social-icon {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #475569;
    opacity: 0.22;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: ambientIconFloat 7s ease-in-out infinite;
    will-change: transform;
}

.floating-social-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.04));
}

/* Individual Platform Colors (Soft Brand Tint) & Asymmetric Perimeter Distribution */
.icon-ig {
    color: #E1306C;
    left: 3.5%;
    top: 14%;
    opacity: 0.25;
    animation-delay: 0s;
    animation-duration: 6.8s;
}

.icon-yt {
    color: #EF4444;
    right: 5%;
    top: 12%;
    opacity: 0.24;
    animation-delay: 1.6s;
    animation-duration: 7.4s;
}

.icon-wa {
    color: #10B981;
    left: 2.5%;
    top: 80%;
    opacity: 0.26;
    animation-delay: 3.2s;
    animation-duration: 6.5s;
}

.icon-tg {
    color: #0284C7;
    left: 18%;
    top: 88%;
    opacity: 0.22;
    animation-delay: 4.6s;
    animation-duration: 7.2s;
}

.icon-x {
    color: #0F172A;
    right: 4%;
    top: 78%;
    opacity: 0.22;
    animation-delay: 2.2s;
    animation-duration: 6.9s;
}

.icon-fb {
    color: #1877F2;
    right: 17%;
    top: 88%;
    opacity: 0.20;
    animation-delay: 5.4s;
    animation-duration: 7.8s;
}

.icon-tt {
    color: #0F172A;
    left: 10%;
    top: 45%;
    opacity: 0.18;
    animation-delay: 3.8s;
    animation-duration: 8.0s;
}

.icon-li {
    color: #0A66C2;
    right: 8%;
    top: 44%;
    opacity: 0.20;
    animation-delay: 1.0s;
    animation-duration: 7.0s;
}

.icon-pin {
    color: #E60023;
    left: 45%;
    top: 5%;
    opacity: 0.18;
    animation-delay: 2.6s;
    animation-duration: 7.6s;
}

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

/* Tablet & Smaller Screens: Reduce peripheral clutter */
@media (max-width: 1024px) {
    .icon-tt,
    .icon-li,
    .icon-pin {
        display: none !important;
    }
    
    .floating-social-icon {
        width: 32px;
        height: 32px;
        opacity: 0.20;
    }
}

/* Mobile Screens: Show only 3-4 subtle icons tucked into safe corners away from headings, copy and CTAs */
@media (max-width: 768px) {
    .icon-fb,
    .icon-tg,
    .icon-tt,
    .icon-li,
    .icon-pin {
        display: none !important;
    }

    .floating-social-icon {
        width: 24px;
        height: 24px;
        opacity: 0.16;
    }

    .icon-ig {
        left: 2%;
        top: 2%;
    }

    .icon-yt {
        right: 3%;
        top: 2%;
    }

    .icon-wa {
        left: 3%;
        top: auto;
        bottom: 2%;
    }

    .icon-x {
        right: 3%;
        top: auto;
        bottom: 2%;
    }
}

/* --------------------------------------------------------------------------
   18. NEW KYC VERIFICATION TILES & STATUS BADGES (Requirement 3)
   -------------------------------------------------------------------------- */
.kyc-doc-tile {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.kyc-doc-tile:hover {
    border-color: rgba(5, 150, 105, 0.35);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover-3d);
}

/* Subtle Indian Tricolour Highlights for Document Tiles */
.kyc-doc-tile[data-doctype="aadhaar"] {
    border-top: 3px solid #EA580C;
    background: linear-gradient(180deg, #FFFBF5 0%, #FFFFFF 65%);
}

.kyc-doc-tile[data-doctype="pan"] {
    border-top: 3px solid #0284C7;
    background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 65%);
}

.kyc-doc-tile[data-doctype="cheque"] {
    border-top: 3px solid #059669;
    background: linear-gradient(180deg, #F6FBF8 0%, #FFFFFF 65%);
}

.kyc-doc-tile[data-doctype="photo"] {
    border-top: 3px solid #D97706;
    background: linear-gradient(180deg, #FFFDF0 0%, #FFFFFF 65%);
}

.kyc-doc-tile[data-doctype="supporting"] {
    border-top: 3px solid #7C3AED;
    background: linear-gradient(180deg, #FAF5FF 0%, #FFFFFF 65%);
}

.kyc-tile-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #F1F5F9;
    color: #64748B;
    border: 1px solid #CBD5E1;
}

.kyc-tile-badge.status-not-uploaded {
    background: #F1F5F9 !important;
    color: #64748B !important;
    border-color: #CBD5E1 !important;
}

.kyc-tile-badge.status-under-review {
    background: rgba(2, 132, 199, 0.10) !important;
    color: #0284C7 !important;
    border-color: rgba(2, 132, 199, 0.30) !important;
}

.kyc-tile-badge.status-verified {
    background: rgba(5, 150, 105, 0.10) !important;
    color: #059669 !important;
    border-color: rgba(5, 150, 105, 0.30) !important;
}

.kyc-tile-badge.status-rejected {
    background: rgba(220, 38, 38, 0.10) !important;
    color: #DC2626 !important;
    border-color: rgba(220, 38, 38, 0.30) !important;
}

/* --------------------------------------------------------------------------
   19. PROFILE DP & 3-CARD VERTICAL STACK (Requirements 4 & 5)
   -------------------------------------------------------------------------- */
.profile-full-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.profile-avatar-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 16px rgba(5, 150, 105, 0.20);
    flex-shrink: 0;
    background: #F1F5F9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-profile-pill:hover {
    border-color: var(--color-primary);
    background: rgba(16, 185, 129, 0.08);
}

/* ==========================================================
   DIRECT TEAM DETAIL & PRODUCT SHARE SUITE STYLES
   ========================================================== */
.clickable-row {
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.clickable-row:hover {
    background-color: rgba(16, 185, 129, 0.08) !important;
    cursor: pointer;
}

.clickable-row td {
    vertical-align: middle;
}

.btn-view-partner {
    white-space: nowrap;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-view-partner:hover {
    background: var(--color-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--color-primary) !important;
    transform: translateX(2px);
}

.btn-share-social {
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn-share-social:hover {
    transform: translateY(-2px);
    filter: brightness(1.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

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

@media (max-width: 480px) {
    .share-modal-container {
        padding: 16px 14px !important;
        width: 95% !important;
    }

    #btnTriggerNativeShare {
        font-size: 12.5px !important;
        padding: 10px 10px !important;
        line-height: 1.3 !important;
    }

    .share-channels-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 340px) {
    .share-channels-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   21. ULTRA-PREMIUM RESPONSIVE FIXES & ZERO-OVERFLOW ASSURANCE
   Breakpoints: 320px, 360px, 375px, 390px, 480px, 600px, 768px, 1024px, 1920px+
   ========================================================================== */

/* Universal Containment to Prevent Any Horizontal Overflow */
html,
body {
    max-width: 100vw;
    overflow-x: clip !important;
    box-sizing: border-box;
}

/* Header Zero-Overflow & Surgical Sizing */
.site-header {
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box;
}

.header-inner {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    min-width: 0;
}

.brand-wrapper {
    min-width: 0;
    max-width: 55vw;
}

.header-actions {
    min-width: 0;
    flex-shrink: 0;
}

/* 320px - 480px Mobile Header Polish */
@media (max-width: 480px) {
    .site-header {
        height: 52px !important;
    }

    .header-inner {
        height: 52px !important;
        gap: 6px !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    .brand-wrapper {
        gap: 6px !important;
        max-width: 50vw !important;
    }

    .brand-logo-badge {
        padding: 2px 4px !important;
        border-radius: 6px !important;
    }

    .brand-logo-img {
        height: 22px !important;
        max-height: 22px !important;
        max-width: 60px !important;
    }

    .brand-title {
        font-size: 0.85rem !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .brand-subtitle {
        display: none !important;
    }

    .header-actions {
        gap: 4px !important;
    }

    .btn-lang-toggle {
        padding: 4px 6px !important;
        font-size: 10px !important;
        border-radius: 9999px !important;
        white-space: nowrap !important;
    }

    #btnHeaderDashboard {
        padding: 5px 8px !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
    }

    .header-dash-prefix {
        display: none !important;
    }

    .hamburger-btn {
        width: 32px !important;
        height: 30px !important;
        min-width: 32px !important;
        padding: 0 !important;
        border-radius: 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hamburger-text {
        display: none !important;
    }

    #guestActionButtons {
        gap: 4px !important;
    }

    #guestActionButtons a.btn {
        padding: 4px 7px !important;
        font-size: 10.5px !important;
    }
}

/* Extreme Small Mobile: 320px - 350px Viewports */
@media (max-width: 350px) {
    .header-inner {
        gap: 3px !important;
    }

    .brand-wrapper {
        gap: 3px !important;
        max-width: 44vw !important;
    }

    .brand-logo-badge {
        padding: 2px 3px !important;
    }

    .brand-logo-img {
        height: 20px !important;
        max-height: 20px !important;
        max-width: 48px !important;
    }

    .brand-title {
        font-size: 0.76rem !important;
    }

    .btn-lang-toggle {
        padding: 3px 5px !important;
        font-size: 9px !important;
    }

    #btnHeaderDashboard {
        padding: 4px 5px !important;
        font-size: 9.5px !important;
    }

    .hamburger-btn {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        font-size: 13px !important;
    }

    /* Hide guest secondary login button on ultra-narrow 320px; accessible via Menu drawer */
    #guestActionButtons a[data-nav="/login"] {
        display: none !important;
    }

    #guestActionButtons a.btn {
        padding: 4px 6px !important;
        font-size: 9.5px !important;
    }
}

/* News Ticker Absolute Containment */
.top-headline-strip {
    max-width: 100vw !important;
    overflow: hidden !important;
    contain: paint !important;
}

.ticker-wrap {
    max-width: 100% !important;
    overflow: hidden !important;
    contain: paint !important;
}

/* Product Cards Responsive Grid: 1 Col Mobile, 2 Col Tablet, 3+ Col Desktop */
#portalProductGrid,
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
    width: 100% !important;
}

@media (max-width: 580px) {

    #portalProductGrid,
    .product-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 581px) and (max-width: 860px) {

    #portalProductGrid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 861px) and (max-width: 1200px) {

    #portalProductGrid,
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1201px) {

    #portalProductGrid,
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    }
}

/* Product Image Stability & Aspect Ratio Protection */
.product-image-container {
    width: 100% !important;
    height: 190px !important;
    min-height: 180px !important;
    background: #FFFFFF !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-image-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

/* KYC Documents Responsive Stacking */
@media (max-width: 768px) {
    .kyc-docs-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* Table Containment: Horizontal Scroll Inside Card Only */
.table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    contain: inline-size;
}

/* Ultra-Premium Light Theme 3D Elevation */
.card-3d {
    background: var(--bg-card, #FFFFFF);
    border: 1px solid var(--border-card, #E2E8F0);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.card-3d:hover {
    border-color: rgba(5, 150, 105, 0.35);
    box-shadow: var(--shadow-hover-3d);
}

/* Mobile Sidebar Drawer Smooth Transitions */
.sidebar {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

@media (max-width: 1024px) {
    .sidebar {
        max-width: 82vw !important;
        width: 290px !important;
    }
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ticker-track {
        animation: none !important;
    }
}

/* ==========================================================================
   KYC VERIFICATION PORTAL — INDIAN TRICOLOUR LIGHT THEME STYLES
   ========================================================================== */
.kyc-portal-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 1. Hero Card */
.kyc-hero-card {
    background: linear-gradient(135deg, #FFFDFB 0%, #FFFFFF 55%, #F0FDF4 100%);
    border: 1px solid rgba(5, 150, 105, 0.20);
    border-left: 5px solid #EA580C;
    border-radius: 16px;
    padding: clamp(16px, 2.5vw, 24px);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.kyc-hero-content {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 260px;
}

.kyc-hero-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12);
}

.kyc-hero-text {
    flex: 1;
    min-width: 0;
}

.kyc-hero-title {
    font-size: clamp(1.3rem, 2.8vw, 1.75rem);
    font-weight: 900;
    color: #0F172A;
    margin: 0 0 4px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.kyc-hero-subtitle {
    font-size: clamp(0.82rem, 1.6vw, 0.92rem);
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

.kyc-hero-badge-wrap {
    flex-shrink: 0;
}

.kyc-status-pill {
    font-size: 12px !important;
    padding: 7px 16px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    border-radius: 999px !important;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* 2. Verification Progress Card */
.kyc-progress-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: clamp(16px, 2.5vw, 24px);
    box-shadow: var(--shadow-card);
}

.kyc-progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.kyc-progress-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kyc-progress-title-icon {
    font-size: 18px;
}

.kyc-progress-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #0F172A;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.kyc-progress-percent {
    font-size: 0.95rem;
    font-weight: 800;
    color: #059669;
    background: rgba(5, 150, 105, 0.10);
    padding: 4px 12px;
    border-radius: 999px;
}

.kyc-progress-track {
    width: 100%;
    height: 8px;
    background: #E2E8F0;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 20px;
}

.kyc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #EA580C 0%, #0284C7 50%, #059669 100%);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* Stepper Component */
.kyc-stepper-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.kyc-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.kyc-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.kyc-step-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.kyc-step-name {
    font-size: 12.5px;
    font-weight: 800;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.kyc-step-doc {
    font-size: 10.5px;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kyc-step-connector {
    color: #94A3B8;
    font-size: 14px;
    flex-shrink: 0;
    user-select: none;
    font-weight: 700;
}

.kyc-step-item.step-done {
    background: #ECFDF5;
    border-color: #A7F3D0;
}

.kyc-step-item.step-done .kyc-step-badge {
    background: #059669;
    color: #FFFFFF;
}

.kyc-step-item.step-done .kyc-step-name {
    color: #065F46;
}

.kyc-step-item.step-active {
    background: #FFF7ED;
    border-color: #FDBA74;
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15);
}

.kyc-step-item.step-active .kyc-step-badge {
    background: #EA580C;
    color: #FFFFFF;
}

.kyc-step-item.step-active .kyc-step-name {
    color: #9A3412;
}

.kyc-step-item.step-pending {
    background: #F8FAFC;
    border-color: #E2E8F0;
}

/* Status Alerts */
.kyc-status-alert {
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kyc-status-alert .alert-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.kyc-status-alert .alert-body {
    flex: 1;
    min-width: 0;
}

.kyc-status-alert .alert-title {
    font-size: 14.5px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.kyc-status-alert .alert-desc {
    font-size: 12.5px;
    line-height: 1.5;
}

.kyc-status-alert .alert-action-note {
    font-size: 12px;
    margin-top: 4px;
}

.kyc-status-alert.alert-rejected {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    border-left: 4px solid #DC2626;
}
.kyc-status-alert.alert-rejected .alert-title { color: #DC2626; }
.kyc-status-alert.alert-rejected .alert-desc { color: #991B1B; }
.kyc-status-alert.alert-rejected .alert-action-note { color: #B91C1C; }

.kyc-status-alert.alert-review {
    background: #EFF6FF;
    border: 1px solid #93C5FD;
    border-left: 4px solid #0284C7;
}
.kyc-status-alert.alert-review .alert-title { color: #0284C7; }
.kyc-status-alert.alert-review .alert-desc { color: #0369A1; }

.kyc-status-alert.alert-approved {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-left: 4px solid #059669;
}
.kyc-status-alert.alert-approved .alert-title { color: #059669; }
.kyc-status-alert.alert-approved .alert-desc { color: #047857; }

/* Section Header */
.kyc-section-heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.kyc-section-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.01em;
}

.kyc-section-subtitle {
    font-size: 0.80rem;
    color: #64748B;
    font-weight: 500;
}

/* Document Cards Grid */
.kyc-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

.kyc-doc-card {
    background: #FFFFFF;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: clamp(16px, 2vw, 22px);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    width: 100%;
}

.kyc-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover-3d);
}

.kyc-doc-card.card-aadhaar { border-top: 4px solid #EA580C; }
.kyc-doc-card.card-pan { border-top: 4px solid #0284C7; }
.kyc-doc-card.card-bank { border-top: 4px solid #059669; }
.kyc-doc-card.card-photo { border-top: 4px solid #D97706; }

.kyc-card-top {
    margin-bottom: 14px;
}

.kyc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.kyc-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.kyc-card-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.kyc-card-icon-box.saffron { background: rgba(234, 88, 12, 0.12); }
.kyc-card-icon-box.cyan { background: rgba(2, 132, 199, 0.12); }
.kyc-card-icon-box.emerald { background: rgba(5, 150, 105, 0.12); }
.kyc-card-icon-box.gold { background: rgba(217, 119, 6, 0.12); }

.kyc-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    line-height: 1.25;
}

.kyc-card-subtitle {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
}

.kyc-tile-badge {
    font-size: 11px !important;
    padding: 3px 10px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

.kyc-tile-badge.status-not-uploaded {
    background: #F1F5F9;
    color: #64748B;
}
.kyc-tile-badge.status-under-review {
    background: rgba(2, 132, 199, 0.15);
    color: #0284C7;
}
.kyc-tile-badge.status-verified {
    background: rgba(5, 150, 105, 0.15);
    color: #059669;
}
.kyc-tile-badge.status-rejected {
    background: rgba(220, 38, 38, 0.15);
    color: #DC2626;
}

.kyc-card-desc {
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    min-height: 36px;
}

/* Upload Controls */
.kyc-upload-zone {
    margin-top: auto;
    width: 100%;
}

.kyc-native-input {
    display: none !important;
}

.kyc-upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 10px;
    background: #059669;
    color: #FFFFFF !important;
    border: 1px solid #059669;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(5, 150, 105, 0.25);
    user-select: none;
    box-sizing: border-box;
}

.kyc-upload-btn:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(5, 150, 105, 0.35);
}

.kyc-upload-btn.uploading {
    background: #64748B !important;
    border-color: #64748B !important;
    cursor: wait;
}

.kyc-format-specs {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    margin-top: 6px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* File Metadata */
.kyc-file-meta-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 8px;
    font-size: 11.5px;
    display: none;
}

.kyc-meta-status-tag {
    font-size: 11px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.kyc-meta-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px dashed rgba(15, 23, 42, 0.08);
}
.kyc-meta-row:last-child {
    border-bottom: none;
}

.kyc-meta-label {
    color: #64748B;
    font-weight: 600;
}

.kyc-meta-val {
    font-weight: 700;
    color: #0F172A;
    max-width: 65%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kyc-card-post-actions {
    display: none;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.kyc-btn-action {
    flex: 1;
    min-width: 105px;
    min-height: 38px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    color: #334155;
    transition: all 0.2s ease;
}

.kyc-btn-action:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
    color: #0F172A;
}

/* 4. Submission Summary & Checklist */
.kyc-summary-card {
    background: linear-gradient(135deg, #FFFDFB 0%, #FFFFFF 50%, #ECFDF5 100%);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-left: 5px solid #059669;
    border-radius: 16px;
    padding: clamp(16px, 2.5vw, 24px);
    box-shadow: var(--shadow-card);
}

.kyc-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.kyc-summary-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kyc-summary-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.kyc-summary-title {
    font-size: 16px;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 2px 0;
}

.kyc-summary-subtitle {
    font-size: 12px;
    color: #64748B;
    margin: 0;
}

.kyc-counter-pill {
    font-size: 12px !important;
    padding: 6px 14px !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
}

.kyc-checklist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 14px 0;
}

.kyc-check-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.kyc-check-item.check-item-done {
    background: #F0FDF4;
    border-color: #86EFAC;
}

.kyc-check-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.kyc-check-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.kyc-check-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #0F172A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kyc-check-status {
    font-size: 11px;
    font-weight: 600;
    color: #EA580C;
}

.kyc-check-item.check-item-done .kyc-check-status {
    color: #059669;
}

.kyc-submit-notice {
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    margin: 16px 0;
}

.kyc-submit-notice.notice-warning {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
}

.kyc-submit-notice.notice-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.kyc-submit-notice .notice-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.kyc-submit-notice .notice-text {
    font-weight: 600;
}

.kyc-submit-action-wrap {
    display: flex;
    justify-content: flex-end;
}

.btn-submit-kyc-final {
    background: #059669;
    color: #FFFFFF !important;
    border: 1px solid #059669;
    border-radius: 10px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
    min-height: 46px;
}

.btn-submit-kyc-final:not(:disabled):hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(5, 150, 105, 0.45);
}

.btn-submit-kyc-final:disabled {
    background: #94A3B8 !important;
    border-color: #94A3B8 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    opacity: 0.75;
    transform: none !important;
}

/* Vault Notice */
.kyc-vault-notice {
    background: linear-gradient(135deg, #F0FDF4 0%, #FFFFFF 60%, #F0F9FF 100%);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-left: 4px solid #059669;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.kyc-vault-notice .vault-icon {
    font-size: 26px;
    flex-shrink: 0;
}

.kyc-vault-notice .vault-body {
    flex: 1;
    min-width: 240px;
}

.kyc-vault-notice .vault-title {
    font-size: 13px;
    font-weight: 800;
    color: #0F172A;
}

.kyc-vault-notice .vault-desc {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.45;
}

.kyc-vault-notice .vault-badge {
    font-size: 11px;
    padding: 4px 10px;
    flex-shrink: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 860px) {
    .kyc-stepper-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .kyc-step-connector {
        display: none;
    }
    .kyc-checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Viewports (<= 640px down to 320px) — STRICT 1-COLUMN FOR ALL CARDS */
@media (max-width: 640px) {
    .kyc-portal-container {
        gap: 14px;
        padding: 0 !important;
    }
    .kyc-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        width: 100% !important;
    }
    .kyc-doc-card {
        width: 100% !important;
        padding: 14px !important;
    }
    .kyc-stepper-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    .kyc-step-connector {
        display: none !important;
    }
    .kyc-step-item {
        width: 100% !important;
        padding: 10px 14px !important;
    }
    .kyc-checklist-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .kyc-hero-card {
        padding: 14px !important;
    }
    .kyc-hero-content {
        min-width: 0 !important;
    }
    .kyc-progress-card {
        padding: 14px !important;
    }
    .kyc-summary-card {
        padding: 14px !important;
    }
    .kyc-submit-action-wrap {
        width: 100% !important;
    }
    .btn-submit-kyc-final {
        width: 100% !important;
        justify-content: center !important;
    }
    .kyc-card-post-actions {
        flex-direction: column;
    }
    .kyc-btn-action {
        width: 100%;
    }
}

@media (max-width: 360px) {
    .kyc-hero-title {
        font-size: 1.15rem !important;
    }
    .kyc-card-title {
        font-size: 13.5px !important;
    }
}

/* ==========================================================================
   VAG BRAND — MOBILE-FIRST APP-LIKE UI/UX UPGRADE SYSTEM (PARTNER PORTAL)
   Theme: Premium Light FinTech / Indian Tricolour (Saffron, Emerald, Ashoka Blue)
   Standardized Scale, Safe Areas, Touch Targets >= 44px, Zero Overflow
   ========================================================================== */

/* 1. TYPOGRAPHY & SPACING SYSTEM SCALE */
:root {
    --app-font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --app-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --app-color-saffron: #EA580C;
    --app-color-saffron-light: #F97316;
    --app-color-saffron-subtle: rgba(234, 88, 12, 0.08);
    --app-color-saffron-border: rgba(234, 88, 12, 0.22);
    
    --app-color-emerald: #059669;
    --app-color-emerald-dark: #047857;
    --app-color-emerald-light: #10B981;
    --app-color-emerald-subtle: rgba(5, 150, 105, 0.08);
    --app-color-emerald-border: rgba(5, 150, 105, 0.22);
    
    --app-color-blue: #0284C7;
    --app-color-blue-light: #0EA5E9;
    --app-color-blue-subtle: rgba(2, 132, 199, 0.08);
    --app-color-blue-border: rgba(2, 132, 199, 0.22);
    
    --app-color-gold: #D97706;
    --app-color-purple: #7C3AED;
    
    --app-bg-surface: #FFFFFF;
    --app-bg-slate: #F8FAFC;
    --app-bg-subtle: #F1F5F9;
    
    --app-text-title: #0F172A;
    --app-text-body: #334155;
    --app-text-muted: #64748B;
    --app-text-light: #94A3B8;
    
    --app-border: rgba(15, 23, 42, 0.08);
    --app-border-focus: rgba(5, 150, 105, 0.4);
    
    --app-radius-sm: 8px;
    --app-radius-md: 12px;
    --app-radius-lg: 16px;
    --app-radius-xl: 22px;
    --app-radius-full: 9999px;
    
    --app-shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --app-shadow-elevated: 0 12px 32px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(5, 150, 105, 0.08);
    --app-shadow-fintech: 0 14px 34px -4px rgba(5, 150, 105, 0.16), 0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Safe Area Insets Support for iOS / Notch / Home Indicator */
html, body {
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    -webkit-text-size-adjust: 100%;
}

/* Touch targets >= 44px for touch screens */
button, input, select, textarea, .btn, .nav-item, .bottom-nav-item, .quick-action-item {
    touch-action: manipulation;
}

/* 2. MOBILE BOTTOM NAVIGATION BAR */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 64px;
        height: calc(64px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid var(--app-border);
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
        z-index: 1040;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        align-items: center;
        justify-content: space-around;
    }

    .bottom-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        height: 100%;
        min-height: 48px;
        min-width: 48px;
        padding: 6px 4px;
        color: var(--app-text-muted);
        text-decoration: none;
        background: none;
        border: none;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        -webkit-tap-highlight-color: transparent;
    }

    .bottom-nav-item .nav-icon {
        font-size: 20px;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .bottom-nav-item .nav-label {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1;
    }

    .bottom-nav-item.active {
        color: var(--app-color-emerald);
    }

    .bottom-nav-item.active .nav-icon {
        transform: scale(1.15) translateY(-1px);
    }

    .bottom-nav-item.active .nav-label {
        font-weight: 800;
        color: var(--app-color-emerald);
    }

    .bottom-nav-item.active::before {
        content: '';
        position: absolute;
        top: 4px;
        width: 24px;
        height: 3px;
        background: var(--app-color-emerald);
        border-radius: 999px;
    }

    .bottom-nav-item:active {
        transform: scale(0.94);
    }

    /* Padding compensation for main content body on mobile */
    .content-body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* 3. APP GREETING HEADER */
.dash-greeting-card {
    background: #FFFFFF;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: clamp(14px, 2.5vw, 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    box-shadow: var(--app-shadow-card);
}

.dash-greeting-title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 900;
    color: var(--app-text-title);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.dash-greeting-subtitle {
    font-size: clamp(0.82rem, 1.8vw, 0.92rem);
    color: var(--app-text-muted);
    margin: 4px 0 0 0;
    line-height: 1.4;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15);
}

/* 4. FINTECH BALANCE HERO CARD */
.fintech-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFBFD 50%, #F0FDF4 100%);
    border: 1px solid rgba(5, 150, 105, 0.22);
    border-left: 5px solid var(--app-color-emerald);
    border-radius: var(--app-radius-xl);
    padding: clamp(18px, 3vw, 28px);
    box-shadow: var(--app-shadow-fintech);
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.fintech-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.08) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.fintech-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.fintech-balance-group {
    flex: 1;
    min-width: 240px;
}

.fintech-balance-tag {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--app-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.fintech-balance-amount {
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    font-weight: 900;
    color: var(--app-color-emerald-dark);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 12px;
    font-family: var(--app-font-heading);
}

.fintech-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.fintech-chip {
    background: #FFFFFF;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-sm);
    padding: 6px 12px;
    font-size: 12px;
    color: var(--app-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.fintech-chip strong {
    font-weight: 800;
}

.fintech-action-wrap {
    flex-shrink: 0;
}

.btn-fintech-payout {
    background: var(--app-color-emerald);
    color: #FFFFFF !important;
    border: 1px solid var(--app-color-emerald);
    border-radius: var(--app-radius-md);
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    min-height: 46px;
    user-select: none;
}

.btn-fintech-payout:hover {
    background: var(--app-color-emerald-dark);
    border-color: var(--app-color-emerald-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-fintech-payout:active {
    transform: scale(0.97);
}

/* 5. QUICK ACTIONS GRID */
.quick-actions-section {
    margin-bottom: 24px;
}

.quick-actions-title {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--app-text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.quick-action-item {
    background: #FFFFFF;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: var(--app-text-title);
    cursor: pointer;
    box-shadow: var(--app-shadow-card);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 84px;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.quick-action-item:hover {
    transform: translateY(-2px);
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.quick-action-item:active {
    transform: scale(0.96);
}

.quick-action-icon {
    font-size: 24px;
    margin-bottom: 6px;
    line-height: 1;
}

.quick-action-label {
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--app-text-title);
}

.quick-action-sub {
    font-size: 10px;
    color: var(--app-text-muted);
    margin-top: 2px;
    font-weight: 600;
}

/* 6. STORE REFERRAL LINK CARD */
.store-link-app-card {
    background: linear-gradient(135deg, #FFFDFB 0%, #FFFFFF 50%, #FAFBFD 100%);
    border: 1px solid var(--app-color-saffron-border);
    border-left: 4px solid var(--app-color-saffron);
    border-radius: var(--app-radius-lg);
    padding: clamp(14px, 2.5vw, 18px);
    margin-bottom: 22px;
    box-shadow: var(--app-shadow-card);
}

.store-link-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.store-link-url-text {
    font-family: monospace;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--app-color-emerald);
    word-break: break-all;
    background: rgba(5, 150, 105, 0.05);
    border: 1px dashed rgba(5, 150, 105, 0.25);
    border-radius: var(--app-radius-sm);
    padding: 6px 10px;
    margin-top: 4px;
    display: inline-block;
    max-width: 100%;
}

/* 7. APP STAT CARDS */
.stat-card-app {
    background: #FFFFFF;
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius-lg);
    padding: 16px 18px;
    box-shadow: var(--app-shadow-card);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-card-app:hover {
    transform: translateY(-2px);
    box-shadow: var(--app-shadow-elevated);
}

/* 8. RESPONSIVE TABLES & MOBILE APP LIST ROWS */
@media (max-width: 768px) {
    .table-responsive {
        border-radius: var(--app-radius-md);
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive table {
        font-size: 12.5px;
        min-width: 580px;
    }

    .table-responsive th,
    .table-responsive td {
        padding: 10px 12px;
        white-space: nowrap;
    }

    /* Grid reductions on mobile */
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 10px !important;
    }

    .stat-card {
        padding: 14px !important;
    }

    .stat-value {
        font-size: 20px !important;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .quick-action-item {
        padding: 10px 6px;
        min-height: 76px;
    }

    .quick-action-icon {
        font-size: 20px;
    }

    .quick-action-label {
        font-size: 11px;
    }

    .quick-action-sub {
        display: none;
    }

    /* Product grid on mobile */
    .product-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .product-card {
        margin-bottom: 0 !important;
    }

    /* Dash Split Grid stack */
    .dash-split-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

@media (max-width: 480px) {
    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   VAG AFFILIATE PARTNER LOGIN — EXACT ULTRA PREMIUM GLASS UI REPRODUCTION
   ========================================================================== */

#pageLogin,
.login-page-root {
    background-color: #030712 !important;
    background-image:
        radial-gradient(circle at 12% 16%, rgba(0, 242, 254, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 88% 78%, rgba(147, 51, 234, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(6, 182, 212, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 14% 82%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
        linear-gradient(155deg, #030712 0%, #071224 35%, #050d1a 70%, #02050e 100%) !important;
    background-attachment: fixed !important;
    min-height: 100vh;
    color: #F8FAFC;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

body.route-login-active #siteHeader,
body.route-login-active #siteFooter,
body.route-login-active #topHeadlineStrip,
body:has(#pageLogin:not([style*="display: none"])) #siteHeader,
body:has(#pageLogin:not([style*="display: none"])) #siteFooter,
body:has(#pageLogin:not([style*="display: none"])) #topHeadlineStrip {
    display: none !important;
}

/* Background Ambient Lighting & Curved Neon Streaks */
.login-bg-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.login-decor-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.decor-glow-tl {
    top: -120px;
    left: -100px;
    width: 680px;
    height: 680px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.22) 0%, rgba(6, 182, 212, 0.08) 45%, transparent 70%);
    filter: blur(65px);
}

.decor-glow-br {
    bottom: -140px;
    right: -100px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.26) 0%, rgba(168, 85, 247, 0.12) 45%, transparent 70%);
    filter: blur(70px);
}

.decor-glow-bl {
    bottom: 30px;
    left: -100px;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, rgba(0, 242, 254, 0.1) 50%, transparent 70%);
    filter: blur(60px);
}

.login-decor-streak-right {
    position: absolute;
    top: 0%;
    right: -10px;
    pointer-events: none;
    opacity: 0.95;
    max-width: 52vw;
}

.login-decor-streak-left {
    position: absolute;
    top: 10%;
    left: -10px;
    pointer-events: none;
    opacity: 0.92;
    max-width: 48vw;
}

.login-glass-pebble {
    position: absolute;
    pointer-events: none;
    border-radius: 50% 40% 60% 50% / 45% 55% 45% 55%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.5) 60%, rgba(10, 18, 36, 0.85) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        inset 0 1.5px 3px rgba(255, 255, 255, 0.28), 
        inset -4px -4px 10px rgba(0, 0, 0, 0.75),
        0 24px 48px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-pebble-1 {
    width: 270px;
    height: 200px;
    bottom: 6%;
    left: -80px;
    transform: rotate(-15deg);
    border-left: 2.5px solid rgba(0, 242, 254, 0.55);
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.22), inset 0 2px 5px rgba(255, 255, 255, 0.3);
}

.login-pebble-2 {
    width: 190px;
    height: 155px;
    bottom: 24%;
    left: 25px;
    transform: rotate(25deg);
    border-top: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.2);
}

/* Outer Flex Container */
.login-dark-container {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 38px 24px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

/* Top Promotional Banner */
.login-banner-frame {
    width: 100%;
    max-width: 660px;
    margin: 0 auto 32px auto;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 40px -4px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 242, 254, 0.15);
    background: #091224;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: block;
    line-height: 0;
}

.login-banner-frame:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px -4px rgba(0, 0, 0, 0.75), 0 0 24px rgba(0, 242, 254, 0.28);
}

.login-banner-link {
    display: block;
    width: 100%;
    line-height: 0;
}

.login-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 15px;
}

/* Main Floating Glass Login Card */
.login-glass-card {
    width: 100%;
    max-width: 700px;
    background: rgba(9, 18, 36, 0.78);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 28px;
    padding: 44px 48px 38px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border: 1.5px solid transparent;
    background-image: 
        linear-gradient(rgba(9, 18, 36, 0.82), rgba(9, 18, 36, 0.82)), 
        linear-gradient(125deg, rgba(0, 242, 254, 0.9) 0%, rgba(6, 182, 212, 0.55) 30%, rgba(139, 92, 246, 0.6) 65%, rgba(192, 132, 252, 0.95) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 
        0 28px 70px -12px rgba(0, 0, 0, 0.85),
        -16px 14px 45px -6px rgba(0, 242, 254, 0.35),
        20px 18px 50px -6px rgba(168, 85, 247, 0.4),
        inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.16);
}

.login-glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background: 
        radial-gradient(ellipse 360px 220px at 15% 45%, rgba(16, 185, 129, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 320px 250px at 85% 45%, rgba(0, 242, 254, 0.04) 0%, transparent 70%),
        radial-gradient(circle at 95% 95%, rgba(168, 85, 247, 0.09) 0%, transparent 50%);
    z-index: 0;
}

.login-glass-header,
.login-glass-form,
.login-security-strip,
.login-register-cta-wrap {
    position: relative;
    z-index: 1;
}

/* Header Elements inside Card */
.login-glass-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.login-header-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.login-leaf-left {
    position: absolute;
    left: 12%;
    top: 5px;
    opacity: 0.75;
    filter: blur(0.5px);
}

.login-leaf-right {
    position: absolute;
    right: 12%;
    top: 5px;
    opacity: 0.7;
    filter: blur(0.5px);
}

.login-partner-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.login-partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(8, 28, 48, 0.8);
    border: 1px solid rgba(0, 242, 254, 0.5);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.1);
    color: #00f2fe;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.login-badge-icon {
    flex-shrink: 0;
}

.login-glass-title {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    letter-spacing: -0.025em;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

.login-heading-accent {
    color: #00f2fe;
    background: linear-gradient(135deg, #00f2fe 0%, #00ffc2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.login-glass-subtitle {
    font-size: 15px;
    color: #94A3B8;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Form Styles */
.login-glass-form {
    width: 100%;
}

.login-field-wrap {
    margin-bottom: 22px;
    text-align: left;
}

.login-field-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 9px;
    letter-spacing: 0.01em;
}

.login-required {
    color: #00f2fe;
    margin-left: 2px;
}

.login-input-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(13, 24, 48, 0.7);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    height: 56px;
    padding: 0 16px;
    transition: all 0.25s ease;
    box-sizing: border-box;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.login-input-box:focus-within {
    border-color: #00f2fe;
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.22), 0 0 18px rgba(0, 242, 254, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.25);
    background: rgba(13, 24, 48, 0.88);
}

.login-input-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: #00f2fe;
    transition: all 0.2s ease;
}

.login-input-box:focus-within .login-input-icon-box {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.4);
    color: #FFFFFF;
}

.login-glass-input {
    flex: 1;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 15px;
    color: #FFFFFF;
    padding: 0;
}

.login-glass-input::placeholder {
    color: #64748B;
    opacity: 0.9;
}

/* Luminous Gradient Button (Green -> Cyan -> Blue) */
.login-submit-btn {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg, #00e676 0%, #00d4ff 52%, #006aff 100%);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: 0.01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 28px -4px rgba(0, 212, 255, 0.5), 0 4px 16px rgba(0, 230, 118, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}

/* Faint concentric ripple rings on right side */
.login-submit-btn::after {
    content: "";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: 
        radial-gradient(circle, transparent 12px, rgba(255, 255, 255, 0.14) 13px, transparent 15px, 
                                 transparent 23px, rgba(255, 255, 255, 0.10) 24px, transparent 26px, 
                                 transparent 34px, rgba(255, 255, 255, 0.06) 35px, transparent 37px);
    pointer-events: none;
    opacity: 0.85;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 14px 34px -4px rgba(0, 212, 255, 0.65), 0 6px 20px rgba(0, 230, 118, 0.45);
}

.login-submit-btn:active {
    transform: translateY(0);
    filter: brightness(0.96);
}

.login-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.login-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-btn-arrow {
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.login-submit-btn:hover .login-btn-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   ERROR MESSAGE & RED BAR REMOVAL: STRICT ZERO SPACE IN NORMAL STATE
   ========================================================================== */
#routeLoginEmailError,
#routeLoginOtpError,
.login-inline-error {
    display: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    height: 0;
    min-height: 0;
    overflow: hidden;
}

#routeLoginEmailError:empty,
#routeLoginOtpError:empty,
.login-inline-error:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    height: 0 !important;
    min-height: 0 !important;
    visibility: hidden !important;
}

#routeLoginEmailError:not(:empty),
#routeLoginOtpError:not(:empty),
.login-inline-error:not(:empty) {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 14px !important;
    padding: 12px 18px !important;
    height: auto !important;
    min-height: 44px !important;
    background: rgba(220, 38, 38, 0.14) !important;
    border: 1px solid rgba(239, 68, 68, 0.45) !important;
    border-radius: 12px !important;
    color: #FCA5A5 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 4px 18px rgba(239, 68, 68, 0.18) !important;
    animation: loginErrorFadeIn 0.25s ease-out;
    visibility: visible !important;
}

/* Guard against any rogue lines/bars below the button or inside form */
.login-glass-form,
.login-submit-btn,
.login-security-strip {
    border-bottom-color: rgba(56, 189, 248, 0.22);
    text-decoration: none !important;
}

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

/* Security Feature Strip */
.login-security-strip {
    background: rgba(13, 24, 48, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 14px;
    padding: 14px 22px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.login-sec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.login-sec-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sec-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.38);
}

.sec-icon-amber {
    background: rgba(250, 204, 21, 0.15);
    border: 1px solid rgba(250, 204, 21, 0.38);
}

.sec-icon-green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.38);
}

.login-sec-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.login-sec-title {
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
}

.login-sec-sub {
    font-size: 11px;
    color: #94A3B8;
    line-height: 1.25;
}

.login-sec-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 14px;
    flex-shrink: 0;
    border: none;
}

/* Register CTA */
.login-register-cta-wrap {
    text-align: center;
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.login-cta-question {
    font-size: 13.5px;
    color: #94A3B8;
}

.login-cta-link {
    font-size: 14.5px;
    font-weight: 700;
    color: #00f2fe;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.login-cta-link:hover {
    color: #38bdf8;
    text-shadow: 0 0 14px rgba(0, 242, 254, 0.5);
}

.login-cta-link .cta-arrow {
    transition: transform 0.2s ease;
}

.login-cta-link:hover .cta-arrow {
    transform: translateX(4px);
}

/* OTP Screen Elements */
.login-otp-info-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 22px;
    box-sizing: border-box;
    text-align: left;
}

.login-otp-info-icon {
    font-size: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-otp-info-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.login-otp-info-sub {
    font-size: 12px;
    color: #94A3B8;
}

.login-otp-email-highlight {
    font-size: 13.5px;
    font-weight: 700;
    color: #00f2fe;
    word-break: break-all;
}

.login-otp-label-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.login-otp-grid {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 14px 0 10px;
}

.login-otp-input {
    width: 52px;
    height: 58px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    background: rgba(13, 24, 48, 0.7);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    color: #FFFFFF;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

.login-otp-input:focus {
    border-color: #00f2fe;
    background: rgba(13, 24, 48, 0.9);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.35), inset 0 2px 4px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.login-otp-input.filled {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.08);
}

.login-paste-hint {
    text-align: center;
    font-size: 12px;
    color: #64748B;
    margin-top: 10px;
}

.login-timer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding: 0 4px;
}

.login-timer-text {
    font-size: 12.5px;
    color: #94A3B8;
}

.login-timer-text strong {
    color: #00f2fe;
    font-weight: 700;
}

.login-resend-btn {
    font-size: 12.5px;
    font-weight: 700;
    color: #00f2fe;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-resend-btn:hover:not(.disabled) {
    color: #38bdf8;
    text-decoration: underline;
}

.login-resend-btn.disabled {
    color: #64748B;
    pointer-events: none;
    opacity: 0.6;
}

.login-back-btn {
    width: 100%;
    margin-top: 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-back-btn:hover {
    border-color: rgba(0, 242, 254, 0.4);
    color: #FFFFFF;
    background: rgba(0, 242, 254, 0.06);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .login-dark-container {
        padding: 32px 18px 70px;
    }

    .login-glass-card {
        padding: 34px 28px 30px;
        border-radius: 22px;
    }

    .login-glass-title {
        font-size: 32px;
    }

    .login-glass-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .login-security-strip {
        padding: 12px 16px;
    }

    .login-sec-item {
        gap: 8px;
    }

    .login-sec-title {
        font-size: 11.5px;
    }

    .login-sec-sub {
        font-size: 9.5px;
    }

    .login-sec-divider {
        margin: 0 8px;
    }

    .login-otp-input {
        width: 44px;
        height: 52px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .login-dark-container {
        padding: 22px 14px 60px;
    }

    .login-banner-frame {
        margin-bottom: 22px;
        border-radius: 12px;
    }

    .login-banner-img {
        border-radius: 11px;
    }

    .login-glass-card {
        padding: 26px 18px 24px;
        border-radius: 18px;
    }

    .login-glass-title {
        font-size: 26px;
    }

    .login-glass-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .login-input-box {
        height: 52px;
        padding: 0 12px;
    }

    .login-submit-btn {
        height: 52px;
        font-size: 15px;
    }

    .login-security-strip {
        flex-direction: column;
        gap: 12px;
        padding: 14px;
    }

    .login-sec-item {
        width: 100%;
        justify-content: flex-start;
    }

    .login-sec-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .login-otp-grid {
        gap: 6px;
    }

    .login-otp-input {
        width: 38px;
        height: 48px;
        font-size: 18px;
        border-radius: 8px;
    }
}

/* ==========================================================================
   PROMINENT DASHBOARD PERMANENT REFERRAL CARD
   ========================================================================== */
.dash-referral-hero-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.92) 100%);
    border: 1px solid rgba(0, 242, 254, 0.35);
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 22px;
    box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 242, 254, 0.12);
    position: relative;
    overflow: hidden;
}

.dash-referral-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00f2fe 0%, #10b981 100%);
}

.dash-referral-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.dash-referral-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #00f2fe;
    background: rgba(0, 242, 254, 0.12);
    border: 1px solid rgba(0, 242, 254, 0.32);
    border-radius: 999px;
    padding: 4px 12px;
}

.dash-referral-tag-icon {
    font-size: 13px;
}

.dash-referral-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-referral-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.dash-referral-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}

.dash-referral-sponsor-group {
    margin-bottom: 16px;
}

.dash-referral-sponsor-val-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 8px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dash-referral-sponsor-id {
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 18px;
    font-weight: 800;
    color: #00f2fe;
    letter-spacing: 0.05em;
}

.dash-referral-sponsor-val-wrap .btn-copy-sponsor-id {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 6px;
    color: #f8fafc;
    font-size: 12px;
    cursor: pointer;
    padding: 3px 8px;
    transition: all 0.2s ease;
}

.dash-referral-sponsor-val-wrap .btn-copy-sponsor-id:hover {
    background: rgba(0, 242, 254, 0.25);
    border-color: #00f2fe;
}

.dash-referral-link-group {
    margin-bottom: 18px;
}

.dash-referral-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 4px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dash-referral-input-wrap:focus-within {
    border-color: rgba(0, 242, 254, 0.55);
    box-shadow: 0 0 14px rgba(0, 242, 254, 0.2);
}

.dash-referral-input-icon {
    font-size: 14px;
    color: #64748b;
}

.dash-referral-link-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #38bdf8;
    font-family: 'SF Mono', Consolas, Monaco, monospace;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 0;
    cursor: text;
}

.dash-referral-actions-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.dash-referral-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dash-referral-btn.btn-copy-link {
    background: linear-gradient(135deg, #00f2fe 0%, #06b6d4 50%, #0284c7 100%);
    color: #05131f;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.25);
}

.dash-referral-btn.btn-copy-link:hover {
    box-shadow: 0 6px 22px rgba(0, 242, 254, 0.45);
    transform: translateY(-1px);
}

.dash-referral-btn.btn-open-reg {
    background: rgba(255, 255, 255, 0.06);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.dash-referral-btn.btn-open-reg:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 242, 254, 0.5);
    color: #00f2fe;
    transform: translateY(-1px);
}

.dash-referral-btn .dash-btn-arrow {
    transition: transform 0.2s ease;
}

.dash-referral-btn.btn-open-reg:hover .dash-btn-arrow {
    transform: translateX(3px);
}

@media (max-width: 640px) {
    .dash-referral-hero-card {
        padding: 16px;
    }
    .dash-referral-actions-group {
        flex-direction: column;
        width: 100%;
    }
    .dash-referral-btn {
        width: 100%;
    }
    .dash-referral-sponsor-id {
        font-size: 16px;
    }
    .dash-referral-link-input {
        font-size: 12px;
    }
}