:root {
    --tech-blue: #0056B3;
    --dark-blue: #003366;
    --grid-bg: #F0F4F8;
    --graphite: #333333;
    --white: #ffffff;
    --cyan: #00BCD4;
    
    --font-head: 'Rajdhani', sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--grid-bg);
    color: var(--graphite);
    font-family: var(--font-head);
    line-height: 1.6;
    font-size: 18px;
}

/* Background Grid */
.grid-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: linear-gradient(#e0e6ed 1px, transparent 1px), linear-gradient(90deg, #e0e6ed 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.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 { background: var(--white); padding: 15px 0; border-bottom: 2px solid var(--tech-blue); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-size: 2rem; font-weight: 700; color: var(--graphite); display: flex; align-items: center; gap: 10px; }
.blue { color: var(--tech-blue); }
.symbol { font-size: 1.8rem; }

.tech-nav a { margin-left: 20px; font-weight: 600; color: #666; font-family: var(--font-mono); font-size: 0.9rem; }
.tech-nav a:hover, .tech-nav a.active { color: var(--tech-blue); }

.btn-tech { background: var(--tech-blue); color: var(--white) !important; padding: 8px 20px; font-weight: 700; border-radius: 0; border: 1px solid var(--tech-blue); }
.btn-tech:hover { background: var(--white); color: var(--tech-blue) !important; }

/* Mobile Menu */
.mobile-toggle { display: none; font-size: 1.5rem; font-family: var(--font-mono); font-weight: bold; cursor: pointer; color: var(--tech-blue); }
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--graphite); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: 0.4s; }
.mobile-menu.open { right: 0; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: 1px solid var(--white); color: var(--white); font-size: 1.5rem; cursor: pointer; padding: 5px 15px; }
.mobile-menu a { color: var(--white); font-family: var(--font-mono); font-size: 2rem; margin: 15px 0; }

