:root {
    --primary-bg: #0a0e17;
    --secondary-bg: #111625;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --shield-blue: #0078d4;
    --success-green: #10b981;
    --danger-red: #ef4444;
    --warning-yellow: #f59e0b;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.top-left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
}

.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

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

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--shield-blue), var(--accent-blue));
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn.glow {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 32px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a:not(.btn) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding-top: 110px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-text .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    gap: 12px;
}

.badge {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual - Mockup */
.hero-visual {
    perspective: 1000px;
}

.window-mockup {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    background: rgba(17, 22, 37, 0.6);
    min-height: 400px;
}

.window-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    padding: 12px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.window-header .title {
    margin-left: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.window-body {
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Window Mockup - Windows Style */
.window-header.windows-style {
    justify-content: space-between;
    padding: 0;
    height: 40px;
    background: transparent;
    /* Hybrid: let the glass background show */
}

.header-left {
    display: flex;
    align-items: center;
    padding-left: 12px;
    gap: 10px;
}

.window-icon {
    width: 16px;
    height: 16px;
}

.window-header .title {
    margin-left: 0;
    font-size: 0.8rem;
    color: #e5e5e5;
    font-weight: 400;
}

.header-controls {
    display: flex;
    height: 100%;
}

.control {
    width: 46px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: background 0.2s;
    cursor: default;
}

.control:hover {
    background: rgba(255, 255, 255, 0.1);
}

.control.close:hover {
    background: #e81123;
    color: white;
}

/* Detailed Dashboard Body */
.dashboard-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(to bottom right, #0a1120, #0f172a);
    align-items: stretch;
}

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

.dash-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dash-logo-img {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.dash-title-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dash-title-text small {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-status-actions {
    display: flex;
    gap: 15px;
}

.dash-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.dash-btn .btn-icon {
    font-size: 1.2rem;
    margin-bottom: 6px;
    line-height: 1;
}

.dash-btn .btn-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.dash-btn.pause {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #cbd5e1;
}

.dash-btn.pause:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.dash-btn.protected {
    background: #10b981;
    color: #064e3b;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    border: none;
}

.dash-btn.protected:hover {
    background: #34d399;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5);
}

/* Dashboard Grid */
.dash-content-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
    flex: 1;
}

.dash-panel {
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.4);
}

.panel-header {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Arsenal Grid */
.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.arsenal-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.2s;
}

.arsenal-item:hover,
.arsenal-item.active {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.arsenal-item .icon {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.arsenal-item .label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #e2e8f0;
}

.arsenal-item .sub {
    font-size: 0.7rem;
    color: #64748b;
}

/* Monitoring List */
.monitoring-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.monitor-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 6px;
    border-left: 3px solid transparent;
}

.monitor-row:hover {
    background: rgba(30, 41, 59, 0.8);
}

.monitor-row .m-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 1rem;
}

.monitor-row .m-info {
    flex: 1;
}

.m-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.m-desc {
    font-size: 0.75rem;
    color: #64748b;
}

.m-status {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 700;
}

.m-status.ok {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
}

.m-status.danger {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.status-ring {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid var(--success-green);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.stat .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat .value {
    font-weight: 700;
}

.value.ok {
    color: var(--success-green);
}

/* Features */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}


.feature-card .feature-title {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
}


.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Gallery / Screenshots */
.alt-bg {
    background: var(--secondary-bg);
}

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

.gallery-item {
    overflow: hidden;
}

.gallery-content {
    height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--glass-border);
}

.gallery-content.placeholder {
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item .caption {
    padding: 15px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-main);
}

/* Technical */
.tech-content {
    display: flex;
    padding: 50px;
    gap: 60px;
    align-items: center;
}

.tech-text {
    flex: 2;
}

.tech-text h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.tech-list {
    list-style: none;
}

.tech-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
}

.tech-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.tech-list strong {
    color: var(--text-main);
}

.tech-badges {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tech-badge {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.tech-badge .count {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--success-green), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Download CTA */
.download-cta {
    padding: 120px 0;
}

.download-cta h2 {
    margin-bottom: 16px;
    font-size: 2.5rem;
}

.download-cta p {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.requirements-text {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted) !important;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 60px;
    background: #05070a;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #4b5563;
    font-size: 0.9rem;
}

.legal-disclaimer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    padding: 10px;
    border-left: 2px solid #334155;
    background: rgba(255, 255, 255, 0.02);
}

.legal-disclaimer strong {
    color: #94a3b8;
}

/* Changelog */
.changelog-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

.changelog-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.changelog-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.version-tag {
    background: var(--accent-blue);
    color: white;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
}

.date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.changelog-list {
    padding: 30px;
    list-style: none;
}

.changelog-list li {
    margin-bottom: 15px;
    padding-left: 24px;
    position: relative;
}

.changelog-list li::before {
    content: "•";
    color: var(--success-green);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.changelog-footer {
    padding: 20px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

/* Requirements Box */
.requirements-box {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.requirements-box p {
    margin-bottom: 5px !important;
}

.dotnet-link {
    color: var(--accent-purple);
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-purple);
}

.dotnet-link:hover {
    color: #dac4ff;
    border-color: #dac4ff;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .window-mockup {
        transform: none;
        margin-top: 40px;
    }

    .tech-content {
        flex-direction: column;
    }

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

    .nav-links {
        display: none;
    }

    /* In a real app we'd add a hamburger menu */
    .changelog-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}