/* --- DARK THEME COLOR VARIABLES --- */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --accent-blue: #007bff;
    --accent-hover: #0056b3;
    --text-main: #f0f0f0;
    --text-muted: #aaaaaa;
    --nav-bg: #0d0d0d;
}

/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { line-height: 1.6; background-color: var(--bg-dark); color: var(--text-main); display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* --- NAVBAR --- */
.navbar { background: var(--nav-bg); height: 80px; display: flex; align-items: center; border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; }
.logo img { height: 50px; width: auto; }
.logo span { font-size: 1.5rem; font-weight: bold; margin-left: 15px; color: #fff; }

/* Desktop Nav */
#nav-links-desktop { list-style: none; display: flex; align-items: center; }
#nav-links-desktop li { margin-left: 20px; position: relative; }
#nav-links-desktop a { color: var(--text-main); font-weight: 500; transition: color 0.3s; }
#nav-links-desktop a:hover { color: var(--accent-blue); }

/* Mobile Nav */
#nav-links-mobile { display: none; }

.btn-nav { background: var(--accent-blue); padding: 8px 20px; border-radius: 5px; color: white !important; }
.btn-nav:hover { background: var(--accent-hover); }

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- DROPDOWNS (Desktop) --- */
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-card); width: 250px; border: 1px solid #333; list-style: none; padding: 10px 0; z-index: 999; }
.dropdown-menu li a { display: block; padding: 10px 20px; color: var(--text-muted); }
.dropdown-menu li a:hover { background: #333; color: var(--accent-blue); }
.dropdown:hover .dropdown-menu { display: block; }
.submenu { display: none; position: absolute; left: 100%; top: 0; background: var(--bg-card); width: 250px; border: 1px solid #333; list-style: none; }
.dropdown-submenu:hover .submenu { display: block; }

/* --- HERO & SECTIONS --- */
.hero { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/1600x900/?technology,code'); background-size: cover; background-position: center; height: 500px; display: flex; align-items: center; text-align: center; justify-content: center; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: #fff; }
.btn { display: inline-block; background: var(--accent-blue); color: #fff; padding: 12px 30px; margin-top: 20px; border-radius: 5px; font-weight: bold; transition: 0.3s; }
.btn:hover { background: var(--accent-hover); }

.section { padding: 80px 0; text-align: center; }
.bg-darker { background-color: var(--bg-card); }
.section-title { font-size: 2.5rem; margin-bottom: 50px; position: relative; display: inline-block; color: var(--accent-blue); }

/* --- GRIDS & CARDS --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.card { background: #2a2a2a; padding: 30px; border-radius: 10px; transition: transform 0.3s; border-top: 3px solid var(--accent-blue); }
.card:hover { transform: translateY(-5px); }
.icon-blue { font-size: 2.5rem; color: var(--accent-blue); margin-bottom: 20px; }
.link-blue { display: inline-block; margin-top: 15px; color: var(--accent-blue); font-weight: bold; }
.card-actions { margin-top: 15px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.card-actions .btn-outline { min-width: 145px; text-align: center; }
.intro-grid { display: flex; align-items: stretch; gap: 30px; flex-wrap: wrap; margin-top: 40px; }
.intro-text { flex: 2; text-align: left; }
.stat-grid { flex: 1; display: grid; gap: 15px; }
.stat-card { background: #181818; padding: 20px; border-radius: 12px; border-top: 3px solid var(--accent-blue); text-align: center; }
.stat-value { display: block; font-size: 2rem; font-weight: 700; color: #fff; }
.stat-label { font-size: 0.9rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 30px; }
.feature-card { background: #1f1f1f; border-top-color: #0b7edd; }

/* --- PRODUCT HIGHLIGHTS --- */
.product-highlight { display: flex; align-items: center; justify-content: space-between; background: #2a2a2a; padding: 40px; border-radius: 15px; text-align: left; gap: 40px; }
.reverse { flex-direction: row-reverse; }
.product-info h3 { font-size: 2rem; margin-bottom: 15px; }
.product-info p { color: var(--text-muted); margin-bottom: 20px; }
.feature-list { list-style: none; margin-bottom: 20px; }
.feature-list li { margin-bottom: 10px; }
.feature-list i { color: var(--accent-blue); margin-right: 10px; }
.product-media { flex: 1; }
.product-media img { width: 100%; border-radius: 12px; border: 1px solid #333; }
.product-info { flex: 1; }
.btn-outline { background: transparent; border: 2px solid var(--accent-blue); color: var(--accent-blue); padding: 10px 20px; border-radius: 5px; display: inline-block; }
.btn-outline:hover { background: var(--accent-blue); color: #fff; }

/* --- FOOTER --- */
.footer { background: #000; color: #fff; padding-top: 60px; border-top: 1px solid #333; margin-top: auto; }
.footer-split { display: flex; justify-content: space-between; flex-wrap: wrap; padding-bottom: 40px; }
.footer-column { flex: 1; padding: 0 20px; }
.footer h3 { color: var(--accent-blue); margin-bottom: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; display: inline-block; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #888; display: inline-flex; align-items: center; }
.footer-links a i { margin-right: 10px; color: var(--accent-blue); }
.footer-links a:hover { color: #fff; }
.footer-bottom { background: #050505; text-align: center; padding: 20px; color: #555; font-size: 0.9rem; }

@media (max-width: 768px) {
    .navbar { height: auto; }
    .nav-container { flex-wrap: wrap; }
    .logo { flex-grow: 1; }

    .nav-toggle { display: block; }

    #nav-links-desktop { display: none; }
    
    #nav-links-mobile {
        list-style: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--nav-bg);
        text-align: center;
        padding: 20px 0;
    }
    
    #nav-links-mobile.show { display: flex; }

    #nav-links-mobile li { margin: 10px 0; width: 100%; }
    #nav-links-mobile li a { display: block; padding: 10px 0; }
    #nav-links-mobile .btn-nav { display: inline-block; width: auto; }


    .product-highlight { flex-direction: column; text-align: center; }
    
    .footer-split { flex-direction: column; text-align: center; }
    .footer-column { margin-bottom: 30px; }
    .footer-links a { justify-content: center; }
}


/* --- SEARCH BAR STYLES --- */
.search-container {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px; /* Space for the icon */
    font-size: 1.1rem;
    border: 2px solid #333;
    background: #1e1e1e; /* Dark Card Background */
    color: #fff;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: var(--accent-blue);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
}
