/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --deep-void: #050505;
    --amber: #FFC200;       
    --cyan: #00F0FF;        
    --silver: #E0E0E0;
    --red: #ff5f56;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-code: 'Share Tech Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--deep-void);
    color: var(--silver);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

/* =========================================
   2. PRELOADER & NAV
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    color: var(--cyan); font-family: var(--font-code); transition: opacity 0.8s ease;
}
.sonar-wave {
    width: 80px; height: 80px; border: 2px solid var(--cyan); border-radius: 50%;
    animation: sonar 2s infinite ease-out; margin-bottom: 20px;
}
.loader-text { letter-spacing: 3px; font-size: 1.2rem; animation: blink 1s infinite; text-align: center; }
@keyframes sonar { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 25px 50px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.logo { font-size: clamp(1rem, 2.5vw, 1.4rem); font-weight: 900; color: white; font-family: var(--font-head); }
.nav-links { display: flex; align-items: center; }
.nav-links a { color: var(--silver); text-decoration: none; margin-left: 30px; font-weight: 600; font-size: 0.85rem; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--cyan); }
.nav-links .cta-btn { border: 1px solid var(--amber); padding: 8px 20px; color: var(--amber) !important; font-family: var(--font-code); }
.nav-links .cta-btn:hover { background: var(--amber); color: black !important; box-shadow: 0 0 20px var(--amber); }

/* --- MOBILE HAMBURGER --- */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 2001; }
.hamburger .bar { width: 25px; height: 3px; background-color: var(--cyan); transition: 0.3s; }
.hamburger.open .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- MOBILE MENU --- */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(5, 5, 5, 0.98); z-index: 2000;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    transition: 0.4s ease-in-out;
}
.mobile-menu.active { right: 0; }
.mobile-menu a { color: white; font-family: var(--font-head); font-size: 1.8rem; margin: 15px 0; text-decoration: none; text-transform: uppercase; }
.mobile-menu .mobile-cta { color: var(--amber); border-bottom: 2px solid var(--amber); }
.menu-close-btn { position: absolute; top: 20px; right: 25px; font-size: 3.5rem; color: var(--amber); cursor: pointer; line-height: 1; }
.mobile-socials { display: flex; gap: 20px; margin-top: 30px; color: var(--silver); }

/* =========================================
   3. HERO & WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed; bottom: 30px; left: 30px; z-index: 2000;
    background: #25D366; color: white; padding: 12px 20px; border-radius: 50px;
    display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: bold;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4); border: 2px solid white; transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.05); }

.hero-section { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; z-index: -1; filter: brightness(0.6) contrast(1.1); object-fit: cover; }
.overlay-gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, var(--deep-void) 10%, transparent 60%); z-index: 1; }
.hero-content { z-index: 2; position: relative; max-width: 1000px; padding: 0 20px; }
.coordinates { font-family: var(--font-code); color: var(--cyan); margin-bottom: 10px; letter-spacing: 4px; }
.glitch-text { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 900; color: white; line-height: 1.1; margin-bottom: 10px; text-shadow: 2px 2px 0px rgba(0,0,0,0.5); }
.magnetic-btn { display: inline-block; margin-top: 40px; padding: 15px 40px; background: var(--amber); color: black; text-decoration: none; font-family: var(--font-head); font-weight: 900; clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); transition: 0.3s; }
.magnetic-btn:hover { box-shadow: 0 0 40px var(--amber); transform: scale(1.05); }

/* =========================================
   4. TICKER (MARQUEE)
   ========================================= */
.ticker-wrap { width: 100%; height: 50px; background: #000; border-top: 1px solid #222; border-bottom: 1px solid var(--amber); overflow: hidden; white-space: nowrap; position: relative; z-index: 5; display: flex; align-items: center; }
.ticker { display: inline-block; animation: marquee 60s linear infinite; padding-left: 100%; }
.ticker-item { display: inline-block; padding: 0 50px; font-family: var(--font-code); color: var(--cyan); font-size: 1rem; text-transform: uppercase; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* =========================================
   5. SECTIONS
   ========================================= */
.manifesto-section { padding: 100px 50px; background: var(--deep-void); position: relative; z-index: 5; }
.manifesto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.title-block h2 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; font-family: var(--font-head); }
.highlight { color: var(--amber); }
.text-block p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 20px; color: #ccc; }
.experience-line { margin-top: 30px; border-left: 3px solid var(--cyan); padding-left: 20px; font-family: var(--font-code); font-size: 0.95rem; }
.bracket { color: var(--amber); font-weight: bold; }

/* Services */
.services-section { position: relative; padding: 120px 50px; background: #000; overflow: hidden; border-top: 1px solid #222; }
.text-video-bg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 100%; min-height: 100%; opacity: 0.2; z-index: 0; filter: invert(1) grayscale(1); mix-blend-mode: screen; object-fit: cover; }
.section-title { text-align: center; margin-bottom: 80px; font-size: clamp(2.2rem, 5vw, 4rem); font-family: var(--font-head); }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; position: relative; z-index: 2; }
.card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); padding: 40px 30px; transition: 0.4s; }
.card:hover { border-color: var(--cyan); transform: translateY(-10px); background: rgba(255,255,255,0.06); }
.card-icon { font-size: 3rem; margin-bottom: 20px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; font-family: var(--font-head); color: white; }

