/* ==========================================================================
   Xyphla Support Theme - Main Stylesheet (Mobile-First Architecture)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --xyp-primary: #0E59F2;
    --xyp-primary-hover: #0B46BF;
    --xyp-primary-light: #EEF2FF;
    --xyp-navy: #051634;
    --xyp-navy-deep: #030D1F;
    --xyp-body: #334155;
    --xyp-muted: #64748B;
    --xyp-muted-light: #94A3B8;
    --xyp-bg: #F8FAFC;
    --xyp-surface: #FFFFFF;
    --xyp-border: #E2E8F0;
    --xyp-border-light: #F1F5F9;
    --xyp-success: #10B981;
    --xyp-warning: #F59E0B;
    --xyp-danger: #EF4444;
    --xyp-radius-sm: 6px;
    --xyp-radius-md: 10px;
    --xyp-radius-lg: 16px;
    --xyp-shadow-sm: 0 1px 3px rgba(5, 22, 52, 0.04);
    --xyp-shadow-md: 0 4px 14px rgba(5, 22, 52, 0.06);
    --xyp-shadow-lg: 0 12px 32px rgba(5, 22, 52, 0.08);
    --xyp-font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --xyp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   1. Reset, Typography & Accessibility Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--xyp-font-body);
    color: var(--xyp-body);
    background-color: var(--xyp-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 15px;
}

body.xyp-no-scroll {
    overflow: hidden;
}

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid var(--xyp-primary);
    outline-offset: 2px;
}

.skip-to-content {
    position: absolute;
    top: -60px;
    left: 12px;
    background: var(--xyp-primary);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: var(--xyp-radius-sm);
    z-index: 9999;
    transition: top 0.2s ease;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 12px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Typography with Fluid Scaling & Overflow Protection */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--xyp-font-display);
    color: var(--xyp-navy);
    font-weight: 700;
    margin-top: 0;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
}

h1 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h2 { font-size: clamp(1.35rem, 4vw, 1.75rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }
h4 { font-size: 1.1rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
}

a {
    color: var(--xyp-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

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

/* Responsive Containers */
.xyp-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .xyp-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1024px) {
    .xyp-container {
        max-width: 1180px;
    }
}

/* ==========================================================================
   2. Interactive Controls (Buttons, Inputs, Min 44px Touch Targets)
   ========================================================================== */
.xyp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--xyp-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.4;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.xyp-btn-primary {
    background-color: var(--xyp-primary);
    color: #FFFFFF !important;
}

.xyp-btn-primary:hover {
    background-color: var(--xyp-primary-hover);
    box-shadow: 0 4px 14px rgba(14, 89, 242, 0.28);
}

.xyp-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #FFFFFF !important;
}

.xyp-btn-outline:hover {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.xyp-btn-secondary {
    background-color: #FFFFFF;
    border-color: var(--xyp-border);
    color: var(--xyp-navy) !important;
}

.xyp-btn-secondary:hover {
    background-color: var(--xyp-bg);
    border-color: #CBD5E1;
}

.xyp-btn-sm {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
}

.xyp-btn-lg {
    min-height: 48px;
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--xyp-radius-md);
}

/* Form Inputs */
.xyp-ctrl-input,
.xyp-ctrl-select,
.xyp-ctrl-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 15px; /* >= 16px avoids iOS zoom if needed */
    font-family: var(--xyp-font-body);
    color: var(--xyp-navy);
    background-color: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-sm);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.xyp-ctrl-input:focus,
.xyp-ctrl-select:focus,
.xyp-ctrl-textarea:focus {
    border-color: var(--xyp-primary);
    box-shadow: 0 0 0 3px rgba(14, 89, 242, 0.15);
}

