@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    /* Porsche Palette - Malachite Green Metallic Edition */
    --color-chalk: #E1E1E1;
    --color-chalk-light: #F5F5F5;
    --color-malachite: #2B574F;
    --color-malachite-metallic: #3D6A62;
    --color-deep-sage: #1E312E;
    --color-porsche-green: #13ec5b;
    --color-porsche-green-glow: rgba(19, 236, 91, 0.4);
    --color-guards-red: #D5001C;
    --color-racing-yellow: #FDE100;
    --color-titanium: #4A4A4A;

    /* Glassmorphism Defaults */
    --glass-bg: rgba(30, 49, 46, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 15px;

    /* Spacing & Transitions */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--color-chalk);
    color: var(--color-deep-sage);
    line-height: 1.6;
    overflow-x: hidden;
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, transparent, var(--color-porsche-green), transparent);
    box-shadow: 0 0 18px var(--color-porsche-green-glow);
    z-index: 2000;
    pointer-events: none;
}

/* Base Components */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-padding {
    padding: 120px 0;
}

/* Text Stylings */
h1,
h2,
h3 {
    font-weight: 300;
    letter-spacing: 0.05em;
}

.technical-mono {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--color-porsche-green);
    opacity: 0.8;
    margin-bottom: 25px;
}

/* Glassmorphism Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.nav-pill {
    text-decoration: none;
    color: var(--color-deep-sage);
    opacity: 0.85;
    padding: 10px 24px;
    border-radius: 99px;
    /* iOS Liquid Glass - Pure Refraction */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    display: inline-block;
    font-weight: 500;
}

.nav-pill:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-porsche-green);
    color: var(--color-porsche-green);
    transform: scale(1.05) translateY(-1.5px);
    box-shadow: inset 0 1px 5px rgba(255, 255, 255, 1), 0 15px 35px rgba(0, 0, 0, 0.1);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    min-width: 230px;
    transform: translateX(-50%) translateY(8px);
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16), inset 0 1px 3px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.24s ease;
    z-index: 1200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--color-deep-sage);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-smooth);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
    color: var(--color-porsche-green);
    background: rgba(19, 236, 91, 0.11);
    outline: none;
}

.btn-metallic {
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-malachite);
    background: linear-gradient(135deg, var(--color-malachite) 0%, var(--color-deep-sage) 100%);
    color: white;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    outline: none;
}

.btn-metallic:hover {
    box-shadow: 0 10px 30px var(--color-porsche-green-glow);
    border-color: var(--color-porsche-green);
    background: linear-gradient(135deg, var(--color-malachite-metallic) 0%, var(--color-malachite) 100%);
}

.accent-porsche-green {
    color: var(--color-porsche-green);
    text-shadow: 0 0 10px var(--color-porsche-green-glow);
}

.bg-malachite-depth {
    background: linear-gradient(180deg, var(--color-deep-sage) 0%, #0a1211 100%);
    color: white;
}

/* THE ENGINEERING VAULT (Luxury Grid) */
.industries-vault {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(255, 255, 255, 0.05);
    gap: 1px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.monolith {
    background: var(--color-deep-sage);
    padding: 100px 60px;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.monolith:last-child {
    border-right: none;
}

.monolith::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-porsche-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.monolith:hover::after {
    transform: scaleX(1);
}

/* POWER STAGES (Pillars) */
.power-stages-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    justify-content: center;
    margin-top: 60px;
    padding-bottom: 20px;
}

.power-pillar {
    flex: 1;
    max-width: 280px;
    background: linear-gradient(180deg, var(--color-malachite-metallic) 0%, var(--color-deep-sage) 100%);
    border-radius: 8px 8px 0 0;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.power-pillar:hover {
    transform: translateY(-10px);
}

.pillar-bronze {
    height: 380px;
}

.pillar-silver {
    height: 440px;
}

.pillar-gold {
    height: 520px;
    border-color: var(--color-porsche-green);
    box-shadow: 0 0 50px var(--color-porsche-green-glow);
}

.pillar-platinum {
    height: 600px;
    background: linear-gradient(180deg, #4b7a71 0%, var(--color-deep-sage) 100%);
}

.emblem-badge {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.plan-list {
    list-style: none;
    margin-top: 40px;
}

.plan-list li {
    margin-bottom: 15px;
    font-size: 0.85rem;
    opacity: 0.7;
    padding-left: 20px;
    position: relative;
}

.plan-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-porsche-green);
}

/* Partners Strip - Tech Professional Aesthetic */
.questionnaire-box {
    position: relative;
    overflow: hidden;
    /* Maintain layout consistency if modified in HTML */
}

.questionnaire-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.questionnaire-secondary {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.questionnaire-secondary:hover {
    border-color: rgba(139, 211, 70, 0.65) !important;
    box-shadow: 0 18px 40px rgba(139, 211, 70, 0.16);
}

.questionnaire-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.1) 52%,
            rgba(255, 255, 255, 0.05) 54%,
            transparent 60%);
    transform: rotate(0deg);
    animation: sweep-light 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes sweep-light {
    0% {
        transform: translate(-30%, -30%) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    40% {
        transform: translate(30%, 30%) rotate(0deg);
        opacity: 0;
    }

    100% {
        transform: translate(30%, 30%) rotate(0deg);
        opacity: 0;
    }
}

.partners-strip {
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px 0;
    overflow: hidden;
    position: relative;
}

.partners-strip::before,
.partners-strip::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-strip::before {
    left: 0;
    background: linear-gradient(90deg, #f8f9fa 0%, rgba(248,249,250,0) 100%);
}

.partners-strip::after {
    right: 0;
    background: linear-gradient(270deg, #f8f9fa 0%, rgba(248,249,250,0) 100%);
}

.partners-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.partners-wrapper.is-marquee-ready {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: max-content;
    gap: 54px;
    animation: partners-marquee 34s linear infinite;
    will-change: transform;
}

.partners-strip:hover .partners-wrapper.is-marquee-ready {
    animation-play-state: paused;
}

.partner-item {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-deep-sage);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.4;
    transition: var(--transition-smooth);
    cursor: default;
    white-space: nowrap;
}

.partner-item:hover {
    opacity: 1;
    color: var(--color-porsche-green);
    text-shadow: 0 0 14px rgba(19, 236, 91, 0.22);
}

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 27px));
    }
}