/* Radar */
.tracking-section { display: grid; grid-template-columns: 1fr 1fr; background: #080808; border-top: 1px solid #222; min-height: 600px; }
.tracking-visual { position: relative; background: black; overflow: hidden; height: 100%; }
.globe-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; filter: hue-rotate(180deg) saturate(1.5); }
.radar-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle, transparent 30%, #000 90%); }
.radar-sweep { position: absolute; top: 50%; left: 50%; width: 80%; padding-bottom: 80%; transform: translate(-50%, -50%); border: 1px solid rgba(0, 240, 255, 0.2); border-radius: 50%; }
.radar-sweep::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(transparent 270deg, rgba(0, 240, 255, 0.3)); animation: sweep 3s infinite linear; }
@keyframes sweep { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.blip { position: absolute; width: 10px; height: 10px; background: var(--amber); border-radius: 50%; animation: pulse 2s infinite; }
.b1 { top: 30%; left: 40%; } .b2 { top: 60%; left: 70%; animation-delay: 0.5s; } .b3 { top: 40%; left: 20%; animation-delay: 1s; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.5); } }
.tracking-content { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.tracking-box { margin-top: 30px; border-left: 3px solid var(--cyan); padding-left: 20px; background: rgba(0,240,255,0.03); padding: 20px; }
.mono { font-family: var(--font-code); color: var(--cyan); font-size: 0.9rem; }

/* =========================================
   6. CONTACT FORM
   ========================================= */
.contact-section { position: relative; padding: 100px 20px; min-height: 850px; display: flex; align-items: center; justify-content: center; }
.bg-parallax { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-attachment: fixed; z-index: 0; }
.overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 1; }
.terminal-container { position: relative; z-index: 10; width: 100%; max-width: 800px; background: rgba(10, 10, 10, 0.95); border: 1px solid #333; box-shadow: 0 30px 60px rgba(0,0,0,0.9); }
.terminal-header { background: #151515; padding: 15px 20px; border-bottom: 1px solid #333; display: flex; justify-content: space-between; align-items: center; }
.lights { display: flex; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.title { font-family: var(--font-code); color: #666; font-size: 0.8rem; }

.terminal-body { padding: 40px; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; }
.form-group { margin-bottom: 20px; width: 100%; }
.form-group.half { width: calc(50% - 10px); }
.query { color: var(--amber); font-family: var(--font-code); font-size: 0.9rem; margin-bottom: 5px; display: block; }
.input-line { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #444; }
.prompt { color: var(--cyan); font-weight: bold; }
.terminal-input { background: transparent; border: none; width: 100%; color: white; font-family: var(--font-code); font-size: 1.1rem; padding: 8px 0; outline: none; text-transform: uppercase; }
.date-input { color-scheme: dark; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.check-box { font-family: var(--font-code); color: #888; cursor: pointer; font-size: 0.8rem; }
.check-box input { display: none; }
.check-box span { padding: 5px 10px; border: 1px solid #333; display: block; }
.check-box input:checked + span { background: var(--cyan); color: black; border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.submit-btn { width: 100%; margin-top: 20px; background: transparent; border: 1px solid var(--cyan); color: var(--cyan); padding: 15px; font-family: var(--font-code); font-weight: bold; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background: var(--cyan); color: black; box-shadow: 0 0 20px var(--cyan); }

/* =========================================
   7. FOOTER
   ========================================= */
footer { background: #000; padding: 80px 50px 40px; border-top: 1px solid #222; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-socials { display: flex; gap: 20px; margin-top: 20px; }
.footer-socials a { color: var(--silver); transition: 0.3s; }
.footer-socials a:hover { color: var(--amber); transform: translateY(-3px); }

/* =========================================
   8. RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .manifesto-grid, .tracking-section { grid-template-columns: 1fr; }
    .tracking-visual { height: 400px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 768px) {
    nav { padding: 20px; }
    .glitch-text { font-size: 2.2rem; }
    .manifesto-section, .services-section { padding: 60px 20px; }
    .form-group.half { width: 100%; }
    .whatsapp-float span { display: none; }
    .ticker { animation-duration: 35s; }
}