/* --- V-PILOT ENTERPRISE GLOBAL STYLES --- */
:root {
    --primary-blue: #21395B;
    --deep-blue: #022b6d;
    --bright-blue: #2684ff;
    --logo-gold: #d4cba5;
    --logo-gold-dark: #a89f7d;
    --text-main: #0f172a;
    --text-light: #475569;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0b1120;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-card: 0 10px 30px -10px rgba(0, 82, 204, 0.15);
    --shadow-hover: 0 20px 40px -10px rgba(0, 82, 204, 0.25);
    
    /* Offline System Font Stack - Similar to Outfit/Inter */
    --font-head: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg-white); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, { font-family: var(--font-head); color: var(--deep-blue); font-weight: 700; }
a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; }

/* --- ICONS (SVG Styling) --- */
.icon { width: 1.5em; height: 1.5em; fill: currentColor; display: inline-block; vertical-align: middle; }
.icon-lg { width: 2.5rem; height: 2.5rem; }
.icon-xl { width: 3.5rem; height: 3.5rem; }

/* --- 3D RADAR BACKGROUND --- */
.radar-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -1;
    background: radial-gradient(circle at 50% 50%, #f1f5f9 0%, #ffffff 70%);
}
.radar-scan {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 80vw; height: 80vw; border-radius: 50%;
    border: 1px solid rgba(0, 82, 204, 0.05);
    background: repeating-radial-gradient(rgba(0, 82, 204, 0.02) 0, rgba(0, 82, 204, 0.02) 1px, transparent 2px, transparent 100px);
}
.radar-sweep {
    position: absolute; left: 50%; top: 50%; width: 50%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--bright-blue));
    transform-origin: left center;
    animation: radar-spin 8s linear infinite;
    opacity: 0.2;
}
@keyframes radar-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Vector Grid */
.radar-bg::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(0, 82, 204, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 82, 204, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* --- NAVIGATION --- */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1rem 5%;
    background: rgba(239, 235, 224, 0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex; justify-content: space-between; align-items: center; z-index: 1000;
}


/* Modal and Tech Page Fixes */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 2000; display: none; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal-box { background: white; width: 90%; max-width: 500px; padding: 2rem; border-radius: 12px; position: relative; animation: slideUp 0.3s ease-out; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #999; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; }
.form-group input, .form-group select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; color: var(--text-light); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-blue); }
.nav-cta { padding: 0.6rem 1.5rem; background: var(--deep-blue); color: white !important; border-radius: 50px; font-weight: 600; box-shadow: 0 4px 15px rgba(2, 43, 109, 0.3); cursor: pointer; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(2, 43, 109, 0.4); }
.menu-toggle { display: none; cursor: pointer; color: var(--deep-blue); }

/* --- UPDATED: 3D TRANSPARENT GLASS COMPASS --- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 75px; margin-top: -2px;}
.brand-text { font-family: var(--font-arial); font-weight: 800; font-size: 2.7rem; line-height: 1; display: flex; gap: 12px; margin-left: 0.2em;}
.brand-v { font-size: 2.7rem; color: var(--primary-blue); margin-left: -0.5em; }
.brand-pilot { color: transparent; -webkit-text-stroke: 1.5px var(--primary-blue); font-size: 2.7rem; margin-left: -0.1em; letter-spacing: 1.7px; }
.brand-span { margin-left: -0.45em; font-size: 0.69rem; font-weight: 550; color: #4A4A4A; text-transform: uppercase; letter-spacing: 0.93px; margin-top: -2px;}


/* Compass Container */
.compass-o-container {
    display: inline-block;
    position: relative;
    width: 0.55em;   
    height: 0.55em;
    vertical-align: low;
    margin: -0.25em 0.85px 0;
    
    /* Reset text styles */
    -webkit-text-stroke: 0;
    text-stroke: 0;
    color: transparent;

    /* THE GLASS LOOK */
    border-radius: 50%;
    border: 2px solid var(--primary-blue); /* Matching 'Pilot' outline */
    
    /* Crystal Clear Gradient */
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.4) 40%, 
        rgba(255, 255, 255, 0.1) 100%
    );
    
    /* Glass Shine & Depth */
    box-shadow: 
        inset 0 0 6px rgba(255, 255, 255, 0.8), /* Inner Highlight */
        inset 0 0 2px rgba(0, 82, 204, 0.2),    /* Subtle Blue Tint */
        0 2px 5px rgba(0,0,0,0.1);              /* Drop Shadow */
    
    overflow: hidden; /* Keeps everything inside the glass circle */
}

