:root {
    --bg-base: #06080c;
    --cyan-glow: #00f0ff;
    --purple-glow: #b500ff;
    --text-main: #ffffff;
    --text-muted: #9aa0a6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.4;
}

/* --- BACKGROUNDS --- */
.hero-bg-wrapper {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 900px;
    z-index: -1;
    background-image: 
        linear-gradient(to bottom, transparent 60%, var(--bg-base) 100%),
        radial-gradient(circle at 20% 30%, rgba(0, 240, 255, 0.15), transparent 40%),
        radial-gradient(circle at 80% 25%, rgba(181, 0, 255, 0.15), transparent 40%),
        url('hero-bg.jpg');
    background-size: cover;
    background-position: center top;
}

#three-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.page-content { position: relative; z-index: 10; }

/* --- HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 5%;
    width: 100%;
    background: transparent;
    position: absolute;
    top: 0; z-index: 1000;
}

.logo { font-size: 1.2rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; text-decoration: none; color: white; }

nav { display: flex; gap: 30px; }
nav a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; transition: 0.3s; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
nav a:hover, nav a.active { color: var(--text-main); }

/* --- HERO --- */
.hero { text-align: center; padding: 130px 0 80px 0; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 6rem; font-weight: 500; letter-spacing: 2px; margin-bottom: 10px; }
.hero p { font-size: 0.9rem; letter-spacing: 4px; color: var(--text-main); text-transform: uppercase; opacity: 0.8; }

/* --- SECTIONS --- */
.section-title { text-align: center; font-size: 0.7rem; color: var(--cyan-glow); text-transform: uppercase; letter-spacing: 5px; margin-bottom: 50px; font-weight: 900; }

/* --- CARDS --- */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    padding: 0 5%;
    max-width: 1600px;
    margin: 0 auto 100px auto;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: 0.4s;
    text-decoration: none;
    color: inherit;
}
.card:hover { transform: translateY(-10px); border-color: var(--cyan-glow); }

.tag { 
    font-size: 0.85rem; 
    padding: 8px 18px; 
    border-radius: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    font-weight: 800; 
    margin-bottom: 10px; 
    display: inline-flex;
    width: fit-content;
}
.tag.vpn { background: rgba(0, 240, 255, 0.15); color: var(--cyan-glow); box-shadow: 0 0 15px rgba(0, 240, 255, 0.2); }
.tag.admin { background: rgba(181, 0, 255, 0.15); color: var(--purple-glow); box-shadow: 0 0 15px rgba(181, 0, 255, 0.2); }
.tag.proxy { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

.card h2 { font-size: 1.8rem; font-weight: 600; line-height: 1.2; margin-bottom: 10px; font-family: 'Playfair Display', serif; }
.card-desc { font-size: 0.95rem; color: #ced4da; line-height: 1.6; flex-grow: 1; }

.btn-action {
    display: inline-block; padding: 12px 24px; background: transparent; 
    color: #fff; text-decoration: none; border: 1px solid var(--cyan-glow); 
    border-radius: 4px; font-size: 0.75rem; font-weight: 800; 
    text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
    margin-top: 10px; text-align: center;
}
.btn-action:hover { 
    background: var(--btn-accent, var(--cyan-glow)); 
    color: #000; 
    box-shadow: 0 0 40px var(--btn-accent, var(--cyan-glow)); 
}

/* --- ABOUT --- */
.about-section { padding: 120px 5%; max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); }
.about-title { font-size: 3.5rem; font-family: 'Playfair Display', serif; margin-bottom: 30px; }
.about-text { font-size: 1.1rem; color: #9aa0a6; line-height: 1.8; }
.about-highlight { color: var(--cyan-glow); font-weight: 600; }

.skills-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.skill-item { padding: 12px 20px; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; font-size: 0.8rem; color: #fff; font-weight: 600; }

.results-grid {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-top: 20px; 
    padding: 20px; 
    background: rgba(255,255,255,0.03); 
    border-radius: 8px;
}

/* --- RESPONSIVE (MOBILE) --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4.5rem; }
    .about-section { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-title { font-size: 2.8rem; }
    .skills-grid { justify-content: center; }
}

@media (max-width: 768px) {
    header { padding: 20px 5%; flex-direction: column; gap: 15px; text-align: center; position: relative; background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); }
    nav { gap: 20px; }
    .hero { padding: 80px 5% 60px 5%; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 0.75rem; letter-spacing: 2px; }
    .cards-container { grid-template-columns: 1fr; padding: 0 5%; }
    .card { padding: 30px 20px; }
    .card h2 { font-size: 1.6rem; }
    .results-grid { grid-template-columns: 1fr; gap: 15px; }
    .section-title { font-size: 0.6rem; letter-spacing: 3px; }
    .about-title { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 0.7rem; }
    .about-title { font-size: 1.8rem; }
}