.xyp-ctrl-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Status Badges */
.xyp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-open { background: #DBEAFE; color: #1E40AF; }
.badge-progress { background: #E0E7FF; color: #3730A3; }
.badge-waiting { background: #FEF3C7; color: #92400E; }
.badge-resolved { background: #D1FAE5; color: #065F46; }
.badge-closed { background: #F1F5F9; color: #475569; }
.badge-low { background: #F1F5F9; color: #475569; }
.badge-normal { background: #DBEAFE; color: #1E40AF; }
.badge-high { background: #FEF3C7; color: #92400E; }
.badge-urgent { background: #FEE2E2; color: #991B1B; font-weight: 700; }

/* Breadcrumbs */
.xyp-breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 13px;
    color: var(--xyp-muted);
    padding: 16px 0;
    line-height: 1.4;
}

.xyp-breadcrumb-nav a {
    color: var(--xyp-muted);
}

.xyp-breadcrumb-nav a:hover {
    color: var(--xyp-primary);
}

.xyp-breadcrumb-sep {
    color: #CBD5E1;
}

.xyp-breadcrumb-current {
    color: var(--xyp-navy);
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   3. Header & Navigation (Responsive Mobile Drawer)
   ========================================================================== */
.xyp-site-header {
    background-color: var(--xyp-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.xyp-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

@media (min-width: 1024px) {
    .xyp-header-inner {
        height: 72px;
    }
}

/* Official Xyphla Text Logo */
.xyp-logo {
    font-family: var(--xyp-font-display);
    font-weight: 700;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.8px;
    display: inline-flex;
    align-items: baseline;
    line-height: 1;
    transition: opacity 0.15s ease;
}

.xyp-logo:hover {
    color: #FFFFFF;
    opacity: 0.9;
}

.xyp-logo-dot {
    color: var(--xyp-primary);
    margin-left: 1px;
}

.xyp-logo-dark {
    color: var(--xyp-navy);
}

.xyp-logo-dark:hover {
    color: var(--xyp-navy);
    opacity: 0.9;
}

/* Ensure Header and Footer Logos are ALWAYS white letters with primary blue dot */
.xyp-site-header .xyp-logo,
.xyp-site-footer .xyp-logo,
.xyp-footer-brand-link .xyp-logo {
    color: #FFFFFF !important;
}

.xyp-site-header .xyp-logo:hover,
.xyp-site-footer .xyp-logo:hover,
.xyp-footer-brand-link .xyp-logo:hover {
    color: #FFFFFF !important;
    opacity: 0.9;
}

.xyp-site-header .xyp-logo .xyp-logo-dot,
.xyp-site-footer .xyp-logo .xyp-logo-dot,
.xyp-footer-brand-link .xyp-logo .xyp-logo-dot {
    color: var(--xyp-primary, #0E59F2) !important;
}

.xyp-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    min-width: 0;
}

.xyp-brand-img {
    height: 28px;
    width: auto;
    display: block;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

@media (min-width: 480px) {
    .xyp-brand {
        gap: 12px;
    }
    .xyp-brand-img {
        height: 32px;
    }
}

.xyp-brand:hover .xyp-brand-img {
    opacity: 0.92;
    transform: translateY(-1px);
}

.xyp-portal-pill {
    background: rgba(14, 89, 242, 0.25);
    color: #60A5FA;
    border: 1px solid rgba(96, 165, 250, 0.3);
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .xyp-portal-pill {
        display: none;
    }
}

/* Desktop Navigation (Hidden on Mobile) */
.xyp-nav-center {
    display: none;
}

.xyp-nav-menu {
    display: none;
}

.xyp-header-actions {
    display: none;
}

@media (min-width: 1024px) {
    .xyp-header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .xyp-brand {
        flex-shrink: 0;
        margin-right: 8px;
    }

    .xyp-nav-center {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    .xyp-nav-menu {
        display: flex;
        align-items: center;
        gap: 6px;
        list-style: none;
        margin: 0;
        padding: 4px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 30px;
        flex-shrink: 0;
    }

    .xyp-nav-link {
        color: #94A3B8;
        font-size: 13.5px;
        font-weight: 500;
        padding: 6px 14px;
        border-radius: 20px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        white-space: nowrap;
    }

    .xyp-nav-link:hover {
        color: #FFFFFF;
        background: rgba(255, 255, 255, 0.08);
    }

    .xyp-nav-link.is-active {
        color: #FFFFFF;
        background: rgba(14, 89, 242, 0.3);
        box-shadow: 0 0 12px rgba(14, 89, 242, 0.2);
        font-weight: 600;
    }

    .xyp-nav-inline-icon {
        font-size: 14px;
        width: 14px;
        height: 14px;
        line-height: 1;
        color: #60A5FA;
    }

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

/* Accessible Mobile Hamburger Toggle */
.xyp-mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--xyp-radius-sm);
    color: #FFFFFF;
    cursor: pointer;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

.xyp-mobile-toggle:hover,
.xyp-mobile-toggle:focus {
    border-color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.xyp-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 14px;
    position: relative;
}

.xyp-toggle-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hamburger to X Transformation */
.xyp-site-header.is-mobile-open .xyp-toggle-icon span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.xyp-site-header.is-mobile-open .xyp-toggle-icon span:nth-child(2) {
    opacity: 0;
}

.xyp-site-header.is-mobile-open .xyp-toggle-icon span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .xyp-mobile-toggle {
        display: none !important;
    }
}

/* ==========================================================================
   Full-Screen Mobile Navigation Experience
   ========================================================================== */
body.xyp-no-scroll {
    overflow: hidden !important;
    height: 100vh !important;
    touch-action: none;
}

.xyp-site-header.is-mobile-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    backdrop-filter: none;
    background-color: var(--xyp-navy);
}

/* Mobile Drawer (Full Screen Takeover) */
.xyp-mobile-drawer {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: linear-gradient(180deg, #030D1F 0%, #061633 55%, #020914 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
    padding: 20px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
    z-index: 99999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
}

.xyp-site-header.is-mobile-open .xyp-mobile-drawer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    animation: xypDrawerSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Client Strip inside Mobile Drawer */
.xyp-mobile-client-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    background: rgba(14, 89, 242, 0.12);
    border: 1px solid rgba(14, 89, 242, 0.3);
    border-radius: 12px;
}

.xyp-m-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0E59F2 0%, #1D4ED8 100%);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(14, 89, 242, 0.35);
}

.xyp-m-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.xyp-m-info strong {
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xyp-m-info small {
    color: #93C5FD;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Nav Menu */
.xyp-mobile-drawer nav {
    margin-bottom: auto;
    width: 100%;
}

.xyp-mobile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.xyp-mobile-menu li {
    border: none;
}

.xyp-mobile-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: #CBD5E1;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.15s ease;
}

.xyp-mobile-menu li a::after {
    content: '›';
    font-size: 20px;
    line-height: 1;
    color: #64748B;
    margin-left: auto;
    padding-left: 8px;
    transition: transform 0.15s ease, color 0.15s ease;
}

.xyp-mobile-menu li a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.14);
}

.xyp-mobile-menu li a:hover::after {
    color: #60A5FA;
    transform: translateX(3px);
}

.xyp-mobile-menu li a.is-active {
    background: rgba(14, 89, 242, 0.22);
    color: #FFFFFF;
    border-color: rgba(14, 89, 242, 0.55);
    box-shadow: 0 4px 16px rgba(14, 89, 242, 0.2);
    font-weight: 600;
}

.xyp-mobile-menu li a.is-active::after {
    color: #60A5FA;
    font-weight: 700;
}

/* Mobile Actions at Bottom */
.xyp-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

.xyp-mobile-actions .xyp-btn {
    width: 100% !important;
    min-height: 48px;
    justify-content: center;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
}

/* Mobile Backdrop */
.xyp-mobile-backdrop {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 13, 31, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99998;
}

.xyp-site-header.is-mobile-open .xyp-mobile-backdrop {
    display: block;
}

@media (min-width: 1024px) {
    .xyp-mobile-drawer,
    .xyp-mobile-backdrop {
        display: none !important;
    }
}

/* ==========================================================================
   4. Hero Section & Responsive Knowledge Base Search
   ========================================================================== */
.xyp-hero-section {
    background: linear-gradient(180deg, var(--xyp-navy) 0%, #071E47 100%);
    padding: 36px 0 44px 0;
    color: #FFFFFF;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .xyp-hero-section {
        padding: 60px 0 72px 0;
    }
}

.xyp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 89, 242, 0.18);
    border: 1px solid rgba(14, 89, 242, 0.35);
    color: #93C5FD;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.2px;
    max-width: 100%;
}

.xyp-hero-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xyp-hero-badge-icon {
    border-radius: 3px;
    flex-shrink: 0;
}

.xyp-hero-headline {
    color: #FFFFFF;
    font-size: clamp(24px, 5.5vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
}

.xyp-hero-subline {
    color: #94A3B8;
    font-size: clamp(14px, 2.5vw, 17px);
    max-width: 620px;
    margin: 0 auto 24px auto;
    padding: 0 8px;
}

/* Responsive Search Box */
.xyp-search-wrapper {
    max-width: 660px;
    margin: 0 auto;
}

.xyp-search-box {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: var(--xyp-radius-md);
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    border: 2px solid transparent;
    transition: border-color 0.15s ease;
    gap: 6px;
}

@media (min-width: 520px) {
    .xyp-search-box {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
}

.xyp-search-box:focus-within {
    border-color: var(--xyp-primary);
}

.xyp-search-icon-wrap {
    display: none;
}

@media (min-width: 520px) {
    .xyp-search-icon-wrap {
        padding: 0 14px;
        display: flex;
        align-items: center;
        color: var(--xyp-muted);
    }
}

.xyp-search-field {
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: var(--xyp-font-body);
    color: var(--xyp-navy);
    padding: 10px 12px;
    background: transparent;
}

.xyp-search-btn {
    width: 100%;
    min-height: 44px;
    border: none;
}

@media (min-width: 520px) {
    .xyp-search-btn {
        width: auto;
        padding: 0 24px;
    }
}

/* Quick Search Tags */
.xyp-quick-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #94A3B8;
}

.xyp-tag-link {
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    transition: background 0.15s ease;
}

.xyp-tag-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* ==========================================================================
   5. Product and Category Grids (Mobile-First 1 -> 2 -> 3 -> 4/5 Columns)
   ========================================================================== */
.xyp-section-intro {
    text-align: center;
    margin: 36px 0 24px 0;
}

@media (min-width: 768px) {
    .xyp-section-intro {
        margin: 54px 0 32px 0;
    }
}

.xyp-subtag {
    color: var(--xyp-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.xyp-section-heading {
    font-size: clamp(20px, 4vw, 26px);
    color: var(--xyp-navy);
    margin: 0;
}

.xyp-section-subtext {
    color: var(--xyp-muted);
    font-size: 14px;
    max-width: 560px;
    margin: 6px auto 0 auto;
}

/* Product Header Banner */
.xyp-product-banner {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 20px 16px;
    margin: 16px 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .xyp-product-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 32px 36px;
        border-radius: var(--xyp-radius-lg);
        margin: 16px 0 32px 0;
    }
}

/* Product Cards Grid */
.xyp-grid-products {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .xyp-grid-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .xyp-grid-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .xyp-grid-products {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    }
}

.xyp-card-product {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    min-height: 140px;
}

@media (min-width: 768px) {
    .xyp-card-product {
        padding: 22px;
    }
}

.xyp-card-product:hover {
    transform: translateY(-3px);
    box-shadow: var(--xyp-shadow-md);
    border-color: var(--xyp-primary);
}

.xyp-product-pill {
    font-size: 11px;
    font-weight: 600;
    color: var(--xyp-primary);
    background: var(--xyp-primary-light);
    padding: 2px 8px;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.xyp-card-product h3 {
    font-size: 16px;
    margin-bottom: 6px;
    color: var(--xyp-navy);
}

.xyp-card-product p {
    font-size: 13px;
    color: var(--xyp-muted);
    margin: 0 0 14px 0;
    flex: 1;
    line-height: 1.5;
}

.xyp-card-product-foot {
    font-size: 13px;
    font-weight: 600;
    color: var(--xyp-primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category Cards Grid */
.xyp-grid-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 20px;
}

@media (min-width: 480px) {
    .xyp-grid-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 860px) {
    .xyp-grid-categories {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 16px;
    }
}

.xyp-card-category {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
}

@media (min-width: 768px) {
    .xyp-card-category {
        padding: 20px;
    }
}

.xyp-card-category:hover {
    border-color: var(--xyp-primary);
    box-shadow: var(--xyp-shadow-sm);
    transform: translateY(-2px);
}

.xyp-card-category h4 {
    font-size: 15px;
    margin: 0 0 6px 0;
    color: var(--xyp-navy);
}

.xyp-card-category p {
    font-size: 12px;
    color: var(--xyp-muted);
    margin: 0;
    line-height: 1.5;
}

/* Article Stream Cards */
.xyp-article-stream {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xyp-card-article {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    gap: 12px;
}

@media (min-width: 768px) {
    .xyp-card-article {
        padding: 18px 22px;
    }
}

.xyp-card-article:hover {
    border-color: var(--xyp-primary);
    box-shadow: var(--xyp-shadow-sm);
    transform: translateX(3px);
}

.xyp-card-article > div:first-child,
.xyp-card-article-content {
    min-width: 0;
    flex: 1 1 auto;
    width: 100%;
}

.xyp-art-tag {
    font-size: 11px;
    color: var(--xyp-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.xyp-card-article h3,
.xyp-card-article h4 {
    font-size: 15px;
    margin: 0 0 4px 0;
    color: var(--xyp-navy);
    line-height: 1.4;
}

.xyp-card-article p {
    font-size: 13px;
    color: var(--xyp-muted);
    margin: 0;
    line-height: 1.5;
}

.xyp-art-chevron {
    color: var(--xyp-primary);
    font-size: 20px;
    flex: 0 0 auto;
    margin-left: 20px;
    text-align: right;
    line-height: 1;
}

/* Split Columns Layout */
.xyp-layout-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 32px 0;
}

.xyp-layout-split > * {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .xyp-layout-split {
        grid-template-columns: 2fr 1fr;
        gap: 32px;
        margin: 48px 0;
    }
}

.xyp-box-aside {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 18px;
    margin-bottom: 20px;
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 768px) {
    .xyp-box-aside {
        padding: 24px;
        margin-bottom: 24px;
    }
}

.xyp-box-cta {
    background: linear-gradient(135deg, var(--xyp-navy) 0%, #0B3CA6 140%);
    color: #FFFFFF;
    border: none;
}

.xyp-box-cta h3,
.xyp-box-cta p {
    color: #FFFFFF;
}

.xyp-box-cta p {
    opacity: 0.88;
    font-size: 14px;
}

/* ==========================================================================
   6. Ticket Forms, Panels, and Lookup
   ========================================================================== */
.xyp-form-panel {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 20px 16px;
    max-width: 820px;
    margin: 20px auto;
    box-shadow: var(--xyp-shadow-sm);
}

@media (min-width: 600px) {
    .xyp-form-panel {
        padding: 28px 24px;
        border-radius: var(--xyp-radius-lg);
    }
}

@media (min-width: 860px) {
    .xyp-form-panel {
        padding: 36px 40px;
        margin: 32px auto;
    }
}

.xyp-form-title {
    font-size: clamp(20px, 4vw, 24px);
    margin-bottom: 6px;
}

.xyp-form-desc {
    color: var(--xyp-muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.xyp-field-group {
    margin-bottom: 18px;
}

.xyp-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--xyp-navy);
    margin-bottom: 6px;
}

.xyp-req {
    color: var(--xyp-danger);
}

.xyp-field-hint {
    font-size: 12px;
    color: var(--xyp-muted);
    margin-top: 4px;
}

.xyp-two-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 680px) {
    .xyp-two-cols {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* File Drop Box */
.xyp-file-box {
    border: 2px dashed var(--xyp-border);
    border-radius: var(--xyp-radius-sm);
    padding: 16px;
    text-align: center;
    background: var(--xyp-bg);
}

@media (min-width: 600px) {
    .xyp-file-box {
        padding: 20px;
    }
}

.xyp-file-box input[type="file"] {
    max-width: 100%;
}

/* Secure Copy Link Row */
.xyp-copy-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 480px) {
    .xyp-copy-row {
        flex-direction: row;
        align-items: center;
    }
}

/* Ticket Confirmation Card */
.xyp-card-confirm {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 24px 16px;
    text-align: center;
    max-width: 660px;
    margin: 24px auto;
    box-shadow: var(--xyp-shadow-sm);
}

@media (min-width: 600px) {
    .xyp-card-confirm {
        padding: 40px 32px;
        border-radius: var(--xyp-radius-lg);
        margin: 36px auto;
    }
}

.xyp-confirm-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ECFDF5;
    color: var(--xyp-success);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.xyp-reference-highlight {
    background: var(--xyp-navy);
    color: #FFFFFF;
    font-family: monospace;
    font-size: clamp(14px, 3.5vw, 18px);
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--xyp-radius-sm);
    display: inline-block;
    margin: 10px 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
}

/* ==========================================================================
   7. Article Layout & Content Prose
   ========================================================================== */
.xyp-article-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 20px 0 48px 0;
}

.xyp-article-shell > * {
    min-width: 0;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .xyp-article-shell {
        grid-template-columns: 1fr 280px;
        gap: 32px;
        margin: 28px 0 60px 0;
    }
}

.xyp-article-card-main {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 20px 16px;
}

@media (min-width: 600px) {
    .xyp-article-card-main {
        padding: 28px 24px;
        border-radius: var(--xyp-radius-lg);
    }
}

@media (min-width: 860px) {
    .xyp-article-card-main {
        padding: 36px 40px;
    }
}

.xyp-article-card-main h1 {
    font-size: clamp(22px, 4.5vw, 30px);
    margin-bottom: 12px;
}

.xyp-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 13px;
    color: var(--xyp-muted);
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--xyp-border);
}

.xyp-article-prose {
    font-size: 15px;
    line-height: 1.8;
    color: #1E293B;
    overflow-wrap: break-word;
}

.xyp-article-prose h2,
.xyp-article-prose h3 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.xyp-article-prose pre {
    background: var(--xyp-navy);
    color: #F8FAFC;
    padding: 14px;
    border-radius: var(--xyp-radius-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 13px;
    max-width: 100%;
}

.xyp-article-prose code {
    background: var(--xyp-bg);
    color: #D946EF;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    font-family: monospace;
    overflow-wrap: break-word;
}

.xyp-article-prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    overflow-wrap: normal;
    white-space: pre;
}

/* Feedback Block */
.xyp-feedback-block {
    background: var(--xyp-bg);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 18px 14px;
    text-align: center;
    margin-top: 28px;
}

@media (min-width: 600px) {
    .xyp-feedback-block {
        padding: 22px;
        margin-top: 36px;
    }
}

.xyp-feedback-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

@media (min-width: 480px) {
    .xyp-feedback-actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==========================================================================
   8. Conversation Thread (Ticket View)
   ========================================================================== */
.xyp-conversation-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.xyp-thread-bubble {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-md);
    padding: 16px 14px;
}

@media (min-width: 600px) {
    .xyp-thread-bubble {
        padding: 22px;
    }
}

.xyp-bubble-staff {
    border-left: 4px solid var(--xyp-primary);
    background: #F8FAFF;
}

.xyp-bubble-customer {
    border-left: 4px solid var(--xyp-success);
}

.xyp-bubble-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--xyp-border-light);
}

.xyp-author-name {
    font-weight: 600;
    color: var(--xyp-navy);
    font-size: 14px;
}

.xyp-tag-pill {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.tag-staff { background: var(--xyp-primary); color: #FFFFFF; }
.tag-cust { background: #E2E8F0; color: #475569; }

/* ==========================================================================
   9. Responsive Tables (SLA Tables, Status Tables)
   ========================================================================== */
.xyp-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
    margin: 14px 0;
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-sm);
}

.xyp-table {
    width: 100%;
    min-width: 500px; /* guarantees table can scroll gracefully on narrow phones */
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.xyp-table th,
.xyp-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--xyp-border-light);
}

.xyp-table th {
    background-color: var(--xyp-bg);
    color: var(--xyp-navy);
    font-weight: 600;
}

.xyp-table tr:last-child td {
    border-bottom: none;
}

.xyp-table tr:hover td {
    background-color: #F8FAFC;
}

/* ==========================================================================
   10. Footer (Streamlined & Minimal)
   ========================================================================== */
.xyp-site-footer {
    background-color: #070F1E;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94A3B8;
    padding: 24px 0;
    margin-top: 48px;
    font-size: 13.5px;
}

.xyp-footer-subbar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .xyp-footer-subbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.xyp-footer-brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.xyp-footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.xyp-footer-brand-link:hover {
    opacity: 0.85;
}

.xyp-footer-brand-link .xyp-logo {
    font-size: 17px;
    letter-spacing: 1px;
}

.xyp-footer-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    display: inline-block;
}

.xyp-footer-copy {
    color: #94A3B8;
    font-size: 13px;
}

.xyp-footer-nav {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.xyp-footer-link {
    color: #94A3B8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.xyp-footer-link:hover {
    color: #FFFFFF;
    text-decoration: none;
}

.xyp-footer-corp-link {
    color: #F1F5F9;
    font-weight: 600;
}

.xyp-footer-corp-link:hover {
    color: #60A5FA;
}

.xyp-pulse-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--xyp-success);
    font-weight: 500;
}

.xyp-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--xyp-success);
    box-shadow: 0 0 8px var(--xyp-success);
}

/* ==========================================================================
   11. Reduced Motion Preference
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   12. Feature Requests & Roadmap System
   ========================================================================== */
.xyp-feature-hero {
    background: linear-gradient(180deg, var(--xyp-navy) 0%, #071E47 100%);
    padding: 32px 0 24px 0;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .xyp-feature-hero {
        padding: 48px 0 32px 0;
    }
}

.xyp-feature-hero-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .xyp-feature-hero-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.xyp-feature-hero-text {
    max-width: 680px;
}

.xyp-feature-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Product Tabs */
.xyp-product-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    margin-top: 12px;
    scrollbar-width: none;
}
.xyp-product-tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.xyp-product-tabs {
    display: inline-flex;
    gap: 8px;
    white-space: nowrap;
}

.xyp-tab-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    min-height: 44px;
    transition: all 0.2s ease;
}

.xyp-tab-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
}

.xyp-tab-btn.is-active {
    background: var(--xyp-primary);
    color: #FFFFFF;
    border-color: var(--xyp-primary);
    box-shadow: 0 4px 12px rgba(14, 89, 242, 0.35);
}

/* Features Toolbar */
.xyp-features-toolbar {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.xyp-toolbar-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width: 768px) {
    .xyp-toolbar-form {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.xyp-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.xyp-search-field .dashicons {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    pointer-events: none;
}

.xyp-search-field input {
    width: 100%;
    min-height: 44px;
    padding: 10px 36px 10px 38px;
    border: 1px solid var(--xyp-border);
    border-radius: 8px;
    font-size: 14px;
    background: #F8FAFC;
}

.xyp-search-field input:focus {
    background: #FFFFFF;
    border-color: var(--xyp-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 89, 242, 0.12);
}

.xyp-clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #94A3B8;
    text-decoration: none;
    line-height: 1;
}

.xyp-filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.xyp-filter-selects select {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--xyp-border);
    border-radius: 8px;
    font-size: 13px;
    background: #FFFFFF;
    color: #334155;
    flex: 1;
    min-width: 130px;
}

/* Feature Request Card */
.xyp-feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.xyp-feature-card {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 600px) {
    .xyp-feature-card {
        flex-direction: row;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }
}

.xyp-feature-card:hover {
    border-color: #CBD5E1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Upvote Button Component */
.xyp-feature-vote-col {
    flex-shrink: 0;
}

.xyp-vote-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 8px 14px;
    min-height: 44px;
    min-width: 44px;
    cursor: pointer;
    color: #334155;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 600px) {
    .xyp-vote-btn {
        flex-direction: column;
        width: 68px;
        padding: 12px 6px;
        border-radius: 12px;
    }
}

.xyp-vote-btn:hover {
    background: #E2E8F0;
    border-color: #CBD5E1;
    transform: translateY(-1px);
}

.xyp-vote-btn.is-voted {
    background: #0E59F2;
    border-color: #0E59F2;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(14, 89, 242, 0.3);
}

.xyp-vote-chevron {
    font-size: 11px;
    line-height: 1;
}

.xyp-vote-count {
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.xyp-vote-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.xyp-vote-btn-sm {
    min-height: 34px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}
.xyp-vote-btn-sm .xyp-vote-count {
    font-size: 13px;
}

.xyp-vote-btn-lg {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 14px 20px;
    font-size: 16px;
}
.xyp-vote-btn-lg .xyp-vote-count {
    font-size: 22px;
}

/* Feature Body */
.xyp-feature-body {
    flex: 1;
    min-width: 0;
}

.xyp-feature-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.xyp-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.xyp-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #F1F5F9;
    color: #475569;
}

.xyp-pill-product {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #DBEAFE;
}

.xyp-pill-category {
    background: #F8FAFC;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

.xyp-pill-status {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: #1E293B;
}

.xyp-feature-date {
    font-size: 12px;
    color: #94A3B8;
}

.xyp-feature-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.xyp-feature-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.15s ease;
}

.xyp-feature-title a:hover {
    color: var(--xyp-primary);
}

.xyp-feature-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 12px 0;
}

.xyp-feature-official-snippet {
    background: #F0FDF4;
    border-left: 3px solid #10B981;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #166534;
    margin-bottom: 12px;
}

.xyp-official-tag {
    display: inline-block;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0E59F2;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 6px;
}

.xyp-feature-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #64748B;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
}

