/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --secondary: #00d2ff;
    --dark-bg: #050a15;
    --dark-surface: #0a1122;
    --dark-card: rgba(10, 17, 34, 0.7);
    --text-light: #f8f9fa;
    --text-muted: #a0aec0;
    --border-color: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(5, 10, 21, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent: #ff4757;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.product-description > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.product-description > div a {
    margin: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 120px;
    object-fit: contain;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.8), 0px 0px 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.product-logo, .product-page-logo, .footer-logo img {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.8), 0px 0px 10px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -50%;
    width: 200%;
    height: 40px;
    background: transparent;
    z-index: 1;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 320px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.6);
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    padding: 0.5rem 0;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease, color 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.dropdown-content a:after {
    display: none;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(0, 123, 255, 0.2);
    color: #fff;
    padding-left: 25px;
}

.dropdown:hover .dropdown-content, .dropdown.active .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0,123,255,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    max-width: 600px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 0;
}

.hero-image img {
    width: 100%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.8), 0px 0px 10px rgba(255, 255, 255, 0.5);
    animation: float 6s ease-in-out infinite;
    max-height: 50vh;
    object-fit: contain;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Sections */
section {
    padding: 6rem 5%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,123,255,0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

.product-card:hover::before {
    opacity: 1;
}

.product-logo {
    height: 70px;
    max-width: 200px;
    margin-bottom: 1.5rem;
    object-fit: contain;
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5));
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
    flex-grow: 1;
}

.product-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-btn {
    margin-top: auto;
    color: var(--secondary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.product-card:hover .link-btn {
    color: #fff;
    gap: 0.8rem;
}

/* Detailed Product Page styling */
.product-page-hero {
    min-height: 50vh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
}

.product-page-logo {
    max-height: 120px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
}

.product-description {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.product-description p {
    margin-bottom: 1.5rem;
}

/* About Section */
.about {
    background: var(--dark-surface);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.contact-container::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary);
    filter: blur(100px);
    opacity: 0.2;
    z-index: 0;
}

.contact-info, .contact-form {
    z-index: 1;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

/* Footer */
footer {
    background: #02050a;
    padding: 4rem 5% 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-logo img {
    height: 60px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 0.9rem;
}

/* Mobile Nav */
.menu-btn {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: #fff;
    z-index: 1001;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Responsiveness */
@media (max-width: 1440px) {
    header {
        padding: 1.2rem 3%;
    }
    header.scrolled {
        padding: 0.8rem 3%;
    }
    .logo img {
        height: 90px;
        padding: 8px;
    }
    .nav-links {
        gap: 1.2rem;
    }
    .nav-links li a {
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    header {
        padding: 1rem 2%;
    }
    .logo img {
        height: 80px;
        padding: 8px;
    }
    .nav-links {
        gap: 1rem;
    }
    .nav-links li a {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    .logo img {
        height: 70px;
        padding: 6px;
    }
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 4rem;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        position: relative;
        width: 90%;
        margin-top: 4rem;
        right: 0;
        top: 0;
        transform: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--dark-bg);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 999;
        padding-top: 6rem;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        min-width: 100%;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border: none;
        margin-top: 1rem;
        border-radius: 0;
        left: 0;
        transform: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .menu-btn {
        display: block;
    }
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
        padding: 6px;
        border-radius: 10px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    section {
        padding: 4rem 5%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .logo img {
        height: 50px;
    }
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}