/* Leadership Team - 3D Spring Window Edition */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 80px;
    perspective: 1200px;
}

.team-window {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 60px 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.team-window:hover {
    background: rgba(43, 87, 79, 0.2);
    border-color: var(--color-porsche-green);
    transform: translateZ(20px);
    /* 移除了 rotateX */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px var(--color-porsche-green-glow);
}

.team-window:active {
    animation: spring-bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes spring-bounce {
    0% {
        transform: scale(1) translateZ(0);
    }

    30% {
        transform: scale(0.92) translateZ(-50px);
    }

    60% {
        transform: scale(1.05) translateZ(30px);
    }

    100% {
        transform: scale(1) translateZ(0);
    }
}

.member-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-malachite) 0%, var(--color-deep-sage) 100%);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-porsche-green);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.member-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.member-role {
    color: var(--color-porsche-green);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* HVAC System Topology Styles */
.topology-vault {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    position: relative;
}

.device-node {
    background: rgba(30, 49, 46, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    width: 200px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    z-index: 2;
}

.device-node:hover {
    border-color: var(--color-porsche-green);
    transform: translateY(-5px);
}

.flow-line-v {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.flow-line-v::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-porsche-green);
    animation: flow-down 2s infinite linear;
    opacity: 0.4;
}

@keyframes flow-down {
    0% {
        top: -100%;
        height: 0;
    }

    50% {
        top: 0;
        height: 100%;
    }

    100% {
        top: 100%;
        height: 0;
    }
}

.horizontal-bus {
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    margin: 20px 0;
}

/* Detailed Content Body */
.content-body {
    font-size: 0.95rem;
    line-height: 2;
    opacity: 0.7;
    font-weight: 300;
}

.content-body strong {
    color: var(--color-porsche-green);
    font-weight: 400;
}

/* HVAC Schematic Logic - Porsche malachite Edition */
.schematic-viewport {
    background: #0d1a16;
    /* 深黑绿背景，确保底色足够沉 */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 80px 40px;
    margin-top: 60px;
    backdrop-filter: blur(20px);
    position: relative;
    box-shadow: inset 0 0 40px rgba(19, 236, 91, 0.05);
    min-height: 660px;
    overflow-x: auto;
    /* 开启横向滚动以防止移动端截断 */
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(19, 236, 91, 0.3) rgba(255, 255, 255, 0.05);
}

/* 自定义滚动条样式 (Webkit) */
.schematic-viewport::-webkit-scrollbar {
    height: 8px;
}

.schematic-viewport::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
}

.schematic-viewport::-webkit-scrollbar-thumb {
    background: rgba(19, 236, 91, 0.3);
    border-radius: 4px;
}

.schematic-viewport::-webkit-scrollbar-thumb:hover {
    background: rgba(19, 236, 91, 0.6);
}

.schematic-svg {
    width: 100%;
    min-width: 1100px;
    /* 保护 SVG 免受过度压缩，协同开启自适应滑动 */
    height: auto;
    display: block;
}

/* Pipe & Flow Logic */
.pipe-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 6;
    stroke-linecap: round;
}

.flow-core {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 4, 12;
    animation: flow-run 3s infinite linear;
}