.xyp-author-tag, .xyp-comment-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748B;
    text-decoration: none;
}

.xyp-comment-link:hover {
    color: var(--xyp-primary);
}

/* Kanban Roadmap Board */
.xyp-roadmap-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    min-width: 0;
}

@media (min-width: 1024px) {
    .xyp-roadmap-board {
        grid-template-columns: repeat(3, 1fr);
        align-items: flex-start;
    }
}

.xyp-roadmap-column {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.xyp-roadmap-col-header {
    background: #FFFFFF;
    padding: 16px;
    border-bottom: 1px solid #E2E8F0;
    border-top: 4px solid #0E59F2;
}

.xyp-roadmap-col-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.xyp-roadmap-col-title-wrap h2 {
    font-size: 16px;
    margin: 0;
    color: #0F172A;
}

.xyp-roadmap-count {
    margin-left: auto;
    background: #F1F5F9;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
}

.xyp-roadmap-col-desc {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}

.xyp-roadmap-col-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 120px;
}

.xyp-roadmap-empty {
    text-align: center;
    padding: 32px 16px;
    color: #94A3B8;
    font-size: 13px;
}

.xyp-roadmap-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.xyp-roadmap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: #CBD5E1;
}

.xyp-roadmap-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.xyp-roadmap-card-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}

.xyp-roadmap-card-title a {
    color: #0F172A;
    text-decoration: none;
}
.xyp-roadmap-card-title a:hover {
    color: var(--xyp-primary);
}

