<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>AegisGuard CyberLabs | RR3</title>
  
  <!-- SEO COMPLETE -->
  <meta name="description" content="AegisGuard CyberLabs provides elite cybersecurity solutions, penetration testing, and AI-driven threat intelligence for the modern digital fortress.">
  <meta name="keywords" content="Cybersecurity, Ethical Hacking, AI Security, Cloud Defense, Pentesting, Digital Forensics">
  
  <!-- FONTS: Space Grotesk & DM Sans -->
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

  <style>
    :root {
      --bg-deep: #050505;
      --bg-surface: #0f0f1b;
      --accent-neon: #9D4EDD; /* Purple */
      --accent-cyan: #00D9FF; /* Cyan */
      --text-prime: #FFFFFF;
      --text-sec: #B0B0B0;
      --gradient-main: linear-gradient(135deg, #9D4EDD 0%, #5A189A 50%, #240046 100%);
      --border-glow: 1px solid rgba(157, 78, 221, 0.3);
      --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      background-color: var(--bg-deep);
      color: var(--text-prime);
      font-family: 'DM Sans', sans-serif;
      overflow-x: hidden;
      line-height: 1.7;
    }

    h1, h2, h3, .font-special { font-family: 'Space Grotesk', sans-serif; text-transform: uppercase; }

    /* BACKGROUND PATTERN */
    .bg-grid {
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: 
        linear-gradient(rgba(157, 78, 221, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(157, 78, 221, 0.05) 1px, transparent 1px);
      background-size: 50px 50px;
      z-index: -1;
    }

    .glow-sphere {
      position: fixed;
      width: 400px; height: 400px;
      background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, transparent 70%);
      border-radius: 50%;
      filter: blur(50px);
      z-index: -1;
      animation: move 20s infinite alternate;
    }

    @keyframes move {
      from { top: -10%; left: -10%; }
      to { top: 80%; left: 80%; }
    }

    .container { max-width: 1440px; margin: 0 auto; padding: 0 5%; }

    /* NAVBAR */
    nav {
      height: 90px;
      display: flex;
      align-items: center;
      position: fixed;
      width: 100%;
      z-index: 1000;
      transition: var(--transition);
      border-bottom: 1px solid transparent;
    }

    nav.scrolled {
      background: rgba(5, 5, 5, 0.9);
      backdrop-filter: blur(20px);
      border-bottom: var(--border-glow);
      height: 70px;
    }

    .nav-content {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      letter-spacing: -1px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .logo span { color: var(--accent-neon); }

    .nav-links { display: flex; gap: 3rem; list-style: none; }
    .nav-links a {
      text-decoration: none;
      color: var(--text-sec);
      font-weight: 500;
      font-size: 0.9rem;
      transition: var(--transition);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .nav-links a:hover { color: var(--accent-cyan); text-shadow: 0 0 10px var(--accent-cyan); }

    /* HERO SECTION */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      padding-top: 100px;
    }

    .hero-content {
      max-width: 800px;
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-size: clamp(3rem, 8vw, 6rem);
      line-height: 0.9;
      margin-bottom: 2rem;
      font-weight: 700;
    }

    .hero h1 span {
      display: block;
      -webkit-text-stroke: 1px var(--accent-neon);
      color: transparent;
    }

    .hero p {
      font-size: 1.25rem;
      color: var(--text-sec);
      margin-bottom: 3rem;
      border-left: 3px solid var(--accent-neon);
      padding-left: 20px;
    }

    .btn {
      padding: 1.2rem 2.5rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 2px;
      cursor: pointer;
      position: relative;
      transition: var(--transition);
      border: none;
      font-size: 0.9rem;
    }

    .btn-main {
      background: var(--accent-neon);
      color: white;
      clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    }

    .btn-main:hover {
      background: var(--accent-cyan);
      transform: scale(1.05);
      color: #000;
    }

    /* SERVICES: GRID ASYMMETRIC */
    .services { padding: 150px 0; }
    .grid-asymmetric {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 20px;
    }

    .service-card {
      background: var(--bg-surface);
      border: var(--border-glow);
      padding: 3rem;
      transition: var(--transition);
      position: relative;
      overflow: hidden;
    }

    .service-card:hover {
      border-color: var(--accent-cyan);
      transform: translateY(-10px);
    }

    .service-card i {
      font-size: 3rem;
      margin-bottom: 2rem;
      color: var(--accent-neon);
    }

    .card-1 { grid-column: span 7; }
    .card-2 { grid-column: span 5; }
    .card-3 { grid-column: span 4; }
    .card-4 { grid-column: span 8; }

    /* STATS COUNTER */
    .stats {
      padding: 100px 0;
      background: var(--accent-neon);
      color: white;
      clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
    }

    .stats-container {
      display: flex;
      justify-content: space-around;
      text-align: center;
      padding: 80px 0;
    }

    .stat-box h2 { font-size: 4rem; font-weight: 700; }
    .stat-box p { font-weight: 500; opacity: 0.8; }

    /* PROJECTS: MASONRY */
    .projects { padding: 150px 0; }
    .project-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      margin-top: 50px;
    }

    .project-item {
      position: relative;
      height: 400px;
      background-size: cover;
      background-position: center;
      border-radius: 5px;
      cursor: pointer;
    }

    .project-item::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, #000, transparent);
      opacity: 0.7;
    }

    .project-info {
      position: absolute;
      bottom: 30px; left: 30px;
      z-index: 2;
    }

    /* FAQ ACCORDION */
    .faq { padding: 100px 0; max-width: 900px; margin: 0 auto; }
    .faq-item {
      border-bottom: 1px solid rgba(255,255,255,0.1);
      padding: 1.5rem 0;
    }
    .faq-trigger {
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      font-size: 1.3rem;
      font-weight: 500;
    }
    .faq-content {
      max-height: 0;
      overflow: hidden;
      transition: var(--transition);
      color: var(--text-sec);
      margin-top: 0;
    }
    .faq-item.active .faq-content {
      max-height: 200px;
      margin-top: 1.5rem;
    }

    /* CONTACT FORM */
    .contact { padding: 150px 0; }
    .contact-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 100px;
      align-items: center;
    }

    input, textarea {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 2px solid var(--border-glow);
      padding: 1.5rem 0;
      color: white;
      margin-bottom: 2rem;
      font-size: 1.1rem;
      outline: none;
    }

    input:focus { border-color: var(--accent-cyan); }

    /* FOOTER */
    footer {
      padding: 100px 0 50px;
      border-top: var(--border-glow);
    }
    .footer-content {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 50px;
    }

    /* REVEAL ANIMATION */
    .reveal { opacity: 0; transform: translateY(50px); transition: 1s all ease; }
    .reveal.active { opacity: 1; transform: translateY(0); }

    @media (max-width: 1024px) {
      .grid-asymmetric, .project-grid, .contact-box, .footer-content {
        grid-template-columns: 1fr !important;
      }
      .hero h1 { font-size: 3.5rem; }
    }
  </style>
