/* Modern CSS Reset & Variables */
:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #f093fb;
    --bg-dark: #0a0b10;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #e0e0e0;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
}

.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

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

body {
    background: transparent;
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animation */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a1b26 0%, #0a0b10 100%);
    z-index: -2;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    filter: blur(80px);
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob:nth-child(2) {
    background: var(--accent);
    width: 300px;
    height: 300px;
    left: 60%;
    top: 20%;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(-10%, -10%); }
    to { transform: translate(20%, 20%); }
}

/* Header & Nav */
header {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#menu-toggle {
    display: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

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

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

h1 {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
}

/* Services Grid */
.services {
    padding: 100px 5%;
}

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

.card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: transform 0.3s, background 0.3s;
    cursor: default;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-dim);
}

/* About Section */
.about {
    padding: 100px 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Section */
.products {
    padding: 100px 5%;
    background: rgba(255, 255, 255, 0.02);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.product-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 400px;
    border: 1px solid var(--glass-border);
}

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

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

.product-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 40px;
    backdrop-filter: blur(20px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.form-group input, .form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer Improvements */
footer {
    padding: 80px 5% 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

/* Mobile Adjustments & Typography Scaling */
@media (max-width: 1024px) {
    h1 { font-size: 4rem; }
    .about, .contact-container { gap: 2rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2rem !important; }
    
    .hero { padding: 0 5%; }
    .hero p { font-size: 1rem; }
    
    nav {
        display: none;
    }
    
    #menu-toggle {
        display: block;
    }
    
    .nav-active {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }
    
    .nav-active ul {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .nav-active a {
        font-size: 1.5rem;
    }

    .custom-cursor {
        display: none; /* Hide custom cursor on mobile */
    }
    
    * {
        cursor: auto !important; /* Restore default cursor */
    }

    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about, .contact-container {
        padding: 3rem 5%;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    .cta-button { width: 100%; text-align: center; }
    .logo { font-size: 1.2rem; }
}