.flow-cw {
    stroke: #E5C07B;
    /* Champagne Gold - 奢华温感 */
}

/* Condenser Water - Warm */
.flow-chw {
    stroke: #A7F3D0;
    /* Ice Mint - 冰玉冷感 */
}

/* Chilled Water - Cool */
.flow-sa {
    stroke: var(--color-porsche-green);
    /* Porsche Green Accent */
}

/* Supply Air - System Accent */

@keyframes flow-run {
    from {
        stroke-dashoffset: 48;
    }

    to {
        stroke-dashoffset: 0;
    }
}

/* ============ Node Hierarchy ============ */
.equip-node {
    cursor: pointer;
    transform-origin: center;
    transform-box: fill-box;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.equip-node:active {
    transform: scale(0.92);
    transition: transform 0.1s ease-out;
}

.equip-node:hover .node-box {
    stroke: var(--color-porsche-green);
    fill: rgba(255, 255, 255, 0.15);
}

.node-box {
    fill: rgba(255, 255, 255, 0.08);
    /* 浅色半透明背景，使其亮起 */
    stroke: rgba(19, 236, 91, 0.5);
    /* 对比更强烈的保时捷绿边框 */
    stroke-width: 1.5;
    transition: var(--transition-smooth);
}

.equip-sub {
    fill: rgba(255, 255, 255, 0.05);
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
}

/* ============ Typography & Labels ============ */
.section-label {
    font-weight: 800;
    text-anchor: middle;
    text-transform: uppercase;
    fill: #ffffff;
}

.sub-label {
    font-size: 10px;
    font-weight: 600;
    text-anchor: middle;
    letter-spacing: 0.04em;
}

.sub-label.cw-text {
    fill: #fcd34d;
    /* Yellow brighter */
}

.sub-label.chw-text {
    fill: #A7F3D0;
    /* Ice Mint brighter */
}

.equip-label {
    font-size: 11px;
    font-weight: 600;
    fill: #ffffff;
    text-anchor: middle;
}

.equip-label-lg {
    font-size: 12px;
    font-weight: 700;
    fill: #ffffff;
    text-anchor: middle;
}

.equip-label-sm {
    font-size: 10px;
    font-weight: 600;
    fill: #ffffff;
    text-anchor: middle;
}

.equip-id {
    font-size: 9px;
    font-weight: 500;
    fill: rgba(255, 255, 255, 0.85);
    text-anchor: middle;
}

.equip-zone {
    font-size: 9px;
    font-weight: 500;
    fill: rgba(255, 255, 255, 0.85);
    text-anchor: middle;
    font-style: italic;
}

.equip-sub-label {
    font-size: 9.5px;
    font-weight: 600;
    fill: #ffffff;
    text-anchor: middle;
}

.equip-sub-hint {
    font-size: 8px;
    font-weight: 400;
    fill: rgba(255, 255, 255, 0.85);
    text-anchor: middle;
}

.annotation-text {
    font-size: 9px;
    font-weight: 500;
    fill: #ffffff;
    text-anchor: middle;
}

/* Additional Flow Colors */
.flow-ra {
    stroke: #94a3b8;
}

/* Animated Indicators */
.status-indicator {
    animation: status-pulse 2s infinite ease-in-out;
}

@keyframes status-pulse {

    0%,
    100% {
        opacity: 0.4;
        r: 4;
    }

    50% {
        opacity: 1;
        r: 6;
    }
}

.questionnaire-box {
    background: var(--color-chalk-light);
    border-radius: 40px;
    padding: 100px 40px;
    text-align: center;
}

/* ============ Glass Modal Styles ============ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.glass-modal {
    background: rgba(16, 30, 26, 0.85);
    border: 1px solid rgba(19, 236, 91, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(19, 236, 91, 0.05);
}

.modal {
    border-radius: 20px;
    width: 680px;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.equip-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 22px 26px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.equip-id-large {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
}

.header-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.equip-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.equip-status-badge.online {
    background: rgba(19, 236, 91, 0.1);
    color: #13ec5b;
    border: 1px solid rgba(19, 236, 91, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-body {
    padding: 0 26px 26px;
    overflow-y: auto;
    flex: 1;
}

.equip-params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.param-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.param-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.param-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.param-unit {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-left: 2px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .industries-vault {
        grid-template-columns: repeat(2, 1fr);
    }

    .power-stages-wrapper {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .power-pillar {
        max-width: 100%;
        flex: none;
        width: calc(50% - 15px);
        height: auto !important;
        border-radius: 8px;
    }
}

@media (max-width: 600px) {
    .industries-vault {
        grid-template-columns: 1fr;
    }

    .power-pillar {
        width: 100%;
    }

    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 3.2rem !important;
    }
}
/* Service Card Hover - Dark Green */
.service-card-hover {
    cursor: pointer;
}

.service-card-hover:hover {
    background: var(--color-deep-sage) !important;
    border-color: transparent !important;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(19,236,91,0.15);
}

.service-card-hover:hover .technical-mono {
    color: var(--color-porsche-green) !important;
    opacity: 1 !important;
}

.service-card-hover:hover h3 {
    color: white !important;
}

.service-card-hover:hover p {
    color: rgba(255,255,255,0.7) !important;
    opacity: 1 !important;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity 0.75s ease var(--reveal-delay, 0ms),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-in {
    opacity: 1;
    transform: translateY(0);
}

/* Technical Library Pagination */
.technical-library {
    border-top: 1px solid rgba(255,255,255,0.05);
}

.technical-library[hidden] {
    display: none;
}

.technical-library-heading {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 44px;
}

.technical-library-heading h2 {
    color: white;
    font-size: 2.22rem;
    letter-spacing: 4px;
}

.technical-library-heading p {
    color: rgba(255,255,255,0.55);
    margin-top: 18px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.technical-page-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 980px;
    margin: 0 auto 24px;
}

.technical-page-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 76px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.045);
    color: rgba(255,255,255,0.74);
    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.technical-page-tab span {
    color: var(--color-porsche-green);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.72rem;
}

.technical-page-tab:hover,
.technical-page-tab.active {
    border-color: rgba(19,236,91,0.45);
    background: rgba(19,236,91,0.1);
    color: white;
    box-shadow: 0 18px 42px rgba(19,236,91,0.12);
    transform: translateY(-2px);
}

.technical-page-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 980px;
    margin: 0 auto;
    padding: 26px 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.035);
}

