/* ==========================================================================
   PREMIUM SaaS DESIGN SYSTEM (BLACK & NEON LIGHT GREEN ACCENTS)
   ========================================================================== */

:root {
    --bg-black: #020204;
    --bg-dark-slate: #050508;
    --bg-obsidian: #0a0812;
    --bg-card: rgba(15, 12, 26, 0.85);
    --bg-card-hover: rgba(24, 18, 41, 0.95);
    
    /* Premium Purple & Black theme values */
    --primary: #a855f7;
    --accent: #FBBF24;
    --accent-glow: rgba(251, 191, 36, 0.25);
    --accent-border: rgba(251, 191, 36, 0.15);
    --accent-muted: rgba(251, 191, 36, 0.035);
    --primary-glow: rgba(168, 85, 247, 0.25);
    --primary-border: rgba(168, 85, 247, 0.15);
    --primary-muted: rgba(168, 85, 247, 0.035);
    
    /* Alerts and states */
    --green-alert: #10B981;
    
    /* Text styling */
    --text-primary: #f1f5f9;
    --text-secondary: #a3a3c2;
    --text-muted: #57577a;
    --text-primary-muted: rgba(168, 85, 247, 0.7);
    --text-accent-muted: rgba(251, 191, 36, 0.7);
    
    /* Fonts */
    --font-mono: 'Inter', monospace;
    --font-futuristic: 'Plus Jakarta Sans', sans-serif;
    --font-sans: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    /* Glass borders & transitions */
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(168, 85, 247, 0.2);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Reset and base rules */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Typography styles */
.text-primary-purple {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.text-accent-gold {
    color: var(--accent);
    text-shadow: 0 0 8px var(--accent-glow);
}

.text-white {
    color: #fff;
}

.text-muted {
    color: var(--text-muted);
}

/* Ambient Backlighting (Organic floating spheres) */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 45vw;
    height: 45vw;
    top: -15vw;
    right: -10vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    animation: float-orb-1 25s infinite alternate ease-in-out;
}

.orb-2 {
    width: 50vw;
    height: 50vw;
    bottom: -20vw;
    left: -15vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation: float-orb-2 30s infinite alternate ease-in-out;
}

@keyframes float-orb-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 60px) scale(1.15); }
}

@keyframes float-orb-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, -70px) scale(1.1); }
}

/* Modern grid pattern overlay */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}




/* Workspace wrapper */
.workspace-container {
    width: 100%;
    max-width: 1300px;
    padding: 0 2rem 4rem 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ==========================================================================
   HUD HEADER NAVIGATION
   ========================================================================== */
.hud-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem 0;
    margin-bottom: 3rem;
    background: linear-gradient(180deg, var(--bg-black) 0%, rgba(5, 5, 7, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.hud-logo {
    font-family: var(--font-futuristic);
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
}

.logo-bracket {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
}

.logo-text {
    color: var(--text-primary);
    margin: 0 0.15rem;
}

.hud-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-primary-muted);
    background: rgba(255, 255, 255, 0.02);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    border: 1px solid var(--border-glass);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--green-alert);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--green-alert);
    animation: neon-pulse-anim 2s infinite ease-in-out;
}

.hud-nav-links {
    display: flex;
    gap: 1.25rem;
}

.hud-link {
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    letter-spacing: 0.05em;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.hud-link:hover, .hud-link.active {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
    background: var(--primary-muted);
}

/* ==========================================================================
   HERO / TITLE SECTION
   ========================================================================== */
.hero-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.hero-header-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid var(--primary-border);
    background: var(--primary-muted);
    padding: 0.45rem 1rem;
    border-radius: 60px;
    margin-bottom: 2rem;
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.title-sub {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
}

.title-main {
    font-family: var(--font-futuristic);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-lead {
    font-size: 1.22rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

/* Stats Row */
.quick-stats-row {
    display: flex;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--primary-border);
    padding-left: 1.5rem;
}

.quick-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-futuristic);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary-glow);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* Hero actions list */
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-futuristic);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.9rem 1.65rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--bg-black);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(57, 255, 20, 0.55);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
    background: var(--primary-muted);
    transform: translateY(-2px);
}