/* Background Star (Kept subtle for depth, but no dots) */
.compass-star {
    position: absolute;
    top: 50%; left: 50%;
    width: 70%; height: 70%;
    transform: translate(-50%, -50%);
    background: var(--primary-blue);
    clip-path: polygon(
        50% 0%, 65% 35%, 100% 50%, 65% 65%, 
        50% 100%, 35% 65%, 0% 50%, 35% 35%
    );
    opacity: 0.18; /* Very faint watermark */
    z-index: 1;
}

/* The Moving Needle */
.compass-needle {
    position: absolute;
    top: 50%; left: 50%;
    width: 14%; height: 75%;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 5;
    animation: flightBank 1s ease-in-out infinite; 
    filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.2));
}

/* Needle North Tip - RED */
.compass-needle::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to right, #ff2a2a 0%, #cc0000 100%);
    clip-path: polygon(50% 0, 0% 100%, 100% 100%);
}

/* Needle South Tip - Silver/Blue */
.compass-needle::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to right, #e2e8f0 0%, #94a3b8 100%);
    clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
}

/* Center Pivot - Clean Metal Look (No Gold Dot) */
.compass-glass {
    position: absolute;
    top: 50%; left: 50%;
    width: 15%; height: 15%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 30% 30%, #fff 0%, #cbd5e1 100%);
    border-radius: 50%;
    z-index: 6;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Animation */
@keyframes flightBank {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -50%) rotate(95deg); }
    50% { transform: translate(-50%, -50%) rotate(40deg); }
    75% { transform: translate(-50%, -50%) rotate(-95deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Hover Spin */
.brand-text:hover .compass-needle {
    animation: compassSpin 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
@keyframes compassSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* --- HERO SECTION --- */
.hero { 
    /* Use Flexbox for vertical centering */
    min-height: 90vh; 
    display: flex;
    flex-direction: column; /* Stacks content vertically */
    justify-content: center; /* Centers content vertically in the viewport */
    align-items: flex-start; /* ALIGNS CONTENT TO THE LEFT */
    
    padding: 0 8%; /* Matches the padding from style2.css */
    padding-top: 80px; 
    text-align: left; /* Ensures text is left-aligned */
    position: relative; 
}
.hero h1 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    letter-spacing: -1px;  
}
.hero p { 
    font-size: 1.25rem; 
    color: var(--text-light); 
    max-width: 800px; 
    margin-bottom: 2.5rem; /* Removed '0 auto' to stop centering */
}
.hero h1 span { color: var(--bright-blue); background: -webkit-linear-gradient(45deg, var(--deep-blue), var(--bright-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; }
.btn { padding: 1rem 2rem; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: none; font-size: 1rem;}
.btn-primary { background: var(--primary-blue); color: white; box-shadow: 0 10px 20px rgba(0, 82, 204, 0.3); }
.btn-primary:hover { background: var(--deep-blue); transform: translateY(-3px); color: white; }
.btn-outline { border: 2px solid var(--deep-blue); color: var(--deep-blue); background: transparent; }
.btn-outline:hover { background: var(--deep-blue); color: white; }

/* --- CARDS & GRIDS --- */
.section { padding: 80px 5%; }
.bg-light { background: var(--bg-light); }
.section-header { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.divider { width: 60px; height: 4px; background: var(--bright-blue); margin: 0 auto; border-radius: 2px; }


.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.card { background: var(--bg-white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-card); transition: 0.4s; border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--logo-gold); transition: 0.3s; }
.card:hover::before { height: 6px; background: var(--primary-blue); }


/* --- 3D ENGINE VISUALS --- */
.visual-asset-container { width: 100%; max-width: 1000px; margin: 0 auto; padding: 4rem 2rem; background: var(--bg-white); border: 1px solid rgba(0, 82, 204, 0.1); border-radius: 16px; box-shadow: var(--shadow-card); }
.engine-system { position: relative; width: 250px; height: 250px; margin: 2rem auto; transform-style: preserve-3d; transform: rotateX(15deg); }
.drive-chain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; opacity: 0.6; z-index: 1; box-shadow: 0 0 0 3px #cbd5e1, inset 0 0 0 3px #cbd5e1; animation: spinChain 20s linear infinite; }
.theme-infra .drive-chain { border: 6px dashed #64748b; }
.theme-apps .drive-chain { border: 6px dotted #9c27b0; }
.art-node { position: absolute; width: 90px; height: 90px; background: #d9e0e7; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: inset 0 -5px 15px rgba(0,0,0,0.3), 0 10px 20px rgba(0,0,0,0.1); z-index: 2; }
.node-turbine { position: absolute; width: 84%; height: 84%; border-radius: 50%; border: 3px solid #222; background: repeating-conic-gradient(from 0deg, #222 0deg 12deg, #666 12deg 24deg, #111 24deg 36deg); animation: spinTurbine 3s linear infinite; }
.node-core { position: absolute; width: 30%; height: 30%; border-radius: 50%; box-shadow: 0 5px 10px rgba(0,0,0,0.7); z-index: 3; }
.node-core::after { content: ''; position: absolute; top: 25%; left: 25%; width: 35%; height: 35%; border-radius: 50%; background: rgba(255, 255, 255, 0.6); filter: blur(2px); }

/* Node Positioning & Colors */
.art-node.n1 { top: -40px; left: 80px; border: 3px solid var(--deep-blue); }
.art-node.n1 .node-core { background: radial-gradient(circle at 30% 30%, #4facfe, var(--deep-blue)); }
.art-node.n2 { top: 140px; left: -20px; border: 3px solid var(--logo-gold-dark); }
.art-node.n2 .node-core { background: radial-gradient(circle at 30% 30%, #ffe47a, var(--logo-gold-dark)); }
.art-node.n3 { top: 140px; left: 180px; border: 3px solid var(--primary-blue); }
.art-node.n3 .node-core { background: radial-gradient(circle at 30% 30%, #00d2ff, var(--primary-blue)); }

.node-label { position: absolute; width: 160px; text-align: center; font-weight: 800; font-size: 0.8rem; background: rgba(255,255,255,0.9); padding: 4px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); left: 50%; transform: translateX(-50%); }
.art-node.n1 .node-label { top: -35px; color: var(--deep-blue); }
.art-node.n2 .node-label { bottom: -35px; color: var(--logo-gold-dark); }
.art-node.n3 .node-label { bottom: -35px; color: var(--primary-blue); }

@keyframes spinChain { 100% { transform: rotate(-360deg); } }
@keyframes spinTurbine { 100% { transform: rotate(360deg); } }

/* --- INTELLIGENCE SUPPLY CHAIN (Master/Client + Alliance) --- */
.supply-chain-section {
    padding: 80px 5%;
    background: linear-gradient(180deg, var(--bg-white) 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.chain-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr; /* Card - Arrow - Card - Arrow - Card */
    gap: 1rem;
    align-items: center;
    max-width: 1200px;
    margin: 4rem auto 0;
    position: relative;
}

/* Connection Arrows */
.chain-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    animation: pulse-arrow 2s infinite;
}
.chain-arrow svg { width: 40px; height: 40px; }

@keyframes pulse-arrow {
    0% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.5; }
}

/* The Cards */
.chain-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    position: relative;
    transition: 0.3s;
    z-index: 2;
}
.chain-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,82,204,0.15); }

/* Tenable Highlight */
.chain-card.alliance {
    border-top: 4px solid #00F0FF; /* Tenable Cyan */
    background: linear-gradient(145deg, #0b1120 0%, #022b6d 100%);
    color: white;
}
.chain-card.alliance h3, .chain-card.alliance p { color: white; }
.tenable-logo-text { font-family: sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -1px; color: white; }
.tenable-dot { display: inline-block; width: 8px; height: 8px; background: #00F0FF; border-radius: 50%; margin-left: 2px; box-shadow: 0 0 10px #00F0FF; }

/* Master ART Highlight */
.chain-card.master { border-top: 4px solid var(--primary-blue); }
.master-icon { color: var(--primary-blue); width: 3rem; height: 3rem; margin-bottom: 1rem; }

/* Client ART Highlight */
.chain-card.client { border-top: 4px solid var(--logo-gold-dark); }
.client-icon { color: var(--logo-gold-dark); width: 3rem; height: 3rem; margin-bottom: 1rem; }

/* Connecting Line Background (Desktop) */
.chain-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    z-index: 0;
    opacity: 0.3;
}

/* Responsive Chain */
@media (max-width: 900px) {
    .chain-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto auto;
    }
    .chain-arrow { transform: rotate(90deg); margin: 1rem 0; animation: pulse-arrow-vertical 2s infinite; }
    @keyframes pulse-arrow-vertical {
        0% { transform: rotate(90deg) translateY(0); opacity: 0.5; }
        50% { transform: rotate(90deg) translateY(-5px); opacity: 1; }
        100% { transform: rotate(90deg) translateY(0); opacity: 0.5; }
    }
    .chain-line { display: none; }
}

/* --- PRICING TABLE (3D Style) --- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.price-card { background: white; border-radius: 12px; padding: 3rem 2rem; text-align: center; border: 1px solid #e2e8f0; position: relative; transition: 0.3s; }
.price-card.popular { border: 2px solid var(--primary-blue); transform: scale(1.05); box-shadow: 0 20px 40px rgba(0, 82, 204, 0.15); z-index: 2; }
.price-card:hover { transform: translateY(-5px) scale(1.05); }
.price-tag { font-size: 2.5rem; font-weight: 800; color: var(--deep-blue); margin: 1rem 0; }
.price-features li { margin-bottom: 10px; color: var(--text-light); font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 8px;}
.feature-icon { color: #10b981; width: 1em; height: 1em; }

/* --- FORMS --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.c-form input, .c-form select, .c-form textarea { width: 100%; padding: 15px; margin-bottom: 1.5rem; border: 1px solid #e2e8f0; border-radius: 6px; font-family: var(--font-body); background: var(--bg-light); color: var(--text-main); font-size: 1rem;}
.c-form button { width: 100%; }

/* --- SOLUTIONS PAGE IMAGES --- */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split 50/50 */
    gap: 4rem; /* More space between text and image */
    align-items: center;
}

.solution-img-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-img {
    width: 100%;        /* Fill the container width */
    height: auto;       /* Maintain aspect ratio */
    max-height: 500px;  /* Optional: Prevent it from getting too tall vertically */
    object-fit: cover;  /* Ensures the image fills the box nicely */
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.solution-img:hover {
    transform: scale(1.02); /* Subtle zoom effect on hover */
}


/* =====================================================================
   2. ARCHERY BOW & TARGET SYSTEM (Services Page)
   ===================================================================== */
.archery-showcase { display: flex; justify-content: space-between; align-items: center; background: #0a1128; border-radius: 16px; padding: 3rem 2rem; position: relative; overflow: hidden; height: 450px; box-shadow: inset 0 0 50px rgba(0,0,0,0.8); margin-top: 2rem; }

/* The Bow (Vulnerability Pilot Core) */
.bow-system { position: relative; width: 200px; height: 300px; display: flex; align-items: center; z-index: 10; }
.bow-curve { position: absolute; left: 20px; width: 80px; height: 100%; border: 12px solid var(--bright-blue); border-left: none; border-radius: 0 150px 150px 0; box-shadow: 5px 0 15px rgba(38,132,255,0.4); }
.bow-string { position: absolute; left: 95px; height: 100%; width: 40px; display: flex; align-items: center; }
.string-line-top { position: absolute; top: 0; left: 0; width: 2px; height: 50%; background: var(--logo-gold); transform-origin: top left; transform: rotate(-15deg); }
.string-line-bottom { position: absolute; bottom: 0; left: 0; width: 2px; height: 50%; background: var(--logo-gold); transform-origin: bottom left; transform: rotate(15deg); }
.finger-tab { position: absolute; left: -25px; width: 60px; height: 60px; background: radial-gradient(circle, var(--bg-white), var(--primary-blue)); border-radius: 50%; border: 4px solid var(--logo-gold); display: flex; justify-content: center; align-items: center; animation: spinTurbine 3s linear infinite; box-shadow: 0 0 20px var(--bright-blue); z-index: 20; }
.finger-tab::after { content: 'ART Core'; font-size: 0.6rem; color: var(--deep-blue); font-weight: 900; position: absolute; animation: spinTurbine 3s linear infinite reverse; }

/* The Target (ISMS Governance) */
.target-system { position: relative; width: 120px; height: 300px; display: flex; align-items: center; justify-content: flex-end; z-index: 10; }
.target-board { width: 60px; height: 200px; border: 15px solid #ff4757; border-radius: 100px 0 0 100px; border-right: none; position: relative; background: #fff; box-shadow: inset 10px 0 20px rgba(255,71,87,0.4); display: flex; align-items: center; }
.target-center { width: 30px; height: 100px; border: 10px solid #2ed573; border-radius: 50px 0 0 50px; border-right: none; position: absolute; left: 15px; background: #eccc68; }

/* The Arrows (5 Pilots) */
.arrow-track { position: absolute; top: 0; left: 140px; right: 100px; height: 100%; }
.arrow-entity { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 120px; height: 4px; display: flex; align-items: center; opacity: 0; }
.arrow-entity::after { content: ''; position: absolute; right: -12px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.arrow-icon { position: absolute; right: -30px; font-size: 1.5rem; text-shadow: 0 0 10px currentColor; }
.target-glow-text { position: absolute; right: 100px; top: 50%; transform: translateY(-50%); color: white; font-weight: bold; font-size: 1.2rem; white-space: nowrap; opacity: 0; text-align: right; text-shadow: 0 0 15px currentColor; }

/* Arrow Colors & Sequences (15s total loop) */
.a-vigil { background: #9b59b6; animation: shootArrow 15s infinite; }
.a-vigil::after { border-left: 12px solid #9b59b6; }
.a-vigil .arrow-icon { color: #9b59b6; }
.text-vigil { color: #9b59b6; animation: hitText 15s infinite; }

.a-compass { background: #e67e22; animation: shootArrow 15s infinite 3s; }
.a-compass::after { border-left: 12px solid #e67e22; }
.a-compass .arrow-icon { color: #e67e22; }
.text-compass { color: #e67e22; animation: hitText 15s infinite 3s; }

.a-privacy { background: #1abc9c; animation: shootArrow 15s infinite 6s; }
.a-privacy::after { border-left: 12px solid #1abc9c; }
.a-privacy .arrow-icon { color: #1abc9c; }
.text-privacy { color: #1abc9c; animation: hitText 15s infinite 6s; }

.a-phoenix { background: #e74c3c; animation: shootArrow 15s infinite 9s; }
.a-phoenix::after { border-left: 12px solid #e74c3c; }
.a-phoenix .arrow-icon { color: #e74c3c; }
.text-phoenix { color: #e74c3c; animation: hitText 15s infinite 9s; }

.a-custodian { background: #2ecc71; animation: shootArrow 15s infinite 12s; }
.a-custodian::after { border-left: 12px solid #2ecc71; }
.a-custodian .arrow-icon { color: #2ecc71; }
.text-custodian { color: #2ecc71; animation: hitText 15s infinite 12s; }

@keyframes shootArrow { 
    0% { left: 0; opacity: 1; } 
    10% { left: calc(100% - 100px); opacity: 1; } /* Hit target */
    12%, 100% { left: calc(100% - 100px); opacity: 0; } 
}
@keyframes hitText {
    0%, 9% { opacity: 0; transform: translateY(-50%) scale(0.8); }
    10% { opacity: 1; transform: translateY(-50%) scale(1.1); }
    18% { opacity: 1; transform: translateY(-50%) scale(1); }
    20%, 100% { opacity: 0; }
}

/* =====================================================================
   ENTERPRISE 3D VISUALIZATIONS (FIXED & LABELED)
   ===================================================================== */

.visual-container-3d {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #ffffff 0%, #f1f5f9 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    perspective: 1200px; 
}

/* --- BUTTON SPACING FIX --- */
.btn-spacer {
    margin-top: 3rem; /* Adds professional white space above the button */
    display: block;
}

/* -------------------------------------------
   1. GYRO REACTOR (5Pilot SecOps)
   ------------------------------------------- */
.gyro-stage {
    position: relative;
    width: 250px;
    height: 250px;
    transform-style: preserve-3d;
}

.gyro-core {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: radial-gradient(circle at 30% 30%, #2684ff, #022b6d);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: white; font-weight: 800; font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(0, 82, 204, 0.5);
    z-index: 10;
    animation: pulseCore 3s infinite ease-in-out;
}

/* The Rings */
.gyro-ring {
    position: absolute; top: 50%; left: 50%;
    border-radius: 50%;
    border: 2px solid rgba(0, 82, 204, 0.2);
    transform-style: preserve-3d;
}

.ring-inner { width: 140px; height: 140px; margin: -70px; border-color: #d4cba5; animation: spinX 8s linear infinite; }
.ring-middle { width: 200px; height: 200px; margin: -100px; border-color: #0052cc; animation: spinY 12s linear infinite; }
.ring-outer { width: 260px; height: 260px; margin: -130px; border-color: #022b6d; animation: spinZ 20s linear infinite; }

/* Orbiters */
.orbiter {
    position: absolute; width: 40px; height: 40px;
    background: white; border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex; justify-content: center; align-items: center;
    /* Ensure icon faces front */
    animation: counterSpin 5s linear infinite; 
}
.orbiter svg { width: 20px; height: 20px; color: var(--deep-blue); }

/* NEW: Gyro Labels */
.gyro-label {
    position: absolute;
    bottom: -20px; 
    left: 50%; 
    transform: translateX(-50%);
    background: var(--deep-blue);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
}

/* Place Orbiters on rings */
.orb-1 { top: -20px; left: 50%; margin-left: -20px; } 
.orb-2 { bottom: -20px; left: 50%; margin-left: -20px; }
.orb-3 { top: 50%; right: -20px; margin-top: -20px; }
.orb-4 { top: 50%; left: -20px; margin-top: -20px; }
.orb-5 { top: 10%; left: 10%; }

/* Animations */
@keyframes spinX { from { transform: rotateX(0deg); } to { transform: rotateX(360deg); } }
@keyframes spinY { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes spinZ { from { transform: rotateZ(0deg); } to { transform: rotateZ(360deg); } }
@keyframes pulseCore { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.05); } }


/* -------------------------------------------
   2. INFINITY FOUNDRY (ProdSecApps)
   ------------------------------------------- */
.foundry-system {
    position: relative;
    width: 300px; height: 150px;
    display: flex; justify-content: center; align-items: center;
}
.infinity-loop { width: 100%; height: 100%; overflow: visible; }

.construct-center {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: white; border-radius: 50%;
    border: 3px solid var(--deep-blue);
    display: flex; justify-content: center; align-items: center;
    z-index: 5;
}
.plane-icon svg { width: 30px; height: 30px; }
.construct-ring {
    position: absolute; inset: -5px; border-radius: 50%;
    border: 2px dashed var(--logo-gold);
    animation: spinZ 10s linear infinite;
}
.center-label {
    position: absolute; bottom: -20px;
    font-weight: 800; font-size: 0.75rem; color: var(--deep-blue);
}

.stage-label {
    position: absolute; background: white; padding: 2px 6px;
    font-size: 0.75rem; font-weight: 800; color: var(--text-light);
    border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.dev { top: 10%; left: 20%; }
.ops { top: 10%; right: 20%; }
.sec { bottom: -10%; left: 50%; transform: translateX(-50%); color: var(--primary-blue); }


/* -------------------------------------------
   3. FLIGHT FORMATION (ProdSecOps)
   ------------------------------------------- */
.flight-system {
    position: relative; width: 100%; height: 100%;
    overflow: hidden; perspective: 600px;
}

/* Moving Floor Grid */
.flight-grid {
    position: absolute; bottom: -80px; left: -50%; width: 200%; height: 200%;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(60deg);
    animation: gridFlow 2s linear infinite;
}

.jet-main {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    z-index: 20;
    animation: jetBob 3s ease-in-out infinite;
}
.jet-main svg { width: 100%; height: 100%; transform: rotate(90deg); filter: drop-shadow(0 0 10px rgba(0,240,255,0.5)); }
.jet-label { position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); color: white; font-size: 0.7rem; font-weight: 700; opacity: 0.8; }

.drone {
    position: absolute; width: 8px; height: 8px;
    background: #00F0FF; transform: rotate(45deg);
    box-shadow: 0 0 8px #00F0FF;
    animation: droneMove 2s ease-in-out infinite alternate;
}

/* NEW: Drone Labels */
.drone-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg); /* Counter-rotate text */
    color: #00F0FF;
    font-size: 0.65rem;
    font-weight: 700;
    text-shadow: 0 0 5px black;
    white-space: nowrap;
}

/* Formation Positions */
.d1 { top: 40%; left: 35%; animation-delay: 0s; }
.d2 { top: 60%; left: 40%; animation-delay: 0.2s; }
.d3 { top: 40%; right: 35%; animation-delay: 0.4s; }
.d4 { top: 60%; right: 40%; animation-delay: 0.6s; }
.d5 { top: 25%; left: 50%; margin-left: -4px; animation-delay: 0.8s; } 

@keyframes gridFlow { from { transform: rotateX(60deg) translateY(0); } to { transform: rotateX(60deg) translateY(40px); } }
@keyframes jetBob { 0%, 100% { transform: translate(-50%, -50%) translateY(0); } 50% { transform: translate(-50%, -50%) translateY(-10px); } }
@keyframes droneMove { 0% { transform: rotate(45deg) translateY(0); } 100% { transform: rotate(45deg) translateY(5px); } }

/* --- FOOTER --- */
footer { background: var(--deep-blue); color: white; padding: 80px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4rem; margin-bottom: 4rem; }
footer h4 { color: white; margin-bottom: 1.5rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px;}
footer p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
footer a { color: rgba(255,255,255,0.7); display: block; margin-bottom: 0.8rem; }
footer a:hover { color: var(--bright-blue); padding-left: 5px; }
.social-icons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-icons a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; border-radius: 50%; padding: 0; }
.social-icons a:hover { background: var(--bright-blue); color: white; transform: translateY(-3px); }
.social-svg { width: 18px; height: 18px; fill: white; }

/* ==========================================================================
   MOBILE RESPONSIVENESS FIXES
   ========================================================================== */

@media (max-width: 900px) {
    /* --- Navigation Menu --- */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        color: var(--primary-blue);
        font-size: 1.5rem;
    }

    /* Setup for mobile dropdown menu */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust this if your header is taller/shorter */
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow-card);
        text-align: center;
        z-index: 1000;
    }

    /* Shows the menu when triggered by main.js */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    /* --- Global Layout Stack --- */
    /* Forces generic flex rows and CSS grids to stack vertically */
    .container, .row, .grid, .features-grid, .services-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    /* Overrides hardcoded inline grids (like '1fr 1fr' in your modals) */
    [style*="grid-template-columns:"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    /* --- Typography Scaling --- */
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.5rem !important; }

    /* Adjust padding to prevent text from touching screen edges */
    section, header, footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* --- Modals & Forms --- */
    .modal-box {
        width: 95% !important;
        margin: 10% auto !important;
        padding: 25px 20px !important;
        box-sizing: border-box;
    }

    /* Ensures inputs don't break out of their containers */
    input, select, textarea, button {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* --- Footer --- */
    .footer-content {
        text-align: center;
        flex-direction: column;
        gap: 20px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
}

.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: #444; }
.form-group input, .form-group select {
    width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; font-family: inherit; transition: border-color 0.3s;
}
.form-group input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1); }

/* Success Message Icon Animation */
@keyframes scaleUp { from { transform: scale(0); } to { transform: scale(1); } }
.fa-check-circle { animation: scaleUp 0.5s ease-out; }

/* Hide the Honeypot field from real users */
.hp-field {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -5000px; /* Moves it far off-screen as a backup */
}


@media (max-width: 900px) {
    /* Ensure the hamburger icon is visible */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        color: var(--primary);
        font-size: 1.5rem;
    }

    /* The hidden state of the menu */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* The visible state when clicked */
    .nav-links.active {
        display: flex !important;
    }
}

/* Custom sizing for the inline 3D SVG logo */
.brand-logo-svg {
    height: 55px; /* Matches your current .brand-logo height */
    width: auto;
    display: block;
    overflow: visible; /* Prevents the 3D shadow from getting cut off at the edges */
}