/* Modern Color Palette */
:root {
    --primary: #0f172a;
    --accent: #38bdf8;
    --secondary: #f8fafc;
    --highlight: #fcd34d;
    --neon: #a5f3fc;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --gradient: linear-gradient(135deg, #38bdf8 0%, #7c3aed 100%);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* Glow Effects */
.glow {
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.card-glow {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-glow:hover {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

/* Header - Futuristic Style */
header {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section - Futuristic with Particles */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at bottom, #0f172a 0%, #020617 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1IiBoZWlnaHQ9IjUiPgo8cmVjdCB3aWR0aD0iNSIgaGVpZ2h0PSI1IiBmaWxsPSIjMDAwMDAwIj48L3JlY3Q+CjxwYXRoIGQ9Ik0wIDVMNSAwWk02IDRMNCA2Wk0tMSAxTDEgLTFaIiBzdHJva2U9IiMxZTIxMzEiIHN0cm9rZS13aWR0aD0iMSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--neon);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(248, 250, 252, 0.8);
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background: var(--gradient);
    color: var(--text-light);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.4);
}

.btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.hero-image {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 40%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
}

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

/* Particles Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particle {
    position: absolute;
    background-color: var(--neon);
    border-radius: 50%;
    opacity: 0.5;
    animation: float-particle linear infinite;
}

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

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-title .subtitle {
    font-size: 1.1rem;
    color: var(--text-dark);
    max-width: 700px;
    margin: 15px auto 0;
}

/* Brands Section - Holographic Cards */
.brands-section {
    background-color: var(--secondary);
}

.brands-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.brand-card {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(165, 243, 252, 0),
        rgba(165, 243, 252, 0),
        rgba(165, 243, 252, 0.3),
        rgba(165, 243, 252, 0)
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

.brand-card:hover::before {
    transform: rotate(30deg) translate(20%, 20%);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.2);
}

.brand-card img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%) contrast(0.5);
    transition: all 0.3s ease;
}

.brand-card:hover img {
    filter: grayscale(0%) contrast(1);
}

/* Categories Section - 3D Tilt Effect */
.categories-section {
    background-color: var(--primary);
    color: var(--text-light);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: rgba(248, 250, 252, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.1);
    perspective: 1000px;
    transform-style: preserve-3d;
}

.category-card:hover {
    background: rgba(248, 250, 252, 0.1);
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.category-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-info {
    padding: 25px;
    text-align: center;
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neon);
}

.category-info p {
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 20px;
}

/* Featured Products - Glass Morphism */
.featured-section {
    background-color: var(--secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.2);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: var(--text-light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.product-info p {
    color: #64748b;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-rating {
    color: var(--highlight);
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Services Section - Animated Cards */
.services-section {
    background-color: var(--primary);
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(248, 250, 252, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.1);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neon);
}

.service-card p {
    color: rgba(248, 250, 252, 0.7);
}

/* Ad Banners - Neon Glow */
.ad-banners {
    background-color: var(--secondary);
}

.ad-banner {
    background: linear-gradient(135deg, var(--primary), #1e293b);
    color: var(--text-light);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.ad-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(56, 189, 248, 0),
        rgba(56, 189, 248, 0),
        rgba(56, 189, 248, 0.1),
        rgba(56, 189, 248, 0)
    );
    transform: rotate(30deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { transform: rotate(30deg) translate(-30%, -30%); }
    100% { transform: rotate(30deg) translate(30%, 30%); }
}

.ad-content {
    max-width: 60%;
    position: relative;
    z-index: 2;
}

.ad-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--neon);
}

.ad-content p {
    margin-bottom: 25px;
    color: rgba(248, 250, 252, 0.8);
}

.ad-image {
    width: 35%;
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

.ad-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Contact Section - Interactive */
.contact-section {
    background-color: var(--secondary);
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-size: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-right: 20px;
    margin-top: 5px;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-text p, .contact-text a {
    color: #64748b;
}

.contact-text a:hover {
    color: var(--accent);
}

.contact-map {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Footer - Futuristic */
footer {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--neon);
}

.footer-col p {
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(248, 250, 252, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--neon);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    color: var(--neon);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--gradient);
    color: var(--text-light);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50px 0 0 50px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.newsletter-form button {
    padding: 0 25px;
    background: var(--gradient);
    color: var(--text-light);
    border: none;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(56, 189, 248, 0.1);
}

.footer-bottom p {
    color: rgba(248, 250, 252, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-image {
        width: 45%;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 700px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding-top: 100px;
    }
    
    .hero-image {
        position: relative;
        width: 60%;
        margin: 40px auto 0;
        right: auto;
        bottom: auto;
    }
    
    .ad-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .ad-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .ad-image {
        width: 60%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--primary);
        flex-direction: column;
        padding: 100px 40px;
        transition: all 0.5s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-form {
        order: 1;
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .brand-card {
        width: 120px;
        height: 80px;
        padding: 15px;
    }
    
    .category-card, .product-card, .service-card {
        max-width: 100%;
    }
    
    .ad-banner {
        padding: 40px 30px;
    }
    
    .ad-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}