/* 🔱 CANTOR LABS CLASSIC ULTRA-PREMIUM DESIGN SYSTEM (SILICON VALLEY MASTERPIECE) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Fira+Code:wght@400;500;600&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
    /* Color Gamut & Tokens (OKLCH / P3 Inspired Wide Gamut) */
    --bg-main: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #F1F5F9;
    --bg-card: rgba(255, 255, 255, 0.98);
    --border: rgba(226, 232, 240, 0.85);
    --border-hover: rgba(203, 213, 225, 0.95);
    --border-focus: rgba(37, 99, 235, 0.4);
    
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --primary-glow: rgba(37, 99, 235, 0.22);
    --accent-cyan: #06B6D4;
    --accent-indigo: #4F46E5;
    --accent-emerald: #059669;
    
    --grad-primary: linear-gradient(135deg, #4F46E5 0%, #2563EB 50%, #06B6D4 100%);
    --grad-subtle: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(37, 99, 235, 0.08) 50%, rgba(6, 182, 212, 0.05) 100%);
    --grad-text: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #2563EB 100%);
    
    --text-primary: #0F172A;     /* Slate-900: 가독성 극대화 */
    --text-secondary: #334155;   /* Slate-700: 본문용 뚜렷한 가독성 톤 */
    --text-muted: #64748B;       /* Slate-500: 보조 텍스트 */
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Multi-Layer Diffused Shadows (피츠 & 게슈탈트 인지공학) */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 0 0 1px var(--border);
    --shadow-card: 0 4px 6px -1px rgba(15, 23, 42, 0.03), 0 12px 30px -4px rgba(15, 23, 42, 0.06), 0 0 0 1px var(--border);
    --shadow-card-hover: 0 8px 16px -2px rgba(15, 23, 42, 0.04), 0 24px 48px -6px rgba(37, 99, 235, 0.14), 0 0 0 1px var(--border-focus);
    --shadow-cta: inset 0 1px 0 rgba(255,255,255,0.25), 0 6px 20px rgba(37, 99, 235, 0.28);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.75;
}

body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    background: var(--bg-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Typography Wrap Guardians (Korean Orphan & Split Prevention) */
h1, h2, h3, h4, h5, h6, p, .section-title, .section-desc, .hero-title, .hero-sub, .bench-title, .bench-desc, .plan-tier-desc, .faq-question, .faq-answer {
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* Ambient Optical Glowing Mesh */
.ambient-bg {
    position: fixed;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
.ambient-bg-1 { top: -160px; left: -140px; background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%); }
.ambient-bg-2 { top: 30%; right: -160px; background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%); }
.ambient-bg-3 { bottom: -140px; left: 25%; background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%); }

/* GNB Navigation */
header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 72px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
}

.nav-container {
    max-width: 1480px; width: 100%; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}

.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-symbol {
    font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 900;
    background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    border: 1px solid rgba(99, 102, 241, 0.25); background-color: #FFFFFF;
    padding: 3px 9px; border-radius: 9px; box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}
.logo-text { font-family: 'Outfit', sans-serif; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-primary); }
.logo-text span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.94rem; font-weight: 600;
    transition: all 0.2s ease; padding: 6px 0; position: relative; letter-spacing: -0.2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); font-weight: 700; }
.nav-links a.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px;
    background: var(--primary); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 0.9rem; }

.btn-nav-login {
    background: transparent; border: 1px solid var(--border); color: var(--text-primary);
    padding: 0.5rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s ease;
}
.btn-nav-login:hover { background: #F1F5F9; border-color: var(--border-hover); }

.btn-nav-cta {
    background: var(--primary); color: #FFF; border: none;
    padding: 0.52rem 1.3rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease;
    box-shadow: var(--shadow-cta);
}
.btn-nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }

.lang-toggle {
    background: transparent; border: 1px solid var(--border); color: var(--text-secondary);
    padding: 0.4rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 700;
    cursor: pointer; transition: 0.2s;
}
.lang-toggle:hover { color: var(--text-primary); border-color: var(--border-hover); background: #F8FAFC; }

/* Main Container */
main { position: relative; z-index: 1; padding-top: 72px; }
.section-container { max-width: 1280px; margin: 0 auto; padding: 6.8rem 2rem; }
.section-header { text-align: center; max-width: 1080px; margin: 0 auto 3.8rem auto; }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--primary); background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.22); padding: 0.35rem 0.95rem; border-radius: 20px; margin-bottom: 1rem;
}
.section-title {
    font-family: 'Outfit', sans-serif; font-size: 2.35rem; font-weight: 900;
    margin-bottom: 0.9rem; color: var(--text-primary); letter-spacing: -0.6px; line-height: 1.25;
}
.section-desc { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; margin: 0 auto; text-align: center; }

/* Cards & Surfaces (White Mode Glass) */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    padding: 3rem;
    transition: var(--transition);
    position: relative;
}
.glass-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-focus);
}