.technical-page-intro h3 {
    color: white;
    font-size: 1.25rem;
    letter-spacing: 1px;
}

.technical-page-intro p {
    max-width: 520px;
    color: rgba(255,255,255,0.48);
    font-size: 0.84rem;
    line-height: 1.75;
}

.technical-page {
    margin-top: 42px;
    padding-top: 42px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.technical-page[hidden] {
    display: none;
}

.technical-page-close {
    display: block;
    margin: 0 auto 32px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.65);
    font-family: inherit;
    font-size: 0.68rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.technical-page-close:hover {
    color: white;
    border-color: rgba(19,236,91,0.45);
    background: rgba(19,236,91,0.1);
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.case-study-card {
    min-height: 100%;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.045);
    transition: var(--transition-smooth);
}

.case-study-card:hover {
    transform: translateY(-4px);
    border-color: rgba(19,236,91,0.36);
    background: rgba(19,236,91,0.075);
    box-shadow: 0 22px 46px rgba(0,0,0,0.22);
}

.case-study-card h3 {
    color: white;
    font-size: 1.16rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.case-study-card p {
    color: rgba(255,255,255,0.58);
    font-size: 0.85rem;
    line-height: 1.78;
    margin-top: 14px;
}

.case-study-services {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: var(--color-porsche-green);
    font-size: 0.72rem;
    line-height: 1.7;
    letter-spacing: 1px;
}

/* Workflow */
.workflow-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--color-chalk-light) 100%);
    border-top: 1px solid rgba(44,62,53,0.08);
}

.workflow-heading {
    max-width: 800px;
    margin: 0 auto 58px;
    text-align: center;
}

.workflow-heading h2 {
    font-size: 2.22rem;
    letter-spacing: 4px;
    color: var(--color-deep-sage);
}

.workflow-heading p {
    margin-top: 18px;
    color: rgba(74,74,74,0.68);
    font-size: 0.95rem;
    line-height: 1.8;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.workflow-step {
    position: relative;
    min-height: 280px;
    padding: 34px 28px;
    border-radius: 8px;
    border: 1px solid rgba(44,62,53,0.12);
    background: rgba(255,255,255,0.72);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.workflow-step::after {
    content: '';
    position: absolute;
    inset: auto 24px 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-porsche-green), transparent);
    opacity: 0.38;
}

.workflow-step:hover {
    transform: translateY(-4px);
    border-color: rgba(19,236,91,0.42);
    box-shadow: 0 22px 46px rgba(44,62,53,0.1);
}

.workflow-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(19,236,91,0.42);
    color: var(--color-porsche-green);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.76rem;
    margin-bottom: 28px;
}

.workflow-step h3 {
    color: var(--color-deep-sage);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.workflow-step p {
    color: rgba(74,74,74,0.72);
    font-size: 0.86rem;
    line-height: 1.8;
}

.workflow-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 48px;
}