.xyp-roadmap-card-excerpt {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.5;
}

.xyp-roadmap-card-note {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #EFF6FF;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    color: #1D4ED8;
}

.xyp-roadmap-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #F1F5F9;
}

.xyp-roadmap-comments-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748B;
    text-decoration: none;
}

.xyp-roadmap-cta {
    background: linear-gradient(135deg, var(--xyp-navy) 0%, #071E47 100%);
    border-radius: 16px;
    padding: 32px;
    color: #FFFFFF;
}

.xyp-roadmap-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .xyp-roadmap-cta-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.xyp-roadmap-cta h2 {
    font-size: 20px;
    margin: 0 0 6px 0;
    color: #FFFFFF;
}

.xyp-roadmap-cta p {
    font-size: 14px;
    margin: 0;
    color: #94A3B8;
}

/* Roadmap Milestone Timeline Indicator */
.xyp-roadmap-timeline-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.xyp-roadmap-timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 8px;
}

.xyp-roadmap-timeline-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 12%;
    right: 12%;
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
}

.xyp-timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.xyp-timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    border: 2px solid #CBD5E1;
    color: #64748B;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.xyp-timeline-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    line-height: 1.2;
}

.xyp-timeline-step.is-complete .xyp-timeline-dot {
    background: #10B981;
    border-color: #10B981;
    color: #FFFFFF;
}
.xyp-timeline-step.is-complete .xyp-timeline-label {
    color: #0F172A;
}

.xyp-timeline-step.is-current .xyp-timeline-dot {
    background: #0E59F2;
    border-color: #0E59F2;
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(14, 89, 242, 0.2);
}
.xyp-timeline-step.is-current .xyp-timeline-label {
    color: #0E59F2;
    font-weight: 700;
}

/* Live Duplicate Warning Box */
.xyp-duplicate-box {
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
    font-size: 13px;
    color: #92400E;
}

.xyp-duplicate-box-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-bottom: 8px;
}

.xyp-duplicate-list {
    margin: 0;
    padding-left: 20px;
}

.xyp-duplicate-list li {
    margin-bottom: 4px;
}

.xyp-duplicate-list a {
    color: #B45309;
    text-decoration: underline;
    font-weight: 600;
}

/* Discussion & Comments */
.xyp-discussion-section {
    margin-top: 32px;
}

.xyp-discussion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.xyp-count-badge {
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
}

.xyp-comment-thread {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.xyp-comment-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 14px;
}

.xyp-comment-card.is-official {
    border-left: 4px solid #0E59F2;
    background: #F8FAFC;
}

.xyp-comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #0E59F2;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xyp-comment-content {
    flex: 1;
    min-width: 0;
}

.xyp-comment-author-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.xyp-comment-name {
    font-weight: 600;
    color: #0F172A;
    font-size: 14px;
}

.xyp-comment-time {
    font-size: 12px;
    color: #94A3B8;
}

.xyp-comment-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
}

.xyp-comment-text p {
    margin: 0 0 6px 0;
}
.xyp-comment-text p:last-child {
    margin-bottom: 0;
}

.xyp-comment-actions {
    margin-top: 8px;
}

.xyp-reply-btn {
    background: none;
    border: none;
    padding: 0;
    color: #64748B;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.xyp-reply-btn:hover {
    color: var(--xyp-primary);
}

.xyp-nested-replies {
    margin-top: 14px;
    padding-left: 14px;
    border-left: 2px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xyp-reply-indicator {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #1E40AF;
    margin-bottom: 14px;
}

.xyp-cancel-reply {
    background: none;
    border: none;
    color: #EF4444;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
}

.xyp-official-response-card {
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-left: 4px solid #10B981;
    border-radius: 12px;
    padding: 20px;
}

.xyp-official-response-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.xyp-official-badge {
    background: #10B981;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.xyp-official-date {
    font-size: 12px;
    color: #64748B;
    margin-left: auto;
}

.xyp-official-response-body {
    font-size: 14px;
    line-height: 1.6;
    color: #14532D;
}

/* ==========================================================================
   13. Legal, Policy & Governance Templates (Privacy & Service Terms)
   ========================================================================== */
.xyp-legal-body {
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.xyp-legal-body section {
    scroll-margin-top: 100px;
}

.xyp-legal-body section:last-child {
    margin-bottom: 0 !important;
}

.xyp-legal-body h2 {
    color: var(--xyp-navy);
    line-height: 1.3;
}

.xyp-legal-body p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--xyp-body);
}

.xyp-legal-body ul, .xyp-legal-body ol {
    color: var(--xyp-body);
    font-size: 14px;
}

.xyp-legal-body li {
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .xyp-legal-body {
        padding: 20px 16px !important;
    }
}

/* ==========================================================================
   14. Revamped Enterprise Front Page Design System
   ========================================================================== */
.xyp-revamp-hero {
    position: relative;
    background: radial-gradient(ellipse at 50% -10%, rgba(14, 89, 242, 0.32) 0%, rgba(5, 22, 52, 0) 70%), linear-gradient(180deg, #030D1F 0%, #051634 100%);
    padding: 44px 0 60px 0;
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

@media (min-width: 768px) {
    .xyp-revamp-hero {
        padding: 68px 0 84px 0;
    }
}

/* Live Operational Status Strip */
.xyp-hero-status-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.xyp-status-pill-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34D399;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.xyp-live-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: xypPulseGreen 2s infinite ease-in-out;
}

@keyframes xypPulseGreen {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.xyp-sla-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E2E8F0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Hero Typography */
.xyp-revamp-title {
    color: #FFFFFF;
    font-size: clamp(28px, 6vw, 46px);
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 0 auto 14px auto;
    max-width: 840px;
}

.xyp-revamp-subtitle {
    color: #94A3B8;
    font-size: clamp(15px, 2.5vw, 18px);
    text-align: center;
    max-width: 660px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
}

/* Floating Glassmorphic Search Bar */
.xyp-revamp-search-box {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.2);
    gap: 6px;
    max-width: 680px;
    margin: 0 auto;
    transition: all 0.2s ease;
}

@media (min-width: 540px) {
    .xyp-revamp-search-box {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
}

.xyp-revamp-search-box:focus-within {
    border-color: #60A5FA;
    box-shadow: 0 16px 40px rgba(14, 89, 242, 0.35);
}

.xyp-revamp-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    color: var(--xyp-navy);
    padding: 12px 14px;
    font-family: var(--xyp-font-body);
}

.xyp-revamp-search-input::placeholder {
    color: #94A3B8;
}

/* Popular Search Pills */
.xyp-quick-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    font-size: 12px;
}

.xyp-quick-pills span {
    color: #64748B;
    font-weight: 500;
}

.xyp-pill-item {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    padding: 4px 10px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.15s ease;
}

.xyp-pill-item:hover {
    background: rgba(14, 89, 242, 0.25);
    border-color: #60A5FA;
    color: #FFFFFF;
}

/* 4 Core Gateways Grid */
.xyp-gateway-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 580px) {
    .xyp-gateway-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .xyp-gateway-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.xyp-gateway-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.xyp-gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    transition: background 0.2s ease;
}

.xyp-gateway-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(3, 13, 31, 0.4);
}

