/* --- Brand Variables (Cyberpunk / Glitch System) --- */
:root {
    --pd-void: #0A0A0F;
    --pd-data: #E0E0E0;
    --pd-neon-blue: #3B82F6;
    --pd-acid-cyan: #00D4FF;
    --pd-magenta: #FF00FF;
    --pd-surface: #12121A;
    --pd-border: #2A2A3A;
    --pd-font-heading: 'Orbitron', sans-serif;
    --pd-font-body: 'JetBrains Mono', monospace;
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--pd-font-body);
    background-color: var(--pd-void);
    color: var(--pd-data);
    overflow-x: hidden;
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* --- Scanline Overlay --- */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    pointer-events: none;
    z-index: 10000;
}

/* --- Shared Section Styles --- */
.section-tag {
    display: block;
    font-family: var(--pd-font-body);
    font-size: 0.75rem;
    color: var(--pd-neon-blue);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
}
.section-title {
    font-family: var(--pd-font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--pd-data);
    text-align: center;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title span {
    background: linear-gradient(135deg, var(--pd-neon-blue), var(--pd-acid-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ======== HEADER ======== */
.nexus-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0) 100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease, background 0.3s ease;
}
.nexus-header.scrolled {
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}
.header-logo { display: flex; align-items: center; z-index: 10001; }
.header-logo img { height: 40px; width: auto; display: block; transition: height 0.3s ease; }
.menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10001;
    background: transparent;
    border: none;
    padding: 0;
}
.menu-text {
    font-family: var(--pd-font-body);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--pd-data);
    transition: color 0.3s;
}
.hamburger-lines { width: 28px; height: 18px; position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.line { width: 100%; height: 2px; background-color: var(--pd-data); transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.menu-open .line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background-color: var(--pd-neon-blue); }
.menu-open .line:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-open .line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background-color: var(--pd-neon-blue); }
.menu-open .menu-text { color: var(--pd-neon-blue); }

/* --- Fullscreen Menu --- */
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--pd-void);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    clip-path: circle(0% at 95% 5%);
}
.menu-bg-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(59, 130, 246, 0.03) 2px, rgba(59, 130, 246, 0.03) 4px),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}
.nav-links { list-style: none; padding: 0; margin: 0; text-align: center; position: relative; z-index: 2; }
.nav-item { margin: 18px 0; overflow: hidden; }
.nav-link {
    display: block;
    font-family: var(--pd-font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--pd-data);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.4s ease;
    transform: translateY(100%);
}
.nav-link:hover {
    color: var(--pd-neon-blue);
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    letter-spacing: 8px;
}
.menu-footer {
    position: absolute;
    bottom: 50px;
    display: flex;
    gap: 40px;
    color: rgba(224, 224, 224, 0.4);
    font-family: var(--pd-font-body);
    font-size: 0.8rem;
    opacity: 0;
    letter-spacing: 1px;
}
.menu-footer a { color: inherit; text-decoration: none; transition: color 0.3s; }
.menu-footer a:hover { color: var(--pd-neon-blue); }