/* Product Suite */
.product-suite {
    background:
        linear-gradient(180deg, #ffffff 0%, var(--color-chalk-light) 45%, var(--color-chalk) 100%);
    border-top: 1px solid rgba(44,62,53,0.08);
    border-bottom: 1px solid rgba(44,62,53,0.08);
}

.product-suite-heading {
    text-align: center;
    margin-bottom: 72px;
}

.product-suite-heading h2 {
    font-size: 2.22rem;
    letter-spacing: 4px;
    color: var(--color-deep-sage);
}

.product-suite-heading p {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--color-titanium);
    opacity: 0.65;
    line-height: 1.8;
    font-size: 0.95rem;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.product-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
    gap: 48px;
    align-items: center;
    min-height: 620px;
    padding: 54px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-deep-sage) 0%, #111b19 100%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 70px rgba(30,49,46,0.22);
}

.product-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(19,236,91,0.11), transparent 42%),
        radial-gradient(circle at var(--panel-glow-x, 86%) var(--panel-glow-y, 18%), rgba(255,255,255,0.14), transparent 30%);
    pointer-events: none;
    transition: background 0.18s ease;
}

.product-panel-audit {
    background: linear-gradient(135deg, #10231d 0%, #050b09 100%);
}

.product-copy,
.product-shot-stack {
    position: relative;
    z-index: 1;
}

.product-kicker {
    color: var(--color-porsche-green);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 18px;
}

.product-copy h3 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.9rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.product-copy p {
    max-width: 660px;
    color: rgba(255,255,255,0.68);
    font-size: 0.98rem;
    line-height: 1.9;
    margin-bottom: 32px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.product-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    color: rgba(255,255,255,0.78);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 0.72rem;
    letter-spacing: 1px;
}

.product-metrics,
.audit-levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-metrics div,
.audit-levels div {
    min-height: 104px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.1);
}

.product-metrics strong,
.audit-levels strong {
    display: block;
    color: white;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.15;
}

.product-metrics span,
.audit-levels span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,0.45);
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
}

.audit-levels span {
    margin-top: 0;
    margin-bottom: 8px;
    color: var(--color-porsche-green);
}

.product-shot-stack {
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-shot {
    width: min(100%, 390px);
    max-height: 560px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 28px 70px rgba(0,0,0,0.42);
    background: #0b1110;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.product-shot-main {
    transform: translate3d(var(--shot-shift-x, 0px), var(--shot-shift-y, 0px), 0) rotate(-2deg) translateX(-20px);
}

.product-shot-secondary {
    position: absolute;
    width: min(72%, 300px);
    right: 0;
    bottom: 10px;
    transform: translate3d(var(--shot-shift-x-secondary, 0px), var(--shot-shift-y-secondary, 0px), 0) rotate(4deg);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}

.product-panel:hover .product-shot {
    box-shadow: 0 34px 82px rgba(0,0,0,0.5);
}

/* Product Video */
.product-video-section {
    background: linear-gradient(180deg, var(--color-chalk) 0%, #f7f8f7 100%);
    border-top: 1px solid rgba(44,62,53,0.08);
}

.product-video-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
    gap: 42px;
    align-items: center;
    padding: 48px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-deep-sage) 0%, #07100f 100%);
    border: 1px solid rgba(19,236,91,0.16);
    box-shadow: 0 28px 70px rgba(30,49,46,0.22);
    position: relative;
    overflow: hidden;
}

.product-video-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(19,236,91,0.14), transparent 32%),
        linear-gradient(120deg, rgba(255,255,255,0.055), transparent 42%);
    pointer-events: none;
}

.product-video-copy,
.product-video-frame {
    position: relative;
    z-index: 1;
}

.product-video-copy h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
}

.product-video-copy p {
    color: rgba(255,255,255,0.66);
    font-size: 0.95rem;
    line-height: 1.85;
    max-width: 560px;
    margin-bottom: 30px;
}

.product-video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 4px;
    border: 1px solid rgba(19,236,91,0.38);
    background: rgba(19,236,91,0.1);
    color: white;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.product-video-link:hover {
    color: var(--color-porsche-green);
    box-shadow: 0 14px 36px rgba(19,236,91,0.18);
    transform: translateY(-2px);
}

.product-video-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    background: #020807;
    box-shadow: 0 26px 64px rgba(0,0,0,0.44);
}

.product-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Edge AI Platform */
.edge-platform-section {
    background: linear-gradient(180deg, var(--color-chalk) 0%, #ffffff 100%);
    border-top: 1px solid rgba(44,62,53,0.08);
}

.edge-platform-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
    gap: 42px;
    align-items: center;
    padding: 56px;
    border-radius: 8px;
    background: linear-gradient(135deg, #07100f 0%, var(--color-deep-sage) 58%, #081211 100%);
    border: 1px solid rgba(19,236,91,0.16);
    box-shadow: 0 30px 80px rgba(30,49,46,0.24);
    position: relative;
    overflow: hidden;
}

.edge-platform-layout::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(19,236,91,0.15), transparent 32%),
        linear-gradient(120deg, rgba(19,236,91,0.08), transparent 46%);
    pointer-events: none;
}