/* 1. Golden Spiral Fibonacci Hero Section (Asymmetric Layout) */
.hero-golden-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    padding: 5rem 0 3.5rem 0;
}
.hero-left-col { text-align: left; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.22);
    color: var(--primary); padding: 0.45rem 1.2rem; border-radius: 30px; font-size: 0.88rem; font-weight: 700;
    margin-bottom: 1.8rem; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}
.pulse-dot {
    width: 8px; height: 8px; background: var(--primary); border-radius: 50%;
    box-shadow: 0 0 10px var(--primary); animation: pulseGlow 2s infinite;
}
@keyframes pulseGlow { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
    font-family: 'Outfit', sans-serif; font-size: 3.35rem; font-weight: 900;
    line-height: 1.18; letter-spacing: -1.2px; margin-bottom: 1.4rem; color: var(--text-primary);
    word-break: keep-all; overflow-wrap: break-word;
}
.grad-text {
    background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    word-break: keep-all;
}
.hero-sub {
    font-size: 1.18rem; line-height: 1.85; margin-bottom: 2.6rem;
    color: var(--text-secondary);
}
.vision-hero-section {
    padding: 6.5rem 1.5rem 4.5rem 1.5rem;
    text-align: center;
    max-width: 1040px;
    margin: 0 auto;
}
.vision-hero-section .hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 0 auto 3.5rem auto;
    flex-wrap: wrap;
}
.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.hero-left-col .hero-actions { justify-content: flex-start; }

.btn-primary {
    background: var(--primary); color: #FFF; border: none; font-size: 1.02rem; font-weight: 700;
    padding: 0.9rem 2.2rem; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
    box-shadow: var(--shadow-cta); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(37, 99, 235, 0.35); }
.btn-secondary {
    background: #FFFFFF; color: var(--text-primary); border: 1px solid var(--border);
    font-size: 1.02rem; font-weight: 700; padding: 0.9rem 2.2rem; border-radius: var(--radius-sm);
    text-decoration: none; cursor: pointer; transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: var(--shadow-sm); min-height: 48px;
}
.btn-secondary:hover { background: #F1F5F9; border-color: var(--border-hover); transform: translateY(-2px); }

/* Centerpiece Luminous Creative Visual Stage (Pure Bright / White Crystal Glass) */
.hero-visual-stage {
    position: relative;
    width: 100%;
    max-width: 980px;
    height: 330px;
    margin: 0 auto 3rem auto;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.05), 0 0 35px rgba(99, 102, 241, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
#visualCanvas {
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

.canvas-interactive-card {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.canvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94A3B8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #1E293B;
    padding-bottom: 0.75rem;
}
.canvas-body {
    width: 100%;
    height: 320px;
    position: relative;
    border-radius: var(--radius-md);
    background: radial-gradient(circle at 50% 50%, #1E293B 0%, #0F172A 100%);
    overflow: hidden;
}
#topologyCanvas {
    width: 100%;
    height: 100%;
    display: block;
}
.canvas-caption {
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    color: #38BDF8;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Architecture Flow Diagram (Cloudflare / Stripe Style) */
.arch-diagram-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-card);
}
.arch-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.arch-node {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.4rem;
    text-align: center;
    flex: 1;
    min-width: 220px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.arch-node:hover { transform: translateY(-3px); border-color: var(--border-focus); }
.arch-node.highlight {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}
.arch-icon { font-size: 2.4rem; display: block; margin-bottom: 0.6rem; }
.arch-label { font-family: 'Outfit', sans-serif; font-size: 1.15rem; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.arch-sub { font-size: 0.82rem; color: var(--text-muted); font-family: 'Fira Code', monospace; }
.arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
}
.arrow-line {
    width: 60px;
    height: 2px;
    background: var(--primary);
    position: relative;
}
.arrow-line::after {
    content: '▶';
    position: absolute;
    right: -4px;
    top: -6px;
    font-size: 8px;
    color: var(--primary);
}

/* Brand Philosophy / Story Section */
.story-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center;
}
.story-content h3 {
    font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; color: var(--text-primary);
    margin-bottom: 1.4rem; line-height: 1.35; letter-spacing: -0.6px;
}
.story-content p {
    color: var(--text-secondary); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.3rem;
}
.aleph-neon-box {
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border: 1px solid rgba(99, 102, 241, 0.28);
    border-radius: var(--radius-xl);
    padding: 3.8rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

/* 3 Core Research Pillars Cards */
.benchmarks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.bench-card {
    background: #FFFFFF; padding: 2.4rem; border-radius: var(--radius-lg);
    border: 1px solid var(--border); transition: var(--transition);
    display: flex; flex-direction: column; justify-content: space-between;
}
.bench-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--border-focus); }
.bench-title { font-family: 'Outfit', sans-serif; font-size: 1.26rem; font-weight: 800; margin-bottom: 0.8rem; color: var(--text-primary); letter-spacing: -0.3px; }
.bench-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.4rem; line-height: 1.65; }
.bench-stat-row { display: flex; justify-content: space-between; font-size: 0.94rem; font-weight: 700; margin-bottom: 8px; }
.bench-pct { color: #059669; }
.bench-bar-bg { height: 8px; background: #F1F5F9; border-radius: 4px; overflow: hidden; margin-bottom: 1rem; }
.bench-bar-fill { height: 100%; background: #059669; border-radius: 4px; }
.bench-meta { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-muted); }

/* Product Section Sticky Bar & Hover Mega Dropdown */
.product-showcase-header {
    background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 0.85rem 2rem; position: sticky; top: 72px; z-index: 990; backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.product-subnav-container {
    max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;
}
.product-meta {
    display: flex; align-items: center; gap: 12px;
}
.product-name-chip {
    font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text-primary);
    display: flex; align-items: center; gap: 8px;
}
.product-ver-badge {
    font-size: 0.74rem; font-weight: 700; background: rgba(37, 99, 235, 0.08);
    color: var(--primary); border: 1px solid rgba(37, 99, 235, 0.25); padding: 3px 10px; border-radius: 12px;
}
.product-nav-right {
    display: flex; align-items: center; gap: 1.2rem;
}
.product-inline-links {
    display: flex; align-items: center; gap: 1.2rem;
}
.product-inline-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 600;
    transition: color 0.15s ease;
}
.product-inline-links a:hover { color: var(--primary); }

.product-dropdown-wrapper {
    position: relative; padding: 4px 0;
}
.product-dropdown-btn {
    background: #F8FAFC; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 7px 14px; font-size: 0.86rem; font-weight: 700; color: var(--text-primary);
    display: flex; align-items: center; gap: 6px; cursor: pointer; transition: all 0.2s ease;
}
.product-dropdown-wrapper:hover .product-dropdown-btn {
    background: #FFFFFF; border-color: var(--primary); color: var(--primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
.dropdown-chevron {
    font-size: 0.75rem; transition: transform 0.2s ease;
}
.product-dropdown-wrapper:hover .dropdown-chevron {
    transform: rotate(180deg);
}

.product-dropdown-menu {
    position: absolute; top: calc(100% + 8px); right: 0;
    width: 620px; background: #FFFFFF; border: 1px solid var(--border);
    border-radius: var(--radius-md); box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
    padding: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
}
.product-dropdown-wrapper:hover .product-dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-category {
    display: flex; flex-direction: column; gap: 6px;
}
.dropdown-category .cat-title {
    font-size: 0.76rem; font-weight: 800; color: var(--text-muted);
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 6px;
    padding-bottom: 4px; border-bottom: 1px solid #F1F5F9;
}
.dropdown-item {
    display: flex; align-items: center; gap: 8px; padding: 7px 8px;
    border-radius: 6px; font-size: 0.86rem; font-weight: 600; color: var(--text-secondary);
    text-decoration: none; transition: 0.15s;
}
.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.08); color: var(--primary);
}

