/* =====================================================
   STORY EXTRAS - Tech Organization Design
   Modern, clean styling for technical documentation
   ===================================================== */

/* Progress Bar */
.story-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-secondary);
    z-index: 999;
}

.story-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s linear;
}

/* =====================================================
   TECH HERO SECTION
   ===================================================== */

.tech-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 60px) 0 80px;
    overflow: hidden;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.tech-hero .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    align-items: center;
}

.tech-hero-content {
    max-width: 640px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.label-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.tech-hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.tech-hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-text {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Architecture Diagram in Hero */
.tech-hero-visual {
    display: flex;
    justify-content: center;
}

.arch-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.arch-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.layer-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
}

.arch-nodes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.arch-node {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.arch-node.primary {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(20, 184, 166, 0.05));
    border-color: rgba(20, 184, 166, 0.3);
    color: #14b8a6;
}

.arch-node.accent {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(245, 158, 11, 0.05));
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.arch-node.small {
    padding: 6px 10px;
    font-size: 10px;
}

.arch-connector {
    color: var(--text-tertiary);
    height: 40px;
    display: flex;
    align-items: center;
}

/* =====================================================
   ENHANCED HERO ELEMENTS
   ===================================================== */

/* Hero Background Effects */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: float-glow 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation: float-glow 10s ease-in-out infinite reverse;
}

@keyframes float-glow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

/* Particles */
.hero-particles {
    position: absolute;
    inset: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 3s; }
.particle:nth-child(3) { left: 70%; top: 30%; animation-delay: 6s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 9s; }
.particle:nth-child(5) { left: 50%; top: 50%; animation-delay: 12s; }

@keyframes float-particle {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Trust Badges */
.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    color: var(--primary);
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--primary);
}

/* Enhanced Hero Label */
.hero-label .label-text {
    color: var(--primary);
}

.hero-label .label-version {
    padding: 2px 8px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
}


/* Third Button Style */
.btn-tertiary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-tertiary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Quick Info Bar */
.hero-quick-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.quick-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
}

.info-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.quick-info-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* Visual Glow */
.tech-hero-visual {
    position: relative;
    overflow: visible;
}

.visual-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

/* Enhanced Architecture Diagram */
.arch-diagram {
    position: relative;
    z-index: 1;
}

.layer-label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.layer-label svg {
    stroke: var(--text-tertiary);
}

/* Source Nodes */
.source-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 16px;
    min-width: 70px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.source-node:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

.node-icon {
    font-size: 20px;
    line-height: 1;
}

.node-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.node-badge {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Warehouse & Semantic Nodes */
.warehouse-node,
.semantic-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 24px;
    min-width: 180px;
}

.node-sublabel {
    font-size: 9px;
    font-weight: 500;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.node-stats {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.node-stats span {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-tertiary);
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* Animated Connector */
.arch-connector.animated {
    position: relative;
    flex-direction: column;
    height: 50px;
}

.data-flow-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--border), var(--primary), var(--border));
    opacity: 0.5;
}

.data-packet {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: flow-down 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes flow-down {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: calc(100% - 8px); opacity: 0; }
}

.connector-label {
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    font-weight: 500;
    color: var(--text-tertiary);
    white-space: nowrap;
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Output Nodes */
.output-nodes {
    gap: 6px !important;
}

.output-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    transition: all 0.2s ease;
}

.output-node:hover {
    transform: scale(1.05);
}

/* Floating Feature Tags */
.floating-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    padding: 0 8px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-elevated, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary, #6b7280);
    white-space: nowrap;
    animation: pulse-tag 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    border-color: var(--primary, #6366f1);
}

.feature-tag svg {
    stroke: var(--primary, #6366f1);
    flex-shrink: 0;
}

.tag-1 {
    animation-delay: 0s;
}

.tag-2 {
    animation-delay: 1s;
}

.tag-3 {
    animation-delay: 2s;
}

@keyframes pulse-tag {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    50% {
        box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 500;
    animation: bounce-scroll 2s ease-in-out infinite;
}

.scroll-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-elevated);
}