.edge-platform-copy,
.edge-platform-visual {
    position: relative;
    z-index: 1;
}

.edge-platform-copy h2 {
    color: white;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    margin-bottom: 24px;
}

.edge-platform-copy p {
    color: rgba(255,255,255,0.68);
    font-size: 0.98rem;
    line-height: 1.9;
    max-width: 560px;
}

.edge-platform-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.edge-platform-visual {
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.14);
    background: #020807;
    box-shadow: 0 28px 70px rgba(0,0,0,0.46);
}

.edge-platform-visual img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.01);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.65s ease;
}

.edge-platform-layout:hover .edge-platform-visual img {
    transform: scale(1.035);
    filter: saturate(1.08) brightness(1.04);
}

.edge-environments,
.edge-benefits {
    display: grid;
    border: 1px solid rgba(44,62,53,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.64);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 46px rgba(30,49,46,0.08);
}

.edge-environments {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-top: 18px;
    overflow: hidden;
}

.edge-environments div {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    color: var(--color-deep-sage);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-right: 1px solid rgba(44,62,53,0.1);
    transition: var(--transition-smooth);
}

.edge-environments div:last-child {
    border-right: none;
}

.edge-environments div:hover {
    color: var(--color-porsche-green);
    background: rgba(19,236,91,0.08);
}

.edge-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    overflow: hidden;
}

.edge-benefits div {
    min-height: 150px;
    padding: 28px;
    border-right: 1px solid rgba(44,62,53,0.1);
}

.edge-benefits div:last-child {
    border-right: none;
}

