:root {
    --space-bg: #0a0e1a;
    --neon-primary: #4bd5ff;
    --neon-secondary: #9d4dff;
    --text-primary: rgba(255, 255, 255, 0.95);
    --neon-blue: #4bd5ff;
    --galaxy-purple: #6c43f0;
    --yellow:#efbf04;
    --neon-danger: #ff4444;
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.section {
    min-height: 100vh;
    padding: 15rem;
    display: flex;
    align-items: center;
    position: relative;
}

.container {
    width: 100%;
    padding: 0 1.5rem; /*changed 27jan*/
    
}

/* Responsive Typography */
html {
    font-size: 14px;
}



@media (min-width: 768px) {
    html { font-size: 15px; }
}




/* Hero Section */
.hero {
    height: 105vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4.5rem;
    line-height: 1.2;
    
    text-shadow: 0 0 5px var(--yellow);
    margin: 0;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
       
    }
}



/* Footer Styles */
footer {
    position: relative;
    background: rgba(10, 14, 26, 0.478);
    padding: 4rem 0;
    text-align: center;
    

    border-top: 1px solid rgba(75, 213, 255, 0.1);
    
}

/* Product Section */
.products {
    padding: 8rem 0;
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid #4bd5ff66;
    border-radius: 50%;
    animation: orbit 8s linear infinite;
    filter: drop-shadow(0 0 10px #4bd5ff);
}
.product-image img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(75, 213, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}

.color-picker {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color);
    cursor: pointer;
    transition: transform 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.color-option:hover {
    transform: scale(1.1);
}

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


/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    background: rgba(10, 14, 26, 0.4);
    backdrop-filter: blur(0.1px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .gradient-text {
    background: linear-gradient(45deg, #4bd5ff, #9d4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    position: relative;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4bd5ff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #fff;
}

.nav-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-icon {
    width: 24px;
    height: 24px;
    fill: rgba(255, 255, 255, 0.9);
    transition: fill 0.3s ease;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-button:hover .nav-icon {
    fill: #4bd5ff;
}

/* Scroll Effect */
.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    padding: 0.8rem 0;
    border-bottom-color: rgba(75, 213, 255, 0.15);
}

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

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }
}

html {
    scroll-behavior: smooth;
}

/* If you have a fixed header/navbar */
section {
    scroll-margin-top: 100px; /* Adjust based on your header height */
}

/* Floating Button Styles */
.floating-button-container {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

.floating-button {
    position: relative;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0.1px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.17);
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: float 3s ease-in-out infinite;
}

.button-text {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.button-gradient {
    position: fixed;
    top:  20;
    left: -1in;
    width: 20in;
    height: 50in;
    
    background: linear-gradient(45deg, 
        rgba(75, 213, 255, 0.2) 0%, 
        rgba(157, 77, 255, 0.2) 100%);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.star-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 50% 50%, 
        rgba(255, 255, 255, 0.8) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Effects */
.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(75, 213, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.floating-button:hover .button-gradient {
    opacity: 0.8;
}

.floating-button:hover .star-particles {
    opacity: 0.2;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shine {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .floating-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ----------product page css----------*/
/* Products Page Specific Styles */
.products-grid {
    padding: 8rem 0 4rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    background: linear-gradient(45deg, #4bd5ff, #9d4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: linear-gradient(45deg, #4bd5ff, #9d4dff);
    border-color: transparent;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
    padding: 2rem 0;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(75, 213, 255, 0.1);
}

.product-image {
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(75, 213, 255, 0.1) 0%, 
        rgba(157, 77, 255, 0.1) 100%);
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(75, 213, 255, 0.3));
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

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

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #4bd5ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .product-image img {
        height: 200px;
    }
}

/* ------------------Technology Page Styles----------------- */
.tech-hero {
    padding: 12rem 0 6rem;
    text-align: center;
}

.tech-mission {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 2rem auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem;
}

.innovation-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(75, 213, 255, 0.1);
    transition: all 0.4s ease;
}

.innovation-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(75, 213, 255, 0.1);
}

.tech-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #4bd5ff;
    background: rgba(75, 213, 255, 0.1);
    border-radius: 50%;
}

.tech-icon .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: particle-pulse 2s infinite;
    border: 2px solid rgba(75, 213, 255, 0.2);
}

.tech-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.tech-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.tech-features li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #4bd5ff;
}

.vision-section {
    padding: 6rem 0;
    background: rgba(10, 14, 26, 0.4);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.principle {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    text-align: center;
}

.principle-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@keyframes particle-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-hero {
        padding: 8rem 0 4rem;
    }
    
    .innovation-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}


/* Constellation Background Effect */
.constellation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.constellation-line {
    stroke: rgba(75,213,255,0.1);
    stroke-width: 1;
}

/* Animated Tech Cards */
.innovation-card {
    perspective: 1000px;
}

.tech-icon {
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.tech-icon:hover {
    transform: rotateY(180deg) scale(1.2);
}

.tech-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(75,213,255,0.2) 0%, 
        transparent 70%);
    animation: particle-rotate 10s linear infinite;
}

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

