/* ==========================================================================
   VexoraPhoenix Corporate Enterprise Theme & Core Web Vitals Optimization
   Version: 2026.5 | High-Contrast SaaS UI, Zero-CLS Layout, Clean Link Structure
   ========================================================================== */

:root {
    --bg-base: #060b16;
    --bg-surface: #0b1325;
    --bg-card: rgba(15, 25, 48, 0.78);
    --bg-card-hover: rgba(20, 34, 64, 0.92);
    --bg-glass: rgba(13, 22, 43, 0.82);
    --primary-color: #38bdf8;
    --primary-strong: #0284c7;
    --accent-indigo: #6366f1;
    --accent-emerald: #10b981;
    --text-main: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-subtle: rgba(148, 163, 184, 0.14);
    --border-highlight: rgba(56, 189, 248, 0.42);
    --shadow-corporate: 0 20px 45px -15px rgba(2, 6, 23, 0.75);
    --shadow-glow: 0 0 32px rgba(56, 189, 248, 0.18);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --container-max: 1200px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    color-scheme: dark;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.09) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
        linear-gradient(180deg, #060b16 0%, #091122 50%, #060b16 100%);
}

/* Ambient Background Shapes (Hardware Accelerated, Zero CLS) */
.ambient-shape-1,
.ambient-shape-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.45;
    will-change: transform;
}

.ambient-shape-1 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
    top: -140px;
    left: -120px;
}

.ambient-shape-2 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
    bottom: -160px;
    right: -120px;
}

/* Corporate Top Announcement & Telemetry Bar */
.top-corporate-bar {
    background: rgba(2, 6, 23, 0.9);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    padding: 8px 24px;
}

.top-corporate-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
}

.top-meta-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.top-meta-badges span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
}

/* Primary Navigation Bar */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 11, 22, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

body > nav {
    padding-left: max(24px, calc((100% - var(--container-max)) / 2));
    padding-right: max(24px, calc((100% - var(--container-max)) / 2));
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-indigo));
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.logo span {
    background: linear-gradient(90deg, var(--primary-color), #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    padding-left: 8px;
    border-left: 1px solid var(--border-subtle);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-subtle);
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.32);
    box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.08);
}

/* Main Container */
.container {
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 72px;
    flex: 1;
}

/* Hero Header Section */
header {
    text-align: center;
    padding: 56px 32px;
    margin-bottom: 48px;
    background: linear-gradient(180deg, rgba(15, 25, 48, 0.85) 0%, rgba(11, 19, 37, 0.65) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-corporate);
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-indigo), transparent);
}

.exclusive-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--primary-color);
    font-size: 0.825rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
}

header h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 20px;
}

header h1 span {
    background: linear-gradient(95deg, #38bdf8 0%, #818cf8 55%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    max-width: 780px;
    margin: 0 auto 30px;
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.hero-text strong {
    color: var(--text-main);
    font-weight: 700;
}

/* Modern Corporate Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    color: #020617;
    background: linear-gradient(135deg, var(--primary-color) 0%, #60a5fa 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 22px -6px rgba(56, 189, 248, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(56, 189, 248, 0.65);
}

.btn-modern[style*="rgba"] {
    color: var(--text-main) !important;
    background: rgba(30, 41, 59, 0.75) !important;
    border: 1px solid var(--border-highlight) !important;
    box-shadow: none !important;
}

.btn-modern[style*="rgba"]:hover {
    background: rgba(56, 189, 248, 0.15) !important;
}

/* Enterprise KPI Metrics Strip */
.kpi-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
    text-align: left;
}

.kpi-box {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
}

.kpi-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.2;
}

.kpi-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Section Headings */
section {
    margin-bottom: 52px;
}

.category-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title::before {
    content: "";
    width: 6px;
    height: 28px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-indigo));
}

/* Grid & Glass Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 24px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-corporate);
    transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
    position: relative;
}

.glass-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
}

.glass-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.7;
}

.glass-card p strong {
    color: var(--text-main);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.925rem;
    text-decoration: none;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    transition: gap 0.2s ease, color 0.2s ease;
}

.card-link:hover {
    color: #7dd3fc;
    gap: 10px;
}

/* SEO Article & E-E-A-T Content Container */
.seo-article {
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    margin-bottom: 48px;
    box-shadow: var(--shadow-corporate);
}

.eeat-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.eeat-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.78rem;
}

.seo-article h2 {
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.seo-article h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 28px 0 12px;
}

.seo-article p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.seo-article p strong {
    color: var(--text-main);
}

/* Technical Comparison Table (Featured Snippet Optimization) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.seo-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.925rem;
    background: rgba(11, 19, 37, 0.7);
}

.seo-table caption {
    text-align: left;
    padding: 12px 16px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border-subtle);
}

.seo-table th,
.seo-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.seo-table th {
    background: rgba(30, 41, 59, 0.65);
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap;
}

.seo-table td {
    color: var(--text-secondary);
}

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

.seo-table tr:hover td {
    background: rgba(56, 189, 248, 0.04);
}

/* FAQ Accordion Section (Schema.org FAQPage Match) */
.faq-section {
    margin-top: 32px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.03);
}

.faq-answer {
    padding: 14px 20px 18px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
    border-top: 1px solid rgba(148, 163, 184, 0.08);
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.92);
    border-top: 1px solid var(--border-subtle);
    padding: 40px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    body > nav {
        flex-direction: column;
        gap: 14px;
        padding: 14px 16px;
    }
    header {
        padding: 36px 20px;
    }
    .seo-article {
        padding: 26px 20px;
    }
    .top-corporate-inner {
        justify-content: center;
        text-align: center;
    }
}

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