.xyp-gateway-card:hover::before {
    background: linear-gradient(90deg, #0E59F2, #60A5FA);
}

.xyp-gateway-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.xyp-gateway-card h3 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.xyp-gateway-card p {
    color: #94A3B8;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px 0;
    flex: 1;
}

.xyp-gateway-meta {
    font-size: 12px;
    font-weight: 600;
    color: #60A5FA;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Product Grid Pro */
.xyp-product-grid-pro {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
}

@media (min-width: 640px) {
    .xyp-product-grid-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .xyp-product-grid-pro {
        grid-template-columns: repeat(4, 1fr);
    }
}

.xyp-product-card-pro {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: var(--xyp-shadow-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.xyp-product-card-pro:hover {
    border-color: var(--xyp-primary);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(14, 89, 242, 0.08);
}

.xyp-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.xyp-product-category-pill {
    background: var(--xyp-primary-light);
    color: var(--xyp-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.xyp-product-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #059669;
    font-weight: 600;
}

.xyp-product-card-pro h3 {
    color: var(--xyp-navy);
    font-size: 18px;
    margin: 0 0 8px 0;
}

.xyp-product-card-pro p {
    color: var(--xyp-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}

.xyp-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.xyp-tag-chip {
    background: var(--xyp-bg);
    border: 1px solid var(--xyp-border);
    color: #475569;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
}

.xyp-product-foot-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--xyp-primary);
    border-top: 1px solid var(--xyp-border-light);
    padding-top: 12px;
}

/* Core Platform Banner */
.xyp-core-platform-card {
    background: linear-gradient(135deg, #051634 0%, #0F2D6B 100%);
    border-radius: var(--xyp-radius-lg);
    padding: 24px 28px;
    color: #FFFFFF;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--xyp-shadow-md);
}

@media (min-width: 768px) {
    .xyp-core-platform-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* Live Ticket Tracking Section */
.xyp-tracker-pro-container {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-lg);
    padding: 28px;
    box-shadow: var(--xyp-shadow-sm);
}

/* Emergency SLA Banner */
.xyp-emergency-strip {
    background: linear-gradient(90deg, #030D1F 0%, #09204A 100%);
    color: #FFFFFF;
    border-radius: var(--xyp-radius-lg);
    padding: 28px 32px;
    margin: 48px 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 840px) {
    .xyp-emergency-strip {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ==========================================================================
   15. Premium Front Page Makeover
   ========================================================================== */

/* ---- Page Background ---- */
.home {
    background: linear-gradient(180deg, #f0f5ff 0%, #f8fafc 32rem, #f8fafc 100%);
}

.home .xyp-site-header {
    background: rgba(3, 13, 31, 0.97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

/* ---- HERO ---- */
.home .xyp-revamp-hero {
    position: relative;
    isolation: isolate;
    padding: 72px 0 68px;
    background:
        radial-gradient(ellipse at 20% -8%, rgba(37, 99, 235, 0.38) 0%, transparent 52%),
        radial-gradient(ellipse at 75% 85%, rgba(99, 102, 241, 0.18) 0%, transparent 42%),
        linear-gradient(168deg, #020a1a 0%, #071e47 42%, #0d2f6b 100%);
    border-bottom: 1px solid rgba(96, 165, 250, 0.12);
    color: #fff;
    overflow: hidden;
}

.home .xyp-revamp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, black 20%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 85%);
}

.home .xyp-revamp-hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    right: -220px;
    top: -80px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
    border: 1px solid rgba(147, 197, 253, 0.08);
}

/* Animated floating orbs */
.xyp-hero-orbs {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.xyp-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

.xyp-orb-1 {
    width: 320px;
    height: 320px;
    background: rgba(37, 99, 235, 0.2);
    top: -40px;
    left: 8%;
    animation: xypFloat1 16s ease-in-out infinite;
}

.xyp-orb-2 {
    width: 260px;
    height: 260px;
    background: rgba(99, 102, 241, 0.14);
    bottom: -30px;
    right: 15%;
    animation: xypFloat2 20s ease-in-out infinite;
}

.xyp-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(6, 182, 212, 0.1);
    top: 40%;
    right: 5%;
    animation: xypFloat3 14s ease-in-out infinite;
}

@keyframes xypFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.08); }
    66% { transform: translate(-20px, -15px) scale(0.95); }
}

@keyframes xypFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, -40px) scale(1.12); }
}

@keyframes xypFloat3 {
    0%, 100% { transform: translate(0, 0); }
    40% { transform: translate(30px, -25px); }
    80% { transform: translate(-20px, 15px); }
}

/* Hero Status */
.home .xyp-hero-status-strip {
    justify-content: center;
    margin-bottom: 28px;
}

.home .xyp-status-pill-live {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.28);
    backdrop-filter: blur(8px);
}

.home .xyp-hero-overline {
    color: #8da3c4;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Hero Copy (centered layout) */
.home .xyp-hero-copy {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

/* Gradient text effect */
.xyp-gradient-text {
    background: linear-gradient(135deg, #60A5FA 0%, #818CF8 40%, #A78BFA 70%, #C084FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home .xyp-revamp-title {
    max-width: 900px;
    margin: 0 auto 20px;
    color: #fff;
    font-size: clamp(2.55rem, 5.8vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: -2px;
    text-wrap: balance;
}

.home .xyp-revamp-subtitle {
    max-width: 660px;
    margin: 0 auto 34px;
    color: #a0b4cf;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.65;
}

/* Glowing Search Bar */
.home .xyp-search-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

.home .xyp-revamp-search-box.xyp-glow-search {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 6px;
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(96, 165, 250, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home .xyp-revamp-search-box.xyp-glow-search:focus-within {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(96, 165, 250, 0.3),
        0 0 40px rgba(37, 99, 235, 0.15);
}

.home .xyp-search-icon {
    display: flex;
    align-items: center;
    padding-left: 14px;
    color: var(--xyp-primary);
}

.home .xyp-search-icon .dashicons {
    width: 21px;
    height: 21px;
    font-size: 21px;
}

.home .xyp-revamp-search-input {
    min-width: 0;
}

.home .xyp-btn-search-glow {
    border-radius: 10px;
    min-height: 46px;
    padding: 11px 22px;
    white-space: nowrap;
    background: linear-gradient(135deg, #0E59F2 0%, #2563EB 100%);
    box-shadow: 0 4px 14px rgba(14, 89, 242, 0.28);
    transition: all 0.25s ease;
}

.home .xyp-btn-search-glow:hover {
    background: linear-gradient(135deg, #0B46BF 0%, #1D4ED8 100%);
    box-shadow: 0 6px 20px rgba(14, 89, 242, 0.4);
    transform: translateY(-1px);
}

/* Quick pills in hero */
.home .xyp-quick-pills {
    justify-content: center;
    margin-top: 16px;
}

.home .xyp-quick-pills span {
    color: #7a8faa;
}

.home .xyp-pill-item {
    color: #c0d0e4;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.home .xyp-pill-item:hover {
    color: #fff;
    background: rgba(37, 99, 235, 0.25);
    border-color: rgba(96, 165, 250, 0.5);
}

/* ---- Hero Metrics Bar ---- */
.xyp-hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 680px;
    margin: 44px auto 0;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.xyp-metric-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xyp-metric-value {
    font-family: var(--xyp-font-display);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.xyp-metric-unit {
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

.xyp-metric-label {
    font-size: 11px;
    color: #7e96b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.xyp-metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* ---- Gateway Cards (with colored gradient top borders) ---- */
.home .xyp-gateway-grid {
    max-width: 1060px;
    margin: 52px auto 0;
    gap: 14px;
}

.home .xyp-gateway-card {
    min-height: 196px;
    padding: 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.home .xyp-gateway-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
    transition: height 0.3s ease;
}

/* Colored gradient top borders per card */
.xyp-gw-blue::before { background: linear-gradient(90deg, #3B82F6, #60A5FA); }
.xyp-gw-green::before { background: linear-gradient(90deg, #10B981, #34D399); }
.xyp-gw-indigo::before { background: linear-gradient(90deg, #6366F1, #818CF8); }
.xyp-gw-amber::before { background: linear-gradient(90deg, #F59E0B, #FBBF24); }

.home .xyp-gateway-card:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.home .xyp-gateway-card:hover::before {
    height: 4px;
}

.home .xyp-gateway-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 13px;
}

.home .xyp-gateway-card h3 {
    color: #fff;
}

.home .xyp-gateway-card p {
    color: #94a3b8;
}

.home .xyp-gateway-meta {
    color: #60A5FA;
    transition: gap 0.2s ease;
}

.home .xyp-gateway-card:hover .xyp-gateway-meta {
    gap: 8px;
}

/* ---- Product Cards (accent bar + shimmer) ---- */
.home .xyp-product-card-pro {
    min-height: 286px;
    padding: 26px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(5, 22, 52, 0.04);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Left accent bar */
.xyp-pcard-accent-blue { border-left: 3px solid #3B82F6; }
.xyp-pcard-accent-green { border-left: 3px solid #10B981; }
.xyp-pcard-accent-indigo { border-left: 3px solid #6366F1; }
.xyp-pcard-accent-amber { border-left: 3px solid #F59E0B; }

/* Shimmer effect on hover */
.home .xyp-product-card-pro::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
}

.home .xyp-product-card-pro:hover::after {
    left: 100%;
}

.home .xyp-product-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(14, 89, 242, 0.1);
    border-color: var(--xyp-primary);
}

/* ---- Core Platform Banner ---- */
.home .xyp-core-platform-card {
    margin-top: 28px;
    padding: 32px;
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 20%, rgba(59, 130, 246, 0.22), transparent 40%),
        linear-gradient(135deg, #06142f, #0f3478);
    box-shadow: 0 8px 32px rgba(5, 22, 52, 0.12);
}

/* ---- Section Headings ---- */
.xyp-section-heading-pro {
    font-size: clamp(22px, 4vw, 28px);
    color: var(--xyp-navy);
    margin: 0;
    letter-spacing: -0.3px;
}

.xyp-link-arrow {
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--xyp-primary);
    transition: gap 0.2s ease;
}

.xyp-link-arrow:hover {
    gap: 8px;
    color: var(--xyp-primary-hover);
}

/* ---- Category Cards (with icon badges) ---- */
.xyp-cat-enhanced {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 14px;
    padding: 22px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.xyp-cat-enhanced:hover {
    transform: translateY(-4px);
    border-color: #afc6f0;
    box-shadow: 0 12px 28px rgba(5, 22, 52, 0.08);
}

.xyp-cat-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xyp-cat-icon-badge .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.home .xyp-grid-categories {
    gap: 14px;
    margin-top: 20px;
}

/* ---- Tracker & SLA sidebar enhancements ---- */
.xyp-tracker-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 89, 242, 0.1);
    color: var(--xyp-primary);
}

.xyp-tracker-icon-badge .dashicons {
    font-size: 18px;
}

.home .xyp-tracker-pro-container {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(5, 22, 52, 0.05);
    border: 1px solid var(--xyp-border);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home .xyp-tracker-pro-container:hover {
    border-color: #b7ccf7;
    box-shadow: 0 8px 28px rgba(5, 22, 52, 0.08);
}

.xyp-sla-card-premium {
    border-radius: 16px;
    background: linear-gradient(145deg, var(--xyp-navy) 0%, #0B3CA6 120%);
    box-shadow: 0 8px 32px rgba(5, 22, 52, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.15);
    color: #FFFFFF;
}

.xyp-sla-card-premium h3 {
    color: #FFFFFF !important;
}

.xyp-sla-card-premium p {
    color: #CBD5E1 !important;
}

.xyp-sla-direct-channels {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
    margin-top: 4px;
}

.xyp-sla-channels-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94A3B8;
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.xyp-sla-icon-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.xyp-channel-icon-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 9px 6px;
    color: #F1F5F9 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.xyp-channel-icon-btn .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    color: #93C5FD;
    transition: transform 0.2s ease, color 0.2s ease;
}

.xyp-channel-icon-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.xyp-channel-icon-btn:hover .dashicons {
    transform: scale(1.15);
    color: #FFFFFF;
}

.xyp-channel-icon-btn.xyp-btn-wa .dashicons {
    color: #34D399;
}

.xyp-channel-icon-btn.xyp-btn-wa:hover {
    background: rgba(16, 185, 129, 0.22);
    border-color: rgba(16, 185, 129, 0.45);
}

.xyp-channel-icon-btn.xyp-btn-phone .dashicons {
    color: #38BDF8;
}

.xyp-channel-icon-btn.xyp-btn-phone:hover {
    background: rgba(56, 189, 248, 0.22);
    border-color: rgba(56, 189, 248, 0.45);
}

.xyp-channel-icon-btn.xyp-btn-email .dashicons {
    color: #A5B4FC;
}

.xyp-channel-icon-btn.xyp-btn-email:hover {
    background: rgba(99, 102, 241, 0.22);
    border-color: rgba(99, 102, 241, 0.45);
}

/* ---- Features Spotlight Section ---- */
.xyp-features-spotlight-card {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(5, 22, 52, 0.04);
}

.xyp-feature-spotlight-item {
    background: var(--xyp-bg);
    border: 1px solid var(--xyp-border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.xyp-feature-spotlight-item:hover {
    border-color: #c2d4f0;
    box-shadow: 0 8px 24px rgba(5, 22, 52, 0.06);
    transform: translateY(-2px);
}

.xyp-vote-mini {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--xyp-primary);
    font-size: 14px;
}

.xyp-vote-mini .dashicons {
    font-size: 16px;
}

/* ---- Emergency Strip Premium ---- */
.xyp-emergency-premium {
    border-radius: 18px;
    padding: 32px 36px;
    margin: 72px 0 24px;
    background:
        radial-gradient(circle at 90% 30%, rgba(220, 38, 38, 0.15), transparent 40%),
        linear-gradient(110deg, #030D1F 0%, #0a1f45 100%);
    border: 1px solid rgba(239, 68, 68, 0.1);
    box-shadow: 0 8px 32px rgba(3, 13, 31, 0.12);
}

.xyp-emergency-icon-pulse {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: xypRedPulse 2.5s ease-in-out infinite;
}

.xyp-emergency-icon-pulse .dashicons {
    color: #EF4444;
    font-size: 18px;
}

@keyframes xypRedPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.xyp-btn-emergency {
    background: #DC2626 !important;
    border-color: #DC2626 !important;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.xyp-btn-emergency:hover {
    background: #B91C1C !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.xyp-btn-whatsapp {
    background: #059669 !important;
    color: #FFFFFF !important;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
}

.xyp-btn-whatsapp:hover {
    background: #047857 !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
}

/* ---- Scroll Reveal Animations ---- */
.xyp-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: xypFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.xyp-delay-1 { animation-delay: 0.12s; }
.xyp-delay-2 { animation-delay: 0.24s; }
.xyp-delay-3 { animation-delay: 0.36s; }

@keyframes xypFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.xyp-section-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Layout split enhancements */
.home .xyp-layout-split {
    gap: 28px;
}

.home .xyp-box-aside {
    border-radius: 16px;
}

/* ---- Mobile Responsiveness ---- */
@media (max-width: 767px) {
    .home .xyp-revamp-hero {
        padding: 42px 0 50px;
    }

    .home .xyp-revamp-title {
        font-size: clamp(2.25rem, 11vw, 3.4rem);
        letter-spacing: -1.2px;
    }

    .home .xyp-btn-search-glow {
        width: 100%;
    }

    .home .xyp-gateway-card {
        min-height: 0;
    }

    .home .xyp-product-card-pro {
        min-height: 0;
    }

    .xyp-hero-metrics {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 20px;
    }

    .xyp-metric-divider {
        display: none;
    }

    .xyp-metric-item {
        min-width: 80px;
    }

    .xyp-features-spotlight-card {
        padding: 20px;
        border-radius: 14px;
    }

    /* Dedicated Client Business Portal Banner Mobile Fix */
    .xyp-client-portal-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        padding: 24px 20px !important;
        border-radius: 16px !important;
        text-align: left !important;
    }

    .xyp-cp-banner-left {
        width: 100% !important;
    }

    .xyp-cp-banner-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }

    .xyp-cp-banner-subtitle {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }

    .xyp-cp-banner-actions {
        width: 100% !important;
        margin-top: 4px;
    }

    .xyp-cp-banner-actions .xyp-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 13px 20px !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 10px !important;
    }

    /* Outage Escalation Hotline Mobile Fix */
    .xyp-emergency-premium {
        padding: 24px 20px !important;
        margin: 40px 0 20px !important;
        border-radius: 16px !important;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .xyp-emergency-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 4px;
    }

    .xyp-emergency-actions .xyp-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 539px) {
    .home .xyp-revamp-hero {
        padding-top: 32px;
    }

    .home .xyp-revamp-title {
        font-size: clamp(2.15rem, 12vw, 3.2rem);
        letter-spacing: -1px;
    }

    .home .xyp-revamp-search-box.xyp-glow-search {
        display: grid;
        grid-template-columns: auto 1fr;
    }

    .home .xyp-revamp-search-box.xyp-glow-search .xyp-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .xyp-emergency-premium h3 {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .xyp-footer-nav {
        gap: 10px 16px !important;
        justify-content: center !important;
    }

    .xyp-footer-brand-wrap {
        flex-direction: column !important;
        gap: 6px !important;
    }

    .xyp-footer-separator {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .xyp-orb,
    .xyp-live-dot,
    .xyp-emergency-icon-pulse {
        animation: none !important;
    }

    .xyp-fade-up {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .xyp-section-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ==========================================================================
   Milestone Stepper & Ticket Lifecycle Tracker (Theme)
   ========================================================================== */

.xyp-stepper-card {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-lg);
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: var(--xyp-shadow-sm);
}

.xyp-stepper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--xyp-border-light);
    flex-wrap: wrap;
    gap: 14px;
}

.xyp-stepper-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--xyp-navy);
}

.xyp-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    background: #ECFDF5;
    color: #065F46;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #A7F3D0;
}

.xyp-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    animation: xypPulseGreen 2s infinite;
}

@keyframes xypPulseGreen {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.xyp-stepper-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    gap: 12px;
}

@media (max-width: 768px) {
    .xyp-stepper-track {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.xyp-step {
    position: relative;
    display: flex;
    flex-direction: column;
}

@media (min-width: 769px) {
    .xyp-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 20px;
        left: calc(50% + 24px);
        right: calc(-50% + 24px);
        height: 3px;
        background: #E2E8F0;
        z-index: 1;
    }

    .xyp-step.xyp-step-completed:not(:last-child)::after {
        background: linear-gradient(90deg, #10B981 0%, #10B981 100%);
    }

    .xyp-step.xyp-step-active:not(:last-child)::after {
        background: linear-gradient(90deg, #0E59F2 0%, #E2E8F0 100%);
    }
}

.xyp-step-node {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

@media (min-width: 769px) {
    .xyp-step {
        text-align: center;
        align-items: center;
    }
    .xyp-step-node {
        flex-direction: column;
        text-align: center;
    }
}

.xyp-step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

/* Step 1: Completed State */
.xyp-step-completed .xyp-step-circle {
    background: #ECFDF5;
    border: 2px solid #10B981;
    color: #10B981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

/* Step 2: Active Radar State */
.xyp-step-active .xyp-step-circle {
    background: #EEF2FF;
    border: 2px solid #0E59F2;
    color: #0E59F2;
    animation: xypPulseRing 2.2s infinite;
}

/* Step 3: Waiting / Queue State */
.xyp-step-waiting .xyp-step-circle {
    background: #FEF3C7;
    border: 2px dashed #F59E0B;
    color: #D97706;
}

/* Step 4: Pending / Upcoming State */
.xyp-step-pending .xyp-step-circle {
    background: #F8FAFC;
    border: 2px solid #CBD5E1;
    color: #94A3B8;
}

.xyp-step-info {
    margin-top: 10px;
}

.xyp-step-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--xyp-navy);
    margin-bottom: 4px;
}

.xyp-step-completed .xyp-step-title {
    color: #065F46;
}

.xyp-step-active .xyp-step-title {
    color: #0B46BF;
}

.xyp-step-desc {
    font-size: 12px;
    color: var(--xyp-muted);
    line-height: 1.4;
}

.xyp-step-time {
    font-size: 11px;
    color: #64748B;
    margin-top: 4px;
    font-family: monospace;
}

/* Stepper Summary Cards */
.xyp-summary-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed var(--xyp-border);
}

.xyp-summary-box {
    background: #F8FAFC;
    border: 1px solid var(--xyp-border-light);
    border-radius: var(--xyp-radius-sm);
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.xyp-summary-label {
    font-size: 11.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--xyp-muted);
    letter-spacing: 0.5px;
}

.xyp-summary-val {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--xyp-navy);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Skeleton & Shimmer Loading Screens */
.xyp-shimmer {
    background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
    background-size: 200% 100%;
    animation: xypShimmer 1.6s infinite ease-in-out;
    border-radius: 4px;
}

@keyframes xypShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes xypPulseRing {
    0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(14, 89, 242, 0.45); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(14, 89, 242, 0); }
    100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(14, 89, 242, 0); }
}

.xyp-skeleton-card {
    background: var(--xyp-surface);
    border: 1px solid var(--xyp-border);
    border-radius: var(--xyp-radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.xyp-skeleton-bar {
    height: 14px;
    margin-bottom: 10px;
}

.xyp-skeleton-bar-sm { width: 30%; height: 12px; }
.xyp-skeleton-bar-md { width: 60%; height: 16px; }
.xyp-skeleton-bar-lg { width: 85%; height: 22px; }
.xyp-skeleton-bar-full { width: 100%; height: 14px; }

.xyp-skeleton-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex-shrink: 0;
}

.xyp-bubble-optimistic {
    border-left: 4px solid #0E59F2 !important;
    background: #F8FAFC !important;
    opacity: 0.92;
    animation: fadeIn 0.3s ease;
}

.xyp-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.xyp-btn-loading .dashicons {
    display: none;
}

.xyp-spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: xypSpin 0.75s infinite linear;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes xypSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ========================================================
   ENTERPRISE CLIENT PORTAL & OTP AUTHENTICATION SYSTEM
   ======================================================== */

.xyp-client-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.xyp-client-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 89, 242, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.35);
    border-radius: 24px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF !important;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.xyp-client-header-badge:hover,
.xyp-client-dropdown-wrap.is-open .xyp-client-header-badge {
    background: rgba(14, 89, 242, 0.25);
    border-color: #60A5FA;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(14, 89, 242, 0.25);
}

.xyp-dd-arrow {
    font-size: 14px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    color: #94A3B8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.xyp-client-dropdown-wrap.is-open .xyp-dd-arrow {
    transform: rotate(180deg);
    color: #60A5FA;
}

.xyp-badge-tier {
    background: #051634;
    color: #93C5FD;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Client Profile Dropdown Pane */
.xyp-client-menu-pane {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 300px;
    background: #07152E;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 36px rgba(2, 8, 20, 0.65), 0 0 0 1px rgba(14, 89, 242, 0.15);
    border-radius: 14px;
    padding: 12px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.xyp-client-menu-pane::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.xyp-client-dropdown-wrap:hover .xyp-client-menu-pane,
.xyp-client-dropdown-wrap.is-open .xyp-client-menu-pane {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.xyp-client-dropdown-wrap:hover .xyp-dd-arrow,
.xyp-client-dropdown-wrap.is-open .xyp-dd-arrow {
    transform: rotate(180deg);
    color: #60A5FA;
}

.xyp-dd-client-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 6px 10px 6px;
}

.xyp-dd-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(14, 89, 242, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60A5FA;
    flex-shrink: 0;
}

.xyp-dd-avatar .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.xyp-dd-client-info {
    min-width: 0;
    flex: 1;
}

.xyp-dd-company-name {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xyp-dd-meta-line {
    font-size: 11.5px;
    color: #94A3B8;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xyp-dd-code {
    font-family: monospace;
    color: #CBD5E1;
}

.xyp-dd-tier-badge {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-top: 5px;
    background: rgba(14, 89, 242, 0.2);
    color: #93C5FD;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.xyp-dd-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 8px 0;
}

.xyp-dd-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.xyp-dd-menu-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #CBD5E1;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s ease;
}

.xyp-dd-menu-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #FFFFFF;
    transform: translateX(2px);
}

.xyp-dd-menu-link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #60A5FA;
}

.xyp-dd-logout-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #F87171 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.xyp-dd-logout-action:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
    color: #FECACA !important;
}

.xyp-dd-logout-action .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Direct Header Sign Out Action Button */
.xyp-btn-header-signout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 18px;
    color: #FCA5A5 !important;
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.08);
    transition: all 0.15s ease;
    text-decoration: none;
}

.xyp-btn-header-signout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.xyp-btn-header-signout .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* Mobile Client Strip in Drawer */
.xyp-mobile-client-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(14, 89, 242, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.28);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.xyp-m-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(14, 89, 242, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60A5FA;
    flex-shrink: 0;
}

.xyp-m-avatar .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.xyp-m-info {
    min-width: 0;
    flex: 1;
}

.xyp-m-info strong {
    display: block;
    color: #FFFFFF;
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.xyp-m-info small {
    display: block;
    color: #94A3B8;
    font-size: 11.5px;
}

.xyp-btn-client-portal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #E2E8F0 !important;
    font-weight: 600;
    font-size: 13.5px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.xyp-btn-client-portal:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.xyp-btn-header-submit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0E59F2;
    border: 1px solid #0E59F2;
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 13px;
    padding: 7px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(14, 89, 242, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    white-space: nowrap;
}

.xyp-btn-header-submit:hover {
    background: #0B46C2;
    border-color: #0B46C2;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(14, 89, 242, 0.35);
}

/* Front-Page Client Portal Banner */
.xyp-client-portal-banner {
    background: linear-gradient(135deg, #051634 0%, #0B2556 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 30px 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    box-shadow: 0 16px 36px -10px rgba(5, 22, 52, 0.2);
    position: relative;
    overflow: hidden;
}

.xyp-client-portal-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(14, 89, 242, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.xyp-cp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 89, 242, 0.2);
    border: 1px solid rgba(14, 89, 242, 0.4);
    color: #93C5FD;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.xyp-cp-banner-title {
    color: #FFFFFF;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin: 0 0 6px 0;
}

.xyp-cp-banner-subtitle {
    color: #94A3B8;
    font-size: 14px;
    margin: 0;
    max-width: 650px;
    line-height: 1.55;
}

.xyp-cp-banner-actions {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .xyp-client-portal-banner {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        padding: 24px 20px !important;
        border-radius: 16px !important;
    }

    .xyp-cp-banner-left {
        width: 100% !important;
    }

    .xyp-cp-banner-title {
        font-size: 19px !important;
        line-height: 1.35 !important;
        margin-bottom: 8px !important;
    }

    .xyp-cp-banner-subtitle {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }

    .xyp-cp-banner-actions {
        width: 100% !important;
        flex-shrink: 1 !important;
    }

    .xyp-cp-banner-actions .xyp-btn {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 13px 20px !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        border-radius: 10px !important;
    }
}

/* Client Portal Page Wrapper */
.xyp-portal-page-wrap {
    background-color: var(--xyp-bg);
    min-height: calc(100vh - 180px);
    padding: 40px 0 80px 0;
}

/* Authentication Screen Revamped */
.xyp-client-auth-section {
    padding: 36px 0 60px 0;
    position: relative;
}

.xyp-auth-card {
    max-width: 500px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 42px 38px 36px 38px;
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.xyp-auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0E59F2 0%, #3B82F6 50%, #60A5FA 100%);
}

.xyp-auth-header {
    text-align: center;
    margin-bottom: 26px;
}

.xyp-auth-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.xyp-auth-emblem-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0E59F2 0%, #1E40AF 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 24px -4px rgba(14, 89, 242, 0.35);
}

.xyp-auth-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #15803D;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.xyp-auth-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16A34A;
    box-shadow: 0 0 0 2.5px rgba(22, 163, 74, 0.25);
    animation: xypAuthPulse 2s infinite;
}

@keyframes xypAuthPulse {
    0%, 100% {
        box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.1);
    }
}

.xyp-auth-title {
    font-size: 25px;
    font-weight: 800;
    color: var(--xyp-navy);
    letter-spacing: -0.5px;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

.xyp-auth-subtitle {
    font-size: 13.5px;
    color: var(--xyp-muted);
    line-height: 1.55;
    margin: 0 auto;
    max-width: 420px;
}

/* Alert banners */
.xyp-auth-alert-banner {
    border-radius: 12px;
    padding: 13px 16px;
    margin: 0 0 22px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

.xyp-auth-alert-banner .dashicons {
    font-size: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.xyp-auth-alert-banner .xyp-alert-text {
    font-size: 13px;
    line-height: 1.5;
}

.xyp-auth-alert-banner .xyp-alert-text strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 2px;
}

.xyp-alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.xyp-alert-success strong {
    color: #064E3B;
}

.xyp-alert-warning {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
}

.xyp-alert-warning strong {
    color: #78350F;
}

/* Segmented channel tabs */
.xyp-auth-channel-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 22px;
}

.xyp-channel-btn {
    border: 1px solid transparent;
    background: transparent;
    padding: 9px 12px;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.xyp-channel-icon-pill {
    font-size: 20px;
    flex-shrink: 0;
    line-height: 1;
}

.xyp-channel-name {
    display: block;
    font-size: 12.5px;
    color: #64748B;
    font-weight: 700;
    line-height: 1.3;
}

.xyp-channel-desc {
    display: block;
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
    line-height: 1.3;
}

.xyp-channel-btn.is-active {
    background: #FFFFFF;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
    border-color: #E2E8F0;
}

.xyp-channel-btn.is-active .xyp-channel-name {
    color: var(--xyp-navy);
}

.xyp-channel-btn.is-active .xyp-channel-desc {
    color: #0E59F2;
    font-weight: 600;
}

/* Form controls */
.xyp-form-group {
    margin-bottom: 18px;
    text-align: left;
}

.xyp-form-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--xyp-navy);
    margin-bottom: 7px;
}

.xyp-field-tag {
    font-size: 10.5px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.xyp-input-addon-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #E2E8F0;
    border-radius: 11px;
    overflow: hidden;
    background: #FFFFFF;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.xyp-input-addon-group:focus-within {
    border-color: #0E59F2;
    box-shadow: 0 0 0 3.5px rgba(14, 89, 242, 0.12);
}

.xyp-input-prefix {
    background: #F8FAFC;
    border-right: 1px solid #E2E8F0;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #475569;
}

.xyp-prefix-flag {
    font-size: 16px;
    line-height: 1;
}

.xyp-prefix-code {
    font-weight: 700;
    color: #1E293B;
    font-size: 13.5px;
}

.xyp-input-addon-group .xyp-input-field {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    flex: 1;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--xyp-navy);
    background: transparent;
}

.xyp-form-hint {
    display: block;
    font-size: 11.5px;
    color: #94A3B8;
    margin-top: 6px;
    line-height: 1.4;
}

/* Auth Submit Button */
.xyp-btn-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    padding: 13px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 11px;
    background: linear-gradient(135deg, #0E59F2 0%, #1D4ED8 100%);
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(14, 89, 242, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 14px;
    text-decoration: none;
    line-height: 1.2;
}

.xyp-btn-auth-submit:hover {
    background: linear-gradient(135deg, #0B46C2 0%, #173DB5 100%);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(14, 89, 242, 0.45);
    color: #FFFFFF !important;
}

.xyp-btn-auth-submit:active {
    transform: translateY(0);
}

.xyp-btn-auth-submit .xyp-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1;
}

.xyp-btn-auth-submit .xyp-btn-arrow-icon {
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.xyp-btn-auth-submit:hover .xyp-btn-arrow-icon {
    transform: translateX(4px);
}

.xyp-btn-auth-submit .xyp-btn-shield-icon {
    flex-shrink: 0;
}

.xyp-btn-auth-submit .xyp-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: xypSpin 0.7s linear infinite;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Step 2 Verification Styles */
.xyp-otp-dispatched-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    padding: 13px 15px;
    border-radius: 11px;
    margin-bottom: 20px;
}

.xyp-otp-dispatched-icon {
    color: #10B981;
    font-size: 20px;
    line-height: 1.2;
    flex-shrink: 0;
}

.xyp-otp-dispatched-content {
    flex: 1;
}

.xyp-dispatched-text {
    margin: 0 0 4px 0;
    font-size: 13px;
    color: #065F46;
    font-weight: 600;
    line-height: 1.4;
}

.xyp-input-otp {
    text-align: center;
    font-size: 26px !important;
    letter-spacing: 12px;
    font-weight: 800;
    color: #0E59F2;
    font-family: 'SF Mono', Monaco, Menlo, Consolas, monospace;
    padding: 12px !important;
    border: 1.5px solid #E2E8F0 !important;
    border-radius: 11px !important;
    background: #F8FAFC !important;
    transition: all 0.2s ease;
}

.xyp-input-otp:focus {
    border-color: #0E59F2 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 3.5px rgba(14, 89, 242, 0.12) !important;
}

.xyp-otp-meta-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--xyp-muted);
    margin-top: 8px;
}

.xyp-timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #64748B;
    font-size: 12px;
}

.xyp-link-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #0E59F2;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.xyp-link-btn:hover {
    color: #1D4ED8;
}

.xyp-link-btn:disabled {
    color: #94A3B8;
    text-decoration: none;
    cursor: not-allowed;
}

/* Security trust footer */
.xyp-auth-security-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #F1F5F9;
    font-size: 11.5px;
    color: #64748B;
    flex-wrap: wrap;
}

.xyp-auth-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.xyp-auth-dot-sep {
    color: #CBD5E1;
    font-size: 10px;
}

.xyp-auth-help-note {
    text-align: center;
    margin-top: 12px;
    font-size: 11.5px;
    color: #94A3B8;
    line-height: 1.5;
}

/* Authenticated Client Dashboard */
.xyp-client-hero-card {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 10px 30px rgba(5, 22, 52, 0.04);
    margin-bottom: 24px;
}

.xyp-client-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--xyp-border);
}

.xyp-client-hero-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.xyp-client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, #051634, #0E59F2);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(14, 89, 242, 0.25);
}

.xyp-client-avatar .dashicons {
    font-size: 30px;
    width: 30px;
    height: 30px;
}

.xyp-client-code-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.xyp-badge-code {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: #334155;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-family: monospace;
    font-weight: 700;
}

.xyp-live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #059669;
    font-weight: 600;
}

.xyp-client-hero-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--xyp-navy);
    letter-spacing: -0.5px;
    margin: 0 0 6px 0;
}

.xyp-client-hero-contact {
    font-size: 13.5px;
    color: var(--xyp-muted);
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.xyp-client-hero-contact .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: #94A3B8;
}

.xyp-client-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.xyp-client-sla-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    padding: 8px 16px;
    border-radius: 12px;
}

.xyp-client-sla-pill .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #0E59F2;
}

