/* ==========================================================================
   Visual Contract & Variables (Inherited & Variant)
   ========================================================================== */
:root {
    --brand-primary: #de6ebb;
    --brand-primary-dark: #c55ca3;
    --text-main: #1e1e24;
    --text-muted: #5c5c66;
    --bg-page: #ffffff;
    --bg-surface: #f8f9fc;
    --bg-dark: #0f0f13;
    --bg-dark-grad: linear-gradient(135deg, #0f0f13 0%, #2a1b26 100%);
    
    --radius-md: 14px;
    --radius-lg: 17px;
    --radius-full: 9999px;
    
    --shadow-subtle: 0 4px 24px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 32px rgba(222, 110, 187, 0.15);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    --transition-base: 0.25s ease;
    --font-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --xbound-width: 1240px;
}

/* ==========================================================================
   Base Resets & Mandatory Rules
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sys);
    color: var(--text-main);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

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

/* Mandatory text breaking */
.vox-fold, 
.xflare-vox, 
.matrix-vox, 
.packet-vox,
.spec-vox {
    word-break: break-word; 
    overflow-wrap: break-word;
}

/* Mandatory heading wrapping */
h1, h2, h3, h4, 
.xflare-crest, 
.matrix-crest, 
.packet-crest,
.sync-crest {
    white-space: normal;
}

/* ==========================================================================
   Navigation (Mandatory Reuse)
   ========================================================================== */
.apex-matrix {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 16px 0;
}

.flex-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.apex-fold {
    max-width: var(--xbound-width);
    margin: 0 auto;
    padding: 0 24px;
}

.xmark {
    display: flex;
    align-items: center;
    min-width: 0;
}

.xmark img {
    height: 32px;
    width: auto;
}

.nexus-xlist {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: center;
}

.pathx-wire {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    min-width: 0;
    position: relative;
}

.pathx-wire:hover, 
.pathx-wire.active {
    color: var(--text-main);
}

.pathx-wire.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   Structural Containers
   ========================================================================== */
.fold-matrix {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.xbound-matrix {
    max-width: var(--xbound-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ==========================================================================
   Section 1: Hero (Acquire) - Dark Variant
   ========================================================================== */
.xflare-vortex {
    background: var(--bg-dark-grad);
    padding: 80px 0 100px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.vortex-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 48px;
}

.vortex-cluster > * {
    min-width: 0;
}

.vortex-vox-fold {
    flex: 1 1 500px;
}

.xflare-crest {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.xflare-vox {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.7;
}

.ping-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ping-cluster > * {
    min-width: 0;
}

.pulse-trigx {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-primary);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(222, 110, 187, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-trigx:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: var(--brand-primary-dark);
}

.pulse-trigx-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 36px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pulse-trigx-alt:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.vortex-optic-fold {
    flex: 1 1 500px;
    position: relative;
}

.optic-core {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Decorative element for hero */
.flare-glow {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(222, 110, 187, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Article 1: Download Grid (Comparison)
   ========================================================================== */
.comparison-matrix {
    padding: 100px 0;
    background-color: var(--bg-surface);
}

.apex-fold-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 64px;
}

.matrix-crest {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.matrix-vox {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.cluster-fold {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.xnode-packet {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.xnode-packet:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(222, 110, 187, 0.2);
}

.glyph-fold {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(222, 110, 187, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand-primary);
}

.packet-crest {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.packet-vox {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    flex-grow: 1;
}

.data-band {
    width: 100%;
    padding: 12px;
    background: var(--bg-surface);
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: monospace;
}

.ping-wire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--bg-surface);
    color: var(--brand-primary);
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 1px solid rgba(222, 110, 187, 0.2);
}

.xnode-packet:hover .ping-wire {
    background: var(--brand-primary);
    color: #ffffff;
}

/* Image Integration for Download Grid */
.visual-support-band {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.visual-support-band img {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: cover;
}


/* ==========================================================================
   Div 1: Feature Sync (Acquire)
   ========================================================================== */
.sync-matrix {
    padding: 100px 0;
    background-color: var(--bg-page);
}

.sync-cluster {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 64px;
}

.sync-cluster > * {
    min-width: 0;
}

.sync-optic-fold {
    flex: 1 1 500px;
}

.sync-vox-fold {
    flex: 1 1 400px;
}

.sync-crest {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

.sync-vox {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.feature-drop {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.feature-drop .glyph-fold {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    margin-right: 16px;
    border-radius: 10px;
    flex-shrink: 0;
}

.drop-crest {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.drop-vox {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Div 2: Specifications (Acquire) - Mixing containers rule
   ========================================================================== */
.spec-matrix {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: #ffffff;
}

.spec-crest {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 48px;
    text-align: center;
}

.spec-cluster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 48px;
}

.spec-drop {
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-pip {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.spec-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}


/* ==========================================================================
   Footer
   ========================================================================== */
.xbase-fold {
    background-color: #ffffff;
    padding: 64px 0 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.resid-cluster {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.resid-cluster > * {
    min-width: 0;
}

.xbase-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.xbase-xlist {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.anchor-wire {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.anchor-wire:hover {
    color: var(--brand-primary);
}

.xbase-legal {
    width: 100%;
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #888891;
    font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
    .vortex-cluster,
    .sync-cluster {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nexus-xlist {
        display: none; /* Simplified for mobile, assuming JS handles toggle in real app */
    }
    
    .xflare-vortex {
        padding: 60px 0 80px;
    }
    
    .comparison-matrix,
    .sync-matrix,
    .spec-matrix {
        padding: 60px 0;
    }
    
    .cluster-fold {
        grid-template-columns: 1fr;
    }
    
    .spec-cluster {
        grid-template-columns: 1fr;
    }
    
    .ping-cluster {
        flex-direction: column;
        width: 100%;
    }
    
    .pulse-trigx, 
    .pulse-trigx-alt {
        width: 100%;
    }
}

.nexus-apex-matrix .nexus-flex-cluster{
            display: flex;
            flex-wrap: wrap;
        }

.nexus-apex-matrix{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

.nexus-apex-matrix .nexus-apex-fold{
            max-width: 1280px;
            margin: 0 auto;
            padding: 16px 24px;
            justify-content: space-between;
            align-items: center;
        }

.nexus-apex-matrix .nexus-xmark{
            display: flex;
            align-items: center;
            height: 32px;
        }

.nexus-apex-matrix .nexus-xmark img{
            height: 100%;
            object-fit: contain;
        }

.nexus-apex-matrix .nexus-nexus-xlist{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
        }

.nexus-apex-matrix .nexus-pathx-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #5c5c66;
            padding: 8px 0;
            position: relative;
        }

.nexus-apex-matrix .nexus-pathx-wire:hover{
            color: #de6ebb;
        }

.nexus-apex-matrix .nexus-pathx-wire.active{
            color: #de6ebb;
        }

.nexus-apex-matrix .nexus-pathx-wire.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #de6ebb;
            border-radius: 2px;
        }

@media (max-width: 768px){.nexus-apex-matrix .nexus-nexus-xlist{
                display: none; 
            }}

.nexus-apex-matrix {
    background: rgb(255, 255, 255);
    background-image: none;
}

.xbase-xend-resid {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--text-main);
}
.xbase-xend-resid,
.xbase-xend-resid *,
.xbase-xend-resid *::before,
.xbase-xend-resid *::after {
    box-sizing: border-box;
}

.xbase-xend-resid nav,
.xbase-xend-resid div,
.xbase-xend-resid section,
.xbase-xend-resid article,
.xbase-xend-resid aside,
.xbase-xend-resid p,
.xbase-xend-resid h1,
.xbase-xend-resid h2,
.xbase-xend-resid h3,
.xbase-xend-resid h4,
.xbase-xend-resid h5,
.xbase-xend-resid h6,
.xbase-xend-resid a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.xbase-xend-resid p,
.xbase-xend-resid h1,
.xbase-xend-resid h2,
.xbase-xend-resid h3,
.xbase-xend-resid h4,
.xbase-xend-resid h5,
.xbase-xend-resid h6 {
    text-decoration: none;
}

.xbase-xend-resid img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.xbase-xend-resid {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.xbase-xend-resid a,
.xbase-xend-resid a:hover,
.xbase-xend-resid a:focus,
.xbase-xend-resid a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.xbase-xend-resid .xbase-flex-drop{
            min-width: 0;
        }

.xbase-xend-resid .xbase-vox-fold{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.xbase-xend-resid{
            background-color: #0f0f13;
            color: #ffffff;
            padding: 80px 24px 40px;
        }

.xbase-xend-resid .xbase-xend-fold{
            max-width: 1280px;
            margin: 0 auto;
        }

.xbase-xend-resid .xbase-xend-cluster{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            margin-bottom: 60px;
        }

.xbase-xend-resid .xbase-xend-brand{
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 16px;
        }

.xbase-xend-resid .xbase-xend-vox{
            color: rgba(255, 255, 255, 0.6);
            max-width: 300px;
            font-size: 0.95rem;
        }

.xbase-xend-resid .xbase-xend-band{
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 24px;
            text-align: center;
            color: rgba(255, 255, 255, 0.4);
            font-size: 0.85rem;
        }