/* --- Universal Styles & Variables --- */
:root {
    --primary-pink: #F000B0;
    --primary-purple: #9D00FF;
    --primary-cyan: #00D1FF;
    --dark-bg: #10121a;
    --light-grey: #c0c0c0;
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Share Tech Mono', monospace;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--primary-cyan);
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- Animated Background Effects --- */
.background-effects {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2; pointer-events: none;
}
.background-effects::before { /* Horizontal Scanlines */
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient( to bottom, transparent 0px, transparent calc(40px - 1px), rgba(0, 209, 255, 0.09) calc(40px - 1px), rgba(0, 209, 255, 0.09) 40px );
    background-size: 100% 40px; animation: animate-scanlines 25s linear infinite;
}
.background-effects::after { /* Vertical Grid */
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient( to right, transparent 0px, transparent calc(60px - 1px), rgba(157, 0, 255, 0.07) calc(60px - 1px), rgba(157, 0, 255, 0.07) 60px );
    background-size: 60px 100%; animation: animate-vertical-lines 35s linear infinite;
}
body::after { /* Hexagonal Overlay */
    content: ""; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: linear-gradient(rgba(240, 0, 176, 0.04) 1px, transparent 1px), linear-gradient(60deg, rgba(240, 0, 176, 0.04) 1px, transparent 1px), linear-gradient(120deg, rgba(240, 0, 176, 0.04) 1px, transparent 1px);
    background-size: 34px 60px; opacity: 0.7; pointer-events: none;
}
@keyframes animate-scanlines { from { background-position: 0 0; } to { background-position: 0 1000px; } }
@keyframes animate-vertical-lines { from { background-position: 0 0; } to { background-position: 1200px 0; } }

/* --- Header & Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(16, 18, 26, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-pink);
    box-shadow: 0 0 15px var(--primary-pink);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

.nav-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-pink);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-cyan);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-pink);
    text-shadow: 0 0 8px var(--primary-pink);
}

.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease-in-out; background-color: var(--primary-cyan); }

/* --- Main Content & Typography --- */
.content-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    border: 2px solid var(--primary-purple);
    box-shadow: 0 0 10px var(--primary-purple), 0 0 5px var(--primary-purple) inset;
    background-color: rgba(16, 18, 26, 0.88);
    border-radius: 8px;
}

.page-title {
    font-family: var(--font-title);
    color: var(--primary-purple);
    text-shadow: 0 0 8px var(--primary-purple);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

p {
    line-height: 1.7;
    color: var(--light-grey);
    margin-bottom: 1rem;
}

/* --- Homepage Specific --- */
.hero-section { text-align: center; padding: 4rem 1rem; }
.main-title { font-family: var(--font-title); font-size: 3rem; color: var(--primary-pink); text-shadow: 0 0 10px var(--primary-pink); margin-bottom: 1rem; }
.subtitle-text { font-size: 1.2rem; color: var(--light-grey); max-width: 700px; margin: 0 auto 2rem auto; }
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-family: var(--font-title);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px var(--primary-cyan), 0 0 4px var(--primary-cyan) inset;
}
.cta-button:hover { background-color: var(--primary-cyan); color: var(--dark-bg); box-shadow: 0 0 15px var(--primary-cyan); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 4rem; }
.info-card { text-align: center; padding: 2rem; border: 1px solid var(--primary-purple); border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-5px); box-shadow: 0 0 15px var(--primary-purple); }
.card-icon { font-size: 3rem; color: var(--primary-pink); margin-bottom: 1rem; }
.card-title { font-family: var(--font-title); font-size: 1.5rem; color: var(--primary-cyan); margin-bottom: 0.5rem; }

/* --- Other Pages --- */
.page-layout { padding: 1rem; }
.text-block { max-width: 800px; margin: 0 auto; }
.service-list { display: flex; flex-direction: column; gap: 2rem; }
.service-item { padding: 1.5rem; border-left: 3px solid var(--primary-pink); background-color: rgba(0, 209, 255, 0.05); }
.service-item h3 { font-family: var(--font-title); color: var(--primary-cyan); margin-bottom: 0.5rem; }

/* --- Contact Form --- */
.contact-form { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 0.5rem; color: var(--primary-pink); }
.form-group input, .form-group textarea {
    background-color: rgba(0,0,0,0.3);
    border: 1px solid var(--primary-purple);
    padding: 0.8rem;
    color: var(--light-grey);
    border-radius: 4px;
    font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus { outline: none; box-shadow: 0 0 10px var(--primary-purple); border-color: var(--primary-cyan); }
.contact-form button { align-self: flex-start; }

/* --- Footer --- */
.site-footer { text-align: center; padding: 2rem; margin-top: 2rem; color: #666; font-size: 0.9rem; }

/* --- Glitch Effect --- */
.glitch { position: relative; }
.glitch::before, .glitch::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--dark-bg); overflow: hidden;
}
.glitch::before { left: 2px; text-shadow: -1px 0 var(--primary-pink); animation: glitch-anim-1 2.5s infinite linear alternate-reverse; }
.glitch::after { left: -2px; text-shadow: -1px 0 var(--primary-cyan); animation: glitch-anim-2 2.5s infinite linear alternate-reverse; }
@keyframes glitch-anim-1 {
  0% { clip-path: inset(3% 0 95% 0); } 20% { clip-path: inset(89% 0 8% 0); }
  40% { clip-path: inset(46% 0 48% 0); } 60% { clip-path: inset(91% 0 8% 0); }
  80% { clip-path: inset(15% 0 78% 0); } 100% { clip-path: inset(62% 0 31% 0); }
}
@keyframes glitch-anim-2 {
  0% { clip-path: inset(80% 0 1% 0); } 20% { clip-path: inset(18% 0 72% 0); }
  40% { clip-path: inset(93% 0 3% 0); } 60% { clip-path: inset(36% 0 58% 0); }
  80% { clip-path: inset(4% 0 87% 0); } 100% { clip-path: inset(77% 0 15% 0); }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Height of navbar */
        flex-direction: column;
        background-color: rgba(16, 18, 26, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }
    .nav-menu.active { left: 0; }
    .nav-item { padding: 1.5rem 0; }
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .main-title { font-size: 2.5rem; }
    .page-title { font-size: 2rem; }
}
