/* ===================================
   TECHNOLOGY PAGE - PLATFORM LAYERS
   Deep dark. Typography-led. Precise.
   Part of the Xvender24 global system.
   =================================== */

/* ===== MAIN CONTAINER ===== */
.tech-main {
    margin-top: 80px; /* fixed nav height */
}

.tech-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--primary-bg);
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.tech-hero {
    min-height: calc(100vh - 80px);
}

/* Subtle structural glow — restrained */
.tech-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 45%);
    pointer-events: none;
}

.tech-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ===== EYEBROW ===== */
.tech-eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: var(--spacing-lg);
}

/* ===== HEADLINE ===== */
.tech-headline {
    font-size: clamp(44px, 6.5vw, 80px);
    font-weight: var(--weight-extra-bold);
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
}

.tech-line {
    display: block;
}

.tech-line-accent {
    color: var(--accent-blue);
}

.tech-statement {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: var(--weight-semibold);
    line-height: 1.5;
    color: var(--text-primary);
    max-width: 760px;
    margin-bottom: var(--spacing-sm);
}

.tech-subline {
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: var(--weight-regular);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 760px;
}

/* ===== SECTION HEADINGS ===== */
.tech-heading {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: var(--weight-bold);
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.tech-copy {
    font-size: clamp(16px, 1.6vw, 18px);
    font-weight: var(--weight-regular);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 760px;
}

/* ===== LAYER LIST ===== */
.layer-list {
    max-width: 900px;
    margin-top: var(--spacing-md);
}

.layer-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    align-items: flex-start;
}

.layer-item:last-child {
    border-bottom: none;
}

.layer-index {
    font-size: 14px;
    font-weight: var(--weight-bold);
    color: var(--accent-blue);
    letter-spacing: 1px;
    flex-shrink: 0;
    padding-top: 4px;
}

.layer-body {
    flex: 1;
}

.layer-name {
    font-size: 20px;
    font-weight: var(--weight-bold);
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.layer-desc {
    font-size: 16px;
    font-weight: var(--weight-regular);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 720px;
}

/* ===== REVENUE LIST ===== */
.revenue-list {
    max-width: 720px;
    margin-top: var(--spacing-md);
}

.revenue-item {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1.4;
}

.revenue-item:last-child {
    border-bottom: none;
}

/* ===== CTA ===== */
.tech-cta {
    min-height: 40vh;
    justify-content: center;
    text-align: center;
}

/* ===== ACTIVE NAV LINK (matches site convention) ===== */
.nav-menu a.active {
    color: var(--accent-blue);
    border-bottom: 2px solid var(--accent-blue);
}

/* ===== ANIMATIONS (progressive enhancement) ===== */
.js .fade-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.no-js .fade-reveal {
    opacity: 1;
    transform: none;
}

/* Delay system */
[data-delay="0"] { transition-delay: 0s; }
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tech-section {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

    .tech-container {
        padding: 0 24px;
    }

    .tech-eyebrow {
        margin-bottom: var(--spacing-md);
    }

    .tech-headline {
        font-size: clamp(38px, 10vw, 52px);
        letter-spacing: -1.5px;
        margin-bottom: var(--spacing-lg);
    }

    .tech-copy {
        font-size: 16px;
    }

    .layer-item {
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) 0;
    }

    .layer-name {
        font-size: 18px;
    }

    .layer-desc {
        font-size: 15px;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .fade-reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