/* ======== HERO SECTION ======== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 40px 80px;
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
    pointer-events: none;
}
.hero-grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
    animation: pulseGlow 4s ease-in-out infinite;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.system-prompt {
    display: inline-block;
    font-family: var(--pd-font-body);
    font-size: 0.85rem;
    color: var(--pd-neon-blue);
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    opacity: 0;
}
.hero-title {
    font-family: var(--pd-font-heading);
    font-size: 5.5rem;
    font-weight: 900;
    color: var(--pd-data);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: 3px;
}
.cyber-glitch {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--pd-neon-blue), var(--pd-acid-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cyber-glitch::before,
.cyber-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pd-neon-blue), var(--pd-acid-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.cyber-glitch::before {
    text-shadow: -2px 0 var(--pd-magenta);
    animation: glitchLeft 3s infinite linear alternate-reverse;
    clip-path: inset(0 0 65% 0);
}
.cyber-glitch::after {
    text-shadow: 2px 0 var(--pd-acid-cyan);
    animation: glitchRight 2.5s infinite linear alternate-reverse;
    clip-path: inset(65% 0 0 0);
}
.hero-subtitle {
    font-family: var(--pd-font-body);
    font-size: 1.05rem;
    color: rgba(224, 224, 224, 0.7);
    max-width: 650px;
    margin: 0 auto 50px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}
.hero-cta-wrapper { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 44px;
    font-family: var(--pd-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    background: var(--pd-neon-blue);
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.25);
}
.cta-btn-primary:hover {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8), 0 0 50px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 44px;
    font-family: var(--pd-font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--pd-magenta);
    background: transparent;
    border: 2px solid var(--pd-magenta);
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
    transition: all 0.3s ease;
}
.cta-btn-secondary:hover {
    background: var(--pd-magenta);
    color: var(--pd-void);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    transform: translateY(-2px);
}
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--pd-neon-blue);
    border-bottom: 2px solid var(--pd-neon-blue);
    transform: rotate(45deg);
    animation: bounceDown 2s infinite;
    opacity: 0.6;
}

/* ======== THE DEAL SECTION ======== */
.deal-section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.deal-header { margin-bottom: 0; }
.deal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}
.deal-card {
    padding: 0;
    overflow: hidden;
    min-width: 0;
}
.deal-card-terminal {
    background: var(--pd-void);
    border: 1px solid var(--pd-border);
}
.deal-card-holographic {
    background: rgba(28, 28, 46, 0.3);
    border: 1px solid var(--pd-neon-blue);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15), inset 0 0 20px rgba(59, 130, 246, 0.05);
}
.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--pd-border);
    background: rgba(0, 0, 0, 0.3);
}
.terminal-dot {
    width: 10px;
    height: 10px;
    clip-path: circle(50%);
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }
.dot-blue { background: var(--pd-neon-blue); }
.dot-cyan { background: var(--pd-acid-cyan); }
.terminal-label {
    font-family: var(--pd-font-body);
    font-size: 0.7rem;
    color: rgba(224, 224, 224, 0.5);
    letter-spacing: 2px;
    margin-left: auto;
}
.terminal-body { padding: 24px 20px; }
.terminal-line {
    font-family: var(--pd-font-body);
    font-size: 0.85rem;
    color: rgba(224, 224, 224, 0.7);
    margin-bottom: 10px;
    line-height: 1.6;
}
.line-prefix {
    color: var(--pd-neon-blue);
    margin-right: 8px;
    font-weight: 700;
}
.deal-card-terminal .line-prefix { color: rgba(224, 224, 224, 0.3); }
.line-error {
    color: var(--pd-magenta);
    font-weight: 600;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 0, 255, 0.2);
}
.line-error .line-prefix { color: var(--pd-magenta); }
.line-success {
    color: var(--pd-acid-cyan);
    font-weight: 600;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}
.line-success .line-prefix { color: var(--pd-acid-cyan); }

/* ======== TELEMETRY SECTION ======== */
.telemetry-section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.metric-card {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    min-width: 0;
    overflow: hidden;
}
.metric-card:hover {
    border-color: var(--pd-neon-blue);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
}
.metric-index {
    font-family: var(--pd-font-body);
    font-size: 0.65rem;
    color: var(--pd-neon-blue);
    letter-spacing: 3px;
    margin-bottom: 20px;
    opacity: 0.7;
}
.metric-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--pd-acid-cyan);
}
.metric-icon svg { width: 100%; height: 100%; }
.metric-title {
    font-family: var(--pd-font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--pd-data);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.metric-desc {
    font-size: 0.85rem;
    color: rgba(224, 224, 224, 0.6);
    line-height: 1.7;
}

/* ======== PROTOCOL SECTION ======== */
.protocol-section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.protocol-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.data-node {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s ease;
    min-width: 0;
    overflow: hidden;
}
.data-node:hover {
    border-color: var(--pd-neon-blue);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.25), 0 0 60px rgba(59, 130, 246, 0.1);
}
.data-node:hover .node-icon { transform: scale(1.1); }
.node-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px;
    color: var(--pd-neon-blue);
    transition: transform 0.4s ease;
}
.node-icon svg { width: 100%; height: 100%; }
.node-title {
    font-family: var(--pd-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pd-data);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.node-desc {
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.55);
    line-height: 1.7;
}

/* ======== COMMAND CENTER SECTION ======== */
.command-section {
    padding: 120px 40px;
    max-width: 1300px;
    margin: 0 auto;
}
.command-hud {
    border: 2px solid var(--pd-neon-blue);
    clip-path: polygon(20px 0%, calc(100% - 20px) 0%, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0% calc(100% - 20px), 0% 20px);
    background: var(--pd-surface);
    overflow: hidden;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), 0 0 60px rgba(59, 130, 246, 0.05);
    animation: hudPulse 4s ease-in-out infinite;
}
.hud-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--pd-border);
    font-family: var(--pd-font-body);
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(224, 224, 224, 0.4);
    flex-wrap: wrap;
    gap: 10px;
}
.hud-uptime { color: var(--pd-acid-cyan); }
.hud-latency { color: var(--pd-neon-blue); }
.status-secure { color: #28C840; animation: blink 2s infinite; }
.hud-panels {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    min-height: 340px;
}
.hud-panel {
    border-right: 1px solid var(--pd-border);
    padding: 0;
    display: flex;
    flex-direction: column;
}
.hud-panel:last-child { border-right: none; }
.panel-label {
    font-family: var(--pd-font-body);
    font-size: 0.65rem;
    color: var(--pd-neon-blue);
    letter-spacing: 2px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--pd-border);
    background: rgba(0, 0, 0, 0.3);
}

