/* --- General Setup & Variables --- */
:root {
    --primary-color: #00ffd5;
    --dark-color: #000;
    --background-color: #0d0d0d;
    --text-color: #fff;
    --text-muted: #ccc;
    --transition-speed: 0.5s;
}

html {
    scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(circle at center, var(--background-color), var(--dark-color));
  color: var(--text-color);
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* --- Header & Navigation --- */
#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
  width: 50px;
  height: 50px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: relative;
}

.arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 15px solid var(--primary-color);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  transform: translate(-50%, -50%);
}

#main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

#main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

#main-nav a:hover {
    color: var(--primary-color);
}

/* --- Mobile Menu Toggle Button --- */
#menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 30px;
    cursor: pointer;
}


/* --- Navigation Dropdown --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown .dropbtn {
    cursor: pointer;
}

.nav-dropdown .dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    overflow: hidden;
}

.nav-dropdown .dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.nav-dropdown .dropdown-content a:hover {
    background-color: #333;
    color: var(--primary-color);
}

.nav-dropdown:hover .dropdown-content {
    display: block;
}


/* --- Main Content & Sections --- */
main {
    padding-top: 100px; /* Header height */
}

section {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

#hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin-bottom: 20px;
}

/* --- Media Showcase --- */
.media-showcase h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-container {
    background: #1a1a1a;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Goggle View Styling --- */
.goggle-view {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 9;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(0, 255, 213, 0.7), inset 0 0 20px rgba(0, 255, 213, 0.5);
    border-radius: 90px / 65px;
    overflow: hidden;
    margin-bottom: 10px;
    -webkit-mask-image: radial-gradient(ellipse 85% 95% at 50% 50%, black 99%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 95% at 50% 50%, black 99%, transparent 100%);
}

.goggle-view iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-container p {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #aaa;
}

/* --- Products Section --- */
.product-info {
    margin-top: 30px;
}

.product-info h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

/* --- Image Slider --- */
.slider-container {
    position: relative;
    max-width: 800px;
    height: 500px;
    margin: 20px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide {
    min-width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.slide.active {
    display: flex;
}

.product-image {
    max-height: 100%;
    max-width: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    object-fit: contain;
    transform: rotate(-90deg);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border: none;
}

.prev {
    left: 10px;
    border-radius: 3px 0 0 3px;
}

.next {
    right: 10px;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}


/* --- Team Section --- */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.team-member {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
    max-width: 300px;
    flex: 1 1 280px;
}

.team-member h4 {
    margin-top: 0;
}

.team-bio {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: left;
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #fff;
  transform: translateY(-3px);
}

/* --- Investor Info Modal --- */
#investor-info {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
}

#investor-info.visible {
  opacity: 1;
  pointer-events: auto;
}

.investor-content {
  background: #111;
  padding: 40px;
  border-radius: 10px;
  border: 1px solid var(--primary-color);
  max-width: 800px;
  width: 90%;
  text-align: left;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

#close-investor-info {
    position: absolute;
    top: 10px; right: 10px;
    width: 40px; height: 40px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close-investor-info:hover { background: var(--primary-color); color: var(--dark-color); }

.investor-content h2 {
  color: var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.investor-content ul {
  list-style: none;
  padding: 0;
}

.investor-content ul li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

/* --- Footer --- */
#site-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #333;
}

#site-footer a {
    color: #888;
    text-decoration: none;
}

/* --- Responsive Design --- */

/* For Tablets and smaller desktops */
@media (max-width: 992px) {
    #main-header {
        padding: 20px 30px;
    }
    section {
        padding: 50px 30px;
    }
}


/* For Mobile devices */
@media (max-width: 768px) {
    #main-header {
        padding: 15px 20px; /* Adjust padding */
    }

    #menu-toggle {
        display: block; /* Show the hamburger button */
        z-index: 1002; /* Ensure it's above the nav */
    }

    #main-nav {
        display: none; /* Hide the nav links by default */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    #main-nav.active {
        display: flex; /* Show the nav links when active */
    }
    
    #main-nav .cta-button {
        margin-top: 0;
    }

    /* Make dropdown work on mobile nav */
    .nav-dropdown .dropdown-content {
        position: static;
        display: flex;
        flex-direction: column;
        background: none;
        box-shadow: none;
        min-width: unset;
        text-align: center;
    }
    .nav-dropdown .dropdown-content a {
        padding: 10px;
    }
    
    main {
      padding-top: 90px;
    }
    section {
        padding: 40px 20px;
    }
    section h2 {
        font-size: 2rem;
    }
    .product-info h3, .media-showcase h3 {
        font-size: 1.5rem;
    }
    .slider-container {
        height: 350px;
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
}