:root {
    --bg-white: #F8F8F8;
    --text-black: #121212;
    --tech-blue: #2962FF;
    --grid-line: rgba(0, 0, 0, 0.05);
    
    --font-main: 'Montserrat', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Grid Background Effect */
.grid-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* Header */
.vector-header { padding: 30px 0; border-bottom: 2px solid #000; background: rgba(248, 248, 248, 0.95); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: 2px; color: var(--text-black); display: flex; align-items: center; gap: 10px; }
.icon-draw { font-size: 1.2rem; }
.blue { color: var(--tech-blue); }

.tech-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
.tech-nav a { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; }
.tech-nav a:hover, .tech-nav a.active { color: var(--tech-blue); text-decoration: underline; }

.btn-outline { border: 2px solid var(--text-black); padding: 10px 25px; font-weight: 700; font-family: var(--font-mono); font-size: 0.8rem; }
.btn-outline:hover { background: var(--text-black); color: white !important; }

/* Mobile Menu */
.mobile-menu-btn { display: none; font-family: var(--font-mono); font-weight: bold; cursor: pointer; border: 2px solid #000; padding: 5px 10px; }
.mobile-overlay { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg-white); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; border-left: 5px solid var(--tech-blue); }
.mobile-overlay.active { right: 0; }
.close-menu { position: absolute; top: 30px; right: 30px; background: none; border: 2px solid #000; font-family: var(--font-mono); padding: 5px 15px; cursor: pointer; font-weight: bold; }
.menu-links a { font-family: var(--font-main); font-weight: 800; font-size: 2.5rem; margin: 10px 0; color: var(--text-black); }
.menu-links a:hover { color: var(--tech-blue); -webkit-text-stroke: 1px black; color: transparent; }

/* Hero */
.hero-vector { height: 80vh; display: flex; align-items: center; border-bottom: 1px solid #ddd; }
.hero-split { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; }
.hero-text { padding-right: 50px; }
.code-tag { font-family: var(--font-mono); color: var(--tech-blue); display: block; margin-bottom: 20px; font-weight: 600; }
.hero-text h1 { font-size: 5rem; line-height: 0.9; margin-bottom: 30px; font-weight: 800; letter-spacing: -2px; }
.hero-text p { font-size: 1.2rem; margin-bottom: 40px; font-family: var(--font-mono); max-width: 500px; color: #555; }
.scroll-link { font-family: var(--font-mono); font-size: 0.9rem; border-bottom: 1px solid #000; padding-bottom: 5px; }

.blueprint-box { width: 300px; height: 300px; border: 2px solid var(--tech-blue); position: relative; margin: 0 auto; transform: rotate(45deg); }
.line { position: absolute; background: var(--tech-blue); }
.l1 { top: 20px; left: 0; width: 100%; height: 1px; }
.l2 { top: 0; left: 50px; width: 1px; height: 100%; }
.l3 { bottom: 40px; right: 0; width: 60%; height: 1px; }

/* Portfolio */
.section-label { display: flex; align-items: baseline; gap: 15px; margin-bottom: 60px; border-bottom: 2px solid #000; padding-bottom: 10px; }
.section-label span { font-family: var(--font-mono); font-weight: 700; color: var(--tech-blue); font-size: 1.2rem; }
.section-label h3 { font-size: 2rem; font-weight: 800; text-transform: uppercase; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.project-item { cursor: pointer; }
.img-holder { position: relative; overflow: hidden; margin-bottom: 20px; border: 1px solid #000; height: 300px; }
.img-holder img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.5s; }
.project-item:hover img { filter: grayscale(0%); transform: scale(1.05); }
.overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 10px; background: rgba(41, 98, 255, 0.9); color: white; font-family: var(--font-mono); font-size: 0.8rem; transform: translateY(100%); transition: 0.3s; }
.project-item:hover .overlay { transform: translateY(0); }
.project-item h4 { font-size: 1.5rem; font-weight: 800; margin-bottom: 5px; }
.project-item p { font-family: var(--font-mono); color: #666; font-size: 0.9rem; }

/* About & Contact */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.text-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; }
.blue-dash { width: 50px; height: 5px; background: var(--tech-blue); margin-bottom: 30px; }
.mono-text { font-family: var(--font-mono); color: var(--tech-blue); font-weight: 600; margin-bottom: 20px; }
.services-list ul { list-style: none; margin-top: 30px; border-left: 2px solid #000; padding-left: 20px; }
.services-list li { margin-bottom: 10px; font-family: var(--font-mono); font-weight: 600; }
.image-content img { width: 100%; border: 2px solid #000; box-shadow: 10px 10px 0 var(--tech-blue); }

.contact-blueprint { max-width: 800px; margin: 0 auto; border: 2px solid #000; padding: 50px; background: #fff; }
.contact-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid #ddd; padding-bottom: 20px; }
.contact-details { margin-top: 20px; font-family: var(--font-mono); font-size: 0.9rem; }
.vector-form .input-group { margin-bottom: 25px; }
.vector-form label { display: block; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; margin-bottom: 8px; }
.vector-form input, .vector-form select, .vector-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: #f9f9f9; font-family: var(--font-main); font-size: 1rem; border-radius: 0; }
.vector-form input:focus, .vector-form textarea:focus { border-color: var(--tech-blue); outline: none; background: #fff; }
.btn-submit { width: 100%; padding: 15px; background: var(--text-black); color: white; border: none; font-family: var(--font-mono); font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--tech-blue); }

/* Testimonials */
.testimonial-list { display: flex; flex-direction: column; gap: 30px; max-width: 900px; margin: 0 auto; }
.t-card { background: white; border: 1px solid #000; padding: 40px; position: relative; }
.quote-mark { font-size: 4rem; position: absolute; top: 10px; right: 20px; opacity: 0.1; font-family: serif; }
.t-card p { font-size: 1.2rem; font-weight: 600; margin-bottom: 20px; }
.client-meta { font-family: var(--font-mono); font-size: 0.8rem; display: flex; gap: 10px; }
.client-meta .name { font-weight: 700; }
.client-meta .role { color: var(--tech-blue); }

/* Legal */
.legal-doc { max-width: 800px; margin: 0 auto; padding: 50px; background: white; border: 1px solid #eee; }
.legal-doc h1 { font-family: var(--font-mono); font-weight: 700; color: var(--text-black); }
.legal-doc h3 { margin-top: 30px; margin-bottom: 10px; font-family: var(--font-mono); color: var(--tech-blue); }

/* Footer */
.vector-footer { background: var(--text-black); color: white; padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid #333; }
.brand h5 { font-family: var(--font-mono); font-size: 1.2rem; margin-bottom: 5px; }
.f-links a { display: block; color: #999; margin-top: 10px; font-family: var(--font-mono); font-size: 0.9rem; }
.f-links a:hover { color: var(--tech-blue); }
.copyright { text-align: center; margin-top: 20px; font-family: var(--font-mono); font-size: 0.7rem; color: #555; }

/* Cookie Banner */
.cookie-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--tech-blue); color: white; padding: 15px; z-index: 9999; display: none; }
.cookie-bar.active { display: block; animation: slideUp 0.5s; }
.c-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.c-content span { font-family: var(--font-mono); font-size: 0.9rem; }
.c-content button { background: black; color: white; border: none; padding: 5px 15px; font-family: var(--font-mono); cursor: pointer; font-weight: bold; }

@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (max-width: 900px) {
    .tech-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .hero-split { grid-template-columns: 1fr; text-align: center; }
    .hero-text { padding: 0; margin-bottom: 40px; }
    .hero-text h1 { font-size: 3.5rem; }
    .portfolio-grid, .about-layout { grid-template-columns: 1fr; }
    .c-content { flex-direction: column; gap: 10px; }
}