/* Feed Panel */
.panel-feed { overflow: hidden; }
.feed-scroll {
    flex: 1;
    overflow: hidden;
    padding: 12px 16px;
    position: relative;
}
.feed-scroll p {
    font-family: var(--pd-font-body);
    font-size: 0.6rem;
    color: rgba(224, 224, 224, 0.5);
    line-height: 2;
    white-space: nowrap;
}

/* Table Wireframe Panel */
.panel-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.table-wireframe {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    width: 100%;
}
.wireframe-table {
    position: relative;
    width: 220px;
    height: 160px;
}
.table-shape {
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 100%, 0% 100%, 0% 30%);
}
.player-node {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--pd-acid-cyan);
    clip-path: circle(50%);
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}
.node-1 { bottom: 0; left: 10%; }
.node-2 { bottom: 0; left: 30%; }
.node-3 { bottom: 0; left: 50%; }
.node-4 { bottom: 0; left: 70%; }
.node-5 { bottom: 0; left: 85%; }
.dealer-node {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--pd-neon-blue);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}
.active-bet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--pd-magenta);
    clip-path: circle(50%);
    animation: betPulse 1.5s ease-in-out infinite;
}
.bet-1 { bottom: 20px; left: 35%; }
.bet-2 { bottom: 20px; left: 65%; }