.xyp-client-sla-pill strong {
    display: block;
    font-size: 13.5px;
    color: #1E3A8A;
}

.xyp-client-sla-pill small {
    display: block;
    font-size: 11px;
    color: #64748B;
    text-transform: uppercase;
}

.xyp-client-metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    padding-top: 22px;
}

.xyp-cl-metric {
    display: flex;
    flex-direction: column;
}

.xyp-cl-metric-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--xyp-navy);
    line-height: 1.1;
    font-family: 'Space Grotesk', sans-serif;
}

.xyp-cl-metric-lbl {
    font-size: 12.5px;
    color: var(--xyp-muted);
    font-weight: 500;
    margin-top: 4px;
}

/* Portal Tabs */
.xyp-portal-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--xyp-border);
    margin-bottom: 28px;
    overflow-x: auto;
}

.xyp-portal-tab {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--xyp-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.xyp-portal-tab:hover {
    color: var(--xyp-navy);
}

.xyp-portal-tab.is-active {
    color: #0E59F2;
    border-bottom-color: #0E59F2;
}

.xyp-portal-tab-pane {
    animation: fadeIn 0.3s ease;
}

/* Panel Header */
.xyp-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.xyp-panel-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--xyp-navy);
    margin: 0 0 4px 0;
}

.xyp-panel-desc {
    font-size: 13.5px;
    color: var(--xyp-muted);
    margin: 0;
}

