:root {
    --bg-color: #0d1117;
    --primary-color: #00ff41;
    --secondary-color: #ff9d00;
    --text-color: #e6edf3;
    --border-color: rgba(0, 255, 65, 0.3);
    --faint-accent: rgba(0, 255, 65, 0.05);
    --font-mono: 'Courier New', Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-mono);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Tactical Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('tactical_background_1769203336936.png') no-repeat center center/cover;
    opacity: 0.4;
    z-index: -2;
}

/* Grid Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

/* Scanline Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(18, 16, 16, 0) 50%,
            rgba(0, 0, 0, 0.25) 50%),
        linear-gradient(90deg,
            rgba(255, 0, 0, 0.06),
            rgba(0, 255, 0, 0.02),
            rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--primary-color);
    position: relative;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    padding: 4rem 2rem;
    border: 1px solid var(--border-color);
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 4rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #8b949e;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-download {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.btn-download:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
    transform: translateY(-2px);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.feature-card {
    padding: 2rem;
    border: 1px solid var(--border-color);
    background: rgba(13, 17, 23, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.1);
}

.feature-card::before {
    content: '[STATUS: ACTIVE]';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.7rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card p {
    font-size: 0.95rem;
    color: #8b949e;
}

/* Status Panel (Mockup look) */
.status-panel {
    border: 1px solid var(--secondary-color);
    padding: 1rem;
    background: rgba(255, 157, 0, 0.05);
    margin-top: 4rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
    opacity: 0.8;
}

.status-item span {
    color: var(--secondary-color);
    margin-right: 5px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes flicker {
    0% {
        opacity: 0.1;
    }

    50% {
        opacity: 0.2;
    }
}

/* Corners utility */
.corners {
    position: relative;
}

.corner {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid var(--primary-color);
    pointer-events: none;
}

.top-left {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.top-right {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.bottom-left {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.bottom-right {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 6px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Password Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    /* Controlled by JS */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    width: 100%;
    max-width: 500px;
    padding: 3rem;
    border: 1px solid var(--primary-color);
    background: var(--bg-color);
    text-align: center;
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-header h2 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.5rem;
}

.password-input-group {
    margin-bottom: 2rem;
}

.password-input {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 10px;
}

.password-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
}

.modal-actions {
    display: flex;
    gap: 1rem;
}

.btn-verify,
.btn-cancel {
    flex: 1;
    padding: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    font-family: var(--font-mono);
}

.btn-verify {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-verify:hover {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-cancel {
    background: transparent;
    border: 1px solid #444;
    color: #888;
}

.btn-cancel:hover {
    border-color: #666;
    color: #ccc;
}

.verification-status {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    height: 1.2rem;
}

.status-error {
    color: #ff4444;
}

.status-success {
    color: var(--primary-color);
}