/* --- RESET & VARS --- */
:root {
    --bg: #050505;
    --surface: #0a0a0a;
    --surface-highlight: #141414;
    --primary: #CCFF00; /* Acid Green */
    --secondary: #bd00ff; /* Cyber Purple */
    --accent: #00f0ff; /* Cyan */
    --text: #ffffff;
    --text-dim: #888888;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --padding-section: 120px 0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-heading);
    overflow-x: hidden;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;700&family=Space+Grotesk:wght@300;500;700&display=swap');

h1, h2, h3, h4 { font-weight: 700; text-transform: uppercase; letter-spacing: -1px; }
h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}
h2::after {
    content: ''; display: block; width: 100%; height: 4px;
    background: var(--primary); transform: scaleX(0);
    transform-origin: right; transition: transform 0.5s ease;
}
h2:hover::after { transform: scaleX(1); transform-origin: left; }
p {
    font-family: var(--font-mono); line-height: 1.8;
    color: var(--text-dim); font-size: 1rem; margin-bottom: 1.5rem;
}
.highlight { color: var(--primary); }
.accent { color: var(--secondary); }
.cyan { color: var(--accent); }

/* --- UTILITIES --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: var(--padding-section); border-bottom: 1px solid #111; }
.btn {
    display: inline-block; padding: 16px 40px; background: transparent;
    border: 1px solid var(--primary); color: var(--primary);
    font-family: var(--font-mono); font-weight: 700;
    text-decoration: none; text-transform: uppercase;
    letter-spacing: 1px; transition: 0.3s; position: relative;
    overflow: hidden; z-index: 1; cursor: pointer;
}
.btn::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--primary); z-index: -1; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:hover::before { width: 100%; }
.btn:hover { color: var(--bg); box-shadow: 0 0 30px rgba(204, 255, 0, 0.4); }

/* --- HEADER: TRANSPARENT, BIG LOGO & ALIGNED --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; 
    border-bottom: none;
    backdrop-filter: none; 
    /* Subtle gradient for readability */
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    height: 140px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo-img {
    height: 100px; /* Massive Logo */
    width: auto;
    filter: drop-shadow(0 0 15px rgba(204, 255, 0, 0.3));
    transition: transform 0.3s;
    flex-shrink: 0; 
}
.logo-img:hover { transform: scale(1.02); }

/* Desktop Nav Container */
nav.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Navigation Links */
nav.nav-menu a {
    color: #ffffff; 
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: 0.3s;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

nav.nav-menu a:not(.cta-btn-header):hover {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(204, 255, 0, 0.8);
}

nav.nav-menu a:not(.cta-btn-header)::before,
nav.nav-menu a:not(.cta-btn-header)::after {
    content: '[';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--primary);
    transition: 0.3s;
    font-weight: 300;
}

nav.nav-menu a:not(.cta-btn-header)::after {
    content: ']';
    left: auto;
    right: -20px;
}

nav.nav-menu a:not(.cta-btn-header):hover::before { opacity: 1; left: -15px; }
nav.nav-menu a:not(.cta-btn-header):hover::after { opacity: 1; right: -15px; }

nav.nav-menu a.active { color: var(--primary); }

/* CTA Button */
nav.nav-menu a.cta-btn-header {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    color: var(--primary);
    padding: 15px 40px;
    border: 1px solid var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-left: 20px;
    transform: skewX(-20deg); 
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
}

nav.nav-menu a.cta-btn-header span {
    display: block;
    transform: skewX(20deg);
}

nav.nav-menu a.cta-btn-header:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.6);
}

/* --- MOBILE HAMBURGER MENU --- */

/* 1. Default Desktop State (Hidden) */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 2000; 
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text);
    border-radius: 3px;
    box-shadow: 0 0 5px var(--primary);
}

/* 2. Mobile View (Max Width 1100px) */
@media(max-width: 1100px) {
    /* Header & Logo Adjustments */
    .nav-wrapper { padding: 0 20px; height: 100px; }
    .logo-img { height: 60px; }

    /* Show Hamburger */
    .hamburger { display: block; }

    /* Transform Hamburger when active */
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); background-color: var(--primary); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background-color: var(--primary); }

    /* Mobile Nav Container */
    nav.nav-menu {
        position: fixed;
        left: -100%; /* Hidden off-screen */
        top: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1500;
    }

    nav.nav-menu.active { left: 0; }

    nav.nav-menu ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    nav.nav-menu a { font-size: 2rem; }

    nav.nav-menu a.cta-btn-header {
        margin-left: 0;
        margin-top: 20px;
        font-size: 1.5rem;
        padding: 15px 50px;
    }
}

/* --- HERO & PAGES (SPACING ADJUSTED) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Pushed down to clear header */
    padding-top: 150px; 
    padding-bottom: 100px;
    position: relative;
    background: linear-gradient(rgba(5, 5, 5, 0.6), rgba(5, 5, 5, 0.8)),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Page Header for sub-pages */
