/* ==========================================================================
   IT & SUPPLY - FUTURISTIC STYLE SHEET (VANILLA CSS)
   ========================================================================== */

/* --- Fonts & Typography --- */
:root {
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* --- Cyberpunk / Sci-Fi Palette --- */
    --color-bg-deep: #060609;
    --color-bg-card: rgba(15, 15, 23, 0.65);
    --color-bg-card-hover: rgba(22, 22, 36, 0.8);
    --color-border: rgba(255, 255, 255, 0.07);
    --color-border-glow: rgba(168, 85, 247, 0.3);
    
    --color-primary: #a855f7;      /* Neon Purple */
    --color-primary-glow: rgba(168, 85, 247, 0.6);
    --color-secondary: #06b6d4;    /* Electric Cyan */
    --color-secondary-glow: rgba(6, 182, 212, 0.6);
    --color-accent: #ec4899;       /* Cyber Pink */
    --color-accent-glow: rgba(236, 72, 153, 0.6);
    
    --color-text-bright: #ffffff;
    --color-text-normal: #d1d5db;
    --color-text-muted: #6b7280;
    
    --glass-background: rgba(10, 10, 16, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(16px);
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Document Reset & Base Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--color-text-normal);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-bg-deep);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(168, 85, 247, 0.4);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(6, 182, 212, 0.4);
    border: 1px solid rgba(6, 182, 212, 0.6);
}

/* --- Dynamic Background Canvas / Grid --- */
.cyber-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0d0b1a 0%, var(--color-bg-deep) 80%);
}

.grid-overlay {
    position: absolute;
    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: 40px 40px;
    background-position: center;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    animation: floatOrb 12s infinite alternate ease-in-out;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: var(--color-primary);
    top: 15%;
    left: 10%;
    animation-duration: 18s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    bottom: 10%;
    right: 5%;
    animation-duration: 22s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.15); }
    100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* --- Shared Layout Classes & Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-text-bright);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-primary);
}

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

.text-neon-cyan {
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary-glow);
}

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

/* --- Header / Navbar (Sticky Glassmorphic) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(6, 6, 9, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-text-bright);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--color-primary);
    margin-right: 8px;
    text-shadow: 0 0 8px var(--color-primary-glow);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-normal);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 10px var(--color-secondary-glow);
}

/* Pulsing Status Dot */
.nav-status-badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-secondary-glow);
}

.pulsing {
    animation: statusPulse 1.8s infinite alternate;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 12px var(--color-secondary); }
}

.status-text {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-bright);
    font-size: 1.3rem;
    cursor: pointer;
}

/* --- Main Layout Wrapper --- */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.5rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
}

.hero-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.version-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-accent);
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.35);
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(236, 72, 153, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-normal);
    max-width: 650px;
    margin-bottom: 1rem;
}

/* Hero Terminal HUD */
.terminal-container {
    width: 100%;
    max-width: 620px;
    background: rgba(8, 8, 12, 0.85);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-align: left;
    margin-bottom: 1.5rem;
}

.terminal-header {
    background: rgba(18, 18, 24, 0.9);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
}

.terminal-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn.close { background: #ef4444; }
.terminal-btn.minimize { background: #eab308; }
.terminal-btn.maximize { background: #22c55e; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-left: auto;
}

.terminal-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-normal);
    min-height: 150px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.terminal-line {
    display: flex;
    gap: 8px;
}

.prompt {
    color: var(--color-accent);
    font-weight: 700;
}

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

.typed-text {
    color: var(--color-secondary);
    border-right: 2px solid var(--color-secondary);
    animation: cursorBlink 0.8s infinite step-end;
    white-space: pre-wrap;
    padding-bottom: 2px;
}

@keyframes cursorBlink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--color-secondary); }
}

/* --- Common UI Buttons --- */
.btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.85rem 1.75rem;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    text-transform: uppercase;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
    color: var(--color-text-bright);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, #b862ff 0%, #8b5cf6 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-bright);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    box-shadow: 0 0 15px var(--color-primary-glow);
    opacity: 0.4;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-glow:hover::after {
    opacity: 0.8;
    box-shadow: 0 0 25px var(--color-primary);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* --- Section Formatting --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-divider {
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    margin: 12px auto;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Filter Component --- */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-normal);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: rgba(6, 182, 212, 0.12);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.2);
}

