/* Base Reset */
:root {
    --bg-dark: #020c1b;
    --primary: #0a192f;
    --secondary: #112240;
    --accent: #64ffda;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --white: #ffffff;
    --glass: rgba(10, 25, 47, 0.7);
    --border: rgba(230, 241, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--secondary);
    color: var(--white);
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: 500;
    margin-left: 15px;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #1a335d;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1px;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.highlight {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.nav-links li a:hover {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--accent);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 150px;
    /* Increased base padding */
    overflow: hidden;
}

@media (max-width: 1200px) {
    #hero {
        padding-top: 180px;
        /* Even more space for laptops/tablets */
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #112240 0%, #020c1b 100%);
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.glow-2 {
    top: auto;
    bottom: -100px;
    right: auto;
    left: -100px;
    background: radial-gradient(circle, rgba(20, 100, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.floating-shapes i {
    position: absolute;
    display: block;
    color: rgba(100, 255, 218, 0.1);
    animation: float 25s linear infinite;
    bottom: -150px;
    font-size: 20px;
}

.floating-shapes i:nth-child(1) {
    left: 25%;
    font-size: 80px;
    animation-delay: 0s;
    color: rgba(100, 255, 218, 0.05);
    /* Accent color transparent */
}

.floating-shapes i:nth-child(2) {
    left: 10%;
    font-size: 30px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.floating-shapes i:nth-child(3) {
    left: 70%;
    font-size: 40px;
    animation-delay: 4s;
    color: rgba(17, 122, 255, 0.1);
    /* Blue transparent */
}

.floating-shapes i:nth-child(4) {
    left: 40%;
    font-size: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
    color: rgba(17, 122, 255, 0.05);
}

.floating-shapes i:nth-child(5) {
    left: 65%;
    font-size: 30px;
    animation-delay: 0s;
}

.floating-shapes i:nth-child(6) {
    left: 75%;
    font-size: 90px;
    animation-delay: 3s;
    color: rgba(100, 255, 218, 0.05);
}

.floating-shapes i:nth-child(7) {
    left: 35%;
    font-size: 100px;
    animation-delay: 7s;
    color: rgba(17, 122, 255, 0.05);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-primary);
}

.text-gradient {
    background: linear-gradient(90deg, #64ffda, #117aff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.stats-bar {
    display: flex;
    gap: 50px;
    margin-top: 30px;
    /* Reduced from 60px */
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.stat h3 {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* About Section */
#about {
    padding: 100px 0;
    background-color: var(--primary);
}

.section-header {
    margin-bottom: 60px;
}

.subtitle {
    color: var(--accent);
    font-family: 'Fira Code', monospace;
    /* Monospace for technical feel */
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    background: rgba(17, 34, 64, 0.5);
    /* Semi-transparent background */
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    text-align: left;
}

.about-text strong {
    color: var(--text-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--secondary);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.about-card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-card p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Products Section */
#products {
    padding: 100px 0;
}

.search-box {
    margin-top: 20px;
    position: relative;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Fixed 4 columns as requested */
    gap: 30px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
    border-color: var(--accent);
}

.img-wrapper {
    height: 300px;
    overflow: hidden;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    /* Changed to light text for dark theme */
    margin-bottom: 15px;
    font-weight: 600;
}

.link-arrow {
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.link-arrow:hover {
    gap: 10px;
    /* Slide arrow */
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--secondary);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.info-item {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 20px;
}

.info-item span {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
}

.info-item p {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: #1a2f4d;
    /* Slightly lighter than secondary */
    border: 1px solid transparent;
    border-radius: 4px;
    color: var(--text-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* Footer */
footer {
    padding: 50px 0 20px;
    background: #020c1b;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: 0;
        overflow: hidden;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        gap: 0;
        transition: height 0.3s ease;
        /* border-bottom removed */
    }

    .nav-links.active {
        height: 300px;
        padding: 20px 0;
        gap: 20px;
    }

    /* Fix for Hero on Mobile */
    #hero {
        display: block;
        /* Disable flex centering on mobile */
        padding-top: 150px;
        /* Force spacing */
        height: auto;
        /* Allow content to flow */
        min-height: 100vh;
    }

    .hero-content {
        padding-bottom: 50px;
        /* Bottom spacing */
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .stats-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .logo span {
        font-size: 18px;
        /* Slightly smaller logo text */
        white-space: nowrap;
        /* Prevent wrapping */
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 28px;
    background-color: #25d366;
    color: white;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-whatsapp-inline:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}