:root {
    /* Color Palette */
    --primary-blue: #007aff;
    --primary-purple: #5856d6;
    --primary-orange: #ff9500;
    --text-dark: #1d1d1f;
    --text-light: #f5f5f7;
    --bg-light: #ffffff;
    --bg-dark: #000000;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.15);
    
    /* Vibrant Color Palette */
    --primary-blue: #00d2ff;
    --primary-purple: #9d50bb;
    --primary-deep: #2a0845;
    --primary-orange: #ff9d00;
    
    /* Dynamic Mesh Gradients */
    --gradient-vibrant: linear-gradient(135deg, var(--primary-deep) 0%, #3b1b5e 50%, #4b2a75 100%);
    --mesh-glow: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.15) 0%, transparent 50%);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #0f0c29; /* Fallback */
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%) !important;
    position: relative;
    overflow: hidden;
    color: white;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(157, 80, 187, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 157, 0, 0.1) 0%, transparent 50%);
    animation: meshMove 20s infinite alternate ease-in-out;
    pointer-events: none;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.gradient-text {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #00c6ff, #007aff, #5856d6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Ultimate Hero Visual (Non-Image) */
.hero-visual-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.tech-sphere {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    transition: transform 0.5s ease-out;
}

.sphere-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-blue);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(0, 122, 255, 0.2), inset 0 0 20px rgba(0, 122, 255, 0.2);
    animation: rotateSphere 8s infinite linear;
}

.sphere-layer:nth-child(2) {
    width: 80%;
    height: 80%;
    border-color: var(--primary-purple);
    animation: rotateSphere 12s infinite linear reverse;
    transform: translate(-50%, -50%) rotateX(45deg);
}

.sphere-layer:nth-child(3) {
    width: 60%;
    height: 60%;
    border-color: var(--primary-orange);
    animation: rotateSphere 10s infinite linear;
    transform: translate(-50%, -50%) rotateY(45deg);
}

.sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--gradient-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 60px var(--primary-blue), 0 0 100px var(--primary-purple);
    animation: corePulse 2s infinite ease-in-out;
    z-index: 5;
}

@keyframes rotateSphere {
    0% { transform: translate(-50%, -50%) rotate3d(1, 1, 1, 0deg); }
    100% { transform: translate(-50%, -50%) rotate3d(1, 1, 1, 360deg); }
}

@keyframes corePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

@media (max-width: 768px) {
    .hero-visual-container {
        width: 100%;
        height: 300px;
    }
    .tech-sphere {
        width: 200px;
        height: 200px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    min-height: 44px; /* Touch target minimum */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.btn:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.btn-primary {
    background: var(--gradient-blue);
    color: white;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(5px);
    margin-left: 15px;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    margin-top: 15px;
}

.btn-whatsapp i {
    margin-right: 12px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Product Cards */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* Section titles on dark */
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}
.section-title .underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-blue);
    margin: 20px auto 0;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 15px;
    min-width: 0;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

.gallery-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    pointer-events: none;
    z-index: 5;
}

.nav-arrow {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s;
    opacity: 0;
    font-size: 0.8rem;
}

.gallery-wrapper:hover .nav-arrow {
    opacity: 1;
}

.nav-arrow:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.gallery-container {
    width: 100%;
    height: 300px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    margin-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-radius: 15px;
}

.gallery-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.gallery-container img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    scroll-snap-align: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: zoom-in;
}

.gallery-container img:hover {
    transform: scale(1.15); /* Zoom in as requested */
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-blue);
    width: 20px;
    border-radius: 10px;
}

.card h3 {
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

/* Responsive Grid */
.grid {
    display: grid;
    gap: 50px;
}
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Feature Section & Reviews */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 70px;
}

