/* =========================================================
   FORGE MVP - TACTICAL CODE & DEVELOPMENT
   ========================================================= */

:root {
    --bg-dark: #0a0b10;
    --bg-panel: rgba(20, 22, 31, 0.8);
    --accent-blue: #00e5ff;
    --accent-blue-glow: rgba(0, 229, 255, 0.4);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(30, 41, 59, 0.8);
    --transition: 0.3s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', system-ui, sans-serif; }

html { background-color: var(--bg-dark); }
body { background-color: transparent; color: var(--text-main); line-height: 1.6; overflow-x: hidden; }

/* === GLOBALNE WIDEO TŁO === */
.global-video-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.35;
}
.global-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 11, 16, 0.4) 0%, rgba(10, 11, 16, 0.95) 100%);
    z-index: -1;
}

/* === NAWIGACJA === */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(10, 11, 16, 0.85); backdrop-filter: blur(15px); border-bottom: 1px solid var(--border-color); z-index: 1000; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; color: var(--text-main); text-decoration: none; }
.logo span { color: var(--accent-blue); text-shadow: 0 0 10px var(--accent-blue-glow); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition); }
.nav-links a:hover { color: var(--accent-blue); }
.lang-switch { border-left: 1px solid var(--border-color); padding-left: 1rem; display: flex; gap: 1rem; }

/* === HERO SECTION === */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 120px 20px 40px 20px; }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; text-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.hero-title .highlight { color: transparent; -webkit-text-stroke: 1px var(--accent-blue); text-shadow: 0 0 15px var(--accent-blue-glow); }
.hero-subtitle { font-size: 1.1rem; color: #cbd5e1; max-width: 650px; margin-bottom: 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }

/* === KONTENER PROJEKTOWY (GENERATOR + SZKICOWNIK) === */
.canvas-container { width: 100%; max-width: 850px; background: var(--bg-panel); backdrop-filter: blur(15px); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px; box-shadow: 0 20px 50px rgba(0,0,0,0.8); text-align: left; }
.canvas-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.canvas-title { font-size: 0.95rem; font-weight: 600; color: var(--accent-blue); display: flex; align-items: center; gap: 10px; }
.canvas-title::before { content: ''; display: block; width: 8px; height: 8px; background: var(--accent-blue); border-radius: 50%; box-shadow: 0 0 8px var(--accent-blue); animation: pulse 2s infinite; }
#sketchpad { width: 100%; height: 350px; background: rgba(255, 255, 255, 0.95); border-radius: 8px; cursor: crosshair; touch-action: none; }
.canvas-controls { display: flex; justify-content: space-between; margin-top: 15px; gap: 10px; }

/* === PRZYCISKI === */
.btn { display: inline-block; padding: 12px 24px; border: none; border-radius: 6px; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition); text-align: center; text-decoration: none; }
.btn-outline { background: rgba(0,0,0,0.5); border: 1px solid var(--border-color); color: var(--text-muted); }
.btn-outline:hover { border-color: var(--accent-blue); color: var(--accent-blue); box-shadow: 0 0 10px var(--accent-blue-glow); }
.btn-primary { background: var(--accent-blue); color: #000; box-shadow: 0 0 15px var(--accent-blue-glow); border: 1px solid var(--accent-blue); }
.btn-primary:hover { background: #00c3d9; transform: translateY(-2px); box-shadow: 0 5px 25px var(--accent-blue-glow); border-color: #00c3d9; }

/* === SEKCJE I KARTY === */
.section { padding: 80px 5%; max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }
.section-title { font-size: 2.2rem; text-align: center; margin-bottom: 3rem; text-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }

.card { background: var(--bg-panel); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border-color); padding: 30px; border-radius: 12px; transition: var(--transition); position: relative; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card:hover { border-color: var(--accent-blue); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,229,255,0.15); }
.card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); }
.card p { color: var(--text-muted); font-size: 0.9rem; }
.card-price { font-size: 2rem; font-weight: 800; color: var(--accent-blue); margin: 1.2rem 0; text-shadow: 0 0 15px rgba(0,229,255,0.3); }

/* === OPSEC BANNER === */
.opsec-banner { background: linear-gradient(90deg, rgba(5, 16, 26, 0.9) 0%, rgba(10, 30, 47, 0.9) 100%); backdrop-filter: blur(10px); border-left: 4px solid var(--accent-blue); padding: 40px; border-radius: 8px; margin: 40px auto; max-width: 900px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; z-index: 10; }
.opsec-banner h3 { color: var(--accent-blue); font-size: 1.4rem; margin-bottom: 10px; }

/* === ANIMACJE === */
@keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 229, 255, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); } }

/* === MOBILE === */
@media (max-width: 768px) {
    .hero { padding-top: 100px; }
    .hero-title { font-size: 2.3rem; }
    .nav-links { display: none; }
    #sketchpad { height: 280px; }
    .canvas-controls { flex-direction: column; }
}