.page-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 250px; 
    background: radial-gradient(circle at 50% 50%, rgba(189, 0, 255, 0.1), transparent 70%);
}

.hero-content { max-width: 900px; position: relative; z-index: 2; }
.hero h1, .page-header h1 {
    font-size: clamp(3.5rem, 9vw, 8.5rem); line-height: 0.9; margin-bottom: 30px;
}
.tagline {
    font-size: 1.2rem; color: #ccc; margin-bottom: 50px;
    border-left: 2px solid var(--primary); padding-left: 20px; max-width: 600px;
}

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.marquee {
    background: var(--primary); color: var(--bg); padding: 20px 0; overflow: hidden;
    white-space: nowrap; font-family: var(--font-mono); font-weight: 700;
    font-size: 1.5rem; transform: rotate(-1deg); width: 105%; margin-left: -2.5%;
    border-top: 3px solid #000; border-bottom: 3px solid #000;
}
.track { display: inline-block; animation: marquee 20s linear infinite; }

/* --- COMPONENT STYLES --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.stat-box { background: var(--surface); border: 1px solid #222; padding: 30px; margin-top: 20px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 700; color: var(--accent); display: block; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }
.benefit-item { border-left: 1px solid #333; padding-left: 20px; }
.benefit-item h3 { color: var(--text); font-size: 1.2rem; margin-bottom: 10px; }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2px; background: #222; border: 1px solid #222; }
.service-card { background: var(--bg); padding: 50px; transition: 0.4s; }
.service-card:hover { background: var(--surface); }
.service-icon { font-size: 2.5rem; margin-bottom: 20px; color: var(--primary); }

.process-steps { display: flex; flex-direction: column; gap: 40px; margin-top: 50px; }
.step { display: flex; gap: 30px; align-items: flex-start; }
.step-num { font-size: 4rem; font-weight: 700; color: rgba(255,255,255,0.05); line-height: 1; min-width: 100px; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.project { background: var(--surface); border: 1px solid #222; overflow: hidden; transition: transform 0.3s; }
.project:hover { transform: translateY(-5px); border-color: var(--primary); }
.project-img { width: 100%; height: 250px; background-size: cover; background-position: center; position: relative; }
.project-info { padding: 30px; }
.tags { display: flex; gap: 10px; margin-bottom: 15px; }
.tag { font-size: 0.75rem; font-family: var(--font-mono); padding: 5px 10px; border: 1px solid #333; color: var(--text-dim); text-transform: uppercase; }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 50px; }
.testimonial-card { background: #0f0f0f; padding: 40px; border-left: 4px solid var(--primary); }
.quote { font-size: 1.1rem; font-style: italic; margin-bottom: 20px; color: #ddd; }
.client-info { display: flex; align-items: center; gap: 15px; }
.client-avatar { width: 50px; height: 50px; background: #333; border-radius: 50%; }

.faq-item { border-bottom: 1px solid #222; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 30px 0; color: var(--text); font-family: var(--font-heading); font-size: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: '+'; font-size: 2rem; color: var(--primary); transition: 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding-right: 50px; }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 30px; }

/* --- CONTACT FORM & INPUTS --- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.form-group { margin-bottom: 30px; }
label { display: block; font-family: var(--font-mono); font-size: 0.8rem; margin-bottom: 10px; color: var(--primary); }

input, textarea, select {
    width: 100%;
    background: #111; 
    border: 1px solid #333;
    padding: 15px;
    color: #ffffff; 
    font-family: var(--font-mono);
    outline: none;
    transition: 0.3s;
    font-size: 1rem;
}

input::placeholder, textarea::placeholder {
    color: #666;
    opacity: 1;
}

/* FIX FOR INVISIBLE DROPDOWN TEXT */
select option {
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
}

/* --- WHO WE HELP (TARGET GRID) --- */
.target-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.target-item {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #333; /* Inactive grey */
    border: 1px solid #222;
    padding: 20px 40px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    background: rgba(255, 255, 255, 0.01);
}

.crosshair {
    font-size: 1rem;
    color: var(--secondary);
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0;
    transition: 0.3s;
}

.target-item:hover {
    color: var(--text);
    border-color: var(--primary);
    background: rgba(204, 255, 0, 0.05);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.target-item:hover .crosshair {
    opacity: 1;
}

@media (max-width: 768px) {
    .target-item { width: 100%; padding: 15px; }
}

footer { border-top: 1px solid #222; padding: 80px 0 30px; background: #000; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-dim); text-decoration: none; font-family: var(--font-mono); transition: 0.3s; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }
.copyright { text-align: center; border-top: 1px solid #111; padding-top: 30px; font-family: var(--font-mono); font-size: 0.8rem; color: #444; }

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes glitch {
    0% { transform: translate(0); } 20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); } 60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); } 100% { transform: translate(0); }
}

@media (max-width: 900px) {
    .about-grid, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
    .hero h1, .page-header h1 { font-size: 3rem; }
}