</head>
<body>

  <div class="bg-grid"></div>
  <div class="glow-sphere"></div>

  <!-- NAVIGATION -->
  <nav id="navbar">
    <div class="container nav-content">
      <a href="#" class="logo">AEGIS<span>GUARD</span></a>
      <ul class="nav-links">
        <li><a href="#about">The Labs</a></li>
        <li><a href="#services">Security</a></li>
        <li><a href="#projects">Operations</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
      <button class="btn btn-main" onclick="location.href='#contact'">Secure Now</button>
    </div>
  </nav>

  <!-- HERO -->
  <section class="hero" id="home">
    <div class="container">
      <div class="hero-content">
        <h1 class="reveal">WE PROTECT<span>THE VOID</span></h1>
        <p class="reveal">Cyber warfare is invisible. AegisGuard CyberLabs provides the shield and the sword for the digital world's most critical infrastructures.</p>
        <div class="reveal">
          <button class="btn btn-main">Explore Protocols</button>
          <button class="btn" style="color: var(--accent-cyan)">View Systems <i class="fas fa-arrow-right"></i></button>
        </div>
      </div>
    </div>
  </section>

  <!-- STATS -->
  <section class="stats">
    <div class="container stats-container">
      <div class="stat-box">
        <h2 class="counter" data-target="1400">0</h2>
        <p>Threats Neutralized</p>
      </div>
      <div class="stat-box">
        <h2 class="counter" data-target="250">0</h2>
        <p>Expert Agents</p>
      </div>
      <div class="stat-box">
        <h2 class="counter" data-target="99">0</h2>
        <p>Uptime %</p>
      </div>
    </div>
  </section>

  <!-- SERVICES -->
  <section class="services container" id="services">
    <div class="reveal" style="margin-bottom: 80px;">
      <h2 style="font-size: 3rem;">CORE DEFENSE</h2>
      <p style="color: var(--accent-cyan); letter-spacing: 5px;">MODERN SECURITY PROTOCOLS</p>
    </div>

    <div class="grid-asymmetric">
      <div class="service-card card-1 reveal">
        <i class="fas fa-user-shield"></i>
        <h3>Red Team Operations</h3>
        <p>Simulated adversarial attacks to test your perimeter. We don't just find vulnerabilities; we exploit them so the hackers can't.</p>
      </div>
      <div class="service-card card-2 reveal">
        <i class="fas fa-microchip"></i>
        <h3>Neural AI Defense</h3>
        <p>Self-learning algorithms that detect 0-day threats in milliseconds.</p>
      </div>
      <div class="service-card card-3 reveal">
        <i class="fas fa-cloud-lock"></i>
        <h3>Cloud Hardening</h3>
        <p>Secure architecture for AWS, Azure, and Hybrid environments.</p>
      </div>
      <div class="service-card card-4 reveal">
        <i class="fas fa-fingerprint"></i>
        <h3>Digital Forensics</h3>
        <p>Deep-dive analysis into data breaches to track, identify, and prosecute digital intruders with surgical precision.</p>
      </div>
    </div>
  </section>

  <!-- PROJECTS -->
  <section class="projects container" id="projects">
    <h2 class="reveal">ACTIVE OPERATIONS</h2>
    <div class="project-grid">
      <div class="project-item reveal" style="background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?w=800&q=80')">
        <div class="project-info">
          <span style="color: var(--accent-cyan)">Operation</span>
          <h3>DARK NODE</h3>
        </div>
      </div>
      <div class="project-item reveal" style="background-image: url('https://images.unsplash.com/photo-1563986768609-322da13575f3?w=800&q=80')">
        <div class="project-info">
          <span style="color: var(--accent-cyan)">Operation</span>
          <h3>SILENT VAULT</h3>
        </div>
      </div>
      <div class="project-item reveal" style="background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc51?w=800&q=80')">
        <div class="project-info">
          <span style="color: var(--accent-cyan)">Operation</span>
          <h3>CYBER SHIELD</h3>
        </div>
      </div>
    </div>
  </section>

  <!-- FAQ -->
  <section class="faq container">
    <h2 class="reveal" style="text-align: center; margin-bottom: 50px;">SECURITY PROTOCOLS FAQ</h2>
    <div class="faq-item reveal">
      <div class="faq-trigger">What is your response time for a breach? <i class="fas fa-chevron-down"></i></div>
      <div class="faq-content">Our IR (Incident Response) team is on 24/7 standby with a guaranteed sub-15 minute engagement time.</div>
    </div>
    <div class="faq-item reveal">
      <div class="faq-trigger">Do you provide compliance certifications? <i class="fas fa-chevron-down"></i></div>
      <div class="faq-content">Yes, we assist in meeting SOC2, ISO27001, and HIPAA compliance through rigorous auditing.</div>
    </div>
  </section>

  <!-- CONTACT -->
  <section class="contact container" id="contact">
    <div class="contact-box">
      <div class="reveal">
        <h2>INITIATE<br>CONTACT</h2>
        <p style="margin-top: 20px; color: var(--text-sec);">Encrypted communication channels open. Send your project parameters.</p>
      </div>
      <form class="reveal">
        <input type="text" placeholder="IDENTITY / NAME">
        <input type="email" placeholder="SECURE EMAIL">
        <textarea rows="4" placeholder="PROJECT PARAMETERS"></textarea>
        <button type="submit" class="btn btn-main" style="width: 100%;">TRANSMIT DATA</button>
      </form>
    </div>
  </section>

  <!-- FOOTER -->
  <footer class="container">
    <div class="footer-content">
      <div>
        <h3>AEGISGUARD</h3>
        <p style="color: var(--text-sec); margin-top: 20px;">Elite Cyber-Intelligence Agency.</p>
        <div style="display: flex; gap: 20px; margin-top: 30px;">
          <a href="#" style="color: var(--accent-neon);"><i class="fab fa-linkedin fa-lg"></i></a>
          <a href="#" style="color: var(--accent-neon);"><i class="fab fa-github fa-lg"></i></a>
          <a href="#" style="color: var(--accent-neon);"><i class="fab fa-twitter fa-lg"></i></a>
        </div>
      </div>
      <div>
        <h4>TACTICS</h4>
        <ul style="list-style: none; color: var(--text-sec); margin-top: 20px;">
          <li>Penetration Testing</li>
          <li>AI Surveillance</li>
          <li>Hardening</li>
        </ul>
      </div>
      <div>
        <h4>AGENCY</h4>
        <ul style="list-style: none; color: var(--text-sec); margin-top: 20px;">
          <li>Our Lab</li>
          <li>Manifesto</li>
          <li>Agents</li>
        </ul>
      </div>
      <div>
        <h4>LOCATION</h4>
        <p style="color: var(--text-sec); margin-top: 20px;">Sector 7, Decentralized Hub<br>Ether-Net</p>
      </div>
    </div>
    <p style="text-align: center; margin-top: 80px; color: var(--text-sec); font-size: 0.8rem;">
      &copy; <span id="year"></span> AEGISGUARD CYBERLABS. ALL RIGHTS ENCRYPTED.
    </p>
  </footer>

  <script>
    // Navbar Scroll
    window.onscroll = () => {
      const nav = document.getElementById('navbar');
      if (window.scrollY > 50) nav.classList.add('scrolled');
      else nav.classList.remove('scrolled');
      reveal();
    };

    // Scroll Reveal
    function reveal() {
      const reveals = document.querySelectorAll('.reveal');
      reveals.forEach(el => {
        const windowHeight = window.innerHeight;
        const revealTop = el.getBoundingClientRect().top;
        if (revealTop < windowHeight - 100) el.classList.add('active');
      });
    }

    // Counter Animation
    const counters = document.querySelectorAll('.counter');
    const speed = 200;
    counters.forEach(counter => {
      const updateCount = () => {
        const target = +counter.getAttribute('data-target');
        const count = +counter.innerText;
        const inc = target / speed;
        if (count < target) {
          counter.innerText = Math.ceil(count + inc);
          setTimeout(updateCount, 1);
        } else {
          counter.innerText = target + "+";
        }
      };
      
      const observer = new IntersectionObserver((entries) => {
        if(entries[0].isIntersecting) updateCount();
      }, { threshold: 0.5 });
      observer.observe(counter);
    });

    // FAQ Toggle
    document.querySelectorAll('.faq-item').forEach(item => {
      item.addEventListener('click', () => {
        item.classList.toggle('active');
        const icon = item.querySelector('i');
        icon.classList.toggle('fa-chevron-down');
        icon.classList.toggle('fa-chevron-up');
      });
    });

    document.getElementById('year').innerText = new Date().getFullYear();
    reveal(); // Initial call
  </script>
</body>
</html>