/* ==========================================================================
   WENDEL DOWNLOAD - CYBER PIRATE THEME STYLESHEET (CLOUDFLARE PAGES)
   ZERO EMOJIS - OBSIDIAN, NEON CRIMSON, CYBER CYAN & GOLD
   ========================================================================== */

:root {
    --bg-dark: #05080c;
    --bg-card: #0c121c;
    --bg-card-hover: #131c2b;
    --bg-input: #070b11;
    --bg-terminal: #040609;
    
    --border-card: #182333;
    --border-crimson: #991b1b;
    --border-neon-red: #ef4444;
    --border-neon-cyan: #00f0ff;
    
    --crimson: #dc2626;
    --crimson-hover: #ef4444;
    --gold: #f59e0b;
    --gold-light: #fbbf24;
    --cyan: #00f0ff;
    --emerald: #10b981;
    
    --text-white: #f8fafc;
    --text-silver: #94a3b8;
    --text-gray: #475569;
    
    --font-heading: 'Cinzel', serif, Georgia;
    --font-mono: 'JetBrains Mono', monospace, Consolas, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-mono);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Cyber Grid & Scanline Atmosphere */
.cyber-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(153, 27, 27, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.3)
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
    opacity: 0.3;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Top HUD Bar */
.hud-top-bar {
    background: #020406;
    border-bottom: 1px solid #141c28;
    padding: 6px 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hud-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hud-item {
    color: var(--text-silver);
}

.hud-glow {
    color: var(--emerald);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.hud-gold {
    color: var(--gold-light);
}

/* Navbar */
.navbar {
    border-bottom: 1px solid var(--border-card);
    background: rgba(8, 12, 19, 0.88);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.6));
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-white);
}

.badge-pirate {
    font-size: 0.7rem;
    color: var(--gold-light);
    background: var(--bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-crimson);
    display: block;
}

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

.nav-links a {
    color: var(--text-silver);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--cyan);
}

.btn-nav {
    background: var(--crimson);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid var(--border-neon-red);
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.35);
    transition: all 0.2s !important;
}

.btn-nav:hover {
    background: var(--crimson-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6);
}

/* Hero */
.hero {
    padding: 70px 0 50px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.85rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 880px;
    color: var(--text-white);
    text-shadow: 0 0 35px rgba(220, 38, 38, 0.35);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-silver);
    max-width: 720px;
    margin-bottom: 30px;
}

.hero-desc strong {
    color: var(--gold-light);
}

.version-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-crimson);
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-silver);
    margin-bottom: 36px;
    box-shadow: 0 0 15px rgba(153, 27, 27, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Download Grid */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 700px;
    margin-bottom: 16px;
}

.btn-download {
    background: var(--bg-card);
    border: 2px solid var(--border-card);
    border-radius: 10px;
    padding: 20px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
}

.btn-windows:hover {
    border-color: var(--crimson);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

.btn-linux:hover {
    border-color: var(--cyan);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.25);
}

.btn-os {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-light);
}

.btn-action {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

.download-note {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Cyber Shell Terminal Section */
.terminal-section {
    padding: 30px 0 50px;
}

.terminal-window {
    background: var(--bg-terminal);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(153, 27, 27, 0.15);
}

.terminal-header {
    background: #080d14;
    border-bottom: 1px solid var(--border-card);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.terminal-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-silver);
    letter-spacing: 1px;
}

.terminal-body {
    padding: 20px;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.t-line {
    color: var(--text-silver);
}
.t-prompt { color: var(--crimson); font-weight: 700; }
.t-cyan { color: var(--cyan); font-weight: 700; }
.t-green { color: var(--emerald); font-weight: 700; }
.t-gold { color: var(--gold-light); font-weight: 700; }
.t-crimson { color: var(--crimson-hover); font-weight: 700; }

/* Features */
.features {
    padding: 60px 0;
    border-top: 1px solid var(--border-card);
    background: rgba(8, 12, 19, 0.5);
}

.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--gold-light);
    letter-spacing: 1px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 10px;
    padding: 30px 24px;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-crimson);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

.card-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--crimson);
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text-white);
}

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

/* Footer */
.footer {
    border-top: 1px solid var(--border-card);
    padding: 32px 0;
    background: var(--bg-dark);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.copyright {
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .nav-links { display: none; }
}