.feature-box {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card .stars {
    color: #ffcc00;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.review-card p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.review-card .user {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card .avatar {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
}

.review-card .user-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-card .name {
    font-weight: 700;
    font-size: 1rem;
}

.review-card .badge-verified {
    font-size: 0.75rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

footer {
    background: #0a0a1a;
    color: white;
    padding: 100px 0 40px;
    border-top: 1px solid rgba(0, 210, 255, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 80px;
}

.footer-links h4 {
    margin-bottom: 30px;
    color: white;
}

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

.footer-links ul li {
    margin-bottom: 20px;
}

.footer-links ul li a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.95rem;
}
/* Mobile Navigation Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(15, 12, 41, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    transition: 0.4s;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding: 10px 0; /* Better touch target */
    display: block;
}

.mobile-nav a:active {
    color: var(--primary-blue);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .container {
        padding: 0 25px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
        color: white;
    }
    
    .grid-3, .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Small Device Polish (Phones) */
@media (max-width: 480px) {
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .tech-sphere {
        width: 150px;
        height: 150px;
    }
}

/* Large Device Polish (Ultra-wide) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .gradient-text {
        font-size: 4.5rem;
    }
}

/* Contact Section Styles */
#contact {
    background: transparent;
}

.contact-info, .contact-form {
    height: 100%;
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.contact-item {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item i {
    font-size: 1.4rem;
    width: 25px;
    color: var(--primary-blue);
}

.contact-form form input, 
.contact-form form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: white;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.3s;
}

.contact-form form input:focus, 
.contact-form form textarea:focus {
    border-color: var(--primary-blue);
    background: rgba(255,255,255,0.08);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-orange);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-ai {
    background: linear-gradient(135deg, #00d2ff 0%, #9d50bb 100%);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-spec {
    font-size: 0.8rem;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-blue);
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-weight: 600;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

/* Neural Background Overlay */
.neural-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 210, 255, 0.05) 0%, transparent 10%),
        radial-gradient(circle at 90% 90%, rgba(157, 80, 187, 0.05) 0%, transparent 10%),
        radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.03) 0%, transparent 15%);
    background-size: 100px 100px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    animation: neuralPulse 10s infinite alternate ease-in-out;
}

@keyframes neuralPulse {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(1.05); }
}


/* Section Specific Backgrounds */
.hero { background: linear-gradient(135deg, #0f0c29 0%, #302b63 100%) !important; }
#laptops { background: linear-gradient(180deg, #302b63 0%, #24243e 100%); }
#desktops { background: linear-gradient(180deg, #24243e 0%, #1a1a2e 100%); }
#mac { background: linear-gradient(180deg, #1a1a2e 0%, #2a0845 100%); }
#peripherals { background: linear-gradient(180deg, #2a0845 0%, #0f0c29 100%); }
#deals { background: linear-gradient(180deg, #0f0c29 0%, #16222a 100%); }
.features-section { background: linear-gradient(180deg, #16222a 0%, #3a6073 100%); }
.reviews-section { background: linear-gradient(180deg, #3a6073 0%, #141e30 100%); }
#contact { background: linear-gradient(180deg, #141e30 0%, #0f0c29 100%); }

/* Adjusting padding and contrast for section-specific themes */
.features-section .section-title h2 { color: white !important; }
.features-section .underline { background: white !important; }
/* Vibrant Text Styles */
.vibrant-text {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    line-height: 1.8;
}

/* Contact Section Fixes */
.contact-info {
    padding: 60px !important; /* De-congesting */
}

.contact-item {
    margin-bottom: 40px; /* Better spacing */
}

/* FAQ Section */
.faq-section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 210, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-blue);
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-item i {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 30px !important;
    }
}

/* Abstract Tech Orbits */
.tech-orbit-container {
    position: absolute;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.orbit-core {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    border-radius: 50%;
    filter: blur(5px);
    box-shadow: 0 0 20px var(--primary-blue);
}

.orbit-ring {
    position: absolute;
    border: 1.5px solid rgba(0, 210, 255, 0.3);
    border-radius: 50%;
    animation: rotateOrbit linear infinite;
}

.orbit-ring::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white, 0 0 20px currentColor;
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Orbit Variations */
.orbit-1 { width: 150px; height: 80px; animation-duration: 8s; color: #00d2ff; border-color: rgba(0, 210, 255, 0.2); transform: rotate(45deg); }
.orbit-2 { width: 220px; height: 120px; animation-duration: 12s; color: #ff00ff; border-color: rgba(255, 0, 255, 0.2); transform: rotate(-30deg); animation-direction: reverse; }
.orbit-3 { width: 280px; height: 160px; animation-duration: 15s; color: #ffcc00; border-color: rgba(255, 204, 0, 0.2); transform: rotate(15deg); }

/* Placement Modifiers */
.pos-hero { top: 10%; right: 5%; transform: scale(1.2); }
.pos-faq { top: 20%; left: -50px; transform: scale(0.8) rotate(90deg); }
.pos-contact { bottom: 5%; right: 2%; transform: scale(0.9); }
.pos-footer { top: -100px; right: 10%; opacity: 0.3; }

@media (max-width: 991px) {
    .tech-orbit-container { display: none; } /* Hide on small screens to reduce clutter */
}