.social-hud-links {
    display: flex;
    gap: 0.6rem;
    margin-left: 0.5rem;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 6px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.social-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-muted);
    text-shadow: 0 0 5px var(--primary-glow);
}

/* ==========================================================================
   GLOBAL SECTIONS
   ========================================================================== */
.section-container {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-glass);
}

.section-header {
    margin-bottom: 4rem;
    max-width: 600px;
}

.section-title {
    font-family: var(--font-futuristic);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-number {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 1.05rem;
    text-shadow: 0 0 5px var(--primary-glow);
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   CAPABILITIES GRID
   ========================================================================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.cap-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 20%, var(--primary), transparent 80%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.cap-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 15px var(--primary-muted);
}

.cap-card:hover .cap-card-glow {
    opacity: 1;
}

/* Trust Process Styles */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trust-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition-smooth);
}

.trust-card:hover {
    border-color: var(--accent-border);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 15px var(--accent-muted);
}

.cap-card-icon {
    font-size: 1.6rem;
}

.cap-card-title {
    font-family: var(--font-futuristic);
    font-size: 1.1rem;
    font-weight: 700;
}

.cap-card-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.cap-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

.cap-card-tech span {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
}

/* ==========================================================================
   TECHNICAL SHOWCASE LAYOUT
   ========================================================================== */
.showcase-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.showcase-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.75rem;
}

.showcase-tabs::-webkit-scrollbar {
    display: none;
}

.showcase-tab-btn {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

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

.showcase-tab-btn.active {
    background: var(--primary-muted);
    border-color: var(--primary);
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
}

.tab-num {
    opacity: 0.5;
    margin-right: 0.2rem;
}

.showcase-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 260px;
    gap: 1.5rem;
    min-height: 460px;
}

/* Panels */
.showcase-meta-panel, .showcase-network-panel, .showcase-emulator-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.showcase-meta-panel:hover, .showcase-network-panel:hover, .showcase-emulator-panel:hover {
    border-color: rgba(255, 255, 255, 0.08);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.panel-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.panel-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: bold;
}

/* Left panel: Metadata */
.showcase-meta-panel {
    overflow-y: auto;
    gap: 1rem;
}

.project-title-area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-name {
    font-family: var(--font-futuristic);
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

.project-org {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.project-badge-link {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-decoration: none;
    color: var(--primary);
    border: 1px solid var(--primary-border);
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
    background: var(--primary-muted);
    transition: var(--transition-fast);
}

.project-badge-link:hover {
    border-color: var(--primary);
    box-shadow: 0 0 5px var(--primary-glow);
}

.project-timeline {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary);
    text-shadow: 0 0 3px var(--primary-glow);
    margin-top: -0.4rem;
}

.project-bullets-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 0.75rem;
}

.project-bullet {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--text-secondary);
    list-style-type: square;
}

.project-bullet strong {
    color: #fff;
}

.metadata-grid-hud {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.5rem;
    margin-top: auto;
}