.scroll-arrow svg {
    stroke: var(--text-tertiary);
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Responsive Adjustments for Enhanced Hero */
@media (max-width: 1024px) {
    .tech-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tech-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-quick-info {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .quick-info-divider {
        width: 100%;
        height: 1px;
    }

    .tech-hero-visual {
        order: -1;
    }

    .floating-features {
        display: flex;
        margin-top: 12px;
    }

    .connector-label {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 640px) {
    .tech-hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .stat-divider {
        display: none;
    }

    .hero-stat {
        width: 100%;
        justify-content: flex-start;
        text-align: left;
    }

    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .arch-diagram {
        padding: 16px;
    }

    .source-node {
        min-width: 60px;
        padding: 8px 10px;
    }

    .warehouse-node,
    .semantic-node {
        padding: 12px 16px;
        min-width: 140px;
    }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-number {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* =====================================================
   ARCHITECTURE OVERVIEW
   ===================================================== */

.architecture-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.arch-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-normal);
}

.arch-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.arch-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.arch-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.arch-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.arch-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-tag {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

/* Tech Highlight */
.tech-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
}

.highlight-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.highlight-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.tech-stack {
    display: flex;
    gap: 24px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.tech-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: white;
}

.tech-icon.snowflake { background: linear-gradient(135deg, #29b5e8, #1a8bc7); }
.tech-icon.powerbi { background: linear-gradient(135deg, #f2c811, #e8b000); }
.tech-icon.salesforce { background: linear-gradient(135deg, #00a1e0, #0070d2); }
.tech-icon.azure { background: linear-gradient(135deg, #0078d4, #005a9e); }

.tech-item span {
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* =====================================================
   DATA SOURCES SECTION
   ===================================================== */

.data-source-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.data-source-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: block;
}

.data-source-card.featured {
    border-top: 3px solid var(--primary);
}

.data-source-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.data-source-logo {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.data-source-logo.iir {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.data-source-logo.cc {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.data-source-info {
    flex: 1;
}

.data-source-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.data-source-type {
    font-size: 12px;
    color: var(--text-tertiary);
}

.data-source-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-source-badge.primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.data-source-badge.secondary {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.data-source-body {
    padding: 24px;
}

.data-source-body > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.data-source-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.data-source-metric {
    text-align: center;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.data-source-metric .metric-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.data-source-metric .metric-label {
    font-size: 11px;
    color: var(--text-tertiary);
    text-transform: uppercase;
}

.data-source-schema h4,
.data-source-coverage h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.data-source-schema-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.data-source-schema-list code {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--primary);
}

.data-source-coverage-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.data-source-coverage-tags span {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Internal Sources */
.internal-sources h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
}

.internal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.internal-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-normal);
}

.internal-card:hover {
    border-color: var(--primary);
}

.internal-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
}

.internal-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.internal-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.internal-table {
    display: block;
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

/* =====================================================
   PIPELINE SECTION
   ===================================================== */

.pipeline-visual {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
}

.pipeline-stage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stage-marker {
    margin-bottom: 24px;
}

.stage-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.stage-content {
    text-align: center;
    max-width: 240px;
}

.stage-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
}

.stage-icon.extract { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.stage-icon.transform { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stage-icon.load { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.stage-icon.serve { background: linear-gradient(135deg, #ec4899, #db2777); }

.stage-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stage-content > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.stage-details {
    display: grid;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 11px;
}

.detail-label {
    color: var(--text-tertiary);
}

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
    font-family: var(--font-mono);
}

.pipeline-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 44px;
    position: relative;
}

.pipeline-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: var(--border);
}

.pipeline-highlight {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.08), rgba(14, 165, 233, 0.04));
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: var(--radius-lg);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(20, 184, 166, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14b8a6;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.highlight-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-text strong {
    color: var(--text-primary);
}

/* =====================================================
   ANALYTICS SECTION
   ===================================================== */

.metrics-overview {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 64px;
}

.metrics-category h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.metric-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.metric-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-normal);
}

.metric-card:hover {
    border-color: var(--primary);
}

.metric-card.alert {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.metric-card code {
    display: block;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.metric-card span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Personas */
.personas-section {
    text-align: center;
}

.personas-section > h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.personas-section > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.persona-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
    overflow: visible;
}

.persona-card::before {
    display: none;
}

.persona-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
}

.persona-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.persona-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.persona-card li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 16px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.persona-card li:last-child {
    border-bottom: none;
}

.persona-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* =====================================================
   INTEGRATION FLOW
   ===================================================== */

.integration-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    overflow-x: auto;
    padding: 20px 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

.flow-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 16px;
}

.flow-icon.discovery { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.flow-icon.routing { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.flow-icon.crm { background: linear-gradient(135deg, #00a1e0, #0070d2); }
.flow-icon.revenue { background: linear-gradient(135deg, #10b981, #059669); }

.flow-content {
    text-align: center;
    margin-bottom: 16px;
}

.flow-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.flow-content p {
    font-size: 12px;
    color: var(--text-secondary);
}

.flow-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.flow-data code {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    white-space: nowrap;
}

.flow-arrow {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--border);
    margin-top: 20px;
    padding: 0 8px;
    gap: 0;
    flex-shrink: 0;
}

/* Service Potential */
.service-potential h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 24px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.service-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.service-item code {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
}

/* =====================================================
   ROADMAP SECTION
   ===================================================== */

.roadmap-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 64px;
}

.roadmap-phase {
    position: relative;
}

.phase-marker {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.marker-line {
    height: 2px;
    flex: 1;
    background: var(--border);
}

.roadmap-phase.current .marker-dot { background: #10b981; }
.roadmap-phase.next .marker-dot { background: var(--primary); }
.roadmap-phase.future .marker-dot { background: var(--secondary); }
.roadmap-phase.vision .marker-dot { background: #ec4899; }

.phase-content {
    padding-right: 24px;
}

.phase-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.roadmap-phase.current .phase-label { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.roadmap-phase.next .phase-label { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.roadmap-phase.future .phase-label { background: rgba(139, 92, 246, 0.1); color: var(--secondary); }
.roadmap-phase.vision .phase-label { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.phase-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.phase-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-content li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.phase-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--border);
    border-radius: 50%;
}

.phase-content li.complete::before {
    background: #10b981;
    border-color: #10b981;
}

/* Maturity Model */
.maturity-model h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 32px;
}

.maturity-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.maturity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.maturity-indicator {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 700;
}

.maturity-item.complete .maturity-indicator {
    background: #10b981;
    color: white;
}

.maturity-item.in-progress .maturity-indicator {
    background: var(--bg-secondary);
    border: 3px solid var(--primary);
}

.progress-ring {
    width: 20px;
    height: 20px;
    border: 3px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.maturity-item.planned .maturity-indicator,
.maturity-item.future .maturity-indicator {
    background: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--text-tertiary);
}

.maturity-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.maturity-question {
    font-size: 12px;
    color: var(--text-tertiary);
}

.maturity-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-bottom: 48px;
}

/* =====================================================
   CONCLUSION SECTION
   ===================================================== */

.conclusion {
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
}

.conclusion-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.conclusion-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 48px;
}

.conclusion-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
}

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

.conclusion-metric .metric-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.conclusion-metric .metric-text {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.conclusion-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1200px) {
    .tech-hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .tech-hero-visual {
        order: -1;
    }

    .architecture-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .phase-marker {
        flex-direction: column;
        align-items: flex-start;
    }

    .marker-line {
        display: none;
    }
}

@media (max-width: 1024px) {
    .tech-hero-title {
        font-size: 44px;
    }

    .data-source-grid {
        grid-template-columns: 1fr;
    }

    .internal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-visual {
        flex-direction: column;
        align-items: center;
    }

    .pipeline-connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
    }

    .pipeline-connector::after {
        right: -4px;
        top: auto;
        bottom: 0;
        border: 5px solid transparent;
        border-top-color: var(--border);
        border-left-color: transparent;
    }

    .metric-cards {
        grid-template-columns: 1fr;
    }

    .persona-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .architecture-overview {
        grid-template-columns: 1fr;
    }

    .tech-highlight {
        flex-direction: column;
        text-align: center;
    }

    .tech-stack {
        flex-wrap: wrap;
        justify-content: center;
    }

    .internal-grid {
        grid-template-columns: 1fr;
    }

    .persona-grid {
        grid-template-columns: 1fr;
    }

    .integration-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 16px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline {
        grid-template-columns: 1fr;
    }

    .maturity-track {
        flex-direction: column;
    }

    .maturity-connector {
        width: 2px;
        height: 30px;
        margin-bottom: 0;
        margin: 8px 0;
    }

    .conclusion-metrics {
        flex-wrap: wrap;
        gap: 24px;
    }

    .conclusion-actions {
        flex-direction: column;
    }
}

/* =====================================================
   IIR DEEP DIVE SECTION
   ===================================================== */

.key-fields-section h3,
.schema-section h3,
.time-series-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.key-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.key-field-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.field-header code {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary);
}

.field-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.field-badge.critical { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.field-badge.lifecycle { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.field-badge.industry { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.field-badge.key { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.key-field-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.field-scale {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.scale-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.scale-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.scale-dot.small { background: #94a3b8; }
.scale-dot.medium { background: #3b82f6; }
.scale-dot.large { background: #f59e0b; }
.scale-dot.mega { background: #ef4444; }

.pec-stages {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.pec-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.pec-letter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
}

.pec-stage.planning .pec-letter { background: #6366f1; }
.pec-stage.engineering .pec-letter { background: #f59e0b; }
.pec-stage.construction .pec-letter { background: #10b981; }

.pec-name {
    font-size: 11px;
    color: var(--text-secondary);
}

.pec-arrow {
    color: var(--text-tertiary);
    font-size: 18px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.industry-tags span {
    padding: 6px 10px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-family: var(--font-mono);
    color: var(--text-secondary);
}

.field-example {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.example-label {
    font-size: 12px;
    color: var(--text-tertiary);
}

.field-example code {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--primary);
}

/* Schema Cards */
.schema-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.schema-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.schema-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.schema-icon {
    font-size: 24px;
}

.schema-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.schema-source {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
}

.schema-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schema-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.schema-field code {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--primary);
}

.schema-field span {
    color: var(--text-tertiary);
}

.schema-note {
    margin-top: 16px;
    padding: 12px;
    background: rgba(99, 102, 241, 0.05);
    border-left: 3px solid var(--primary);
    font-size: 12px;
    color: var(--text-secondary);
}

/* Time Series */
.time-series-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.time-series-visual {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.ts-source, .ts-target {
    flex: 1;
}

.ts-source h5, .ts-target h5 {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.ts-table {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.ts-row {
    display: grid;
    gap: 1px;
    padding: 8px 12px;
    font-size: 11px;
    font-family: var(--font-mono);
}

.ts-source .ts-row {
    grid-template-columns: 80px repeat(4, 1fr);
}

.ts-target .ts-row {
    grid-template-columns: 80px 80px 1fr;
}

.ts-row.header {
    background: var(--bg-primary);
    font-weight: 600;
    color: var(--text-primary);
}

.ts-row:not(.header) {
    color: var(--text-secondary);
}

.ts-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.ts-arrow span {
    font-size: 12px;
    font-weight: 600;
}

/* =====================================================
   DAX MEASURES SECTION
   ===================================================== */

.dax-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.dax-category h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.dax-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dax-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.dax-card.alert-card {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.03);
}

.dax-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.dax-name {
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary);
}

.dax-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.dax-badge.core { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.dax-badge.industrial { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.dax-badge.time { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.dax-badge.growth { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; }
.dax-badge.alert { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.dax-badge.ranking { background: rgba(236, 72, 153, 0.1); color: #ec4899; }

.dax-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.dax-code {
    margin: 0;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow-x: auto;
}

.dax-code code {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* =====================================================
   GLOSSARY SECTION
   ===================================================== */

.glossary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.glossary-category h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.glossary-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glossary-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.glossary-item dt {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.glossary-item dd {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.glossary-item dd strong {
    color: var(--text-primary);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .key-fields-grid {
        grid-template-columns: 1fr;
    }

    .schema-cards {
        grid-template-columns: 1fr;
    }

    .dax-cards {
        grid-template-columns: 1fr;
    }

    .glossary-grid {
        grid-template-columns: 1fr;
    }

    .time-series-visual {
        flex-direction: column;
    }

    .ts-arrow {
        transform: rotate(90deg);
    }
}
