/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(68, 222, 231, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(68, 222, 231, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(68, 222, 231, 0.5);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden !important;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #000000;
    color: #44DEE7;
    position: relative;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

/* Background Effects */
.fixed-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(68, 222, 231, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(68, 222, 231, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 15s linear infinite;
    pointer-events: none;
    z-index: -2;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

/* Scanline Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(68, 222, 231, 0.1),
        transparent
    );
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Main Content */
.content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    background: transparent;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

/* Main Content Area */
main {
    padding-top: 80px; /* Adjust based on your header height */
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(68, 222, 231, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: bold;
    color: #44DEE7;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #44DEE7, #2C9BA3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-left: 2px solid #44DEE7;
    padding-left: 0.8rem;
}

/* Navigation */
nav {
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #44DEE7;
    font-weight: bold;
    transition: color 0.3s ease;
    letter-spacing: 1px;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #ffffff;
}

/* Button Styles */
.cta {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(45deg, #44DEE7, #2C9BA3);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    min-height: auto;
    z-index: 1;
}

.hero div {
    z-index: 2;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #44DEE7;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
}

.hero h1:hover::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    text-shadow: 2px 0 #44DEE7;
    top: 0;
    color: #44DEE7;
    background: #000;
    overflow: hidden;
    animation: glitch 1s linear infinite;
    z-index: -1;
}

.hero h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    text-shadow: -2px 0 #44DEE7;
    top: 0;
    color: #44DEE7;
    background: #000;
    overflow: hidden;
    animation: glitch 2s linear infinite reverse;
    z-index: -2;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #44DEE7;
    letter-spacing: 1px;
}

.hero .cta {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

/* Section Styles */
.section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section h2 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
    color: #44DEE7;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section p {
    font-size: 1.2rem;
    color: #44DEE7;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    letter-spacing: 0.5px;
}



.section form {
    max-width: 500px;
    margin: 2rem auto;
}

.section form button[type="submit"] {
    margin-top: 1rem;
    background: linear-gradient(45deg, #44DEE7, #2C9BA3);
    border: none;
    color: white;
    cursor: pointer;
}


/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

form input[type="email"] {
    width: 300px;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid rgba(68, 222, 231, 0.5);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.7);
    color: #44DEE7;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

form input[type="email"]::placeholder {
    color: rgba(68, 222, 231, 0.6);
}

form input[type="email"]:focus {
    border-color: #44DEE7;
    box-shadow: 0 0 10px rgba(68, 222, 231, 0.7);
}

form button {
    width: 300px;
}

/* Footer Styles */


/* Enhanced Footer Styles */
footer {
    text-align: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.social-links a {
    color: #44DEE7;
    text-decoration: none;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(68, 222, 231, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: #ffffff;
    background: rgba(68, 222, 231, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(68, 222, 231, 0.3);
}

footer p {
    color: #44DEE7;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 1.5rem;
}

footer a {
    color: #44DEE7;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .social-links {
        gap: 1.5rem;
    }
    
    .social-links a {
        font-size: 2rem;
        width: 60px;
        height: 60px;
    }
}


/* Animations */
@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes glitch {
    0% {
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        transform: translate(0);
    }
    20% {
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
        transform: translate(-5px);
    }
    30% {
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
        transform: translate(5px);
    }
    40% {
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
        transform: translate(-5px);
    }
    50% {
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        transform: translate(0);
    }
    55% {
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        transform: translate(5px);
    }
    60% {
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        transform: translate(-5px);
    }
    100% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        transform: translate(0);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    body {
        position: relative;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
    }
    
    .content-wrapper {
        position: relative;
        min-height: 100vh;
        overflow-y: visible;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: visible !important;
    }

    .fixed-effects {
        position: fixed;
        height: 100%;
        overflow: hidden;
    }

    header {
        padding: 0.8rem 1rem;
    }

    header .cta {
        display: none;
    }

    header .logo img {
        height: 50px;
    }

    header .logo-text {
        font-size: 1.5rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 4rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 3rem 1rem;
        position: relative;
        z-index: 2;
    }

    #particle-canvas {
        opacity: 0.3;
    }

    .grid-bg {
        opacity: 0.2;
        animation: none;
    }

    .scanline {
        display: none;
    }

    /* Improve touch scrolling */
    .content-wrapper {
        -webkit-overflow-scrolling: touch;
        overflow-y: visible;
        touch-action: pan-y;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.8rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    header .logo img {
        height: 40px;
    }

    header .logo-text {
        font-size: 1.25rem;
    }

    header nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .hero h1 {
        font-size: 2rem;
    }

    form input[type="email"],
    form button {
        width: 100%;
        max-width: 280px;
    }
}