/* Ticket Rows */
.xyp-portal-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xyp-ticket-card-row {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}

.xyp-ticket-card-row:hover {
    border-color: #CBD5E1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.xyp-t-info {
    flex: 1;
}

.xyp-t-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.xyp-t-ref {
    font-family: monospace;
    font-weight: 700;
    font-size: 13px;
    color: #0E59F2;
}

.xyp-t-product {
    font-size: 12px;
    color: #64748B;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 6px;
}

.xyp-t-subject {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.xyp-t-subject a {
    color: var(--xyp-navy);
    text-decoration: none;
}

.xyp-t-subject a:hover {
    color: #0E59F2;
}

.xyp-t-preview {
    font-size: 13px;
    color: var(--xyp-muted);
    margin: 0;
    line-height: 1.5;
}

.xyp-t-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.xyp-t-date {
    font-size: 12px;
    color: #94A3B8;
}

/* Feature Requests 2-col */
.xyp-grid-2col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .xyp-grid-2col {
        grid-template-columns: 1fr;
    }
}

.xyp-portal-feature-form-card,
.xyp-portal-feature-list-card {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(5, 22, 52, 0.03);
}

.xyp-portal-feature-form-card .xyp-form-group {
    margin-bottom: 18px;
}

.xyp-portal-feature-form-card .xyp-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--xyp-navy);
    margin-bottom: 6px;
}