/* Terminal Card & Unified Step Cards (Silicon Valley Masterpiece) */
.quickstart-master-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.8rem;
    box-shadow: var(--shadow-card);
    max-width: 1140px;
    margin: 0 auto;
}
.step-container {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}
.step-block {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.step-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.8rem;
    white-space: nowrap;
}
.step-badge-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.step-num-badge {
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 0.22rem 0.65rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.step-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.step-code-container {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.step-code-box {
    padding: 1.5rem 1.8rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.92rem;
    color: #38BDF8;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-x: auto;
}
.step-code-box pre {
    margin: 0;
    font-family: inherit;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    white-space: pre-wrap;
}
.step-code-box pre code {
    font-family: inherit;
    color: inherit;
}
.term-tab-btns {
    display: flex;
    gap: 0.4rem;
    align-items: center;
    white-space: nowrap;
}
.term-tab-btn {
    background: #F1F5F9;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.38rem 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.term-tab-btn:hover { background: #E2E8F0; color: var(--text-primary); }
.term-tab-btn.active { background: var(--primary); color: #FFFFFF; border-color: var(--primary); }
.term-copy-btn {
    background: #0F172A;
    border: 1px solid #1E293B;
    color: #F8FAFC;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.38rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.term-copy-btn:hover { background: #1E293B; border-color: #334155; }
.terminal-code-body {
    padding: 1.5rem 1.8rem; font-family: 'Fira Code', monospace; font-size: 0.94rem;
    color: #38BDF8; line-height: 1.7; text-align: left; overflow-x: auto; white-space: pre-wrap;
}

/* 4 Metrics Row */
.hero-metrics {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; max-width: 1080px; margin: 3rem auto 0 auto;
}
.metric-item {
    background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 1.6rem 1.3rem; text-align: center; box-shadow: var(--shadow-card);
    transition: var(--transition);
}
.metric-item:hover { transform: translateY(-3px); border-color: var(--border-focus); }
.metric-num {
    font-family: 'Outfit', sans-serif; font-size: 2.1rem; font-weight: 900; color: var(--text-primary);
    display: block; margin-bottom: 4px; letter-spacing: -0.5px;
}
.metric-item.green .metric-num { color: #059669; }
.metric-label { font-size: 0.86rem; color: var(--text-muted); font-weight: 700; }
.metric-sub { font-size: 0.74rem; color: var(--text-muted); font-weight: 500; margin-top: 5px; display: block; line-height: 1.4; }

/* Ecosystem Bar */
.ecosystem-section {
    padding: 3.2rem 2rem; text-align: center; background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.ecosystem-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.38rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ecosystem-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; max-width: 1180px; margin: 0 auto; }
.eco-chip {
    background: #F8FAFC; border: 1px solid var(--border); border-radius: 24px;
    padding: 0.5rem 1.1rem; font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
    transition: 0.2s;
}
.eco-chip:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.eco-chip.highlight { border-color: rgba(37, 99, 235, 0.35); background: rgba(37, 99, 235, 0.06); color: var(--primary); font-weight: 700; }

/* Quickstart & Benchmarks */
.quickstart-card { max-width: 980px; margin: 0 auto; }
.quickstart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.qs-tabs { display: flex; gap: 0.6rem; }
.qs-tab {
    background: #F1F5F9; border: 1px solid var(--border); color: var(--text-secondary);
    padding: 0.5rem 1.1rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600; cursor: pointer;
    transition: 0.2s;
}
.qs-tab.active { background: var(--primary); color: #FFF; border-color: var(--primary); }
.code-content-block {
    background: #0F172A; border: 1px solid #1E293B; border-radius: var(--radius-md);
    padding: 1.8rem; font-family: 'Fira Code', monospace; font-size: 0.92rem; color: #F8FAFC; overflow-x: auto;
}

/* Simulator */
.simulator-wrapper {
    background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 3rem 2.8rem; box-shadow: var(--shadow-card); max-width: 1140px; margin: 0 auto;
}
.sim-controls-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    flex-wrap: nowrap;
    gap: 0.8rem;
    white-space: nowrap;
}
.sim-presets-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.sim-btn-preset {
    background: #F8FAFC;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.sim-btn-preset.active { background: rgba(37, 99, 235, 0.1); border-color: var(--primary); color: var(--primary); font-weight: 700; }
.sim-actions-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.sim-btn-action {
    background: #FFFFFF;
    border: 1px solid var(--border);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}
.sim-btn-action:hover { background: #F8FAFC; border-color: var(--border-hover); }
.sim-panes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-bottom: 1.8rem; }
.sim-pane-header { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 8px; }
.sim-editor {
    width: 100%; height: 290px; background: #0F172A; border: 1px solid #1E293B; border-radius: var(--radius-md);
    color: #F8FAFC; font-family: 'Fira Code', monospace; font-size: 0.86rem; padding: 1.3rem; resize: none; outline: none;
    line-height: 1.65;
}
.sim-savings-banner {
    background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46;
    padding: 1.2rem; border-radius: var(--radius-md); font-weight: 700; text-align: center; font-size: 0.98rem;
}

/* Pricing Grid (4-Tier White) */
.pricing-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.pricing-card-clean {
    background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 2.4rem 1.8rem; display: flex; flex-direction: column; justify-content: space-between;
    transition: var(--transition); position: relative; box-shadow: var(--shadow-card);
}
.pricing-card-clean:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.pricing-card-clean.featured { border-color: var(--primary); box-shadow: 0 16px 36px rgba(37, 99, 235, 0.16); }
.popular-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #FFF; font-size: 0.72rem; font-weight: 800;
    padding: 3px 14px; border-radius: 14px; letter-spacing: 0.6px; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
.plan-tier-name { font-family: 'Outfit', sans-serif; font-size: 1.45rem; font-weight: 900; color: var(--text-primary); margin-bottom: 4px; }
.plan-tier-desc { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 1.5rem; height: 44px; line-height: 1.45; }
.plan-price-block { margin-bottom: 1.6rem; border-bottom: 1px solid var(--border); padding-bottom: 1.2rem; }
.plan-price-num { font-family: 'Outfit', sans-serif; font-size: 2.5rem; font-weight: 900; color: var(--text-primary); }
.plan-price-unit { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }
.plan-specs-list { list-style: none; margin-bottom: 2.2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.plan-specs-list li { font-size: 0.88rem; color: var(--text-secondary); display: flex; align-items: center; gap: 8px; }
.plan-specs-list .chk { color: #059669; font-weight: 800; }
.btn-plan {
    width: 100%; padding: 0.88rem; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 700;
    cursor: pointer; transition: 0.2s; text-align: center; border: none; min-height: 46px;
}
.btn-plan.primary { background: var(--primary); color: #FFF; box-shadow: var(--shadow-cta); }
.btn-plan.primary:hover { background: var(--primary-dark); }
.btn-plan.secondary { background: #F1F5F9; color: var(--text-primary); border: 1px solid var(--border); }
.btn-plan.secondary:hover { background: #E2E8F0; }

/* Docs & Telemetry Layout */
.docs-layout {
    display: grid; grid-template-columns: 290px 1fr; gap: 2.8rem;
    background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 2.8rem; box-shadow: var(--shadow-card);
}
.docs-nav-menu { display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--border); padding-right: 1.8rem; }
.docs-nav-btn {
    display: flex; align-items: center; gap: 10px; background: transparent; border: none;
    color: var(--text-secondary); font-size: 0.94rem; font-weight: 600; padding: 12px 18px;
    border-radius: var(--radius-sm); cursor: pointer; text-align: left; transition: all 0.2s ease;
}
.docs-nav-btn:hover { background: #F1F5F9; color: var(--text-primary); }
.docs-nav-btn.active { background: var(--primary); color: #FFF; font-weight: 700; box-shadow: 0 4px 14px var(--primary-glow); }
.docs-content-pane { padding-left: 0.5rem; overflow-x: auto; }
.docs-article { display: none; }
.docs-article.active { display: block; animation: fadeIn 0.25s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.docs-heading { font-family: 'Outfit', sans-serif; font-size: 1.7rem; font-weight: 900; color: var(--text-primary); margin-bottom: 0.8rem; letter-spacing: -0.5px; }
.docs-intro { font-size: 1rem; color: var(--text-secondary); margin-bottom: 1.8rem; line-height: 1.75; }
.docs-subheading { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: 1.8rem 0 0.8rem 0; }
.docs-code-container {
    position: relative;
    margin-bottom: 1.6rem;
}
.docs-code-card {
    background: #0F172A; border: 1px solid #1E293B; border-radius: var(--radius-md);
    padding: 24px 22px 22px 22px; font-family: 'Fira Code', monospace; font-size: 0.88rem; color: #F8FAFC;
    line-height: 1.65; overflow-x: auto; margin-bottom: 0; white-space: pre;
}
.btn-copy-code {
    position: absolute;
    top: 10px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #94A3B8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 6px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    user-select: none;
    z-index: 10;
}
.btn-copy-code:hover {
    background: #334155;
    color: #F8FAFC;
    border-color: #64748B;
    transform: translateY(-1px);
}
.btn-copy-code.copied {
    background: #065F46;
    border-color: #059669;
    color: #6EE7B7;
}
.btn-copy-code svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.docs-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.9rem; }
.docs-table th, .docs-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.docs-table th { background: #F8FAFC; color: var(--text-primary); font-weight: 700; }
.docs-table td { color: var(--text-secondary); }
.docs-badge-code {
    background: #EEF2FF; color: var(--primary); padding: 3px 8px; border-radius: 5px;
    font-family: 'Fira Code', monospace; font-size: 0.85rem; font-weight: 600;
}

/* ROI Calculator */
.roi-card-wrapper {
    background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-xl);
    padding: 3rem; max-width: 980px; margin: 0 auto; box-shadow: var(--shadow-card);
}
.roi-slider-container { margin-bottom: 2.5rem; }
.roi-slider-label { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; }
.roi-slider-input {
    width: 100%; height: 8px; border-radius: 4px; background: #E2E8F0; outline: none;
    -webkit-appearance: none; cursor: pointer;
}
.roi-slider-input::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
    background: var(--primary); cursor: pointer; box-shadow: 0 0 14px var(--primary-glow);
}
.roi-metrics-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.roi-box {
    background: #F8FAFC; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 1.6rem; text-align: center;
}
.roi-box.highlight { border-color: #A7F3D0; background: #ECFDF5; }
.roi-box-label { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 6px; font-weight: 700; }
.roi-box-val { font-family: 'Outfit', sans-serif; font-size: 1.85rem; font-weight: 900; color: var(--text-primary); }
.roi-box-val.green { color: #059669; }
.roi-annual-sub { font-size: 0.86rem; color: #059669; margin-top: 6px; font-weight: 700; }

/* FAQ Master Container */
.faq-master-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3rem 2.8rem;
    box-shadow: var(--shadow-card);
    max-width: 1140px;
    margin: 0 auto;
}
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
}
.faq-item {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: 0.2s;
}
.faq-item:hover { border-color: var(--border-hover); background: #FFFFFF; }
.faq-item.active { border-color: rgba(37, 99, 235, 0.35); background: #FFFFFF; box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04); }
.faq-question {
    padding: 1.3rem 1.6rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}
.faq-arrow { transition: transform 0.2s; color: var(--text-muted); font-size: 1.1rem; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    padding: 0 1.6rem 1.4rem 1.6rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    display: none;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    padding-top: 1.1rem;
}
.faq-item.active .faq-answer { display: block; }

/* Auth Modal Styles (Individual vs Enterprise) */
.auth-modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.65); backdrop-filter: blur(8px);
    z-index: 10000; display: flex; justify-content: center; align-items: center;
    padding: 1.5rem; animation: authFadeIn 0.2s ease;
}
@keyframes authFadeIn { from { opacity: 0; } to { opacity: 1; } }
.auth-modal-window {
    background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25); width: 100%; max-width: 480px;
    padding: 2.6rem 2.2rem; position: relative; animation: authPopUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes authPopUp { from { transform: scale(0.95) translateY(10px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.auth-modal-close {
    position: absolute; top: 20px; right: 22px; background: transparent; border: none;
    font-size: 1.5rem; cursor: pointer; color: var(--text-muted); line-height: 1; transition: 0.2s;
}
.auth-modal-close:hover { color: var(--text-primary); }
.auth-type-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #F1F5F9;
    padding: 4px; border-radius: var(--radius-md); margin-bottom: 1.5rem;
}
.auth-tab-btn {
    padding: 9px 12px; border: none; border-radius: var(--radius-sm); font-size: 0.88rem;
    font-weight: 700; cursor: pointer; transition: 0.2s; background: transparent; color: var(--text-muted);
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.auth-tab-btn.active { background: #FFFFFF; color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.auth-form-group { margin-bottom: 1.15rem; text-align: left; }
.auth-form-label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.auth-form-input, .auth-form-select {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-size: 0.92rem; outline: none; transition: 0.2s; background: #FFFFFF; color: var(--text-primary);
    box-sizing: border-box;
}
.auth-form-input:focus, .auth-form-select:focus {
    border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.auth-social-group {
    display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.2rem;
}
.auth-social-btn {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: #FFFFFF; font-size: 0.9rem; font-weight: 700; color: var(--text-primary);
    display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
    transition: 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.auth-social-btn:hover {
    background: #F8FAFC; border-color: var(--border-hover); box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.auth-social-btn.github {
    background: #0F172A; color: #FFFFFF; border-color: #0F172A;
}
.auth-social-btn.github:hover {
    background: #1E293B; border-color: #1E293B;
}
.auth-divider {
    display: flex; align-items: center; text-align: center; margin: 1.1rem 0;
    color: var(--text-muted); font-size: 0.8rem; font-weight: 700;
}
.auth-divider::before, .auth-divider::after {
    content: ''; flex: 1; border-bottom: 1px solid var(--border);
}
.auth-divider span {
    padding: 0 12px;
}

.auth-btn-submit {
    width: 100%; padding: 12px; border: none; border-radius: var(--radius-sm);
    background: var(--primary); color: #FFF; font-size: 0.96rem; font-weight: 700;
    cursor: pointer; transition: 0.2s; box-shadow: var(--shadow-cta); margin-top: 0.6rem;
}
.auth-btn-submit:hover { background: var(--primary-dark); }
.auth-switch-mode { text-align: center; margin-top: 1.2rem; font-size: 0.86rem; color: var(--text-muted); }
.auth-switch-mode a { color: var(--primary); font-weight: 700; text-decoration: none; cursor: pointer; }
.auth-switch-mode a:hover { text-decoration: underline; }

/* Footer */
footer {
    border-top: 1px solid var(--border); padding: 5rem 2rem 3rem 2rem;
    background: #FFFFFF; margin-top: 6.5rem;
}
.footer-inner {
    max-width: 1480px; margin: 0 auto; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1.8rem;
}
.footer-text { font-size: 0.92rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; transition: 0.2s; }
.footer-links a:hover { color: var(--primary); }

/* Responsive adjustments */
@media (max-width: 1080px) {
    .hero-golden-grid { grid-template-columns: 1fr; }
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .hero-metrics { grid-template-columns: repeat(2, 1fr); }
    .sim-panes { grid-template-columns: 1fr; }
    .story-grid { grid-template-columns: 1fr; }
    .docs-layout { grid-template-columns: 1fr; }
    .docs-nav-menu { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 1rem; flex-direction: row; flex-wrap: wrap; }
    .arch-flow { flex-direction: column; }
    .arrow-line { width: 2px; height: 30px; }
    .arrow-line::after { right: -3px; top: 26px; content: '▼'; }
}
@media (max-width: 640px) {
    .hero-title { font-size: 2.7rem; }
    .pricing-grid-4 { grid-template-columns: 1fr; }
    .benchmarks-grid { grid-template-columns: 1fr; }
    .roi-metrics-trio { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}

/* Report Modal & Granular Audit System */
.report-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.report-modal-overlay.active {
    display: flex;
}
.report-modal-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
    max-width: 1050px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn 0.25s ease-out;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.report-modal-header {
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #F8FAFC;
}
.report-modal-body {
    padding: 1.4rem 1.6rem;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.report-modal-footer {
    padding: 1rem 1.6rem;
    border-top: 1px solid var(--border);
    background: #F8FAFC;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.report-kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 768px) {
    .report-kpi-row { grid-template-columns: repeat(2, 1fr); }
}
.report-kpi-box {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
}
.report-kpi-label {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 700;
}
.report-kpi-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-top: 2px;
}

/* ==========================================================================
   🔱 Global Report & Fleet Console Architecture Styles
   ========================================================================== */
.report-container {
    max-width: 1480px;
    width: 100%;
    margin: 0 auto;
    padding: 6.8rem 2rem 5rem 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
}

.report-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.dash-section-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.dash-sec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 0.8rem;
}

.dash-sec-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

@media (max-width: 1024px) {
    .dash-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .dash-kpi-grid { grid-template-columns: 1fr; }
}

.dash-kpi-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.dash-kpi-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.dash-kpi-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.dash-kpi-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748B;
}

/* Modality Grid */
.modality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

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

.modality-card {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
}

.modality-name {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.modality-prune {
    font-size: 1.35rem;
    font-weight: 900;
    color: #059669;
    font-family: 'Outfit', sans-serif;
}

.modality-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Live & Report Tables */
.live-stream-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.live-stream-table th, .live-stream-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.live-stream-table th {
    background: #F8FAFC;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
}

.live-stream-table td {
    white-space: nowrap;
}

/* Fleet Controls */
.fleet-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.fleet-input {
    flex: 1;
    min-width: 280px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    background: #F8FAFC;
    outline: none;
    transition: 0.2s;
}

.fleet-input:focus {
    border-color: var(--primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.fleet-select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    background: #F8FAFC;
    font-weight: 700;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
}

.swarm-tab-btn {
    padding: 8px 14px;
    border: none;
    background: #F1F5F9;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.swarm-tab-btn.active {
    background: #1E293B;
    color: #FFFFFF;
}

.code-tab-btn {
    padding: 6px 14px;
    border: 1px solid var(--border);
    background: #F1F5F9;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.code-tab-btn:hover {
    background: #E2E8F0;
}

.code-tab-btn.active {
    background: #1E293B;
    color: #FFFFFF;
    border-color: #1E293B;
}

.preset-btn {
    padding: 5px 12px;
    font-size: 0.8rem;
}

.fleet-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
    font-size: 0.84rem;
    color: var(--text-muted);
}

.page-btn {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: #FFFFFF;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.page-btn:hover {
    background: #F1F5F9;
    border-color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
}

.dropdown-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 800;
}

.dropdown-badge.active {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.status-dot-green {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10B981;
    margin-right: 6px;
}

.status-dot-yellow {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #F59E0B;
    border-radius: 50%;
    box-shadow: 0 0 6px #F59E0B;
    margin-right: 6px;
}

.status-dot-red {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    box-shadow: 0 0 6px #EF4444;
    margin-right: 6px;
}

.docs-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.update-item-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

.arch-icon-svg {
    width: 24px;
    height: 24px;
    display: inline-block;
}

.bench-footer {
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.bench-metrics-detail {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

/* Organization Profile & Billing Management (Enterprise SaaS Standards) */
.org-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.org-subcard {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.org-subcard-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 8px;
}

.org-subcard-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.org-member-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.org-member-table th {
    background: #F8FAFC;
    color: var(--text-secondary);
    font-weight: 700;
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.org-member-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.org-member-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E2E8F0;
    color: var(--primary);
    font-weight: 800;
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.org-badge-role {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
}

.org-badge-owner {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.org-badge-admin {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.org-badge-devops {
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

.org-badge-billing {
    background: #FAF5FF;
    color: #7E22CE;
    border: 1px solid #E9D5FF;
}

.org-security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.org-security-item {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.billing-plan-card {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* ==========================================================================
   GOOGLE CLOUD-GRADE API KEYS & ZERO-TRUST SECURITY GOVERNANCE
   ========================================================================== */
.gcp-security-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-left: 4px solid #2563EB;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-top: 1rem;
}

.gcp-key-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
    max-width: fit-content;
}

.gcp-key-masked {
    font-family: 'Fira Code', monospace;
    font-size: 0.82rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.gcp-icon-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.88rem;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    color: var(--text-secondary);
}

.gcp-icon-btn:hover {
    background: #E2E8F0;
    border-color: #CBD5E1;
}

.gcp-badge-restricted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #BBF7D0;
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.76rem;
    font-weight: 700;
}

.gcp-action-btn {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 4px 8px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
}

.gcp-action-btn:hover {
    background: #F1F5F9;
    color: var(--text-primary);
    border-color: #94A3B8;
}

.endpoint-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

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

.gcp-endpoint-card {
    background: #F8FAFC;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}

.gcp-crypto-specs {
    margin-top: 10px;
    background: #F1F5F9;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
}

/* Google-Style Security Modal */
.gcp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}

.gcp-modal {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    max-width: 540px;
    width: 100%;
    padding: 1.8rem;
    position: relative;
    animation: gcpModalIn 0.2s ease-out;
}

@keyframes gcpModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Developer Docs & Integration Shortcuts Component */
.docs-shortcuts-container {
    margin-top: 1.6rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
}

.docs-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}

.docs-shortcut-card {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.docs-shortcut-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.docs-shortcut-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.docs-shortcut-info {
    flex: 1;
    min-width: 0;
}

.docs-shortcut-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.docs-shortcut-desc {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.docs-shortcut-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.docs-shortcut-card:hover .docs-shortcut-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* ==========================================================================
   OFFICIAL ENTERPRISE AUDIT PRINT DOCUMENT STYLES
   ========================================================================== */
.official-print-document {
    display: none;
}

@media print {
    @page {
        size: A4 portrait;
        margin: 12mm 15mm 15mm 15mm;
    }

    html, body {
        background: #FFFFFF !important;
        color: #0F172A !important;
        font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
        font-size: 9.5pt !important;
        line-height: 1.45 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* Hide Screen UI elements */
    header,
    footer,
    .ambient-bg,
    .report-container > *:not(.official-print-document),
    .dash-sidebar,
    .btn-primary,
    .btn-nav-cta,
    .lang-toggle,
    .report-breadcrumb,
    .preset-btn,
    .fleet-input,
    .code-tab-btn,
    .page-btn {
        display: none !important;
    }

    .report-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    /* Show Official Print Document */
    .official-print-document {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #FFFFFF !important;
        color: #0F172A !important;
    }

    .print-doc-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid #0F172A;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }

    .print-doc-logo {
        font-family: 'Outfit', sans-serif;
        font-size: 13pt;
        font-weight: 900;
        color: #0F172A;
    }

    .print-doc-org-auth {
        font-size: 8pt;
        color: #475569;
        font-weight: 600;
        text-align: right;
    }

    .print-doc-title {
        font-family: 'Outfit', sans-serif;
        font-size: 17pt;
        font-weight: 900;
        color: #0F172A;
        text-align: center;
        margin: 8px 0 4px 0;
        letter-spacing: -0.3px;
    }

    .print-doc-subtitle {
        font-size: 9.5pt;
        color: #475569;
        text-align: center;
        margin-bottom: 14px;
        font-weight: 600;
    }

    .print-meta-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 14px;
        font-size: 8.5pt;
    }

    .print-meta-table th {
        background: #F1F5F9 !important;
        border: 1px solid #CBD5E1;
        padding: 5px 8px;
        text-align: left;
        width: 22%;
        font-weight: 700;
        color: #334155;
    }

    .print-meta-table td {
        border: 1px solid #CBD5E1;
        padding: 5px 8px;
        color: #0F172A;
    }

    .print-section-title {
        font-size: 10.5pt;
        font-weight: 800;
        color: #0F172A;
        margin: 14px 0 6px 0;
        border-left: 4px solid #2563EB;
        padding-left: 6px;
        page-break-after: avoid;
    }

    .print-kpi-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-bottom: 14px;
        page-break-inside: avoid;
    }

    .print-kpi-box {
        border: 1px solid #CBD5E1;
        border-radius: 4px;
        padding: 6px 8px;
        background: #F8FAFC !important;
        text-align: center;
    }

    .print-kpi-box-label {
        font-size: 7.5pt;
        color: #64748B;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 2px;
    }

    .print-kpi-box-val {
        font-size: 12pt;
        font-weight: 900;
        color: #0F172A;
        font-family: 'Outfit', sans-serif;
    }

    .print-kpi-box-sub {
        font-size: 7pt;
        color: #475569;
        margin-top: 1px;
    }

    .print-data-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 14px;
        font-size: 8pt;
        page-break-inside: avoid;
    }

    .print-data-table th {
        background: #F1F5F9 !important;
        border: 1px solid #CBD5E1;
        padding: 5px 6px;
        text-align: left;
        font-weight: 800;
        color: #1E293B;
    }

    .print-data-table td {
        border: 1px solid #E2E8F0;
        padding: 4px 6px;
        color: #334155;
    }

    .print-data-table tr:nth-child(even) td {
        background: #F8FAFC !important;
    }

    .print-seal-container {
        margin-top: 16px;
        padding-top: 12px;
        border-top: 1px solid #CBD5E1;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        page-break-inside: avoid;
    }

    .print-seal-text {
        font-size: 7.8pt;
        color: #475569;
        line-height: 1.5;
        max-width: 62%;
    }

    .print-seal-signature {
        text-align: right;
        font-size: 9.5pt;
        color: #0F172A;
        font-weight: 800;
        position: relative;
        padding-right: 48px;
    }

    .print-seal-stamp {
        display: inline-block;
        width: 52px;
        height: 52px;
        border: 2px solid #DC2626;
        border-radius: 50%;
        color: #DC2626;
        font-size: 7pt;
        font-weight: 900;
        line-height: 1.15;
        text-align: center;
        padding-top: 10px;
        position: absolute;
        right: 0;
        top: -12px;
        opacity: 0.9;
        transform: rotate(-6deg);
        box-sizing: border-box;
    }
}