.edge-benefits span {
    display: block;
    color: var(--color-porsche-green);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.72rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.edge-benefits strong {
    display: block;
    color: var(--color-deep-sage);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.edge-benefits p {
    color: var(--color-titanium);
    opacity: 0.72;
    font-size: 0.82rem;
    line-height: 1.65;
}

/* Mobile-first retrofit for inline-style heavy sections */
@media (max-width: 1024px) {
    .section-padding {
        padding: 88px 0;
    }

    header.glass-panel {
        width: calc(100% - 24px) !important;
        top: 12px !important;
        left: 12px !important;
        transform: none !important;
        padding: 12px 16px !important;
        border-radius: 18px !important;
        gap: 12px;
    }

    header.glass-panel nav ul {
        gap: 8px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.5px !important;
    }

    header.glass-panel .nav-pill {
        padding: 7px 11px;
    }

    header.glass-panel>.btn-metallic {
        padding: 10px 14px;
        font-size: 0.68rem;
        letter-spacing: 1px;
    }

    section.hero {
        min-height: auto !important;
        padding: 160px 24px 84px !important;
    }

    section.hero h1 {
        font-size: clamp(2rem, 8vw, 3.8rem) !important;
        line-height: 1.12 !important;
    }

    section.hero p {
        letter-spacing: 3px !important;
        margin-bottom: 36px !important;
    }

    section.hero .container>div[style*="display: flex; gap: 20px"] {
        flex-wrap: wrap;
    }

    #about .container>div[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    #services .container>div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    #services .service-card-hover {
        padding: 28px !important;
    }

    .technical-library-heading {
        margin-bottom: 34px;
    }

    .technical-page-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .case-study-grid {
        grid-template-columns: 1fr;
    }

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

    .product-panel {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 40px;
        gap: 34px;
    }

    .product-shot-stack {
        min-height: 500px;
    }

    .product-video-shell {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .edge-platform-layout {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .edge-platform-copy p {
        max-width: 720px;
    }

    .edge-environments {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .edge-environments div {
        border-bottom: 1px solid rgba(44,62,53,0.1);
    }

    .edge-environments div:nth-child(3n) {
        border-right: none;
    }

    .edge-environments div:nth-last-child(-n+3) {
        border-bottom: none;
    }

    .edge-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .edge-benefits div:nth-child(2n) {
        border-right: none;
    }

    .edge-benefits div:nth-child(-n+2) {
        border-bottom: 1px solid rgba(44,62,53,0.1);
    }

    .arch-layer {
        padding: 20px 18px !important;
    }

    .arch-layer>div[style*="display: flex; align-items: flex-start; gap: 40px;"],
    .arch-layer[style*="display: flex; align-items: center; gap: 40px;"] {
        display: block !important;
    }

    .arch-layer>div[style*="display: flex; align-items: flex-start; gap: 40px;"]>div[style*="min-width: 180px"],
    .arch-layer>div[style*="display: flex; align-items: center; gap: 40px;"]>div[style*="min-width: 180px"],
    .arch-layer>div[style*="min-width: 180px"] {
        min-width: 0 !important;
        margin-bottom: 12px;
    }

    .arch-layer [style*="grid-template-columns: repeat(5, 1fr)"],
    .arch-layer [style*="grid-template-columns: repeat(4, 1fr)"],
    .arch-layer [style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    section .container>div[style*="grid-template-columns: 1fr 1.1fr"] {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    footer#contact .container>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 50px !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 70px 0;
    }

    header.glass-panel {
        justify-content: center !important;
    }

    header.glass-panel nav,
    header.glass-panel>.btn-metallic {
        display: none !important;
    }

    header.glass-panel .logo {
        font-size: 0.9rem !important;
        letter-spacing: 1.5px !important;
        text-align: center;
    }

    section.hero {
        padding: 132px 16px 64px !important;
    }

    section.hero .container>div[style*="display: flex; gap: 20px"] {
        flex-direction: column;
        gap: 12px !important;
        align-items: center;
    }

    section.hero .btn-metallic {
        width: 100%;
        max-width: 320px;
    }

    .partners-strip {
        padding: 20px 0;
    }

    .partners-wrapper {
        gap: 14px;
    }

    .partner-item {
        font-size: 0.62rem;
        letter-spacing: 1px;
        opacity: 0.55;
    }

    /* Leadership Team: denser cards on mobile */
    .team-grid {
        gap: 14px;
        margin-top: 30px;
    }

    .team-window {
        padding: 26px 16px;
        border-radius: 10px;
    }

    .member-avatar {
        width: 46px;
        height: 46px;
        margin: 0 auto 14px;
    }

    .member-name {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .member-role {
        font-size: 0.58rem;
        letter-spacing: 2px;
    }

    /* System Topology: reduce blank space and card bulk */
    .topology-vault {
        gap: 16px;
        padding: 24px 0 12px;
    }

    .device-node {
        width: min(100%, 170px);
        padding: 12px 10px;
        border-radius: 8px;
    }

    .flow-line-v {
        height: 20px;
    }

    .horizontal-bus {
        width: 100%;
        margin: 10px 0;
    }

    #architecture .topology-vault > div[style*="display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;"] {
        gap: 10px !important;
    }

    #architecture .topology-vault > div[style*="display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;"] .device-node {
        width: calc(50% - 8px) !important;
        max-width: none;
        min-width: 130px;
    }

    /* IN THE NEWS grant tag: keep full text visible on mobile */
    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; align-items: center; gap: 14px; margin-bottom: 32px;"] {
        align-items: flex-start !important;
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; align-items: center; gap: 14px; margin-bottom: 32px;"] > div:last-child {
        min-width: 0;
        flex: 1;
    }

    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; align-items: center; gap: 14px; margin-bottom: 32px;"] > div:last-child > div:last-child {
        font-size: 0.72rem !important;
        letter-spacing: 0.3px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);"] {
        flex-wrap: wrap !important;
        gap: 14px 18px !important;
        padding-top: 18px !important;
    }

    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);"] > div[style*="width: 1px; background: rgba(255,255,255,0.08);"] {
        display: none !important;
    }

    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);"] > div {
        min-width: 0;
        flex: 1 1 calc(50% - 12px);
    }

    section .container > div[style*="grid-template-columns: 1fr 1.1fr"] > div:first-child > div[style*="display: flex; gap: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);"] > div > div:last-child {
        font-size: 0.58rem !important;
        letter-spacing: 1.1px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    h2 {
        font-size: clamp(1.45rem, 6vw, 2rem) !important;
        letter-spacing: 1px !important;
    }

    .technical-mono {
        letter-spacing: 1px;
        font-size: 0.68rem;
    }

    .monolith {
        min-height: auto;
        padding: 58px 24px;
    }

    #services .container>div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: 1fr !important;
    }

    .technical-page-menu {
        grid-template-columns: 1fr;
    }

    .technical-page-tab {
        min-height: 64px;
        font-size: 0.75rem;
    }

    .technical-page-intro {
        padding: 22px 18px;
    }

    .technical-page {
        margin-top: 30px;
        padding-top: 30px;
    }

    .case-study-card {
        padding: 24px 18px;
    }

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

    .workflow-step {
        min-height: auto;
        padding: 28px 22px;
    }

    .workflow-actions .btn-metallic {
        width: 100%;
    }

    .product-suite-heading {
        margin-bottom: 42px;
    }

    .product-suite-heading h2 {
        letter-spacing: 1px;
    }

    .product-panel {
        padding: 28px 18px 32px;
    }

    .product-copy h3 {
        font-size: 2rem;
    }

    .product-copy p {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .product-metrics,
    .audit-levels {
        grid-template-columns: 1fr;
    }

    .product-metrics div,
    .audit-levels div {
        min-height: auto;
        padding: 16px;
    }

    .product-shot-stack {
        min-height: 460px;
        overflow: hidden;
    }

    .product-shot {
        width: min(78vw, 320px);
        max-height: 500px;
    }

    .product-shot-main {
        transform: translate3d(var(--shot-shift-x, 0px), var(--shot-shift-y, 0px), 0) rotate(-1.5deg) translateX(-14px);
    }

    .product-shot-secondary {
        width: min(60vw, 240px);
        right: -6px;
        bottom: 26px;
    }

    .product-video-shell {
        padding: 28px 18px;
        gap: 28px;
    }

    .product-video-copy h2 {
        font-size: 2rem;
    }

    .product-video-copy p {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .product-video-link {
        width: 100%;
    }

    .edge-platform-layout {
        padding: 28px 18px;
        gap: 28px;
    }

    .edge-platform-copy h2 {
        font-size: 2.25rem;
    }

    .edge-platform-copy p {
        font-size: 0.9rem;
        line-height: 1.75;
    }

    .edge-platform-actions .btn-metallic {
        width: 100%;
    }

    .edge-environments,
    .edge-benefits {
        grid-template-columns: 1fr;
    }

    .edge-environments div,
    .edge-benefits div {
        min-height: auto;
        border-right: none !important;
        border-bottom: 1px solid rgba(44,62,53,0.1) !important;
    }

    .edge-environments div:last-child,
    .edge-benefits div:last-child {
        border-bottom: none !important;
    }

    .edge-environments div {
        justify-content: flex-start;
        min-height: 62px;
        text-align: left;
    }

    .edge-benefits div {
        padding: 22px;
    }

    .power-pillar {
        padding: 34px 22px;
    }

    #plans .container>div[style*="margin-top: 100px"][style*="margin-bottom: 40px"],
    .schematic-viewport {
        display: none;
    }

    .questionnaire-box {
        padding: 44px 20px !important;
        border-radius: 16px !important;
    }

    .questionnaire-box h2 {
        font-size: 1.55rem !important;
    }

    .questionnaire-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .questionnaire-actions .btn-metallic {
        width: 100%;
        white-space: normal;
    }

    footer#contact form>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    footer#contact .btn-metallic {
        width: 100%;
        align-self: stretch !important;
    }

    footer#contact [style*="justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;"] {
        justify-content: center !important;
        text-align: center;
        gap: 12px !important;
    }
}

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

    .reveal-ready {
        opacity: 1;
        transform: none;
    }

    .partners-wrapper.is-marquee-ready {
        animation: none;
        flex-wrap: wrap;
        width: auto;
    }
}
/* ============ Reusable PayPal Payment Section ============ */
.rg-payment-section {
    background:
        radial-gradient(circle at 12% 20%, rgba(19, 236, 91, 0.12), transparent 32%),
        linear-gradient(135deg, #0f1d17 0%, #1d3128 52%, #07110d 100%);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.rg-payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: 56px;
    align-items: center;
}

.rg-payment-copy h2 {
    margin: 18px 0 20px;
    max-width: 720px;
    color: white;
    font-size: clamp(2.3rem, 6vw, 4.8rem);
    line-height: 0.95;
    font-weight: 300;
    letter-spacing: -2px;
}

.rg-payment-copy p {
    max-width: 620px;
    color: rgba(255,255,255,0.68);
    line-height: 1.85;
}

.rg-payment-points {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.rg-payment-points li {
    position: relative;
    padding-left: 26px;
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

.rg-payment-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-porsche-green);
    box-shadow: 0 0 18px rgba(19,236,91,0.45);
}

.rg-payment-card {
    display: grid;
    gap: 14px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    background: rgba(255,255,255,0.07);
    box-shadow: 0 24px 80px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.14);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.rg-payment-card label {
    color: rgba(255,255,255,0.62);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.rg-payment-card input,
.rg-payment-card select {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 12px;
    padding: 12px 14px;
    color: white;
    background: rgba(0,0,0,0.18);
    font: inherit;
    outline: none;
}

.rg-payment-card select option {
    color: #15231c;
}

.rg-payment-card input:focus,
.rg-payment-card select:focus {
    border-color: rgba(19,236,91,0.55);
    box-shadow: 0 0 0 3px rgba(19,236,91,0.10);
}

.rg-payment-prepare {
    width: 100%;
    margin-top: 6px;
}

.rg-paypal-buttons {
    min-height: 48px;
}

.rg-payment-status {
    min-height: 22px;
    margin: 0;
    color: rgba(255,255,255,0.62);
    font-size: 0.82rem;
    line-height: 1.6;
}

.rg-payment-status.success {
    color: var(--color-porsche-green);
}

.rg-payment-status.error {
    color: #ffaaa9;
}

@media (max-width: 860px) {
    .rg-payment-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .rg-payment-card {
        padding: 22px;
    }
}