.xyp-portal-feature-form-card .xyp-input-field,
.xyp-portal-feature-form-card .xyp-select-field,
.xyp-portal-feature-form-card .xyp-textarea-field {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    background-color: #FFFFFF !important;
    color: var(--xyp-navy) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.xyp-portal-feature-form-card .xyp-input-field:focus,
.xyp-portal-feature-form-card .xyp-select-field:focus,
.xyp-portal-feature-form-card .xyp-textarea-field:focus {
    border-color: #0E59F2 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(14, 89, 242, 0.12) !important;
}

.xyp-feature-proposals-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xyp-proposal-item {
    background: #F8FAFC;
    border: 1px solid var(--xyp-border);
    border-radius: 12px;
    padding: 16px;
}

.xyp-proposal-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.xyp-vote-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #2563EB;
}

.xyp-proposal-title {
    font-size: 15px;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.xyp-proposal-title a {
    color: var(--xyp-navy);
    text-decoration: none;
}

.xyp-proposal-meta {
    font-size: 12px;
    color: #94A3B8;
    margin: 0;
}

/* Subscribed Products Grid */
.xyp-sub-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.xyp-sub-prod-card {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
}

.xyp-sub-prod-card.is-licensed {
    border-color: #BFDBFE;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    box-shadow: 0 8px 24px rgba(14, 89, 242, 0.05);
}

.xyp-sub-prod-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.xyp-prod-cat-badge {
    font-size: 11px;
    color: #64748B;
    background: #F1F5F9;
    padding: 2px 7px;
    border-radius: 4px;
}

.xyp-sub-prod-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: var(--xyp-navy);
}

.xyp-sub-prod-desc {
    font-size: 13px;
    color: var(--xyp-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;
}

.xyp-sub-prod-footer {
    display: flex;
    align-items: center;
}

/* SLA Matrix Card */
.xyp-sla-matrix-card {
    background: #FFFFFF;
    border: 1px solid var(--xyp-border);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(5, 22, 52, 0.03);
}

.xyp-sla-matrix-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px 0;
    color: var(--xyp-navy);
}

.xyp-sla-table-wrap {
    overflow-x: auto;
}

.xyp-sla-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.xyp-sla-table th {
    background: #F8FAFC;
    color: #475569;
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--xyp-border);
}

.xyp-sla-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--xyp-border);
    color: #334155;
    vertical-align: middle;
}

.xyp-portal-empty,
.xyp-portal-empty-sub {
    text-align: center;
    padding: 40px 20px;
    background: #FFFFFF;
    border: 1.5px dashed var(--xyp-border);
    border-radius: 16px;
}

.xyp-portal-empty h3,
.xyp-portal-empty-sub h4 {
    margin: 12px 0 6px 0;
    color: var(--xyp-navy);
}

.xyp-portal-empty p,
.xyp-portal-empty-sub p {
    color: var(--xyp-muted);
    font-size: 13.5px;
    max-width: 460px;
    margin: 0 auto 18px auto;
}

/* ==========================================================================
   Knowledge Base Video Tutorial & Walkthrough Components
   ========================================================================== */
.xyp-video-showcase {
    background: linear-gradient(145deg, #09101F, #0F172A);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin: 28px 0 36px 0;
    overflow: hidden;
    box-shadow: 0 20px 45px -15px rgba(5, 22, 52, 0.4);
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.xyp-video-showcase.is-cinema-mode {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 30px 60px -15px rgba(14, 89, 242, 0.25);
    border-color: rgba(14, 89, 242, 0.35);
}

.xyp-video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    gap: 12px;
}

.xyp-video-header-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.xyp-video-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 10px #EF4444;
    display: inline-block;
    animation: xyp-video-pulse 2s infinite;
}

@keyframes xyp-video-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.xyp-video-header-title {
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.xyp-video-duration-pill {
    background: rgba(255, 255, 255, 0.1);
    color: #E2E8F0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.xyp-video-duration-pill .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
    color: #94A3B8;
}

.xyp-video-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.xyp-video-tool-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.xyp-video-tool-btn .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #94A3B8;
    transition: color 0.2s ease;
}

.xyp-video-tool-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.25);
}

.xyp-video-tool-btn:hover .dashicons {
    color: #FFFFFF;
}

.xyp-video-cinema-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #020617;
    overflow: hidden;
}

.xyp-video-iframe,
.xyp-video-direct-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.xyp-video-chapters-container {
    padding: 14px 18px 18px 18px;
    background: rgba(15, 23, 42, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.xyp-chapters-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.xyp-chapters-heading .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #60A5FA;
}

.xyp-chapters-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.xyp-chapters-scroller::-webkit-scrollbar {
    height: 4px;
}

.xyp-chapters-scroller::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.xyp-chapter-pill {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 6px 12px;
    color: #E2E8F0;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.xyp-ch-time {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.35);
    padding: 2px 6px;
    border-radius: 4px;
    color: #93C5FD;
}

.xyp-chapter-pill:hover {
    background: rgba(14, 89, 242, 0.25);
    border-color: rgba(14, 89, 242, 0.5);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.xyp-chapter-pill.is-active {
    background: #0E59F2;
    border-color: #0E59F2;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(14, 89, 242, 0.4);
}

.xyp-chapter-pill.is-active .xyp-ch-time {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

/* Video Guide Badge across cards and loops */
.xyp-video-guide-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(14, 89, 242, 0.09);
    color: #0E59F2;
    border: 1px solid rgba(14, 89, 242, 0.25);
    padding: 2.5px 7.5px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.xyp-video-guide-badge .dashicons {
    font-size: 13px;
    width: 13px;
    height: 13px;
    line-height: 13px;
    color: #0E59F2;
    transition: color 0.2s ease;
}

.xyp-card-article:hover .xyp-video-guide-badge,
.xyp-article-card:hover .xyp-video-guide-badge {
    background: #0E59F2;
    color: #FFFFFF;
    border-color: #0E59F2;
}

.xyp-card-article:hover .xyp-video-guide-badge .dashicons,
.xyp-article-card:hover .xyp-video-guide-badge .dashicons {
    color: #FFFFFF;
}

/* ==========================================================================
   Detailed Description Format Selection Cards (2 Big Divs)
   ========================================================================== */
.xyp-desc-choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 6px;
    margin-bottom: 14px;
}

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

.xyp-format-big-card {
    border: 2px solid #CBD5E1;
    border-radius: 14px;
    padding: 22px 20px;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.xyp-format-big-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(14, 89, 242, 0.08);
}

#xyp-choose-text-card:hover {
    border-color: #0E59F2 !important;
}

#xyp-choose-audio-card:hover {
    border-color: #7C3AED !important;
}

.xyp-desc-change-btn:hover {
    background: #F8FAFC !important;
    border-color: #94A3B8 !important;
    color: #0F172A !important;
}