/* Analytics Panel */
.panel-analytics { padding: 0; }
.analytics-bars {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.bar-group {
    display: grid;
    grid-template-columns: 70px 1fr 45px;
    align-items: center;
    gap: 10px;
}
.bar-label {
    font-family: var(--pd-font-body);
    font-size: 0.6rem;
    color: rgba(224, 224, 224, 0.5);
    letter-spacing: 1px;
    text-align: right;
}
.bar-track {
    height: 8px;
    background: rgba(42, 42, 58, 0.6);
    position: relative;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    width: 0;
    transition: width 1.5s ease-out;
}
.bar-blue { background: var(--pd-neon-blue); }
.bar-cyan { background: var(--pd-acid-cyan); }
.bar-value {
    font-family: var(--pd-font-body);
    font-size: 0.65rem;
    color: var(--pd-data);
    font-weight: 600;
    text-align: left;
}

/* ======== VALIDATION SECTION ======== */
.validation-section {
    position: relative;
    padding: 160px 40px;
    overflow: hidden;
    text-align: center;
}
.validation-grid-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridRotate 60s linear infinite;
    transform-origin: center center;
}
.validation-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.validation-bracket {
    font-family: var(--pd-font-heading);
    font-size: 8rem;
    font-weight: 100;
    color: rgba(59, 130, 246, 0.2);
    line-height: 1;
    user-select: none;
}
.validation-title {
    font-family: var(--pd-font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 2px;
    filter: drop-shadow(4px 4px 0 var(--pd-neon-blue)) drop-shadow(-1px -1px 0 var(--pd-magenta));
}
.validation-subtitle {
    font-family: var(--pd-font-body);
    font-size: 1.1rem;
    color: rgba(224, 224, 224, 0.6);
    margin-top: 20px;
    letter-spacing: 2px;
}

/* ======== UPLINK FOOTER ======== */
.uplink-footer {
    background: var(--pd-void);
    border-top: 1px solid var(--pd-border);
    padding: 80px 40px 0;
}
.uplink-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Founder Module */
.founder-module { margin-bottom: 50px; }
.founder-image-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    clip-path: polygon(14px 0%, calc(100% - 14px) 0%, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0% calc(100% - 14px), 0% 14px);
    overflow: hidden;
    border: 2px solid var(--pd-neon-blue);
    position: relative;
}
.founder-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), transparent);
    mix-blend-mode: color;
    pointer-events: none;
}
.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) contrast(1.2);
    transition: filter 0.4s ease;
}
.founder-image-wrapper:hover .founder-image { filter: grayscale(0) contrast(1); }
.founder-label {
    font-family: var(--pd-font-body);
    font-size: 0.75rem;
    color: var(--pd-neon-blue);
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* Contact Grid */
.contact-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.footer-contact-item { text-align: center; }
.footer-contact-label {
    display: block;
    font-family: var(--pd-font-body);
    font-size: 0.65rem;
    color: rgba(224, 224, 224, 0.35);
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.footer-contact-value {
    font-family: var(--pd-font-body);
    font-size: 0.9rem;
    color: var(--pd-data);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-contact-value:hover {
    color: var(--pd-neon-blue);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}
.linkedin-icon { width: 16px; height: 16px; }

/* WhatsApp CTA */
.whatsapp-cta {
    display: block;
    width: 100%;
    padding: 22px 40px;
    background: var(--pd-neon-blue);
    color: #000;
    font-family: var(--pd-font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
    text-decoration: none;
    clip-path: polygon(16px 0%, calc(100% - 16px) 0%, 100% 16px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0% calc(100% - 16px), 0% 16px);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}
.whatsapp-cta:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.7), 0 0 80px rgba(59, 130, 246, 0.3);
    text-shadow: -2px 0 var(--pd-magenta), 2px 0 var(--pd-acid-cyan);
    letter-spacing: 6px;
}

/* Uplink Bottom */
.uplink-bottom {
    border-top: 1px solid var(--pd-border);
    padding: 25px 0;
    text-align: center;
    font-family: var(--pd-font-body);
    font-size: 0.7rem;
    color: rgba(224, 224, 224, 0.25);
    letter-spacing: 1px;
    margin-top: 50px;
}

/* ======== KEYFRAMES ======== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}
@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(10px) rotate(45deg); }
    60% { transform: translateY(5px) rotate(45deg); }
}
@keyframes glitchLeft {
    0%, 80% { clip-path: inset(0 0 65% 0); }
    82% { clip-path: inset(20% 0 40% 0); }
    84% { clip-path: inset(60% 0 5% 0); }
    86% { clip-path: inset(0 0 65% 0); }
    100% { clip-path: inset(0 0 65% 0); }
}
@keyframes glitchRight {
    0%, 78% { clip-path: inset(65% 0 0 0); }
    80% { clip-path: inset(10% 0 50% 0); }
    83% { clip-path: inset(40% 0 20% 0); }
    85% { clip-path: inset(65% 0 0 0); }
    100% { clip-path: inset(65% 0 0 0); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
@keyframes hudPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.15), 0 0 60px rgba(59, 130, 246, 0.05); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.25), 0 0 80px rgba(59, 130, 246, 0.1); }
}
@keyframes betPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(255, 0, 255, 0.6); }
    50% { opacity: 0.5; box-shadow: 0 0 14px rgba(255, 0, 255, 0.9); }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
@keyframes gridRotate {
    0% { transform: rotate(0deg) scale(1.5); }
    100% { transform: rotate(360deg) scale(1.5); }
}
@keyframes feedScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* ======== SCROLL REVEAL ======== */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======== RESPONSIVE — MOBILE (max 768px) ======== */
@media (max-width: 768px) {
    .nexus-header { padding: 15px 20px; }
    .header-logo img { height: 30px; }
    .menu-text { display: none; }
    .nav-link { font-size: 1.6rem; letter-spacing: 2px; }
    .menu-footer { flex-direction: column; gap: 15px; text-align: center; bottom: 30px; }

    .hero-section { padding: 120px 20px 60px; }
    .hero-title { font-size: 2.5rem; letter-spacing: 1px; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-cta-wrapper { flex-direction: column; align-items: center; }
    .cta-btn-primary,
    .cta-btn-secondary { width: 100%; max-width: 300px; text-align: center; }

    .deal-section { padding: 80px 20px; }
    .deal-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; margin-bottom: 40px; }

    .telemetry-section { padding: 80px 20px; }
    .telemetry-grid { grid-template-columns: 1fr; }

    .protocol-section { padding: 80px 20px; }
    .protocol-grid { grid-template-columns: 1fr; gap: 16px; }

    .command-section { padding: 80px 20px; }
    .hud-status-bar { font-size: 0.55rem; padding: 10px 16px; justify-content: center; text-align: center; }
    .hud-panels { grid-template-columns: 1fr; }
    .hud-panel { border-right: none; border-bottom: 1px solid var(--pd-border); }
    .hud-panel:last-child { border-bottom: none; }
    .feed-scroll { max-height: 150px; }
    .table-wireframe { padding: 20px; }
    .wireframe-table { width: 180px; height: 130px; }

    .validation-section { padding: 100px 20px; }
    .validation-bracket { font-size: 4rem; }
    .validation-title { font-size: 1.8rem; }
    .validation-content { gap: 16px; }

    .uplink-footer { padding: 60px 20px 0; }
    .contact-grid { flex-direction: column; gap: 30px; }
    .whatsapp-cta { font-size: 0.7rem; letter-spacing: 2px; padding: 18px 20px; }
}

/* ======== RESPONSIVE — TABLET (769px to 1024px) ======== */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-title { font-size: 3.8rem; }
    .protocol-grid { grid-template-columns: 1fr 1fr; }
    .hud-panels { grid-template-columns: 1fr 1fr; }
    .panel-feed { grid-column: 1 / -1; }
    .validation-title { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
}