/* Hero */
.hero-tech { height: 80vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-text h1 { font-size: 4.5rem; line-height: 1; margin: 20px 0; color: var(--graphite); text-transform: uppercase; }
.hero-text p { font-size: 1.2rem; margin-bottom: 40px; color: #555; }
.status-indicator { font-family: var(--font-mono); color: var(--tech-blue); font-size: 0.8rem; letter-spacing: 2px; }

.cta-group { display: flex; gap: 15px; }
.btn-primary { background: var(--tech-blue); color: var(--white); padding: 15px 30px; font-weight: bold; font-size: 1.1rem; }
.btn-outline { border: 2px solid var(--graphite); padding: 13px 28px; font-weight: bold; font-size: 1.1rem; }
.btn-outline:hover { background: var(--graphite); color: var(--white); }

/* Cube Animation (CSS Only) */
.cube-wireframe { width: 200px; height: 200px; position: relative; transform-style: preserve-3d; animation: rotate 10s infinite linear; margin: 0 auto; }
.face { position: absolute; width: 200px; height: 200px; border: 2px solid var(--tech-blue); opacity: 0.5; background: rgba(0, 86, 179, 0.05); }
.front  { transform: translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }
@keyframes rotate { from { transform: rotateX(0deg) rotateY(0deg); } to { transform: rotateX(360deg) rotateY(360deg); } }

/* Services */
.section-title { margin-bottom: 60px; }
.section-title h2 { font-size: 3rem; margin-bottom: 10px; }
.tech-bar { width: 100px; height: 5px; background: var(--tech-blue); background-image: repeating-linear-gradient(45deg, transparent, transparent 5px, rgba(255,255,255,0.5) 5px, rgba(255,255,255,0.5) 10px); }
.tech-bar.left { margin: 20px 0; }

.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.spec-card { background: var(--white); border: 1px solid #ccc; padding: 30px; transition: 0.3s; position: relative; }
.spec-card:hover { box-shadow: 10px 10px 0 var(--tech-blue); transform: translate(-5px, -5px); }
.icon { font-size: 3rem; margin-bottom: 15px; }
.spec-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.code-ref { position: absolute; top: 10px; right: 10px; font-family: var(--font-mono); font-size: 0.7rem; color: #999; }

/* Data Strip */
.data-strip { background: var(--graphite); color: var(--white); padding: 50px 0; margin-top: 50px; }
.data-flex { display: flex; justify-content: space-around; text-align: center; }
.data-point strong { display: block; font-family: var(--font-mono); font-size: 3rem; color: var(--cyan); }
.data-point span { font-size: 1rem; letter-spacing: 2px; }

/* About & Contact */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-block h1 { font-size: 3rem; line-height: 1.1; margin-bottom: 20px; }
.tech-specs { list-style: none; margin-top: 30px; font-family: var(--font-mono); color: var(--tech-blue); }
.tech-specs li { margin-bottom: 10px; font-size: 1.1rem; }
.img-block { position: relative; }
.img-block img { width: 100%; border: 1px solid var(--graphite); filter: grayscale(20%); }
.img-overlay { position: absolute; bottom: 0; left: 0; background: var(--tech-blue); color: var(--white); padding: 5px 15px; font-family: var(--font-mono); font-size: 0.8rem; }

.contact-terminal { max-width: 800px; margin: 0 auto; background: var(--white); padding: 50px; border: 1px solid #ccc; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.terminal-info { text-align: center; margin-bottom: 40px; }
.console-output { background: #000; color: #0f0; padding: 15px; font-family: var(--font-mono); text-align: left; margin-top: 20px; border-radius: 4px; font-size: 0.9rem; }
.console-output p { margin: 0; }

.vector-form .form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-grp { flex: 1; }
.vector-form label { display: block; font-family: var(--font-mono); font-size: 0.8rem; margin-bottom: 5px; color: var(--tech-blue); }
.vector-form input, .vector-form select, .vector-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; background: var(--grid-bg); font-family: var(--font-head); font-size: 1rem; }
.vector-form input:focus, .vector-form textarea:focus { border-color: var(--tech-blue); outline: none; background: var(--white); }
.btn-submit { width: 100%; background: var(--graphite); color: var(--white); border: none; padding: 15px; font-weight: bold; cursor: pointer; font-family: var(--font-mono); letter-spacing: 1px; transition: 0.3s; }
.btn-submit:hover { background: var(--tech-blue); }

/* Case Studies & Legal */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-card { background: var(--white); border: 1px solid #ddd; padding: 30px; }
.case-card.highlight { border: 2px solid var(--tech-blue); }
.case-head { font-weight: 700; font-size: 1.2rem; margin-bottom: 15px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.case-footer { margin-top: 20px; font-family: var(--font-mono); font-size: 0.8rem; }
.case-footer span { display: block; color: var(--cyan); margin-bottom: 5px; }

.legal-doc { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #ddd; }
.legal-doc h1 { font-size: 2.5rem; color: var(--graphite); }
.legal-doc h3 { color: var(--tech-blue); margin-top: 30px; font-family: var(--font-mono); }

/* Footer */
.vector-footer { background: var(--white); border-top: 2px solid var(--graphite); padding: 60px 0 20px; margin-top: 80px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; padding-bottom: 30px; margin-bottom: 20px; }
.f-col h4 { font-size: 1.5rem; margin-bottom: 5px; }
.f-col.right a { color: var(--tech-blue); margin-left: 20px; font-family: var(--font-mono); font-weight: bold; }
.copyright { text-align: center; font-family: var(--font-mono); font-size: 0.8rem; color: #999; }

/* Cookie */
.cookie-tech { position: fixed; bottom: 20px; left: 20px; background: var(--graphite); color: var(--white); padding: 15px 25px; display: flex; gap: 20px; align-items: center; z-index: 9999; display: none; font-family: var(--font-mono); box-shadow: 5px 5px 0 var(--tech-blue); }
.cookie-tech.show { display: flex; }
.cookie-tech button { background: var(--tech-blue); color: var(--white); border: none; padding: 5px 15px; font-family: var(--font-mono); cursor: pointer; }

@media (max-width: 900px) {
    .tech-nav { display: none; }
    .mobile-toggle { display: block; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .spec-grid, .about-grid, .case-grid, .vector-form .form-row { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; gap: 20px; }
}