.meta-field {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.meta-field-lbl {
    color: var(--text-secondary);
}

.meta-field-val {
    color: #fff;
}

/* Middle Panel: Network SVG Diagram */
.showcase-network-panel {
    justify-content: space-between;
}

.svg-container {
    flex-grow: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-diagram {
    width: 100%;
    max-height: 230px;
}

.node circle {
    transition: var(--transition-smooth);
}

.node:hover circle {
    r: 21px;
    stroke-width: 2.2px;
}

.node-icon {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    fill: #fff;
    text-anchor: middle;
    pointer-events: none;
}

.node-label {
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: bold;
    fill: var(--text-secondary);
    text-anchor: middle;
    pointer-events: none;
}

.node-status {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    text-anchor: middle;
    pointer-events: none;
    fill: var(--text-secondary);
}

.network-line {
    fill: none;
    stroke-width: 1px;
    stroke-linecap: round;
}

.network-line.green, .network-line.indigo { stroke: rgba(255, 255, 255, 0.04); }
.network-line.purple { stroke: rgba(168, 85, 247, 0.12); }
.network-line.amber { stroke: rgba(245, 158, 11, 0.1); }
.line-pulse {
    stroke-dasharray: 6, 25;
    animation: lineDashAnim 5s linear infinite;
}
.line-pulse.green, .line-pulse.indigo { stroke: var(--primary); }
.line-pulse.purple { stroke: #a855f7; }
.line-pulse.amber { stroke: var(--accent); }

.live-console-feed {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 5px;
    padding: 0.4rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-secondary);
    display: flex;
    gap: 0.4rem;
    align-items: center;
    height: 1.4rem;
    overflow: hidden;
}

.console-cursor {
    color: var(--primary);
    font-weight: bold;
}

.console-text {
    transition: opacity 0.15s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Right Panel: Phone Emulator */
.showcase-emulator-panel {
    align-items: center;
}

.emulator-wrapper {
    perspective: 800px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.device-bezel {
    width: 255px;
    height: 480px;
    background: #09090b;
    border: 6px solid #1e1e24;
    border-radius: 36px;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.7),
        inset 0 0 3px rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 5px;
    overflow: hidden;
}

.device-notch {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 95px;
    height: 18px;
    background: #000;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.notch-lens {
    width: 5px;
    height: 5px;
    background: #0b0e1a;
    border-radius: 50%;
}

.notch-speaker {
    width: 28px;
    height: 3px;
    background: #111;
    border-radius: 1.5px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: #020202;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.case-study-app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 0.8rem 0.8rem 0.8rem;
    overflow: hidden;
    color: var(--text-primary);
}

.app-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.55rem;
    color: #fff;
    margin-bottom: 0.45rem;
    padding: 0 0.1rem;
    font-family: var(--font-mono);
}

.app-content-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
}

.app-content-body::-webkit-scrollbar {
    display: none;
}

.app-card-slide {
    padding: 0.55rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.app-card-slide.green {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(9, 13, 22, 0.95) 100%);
    border: 1px solid var(--primary-border);
}

.app-card-slide.green button {
    cursor: pointer;
    background: var(--primary);
    border: none;
    color: #fff;
    font-family: var(--font-sans);
    font-weight: 700;
}

.device-home-bar {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 1px;
    z-index: 99;
}

/* ==========================================================================
   METRICS SECTION (GITHUB TELEMETRY CARD)
   ========================================================================== */
.metrics-dashboard-full {
    width: 100%;
}

.full-width-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.metric-stats-flex {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.metric-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.6rem;
}

.metric-card-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.metric-link {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.metric-link:hover {
    text-shadow: 0 0 5px var(--primary-glow);
    text-decoration: underline;
}

.metric-main-val {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.metric-val-num {
    font-family: var(--font-futuristic);
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.metric-val-unit {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

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

.activity-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.activity-grid-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 3.5px;
}

.activity-cell {
    aspect-ratio: 1;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.02);
}

.activity-cell.active-low { background: rgba(99, 102, 241, 0.15); }
.activity-cell.active-med { background: rgba(99, 102, 241, 0.45); }
.activity-cell.active-high { background: var(--primary); box-shadow: 0 0 5px var(--primary-glow); }

/* ==========================================================================
   CYBER TERMINAL
   ========================================================================== */
.terminal-wrapper-element {
    background: #050508;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.terminal-header-bar {
    background: #09090e;
    border-bottom: 1px solid var(--border-glass);
    padding: 0.6rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-actions-dots {
    display: flex;
    gap: 6px;
}

.terminal-actions-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #27272a;
}

.terminal-actions-dots .dot.red { background: #ef4444; }
.terminal-actions-dots .dot.yellow { background: #f59e0b; }
.terminal-actions-dots .dot.green { background: #22c55e; }

.terminal-header-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.terminal-connection-tag {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--primary);
}

.terminal-body {
    height: 240px;
    padding: 1.25rem;
    overflow-y: auto;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.terminal-line {
    margin: 0;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-prompt {
    color: var(--primary);
    white-space: nowrap;
}

#terminal-text-input {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    flex-grow: 1;
    caret-color: var(--primary);
}

.terminal-shortcuts {
    background: #07070a;
    border-top: 1px solid var(--border-glass);
    padding: 0.55rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.shortcut-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.shortcut-cmd-btn {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.shortcut-cmd-btn:hover {
    border-color: var(--primary-border);
    color: var(--primary);
    background: var(--primary-muted);
}

/* ==========================================================================
   COLLABORATION FORM
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.9fr;
    gap: 2rem;
}

.contact-info-panel-redesign {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-panel-title {
    font-family: var(--font-futuristic);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.contact-panel-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-secondary);
}

.connection-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.connection-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.connection-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--primary-muted);
    border: 1px solid var(--primary-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-shadow: 0 0 4px var(--primary-glow);
    font-size: 0.9rem;
}

.connection-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.connection-label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--text-secondary);
}

.connection-value {
    font-size: 0.82rem;
    color: #fff;
    text-decoration: none;
    transition: var(--transition-fast);
}

a.connection-value:hover {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
}

/* Form panel styling */
.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 2.25rem;
}

#project-planner-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    outline: none;
    transition: var(--transition-smooth);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.15);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.form-group select option {
    background: var(--bg-obsidian);
    color: #fff;
}

.form-submit-btn {
    border: 1px solid var(--primary);
    margin-top: 0.5rem;
    padding: 1rem;
}

/* ==========================================================================
   HUD SYSTEM FOOTER
   ========================================================================== */
.hud-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 1.5rem;
    margin-top: 4.5rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.footer-segment {
    letter-spacing: 0.05em;
}

/* ==========================================================================
   TOAST SYSTEM
   ========================================================================== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(6, 6, 9, 0.95);
    backdrop-filter: blur(10px);
    border: 1.5px solid var(--primary-border);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transform: translateY(120px);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        0 0 15px var(--primary-glow);
}

/* ==========================================================================
   KEYFRAME ANIMATIONS & ENTRIES
   ========================================================================== */
@keyframes neon-pulse-anim {
    0%, 100% { opacity: 0.45; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes lineDashAnim {
    to { stroke-dashoffset: -100; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered load in hero */
.hero-header-badge {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .title-sub {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.hero-title .title-main {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-lead {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}
.quick-stats-row {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}
.hero-actions {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

/* Emojis Icon Wrappers */
.cap-card-icon-wrapper {
    width: 52px;
    height: 52px;
    background: var(--primary-muted);
    border: 1px solid var(--primary-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.cap-card:hover .cap-card-icon-wrapper {
    transform: scale(1.1);
    border-color: var(--primary);
}

.trust-card-icon-wrapper {
    width: 46px;
    height: 46px;
    background: var(--accent-muted);
    border: 1px solid var(--accent-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: var(--transition-smooth);
    margin-bottom: 0.5rem;
}

.trust-card:hover .trust-card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent);
}

/* Trust block wrappers */
.trust-process-container {
    margin-top: 5rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 3.5rem;
}

.trust-title {
    font-family: var(--font-futuristic);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 0.05em;
}

/* Scroll reveal smooth animation adjustments */
.reveal-on-scroll {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.99);
    will-change: opacity, transform;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 768px) {
    .reveal-on-scroll {
        transform: translate3d(0, 10px, 0) scale(1.0);
        transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

.reveal-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* ==========================================================================
   HERO WRAPPER AND PROFILE IMAGE STYLES
   ========================================================================== */
.hero-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
}

.hero-info {
    flex: 1.2;
    max-width: 800px;
}

.hero-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Premium Profile Image Card */
.profile-card {
    position: relative;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    animation: card-float 6s ease-in-out infinite;
    overflow: hidden;
}

.profile-card:hover {
    border-color: var(--primary-border);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.2), 0 0 30px rgba(168, 85, 247, 0.1);
    transform: translateY(-5px);
}

.profile-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.profile-card:hover .profile-card-glow {
    opacity: 1;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 60%);
}

.profile-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 752 / 1024;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%) brightness(95%);
    transition: var(--transition-smooth);
}

.profile-card:hover .profile-image {
    filter: grayscale(0%) contrast(105%) brightness(100%);
    scale: 1.04;
}

.frame-scanner {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    pointer-events: none;
    animation: scan-anim 4.5s linear infinite;
}

/* Corner HUD styling elements */
.corner-element {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.profile-card:hover .corner-element {
    border-color: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.corner-element.top-left {
    top: 6px;
    left: 6px;
    border-right: none;
    border-bottom: none;
}

.corner-element.top-right {
    top: 6px;
    right: 6px;
    border-left: none;
    border-bottom: none;
}

.corner-element.bottom-left {
    bottom: 6px;
    left: 6px;
    border-right: none;
    border-top: none;
}

.corner-element.bottom-right {
    bottom: 6px;
    right: 6px;
    border-left: none;
    border-top: none;
}

.profile-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.75rem;
}

.profile-meta .meta-value {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary-glow);
    font-weight: 700;
}

/* Keyframes for Profile Animations */
@keyframes card-float {
    0%, 100% {
        transform: translateY(0) rotate(-0.5deg);
    }
    50% {
        transform: translateY(-8px) rotate(0.5deg);
    }
}

@keyframes scan-anim {
    0% {
        top: 0%;
        opacity: 0.2;
    }
    50% {
        top: 100%;
        opacity: 0.8;
    }
    100% {
        top: 0%;
        opacity: 0.2;
    }
}

/* Responsiveness overrides for Hero visual components */
@media (max-width: 1024px) {
    .hero-wrapper {
        flex-direction: column-reverse;
        gap: 3rem;
        align-items: center;
        text-align: center;
    }
    
    .hero-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-title {
        align-items: center;
    }
    
    .quick-stats-row {
        justify-content: center;
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--primary-border);
        border-bottom: 1px solid var(--primary-border);
        padding: 1rem 0;
        width: 100%;
        max-width: 500px;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .profile-card {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .profile-card {
        width: 240px;
        padding: 0.9rem;
    }
}

/* ==========================================================================
   RESPONSIVENESS — COMPREHENSIVE MOBILE-FIRST CASCADE
   ========================================================================== */

/* ---------- 1200px: Tablet landscape ---------- */
@media (max-width: 1200px) {
    .showcase-content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .showcase-emulator-panel {
        grid-column: span 2;
        align-items: center;
        min-height: auto;
    }
    .emulator-wrapper { justify-content: center; }
    .metric-stats-flex { gap: 2.5rem; }
}

/* ---------- 1024px: Tablet ---------- */
@media (max-width: 1024px) {
    .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .title-main { font-size: 3.2rem; }
    .hero-lead { font-size: 1.05rem; }
    .section-container { padding: 4rem 0; }
    .section-header { margin-bottom: 2.5rem; }
}

/* ---------- 900px: Small tablet ---------- */
@media (max-width: 900px) {
    .showcase-content-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 1rem;
    }
    .showcase-emulator-panel { grid-column: span 1; }
    .reviews-grid { grid-template-columns: 1fr !important; }
    .metric-stats-flex { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

/* ---------- 768px: Phone landscape / small tablet ---------- */
@media (max-width: 768px) {
    .workspace-container { padding: 0 1rem 3rem 1rem; }
    
    .hud-navbar {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
        position: sticky;
        padding: 1rem 0;
    }
    .hud-status { display: none; }
    .hud-nav-links {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        gap: 0.5rem;
        padding-bottom: 0.25rem;
    }
    .hud-nav-links::-webkit-scrollbar { display: none; }
    .hud-link { font-size: 0.65rem; padding: 0.25rem 0.5rem; white-space: nowrap; }

    .hero-section { min-height: 50vh; padding: 1.5rem 0; }
    .title-main { font-size: 2.6rem; }
    .title-sub { font-size: 0.9rem; }
    .hero-lead { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .hero-header-badge { font-size: 0.65rem; padding: 0.35rem 0.75rem; }

    .quick-stats-row { gap: 1.5rem; padding-left: 1rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.62rem; }

    .hero-actions { gap: 0.75rem; }
    .btn { padding: 0.75rem 1.2rem; font-size: 0.68rem; }

    .capabilities-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .cap-card { padding: 1.5rem 1.25rem; }
    .trust-card { padding: 1.5rem 1.25rem; }

    .showcase-tabs { gap: 0.35rem; }
    .showcase-tab-btn { font-size: 0.6rem; padding: 0.45rem 0.7rem; }
    .showcase-meta-panel, .showcase-network-panel, .showcase-emulator-panel { padding: 1.15rem; }
    .project-name { font-size: 1.1rem; }
    .project-bullet { font-size: 0.7rem; }
    
    .network-diagram { max-height: 200px; }
    .device-bezel { width: 220px; height: 420px; }

    .full-width-card { padding: 1.5rem; }
    .metric-val-num { font-size: 2rem; }

    .terminal-body { height: 200px; font-size: 0.72rem; }
    .terminal-shortcuts { gap: 0.4rem; }

    .form-row-double { grid-template-columns: 1fr; }
    .contact-form-panel { padding: 1.5rem; }
    .contact-info-panel-redesign { padding: 1.5rem; }

    .hud-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .section-title { font-size: 1.25rem; flex-wrap: wrap; }
    .section-subtitle { font-size: 0.8rem; }
}

/* ---------- 480px: Phone portrait ---------- */
@media (max-width: 480px) {
    .workspace-container { padding: 0 0.65rem 2rem 0.65rem; }

    .hud-logo { font-size: 0.95rem; }
    .hud-nav-links { flex-wrap: wrap; gap: 0.4rem; }
    .hud-link { font-size: 0.58rem; padding: 0.2rem 0.4rem; }

    .hero-section { min-height: auto; padding: 1rem 0 2rem 0; }
    .title-main { font-size: 2rem; line-height: 1.15; }
    .title-sub { font-size: 0.78rem; letter-spacing: 0.1em; }
    .hero-lead { font-size: 0.85rem; line-height: 1.5; margin-bottom: 1.25rem; }
    .hero-header-badge { font-size: 0.58rem; margin-bottom: 1.25rem; }
    .hero-content { max-width: 100%; }

    .quick-stats-row {
        flex-direction: column;
        gap: 1rem;
        border-left: none;
        padding-left: 0;
        border-top: 2px solid var(--primary-border);
        padding-top: 1rem;
    }
    .quick-stat { flex-direction: row; align-items: baseline; gap: 0.5rem; }
    .stat-number { font-size: 1.5rem; }
    .stat-label { font-size: 0.6rem; }

    .hero-actions { flex-direction: column; width: 100%; gap: 0.6rem; }
    .btn { width: 100%; justify-content: center; padding: 0.85rem 1rem; }
    .social-hud-links { margin-left: 0; justify-content: center; }

    .section-container { padding: 2.5rem 0; }
    .section-header { margin-bottom: 1.5rem; }
    .section-title { font-size: 1.05rem; gap: 0.35rem; }
    .title-number { font-size: 0.85rem; }
    .section-subtitle { font-size: 0.75rem; }

    .cap-card { padding: 1.25rem 1rem; }
    .cap-card-title { font-size: 0.95rem; }
    .cap-card-text { font-size: 0.78rem; }
    .cap-card-icon-wrapper { width: 42px; height: 42px; font-size: 1.4rem; }
    .trust-card-icon-wrapper { width: 38px; height: 38px; font-size: 1.2rem; }

    .showcase-dashboard { gap: 1rem; }
    .showcase-tabs { gap: 0.25rem; padding-bottom: 0.5rem; }
    .showcase-tab-btn { font-size: 0.52rem; padding: 0.35rem 0.5rem; }
    .tab-num { display: none; }
    .showcase-meta-panel, .showcase-network-panel, .showcase-emulator-panel { padding: 0.85rem; }
    .panel-header { margin-bottom: 0.6rem; padding-bottom: 0.35rem; }
    .panel-title { font-size: 0.58rem; }
    .project-name { font-size: 0.95rem; }
    .project-org { font-size: 0.6rem; }
    .project-timeline { font-size: 0.6rem; }
    .project-bullet { font-size: 0.68rem; line-height: 1.4; }
    .project-badge-link { font-size: 0.52rem; }
    .metadata-grid-hud { font-size: 0.58rem; }

    .network-diagram { max-height: 170px; }
    .node-label { font-size: 0.42rem !important; }
    .node-status { font-size: 0.35rem !important; }
    .node-icon { font-size: 0.65rem !important; }

    .device-bezel { width: 190px; height: 360px; border-width: 4px; border-radius: 28px; }
    .device-notch { width: 75px; height: 14px; }

    .full-width-card { padding: 1.15rem; gap: 1rem; }
    .metric-val-num { font-size: 1.7rem; }
    .metric-val-unit { font-size: 0.65rem; }
    .metric-desc { font-size: 0.75rem; }

    .terminal-wrapper-element { border-radius: 8px; }
    .terminal-body { height: 180px; padding: 0.85rem; font-size: 0.68rem; }
    .terminal-header-bar { padding: 0.45rem 0.85rem; }
    .terminal-shortcuts { padding: 0.4rem 0.85rem; }
    .shortcut-cmd-btn { font-size: 0.55rem; padding: 0.12rem 0.4rem; }

    .contact-info-panel-redesign { padding: 1.25rem; }
    .contact-form-panel { padding: 1.25rem; }
    .contact-panel-title { font-size: 1rem; }
    .contact-panel-desc { font-size: 0.78rem; }

    .reviews-form-panel { padding: 1rem !important; }

    .hud-footer { padding-top: 1rem; margin-top: 2rem; }
    .footer-segment { font-size: 0.58rem; }

    .toast { font-size: 0.65rem; padding: 0.6rem 1rem; }
    .live-console-feed { font-size: 0.52rem; padding: 0.3rem 0.5rem; }
}

/* ---------- 360px: Very small phones ---------- */
@media (max-width: 360px) {
    .title-main { font-size: 1.7rem; }
    .hero-lead { font-size: 0.8rem; }
    .stat-number { font-size: 1.3rem; }
    .showcase-tab-btn { font-size: 0.48rem; padding: 0.3rem 0.4rem; }
    .device-bezel { width: 170px; height: 320px; }
}

/* ==========================================================================
   13. COMMUNITY REVIEWS & FEEDBACK STYLES
   ========================================================================== */
.star-btn {
    color: #475569;
    transition: all 0.2s ease;
    display: inline-block;
}
.star-btn.active {
    color: var(--accent) !important;
    text-shadow: 0 0 8px var(--accent-glow);
}
.reviews-list-container::-webkit-scrollbar { width: 4px; }
.reviews-list-container::-webkit-scrollbar-track { background: transparent; }
.reviews-list-container::-webkit-scrollbar-thumb { background: var(--border-glass); border-radius: 2px; }
.reviews-list-container::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ==========================================================================
   RICH ANIMATION SYSTEM
   ========================================================================== */

/* Shimmer gradient sweep on hero title */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.title-main {
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--primary) 25%, var(--text-primary) 50%, var(--primary) 75%, var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 6s linear infinite;
}

/* Glow pulse on stat numbers */
@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 8px var(--primary-glow); }
    50% { text-shadow: 0 0 20px var(--primary-glow), 0 0 40px rgba(168, 85, 247, 0.15); }
}
.stat-number { animation: glowPulse 3s ease-in-out infinite; }

/* Gentle float on capability cards on hover */
@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.cap-card:hover { animation: gentleFloat 2s ease-in-out infinite; }

/* Border glow animation for showcase panels */
@keyframes borderGlow {
    0%, 100% { border-color: var(--border-glass); }
    50% { border-color: var(--primary-border); }
}
.showcase-meta-panel, .showcase-network-panel, .showcase-emulator-panel {
    animation: borderGlow 4s ease-in-out infinite;
}

/* Subtle cursor blink */
@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}
.console-cursor { animation: cursorBlink 1s step-end infinite; }

/* Badge pulse */
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(168, 85, 247, 0); }
}
.hero-header-badge { animation: badgePulse 3s ease-in-out infinite; }

/* Staggered reveal for cards */
.cap-card:nth-child(1) { transition-delay: 0.05s; }
.cap-card:nth-child(2) { transition-delay: 0.1s; }
.cap-card:nth-child(3) { transition-delay: 0.15s; }
.trust-card:nth-child(1) { transition-delay: 0.05s; }
.trust-card:nth-child(2) { transition-delay: 0.1s; }
.trust-card:nth-child(3) { transition-delay: 0.15s; }

/* Metric number glow */
.metric-val-num { animation: glowPulse 4s ease-in-out infinite; }

/* Button hover ripple effect */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}
.btn-primary:hover::after { width: 300px; height: 300px; }

/* Phone mockup gentle sway */
@keyframes phoneSway {
    0%, 100% { transform: rotateY(-3deg) rotateX(2deg); }
    50% { transform: rotateY(3deg) rotateX(-2deg); }
}
.device-bezel { animation: phoneSway 6s ease-in-out infinite; }

/* Social icons hover bounce */
.social-icon:hover { animation: gentleFloat 0.6s ease-in-out; }

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}