/* --- Software Showcase Grid --- */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.software-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.software-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

/* Hover Glowing Aura and Borders */
.software-card:hover {
    transform: translateY(-5px);
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-glow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.software-card.card-glow-primary::before {
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.software-card.card-glow-primary:hover {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 15px 35px rgba(168, 85, 247, 0.15);
}

.software-card:not(.card-glow-primary):hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.12);
}

.card-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #db2777 100%);
    color: var(--color-text-bright);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 900;
    padding: 4px 14px;
    border-bottom-left-radius: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.icon-primary {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.1);
}

.icon-secondary {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.icon-tertiary {
    background: rgba(236, 72, 153, 0.15);
    border: 1px solid rgba(236, 72, 153, 0.35);
    color: var(--color-accent);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.1);
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

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

.card-rating {
    color: var(--color-text-normal);
    display: flex;
    align-items: center;
    gap: 4px;
}

.text-gold {
    color: #eab308;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex-grow: 1;
}

.card-title {
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.card-description {
    font-size: 0.85rem;
    color: var(--color-text-normal);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.spec-list {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.spec-item {
    color: var(--color-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.spec-label {
    color: var(--color-text-normal);
    font-weight: 500;
}

.tags-container {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 2px 8px;
    border-radius: 4px;
}

.card-footer {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.card-footer .btn {
    flex: 1;
}

/* --- Support Section (Buy Me A Coffee Panel) --- */
.glass-panel {
    background: rgba(12, 12, 20, 0.7);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.support-card {
    padding: 3rem;
}

.support-grid-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.support-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Glowing Sci-Fi Reactor Element */
.reactor-container {
    position: relative;
    width: 90px;
    height: 90px;
    margin-bottom: 0.5rem;
}

.reactor-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(6, 182, 212, 0.2);
}

.reactor-ring.outer {
    animation: rotateClockwise 20s infinite linear;
    border-color: rgba(6, 182, 212, 0.15);
}

.reactor-ring.middle {
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: 2px dotted rgba(168, 85, 247, 0.3);
    animation: rotateCounterClockwise 12s infinite linear;
}

.reactor-core {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, rgba(6, 182, 212, 0.05) 80%);
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary-glow);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
    animation: corePulse 2s infinite alternate ease-in-out;
}

@keyframes rotateClockwise {
    100% { transform: rotate(360deg); }
}
@keyframes rotateCounterClockwise {
    100% { transform: rotate(-360deg); }
}
@keyframes corePulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(6, 182, 212, 0.3); }
    100% { transform: scale(1.05); box-shadow: 0 0 25px rgba(6, 182, 212, 0.6); }
}

.support-title {
    font-size: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.support-desc {
    font-size: 0.95rem;
    color: var(--color-text-normal);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.trust-badge i {
    font-size: 1.1rem;
    color: #00457c; /* PayPal Blue */
}

/* Support Payment Options Widget */
.support-widget {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-heading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.coffee-tiers {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tier-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.tier-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.tier-icon {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.tier-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tier-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--color-text-bright);
}

.tier-desc {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

.tier-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text-bright);
}

/* Active Tier States */
.tier-card.active {
    background: rgba(168, 85, 247, 0.06);
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.2);
}

.tier-card.active .tier-icon {
    color: var(--color-primary);
    text-shadow: 0 0 8px var(--color-primary-glow);
}

/* Custom Support Amount Box */
.custom-amount-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 16px;
    transition: var(--transition-smooth);
}

.custom-amount-container:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.currency-symbol {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-muted);
    margin-right: 10px;
}

.custom-amount-container input {
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-bright);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
}

.custom-amount-container input::placeholder {
    color: var(--color-text-muted);
    font-weight: 400;
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.custom-amount-container input::-webkit-inner-spin-button,
.custom-amount-container input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Glowing checkout button sweep */
.btn-support-execute {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #a855f7 100%);
    background-size: 200% auto;
    color: var(--color-text-bright);
    animation: gradientSweep 4s infinite linear;
}

.btn-support-execute:hover {
    box-shadow: 0 5px 25px rgba(6, 182, 212, 0.35);
    transform: translateY(-2px);
}

@keyframes gradientSweep {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.terms-text {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-align: center;
    line-height: 1.4;
}

/* --- Metrics / Telemetry Section --- */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.metric-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.metric-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    color: var(--color-text-bright);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    margin-bottom: 4px;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Live Terminal Log Monitor */
.log-monitor {
    border-radius: 12px;
    overflow: hidden;
}

.monitor-header {
    background: rgba(18, 18, 28, 0.85);
    padding: 12px 20px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.monitor-header .title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-normal);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.monitor-header .title i {
    color: var(--color-accent);
}

.monitor-header .status-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.monitor-header .status-badge .dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

.flashing {
    animation: monitorFlash 0.7s infinite alternate;
}

@keyframes monitorFlash {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.monitor-body {
    background: rgba(5, 5, 8, 0.9);
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-entry {
    line-height: 1.4;
    white-space: pre-wrap;
    animation: logFadeIn 0.3s ease-out;
}

@keyframes logFadeIn {
    0% { opacity: 0; transform: translateX(-5px); }
    100% { opacity: 1; transform: translateX(0); }
}

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

.log-entry .info {
    color: var(--color-accent);
}

.log-entry .success {
    color: var(--color-secondary);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--color-border);
    background: rgba(6, 6, 9, 0.95);
    padding: 4rem 2rem 2rem;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-text-bright);
    letter-spacing: 2px;
}

.footer-brand .motto {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-group h4 {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.link-group a {
    font-size: 0.85rem;
    color: var(--color-text-normal);
}

.link-group a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.footer-node-id {
    font-family: var(--font-mono);
}

/* --- Modals Overlay & Content Sheets --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid var(--color-border-glow);
    border-radius: 16px;
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(168, 85, 247, 0.1);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: none;
}

.modal-overlay.active .modal-card.active {
    transform: scale(1);
    display: block;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.5rem;
}

.modal-badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: var(--color-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    align-self: flex-start;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.modal-badge-secondary {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.3);
    color: var(--color-accent);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    align-self: flex-start;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.modal-title {
    font-size: 1.5rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 2.5rem;
}

.modal-desc-panel {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.modal-desc-panel h4 {
    font-size: 0.85rem;
    color: var(--color-secondary);
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.modal-desc-panel p {
    font-size: 0.9rem;
    color: var(--color-text-normal);
}

.modal-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.modal-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.modal-list li i {
    margin-top: 3px;
    color: var(--color-secondary);
}

.changelog-text {
    font-family: var(--font-mono);
    font-size: 0.75rem !important;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    padding: 12px;
    border-radius: 6px;
    color: var(--color-text-muted) !important;
}

.modal-meta-panel {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
}

.meta-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 10px;
}

.meta-box:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.meta-box .label {
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.meta-box .value {
    color: var(--color-text-bright);
    font-weight: 500;
}

/* --- Download Toast Notification --- */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    max-width: 380px;
    width: calc(100vw - 48px);
    pointer-events: none;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast-container.active {
    pointer-events: auto;
    transform: translateY(0);
    opacity: 1;
}

.toast-card {
    padding: 1.2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(6, 182, 212, 0.3);
}

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

.toast-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-bright);
    letter-spacing: 1px;
}

.toast-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
}

.toast-close:hover {
    color: var(--color-accent);
}

.toast-body p {
    font-size: 0.8rem;
    color: var(--color-text-normal);
    margin-bottom: 12px;
}

.progress-bar-container {
    height: 6px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid var(--color-border);
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    box-shadow: 0 0 8px var(--color-secondary-glow);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-secondary);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 992px) {
    .support-grid-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .reactor-container {
        margin: 0 auto 0.5rem;
    }
    
    .support-info {
        text-align: center;
    }
    
    .trust-badge {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(6, 6, 9, 0.98);
        backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--glass-border);
        padding: 1.5rem 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-status-badge {
        margin-left: auto;
        margin-right: 1.5rem;
    }

    .main-content {
        padding: 5.5rem 1.2rem 3rem;
        gap: 4.5rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }

    .support-card {
        padding: 1.8rem;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-card {
        padding: 1.5rem;
    }
    
    .modal-close {
        top: 16px;
        right: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .footer-links {
        justify-content: space-between;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- App Screenshot Styling --- */
.screenshot-container {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.2);
}

.app-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
    opacity: 0.85;
}

.app-screenshot:hover {
    transform: scale(1.01);
    opacity: 1;
}

/* --- Request Application Form Styles --- */
.request-section {
    padding: 1rem 0;
}

.request-card {
    padding: 3rem;
}

.request-header-group {
    margin-bottom: 2.5rem;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-normal);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 10px 16px;
    transition: var(--transition-smooth);
}

.input-wrapper i {
    color: var(--color-text-muted);
    margin-right: 12px;
    font-size: 0.9rem;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    background: none;
    border: none;
    outline: none;
    color: var(--color-text-bright);
    font-family: var(--font-body);
    font-size: 0.9rem;
    width: 100%;
}

.input-wrapper textarea {
    resize: none;
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 24px;
}

.input-wrapper:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

.input-wrapper:focus-within i {
    color: var(--color-secondary);
    text-shadow: 0 0 5px var(--color-secondary-glow);
}

.text-area-wrapper {
    align-items: flex-start;
}

.text-area-wrapper i {
    margin-top: 4px;
}

/* Submit Button Override */
.btn-request-submit {
    margin-top: 1rem;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-request-submit:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-text-bright);
    box-shadow: 0 5px 25px rgba(6, 182, 212, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Transmission status HUD console */
.transmission-status-hud {
    background: rgba(5, 5, 8, 0.95);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    margin-top: 2rem;
    overflow: hidden;
    display: none; /* Shown dynamically by JS */
}

.transmission-status-hud.active {
    display: block;
    animation: slideDownFade 0.4s ease-out;
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hud-header {
    background: rgba(18, 18, 28, 0.9);
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 1px;
}

.hud-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-secondary);
}

.pulsing-cyan {
    animation: statusPulse 1.8s infinite alternate;
}

.hud-body {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-normal);
    max-height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .request-card {
        padding: 1.8rem;
    }
}

/* --- Card Screenshot Styling --- */
.card-screenshot-container {
    width: 100%;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.card-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.software-card:hover .card-screenshot {
    opacity: 1;
    transform: scale(1.03);
}

/* --- Web Utilities Section Styles --- */
.utilities-section {
    padding: 1rem 0;
}

.utilities-card {
    padding: 3rem;
}

.utilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.tool-panel {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    transition: var(--transition-smooth);
}

.tool-panel:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-icon {
    font-size: 1.3rem;
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary-glow);
}

.tool-title {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.tool-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.telemetry-display {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.telemetry-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.telemetry-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tel-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.tel-value {
    color: var(--color-text-bright);
    text-align: right;
    word-break: break-all;
    max-width: 60%;
}

.tel-highlight {
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary-glow);
    font-weight: 700;
}

.btn-tool-execute {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 12px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-tool-execute:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-text-bright);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.35);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Placeholder card for future tools */
.placeholder-slot {
    border: 1px dashed var(--color-border);
    background: rgba(255, 255, 255, 0.01);
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-muted);
    cursor: not-allowed;
}

.placeholder-slot:hover {
    border-color: var(--color-border);
    box-shadow: none;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 300px;
}

.placeholder-content i {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: statusPulse 3s infinite alternate ease-in-out;
}

.placeholder-content h4 {
    font-size: 0.95rem;
    color: var(--color-text-normal);
}

.placeholder-content p {
    font-size: 0.75rem;
}

@media (max-width: 992px) {
    .utilities-grid {
        grid-template-columns: 1fr;
    }
}
