:root {
    --magenta: #FF00FF;
    --hot-pink: #FF1493;
    --neon-red: #FF3131;
    --deep-purple: #4A0080;
    --dark-bg: #0F0014;
    --light-bg: #ffffff;
    --dark-text: #0F0014;
    --light-text: #ffffff;
    --accent: #00FFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background-color: var(--dark-bg);
    color: var(--light-text);
    position: relative;
}

body.light-mode {
    background-color: var(--light-bg);
    color: var(--dark-text);
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Layering System */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.midground-layer {
    position: relative;
    z-index: 1;
}

.foreground-layer {
    position: relative;
    z-index: 3;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--magenta);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
    display: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--hot-pink);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: none;
    mix-blend-mode: difference;
}

@media (min-width: 1024px) {
    .cursor, .cursor-dot {
        display: block;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background-color: rgba(15, 0, 20, 0.3);
}

.navbar.scrolled {
    background-color: rgba(15, 0, 20, 0.8);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.2);
}

.light-mode .navbar {
    background-color: rgba(255, 255, 255, 0.3);
}

.light-mode .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.2);
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--magenta);
    text-decoration: none;
    display: flex;
    align-items: center;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.light-mode .nav-links a {
    color: var(--dark-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.light-mode .hamburger div {
    background-color: var(--dark-text);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 0, 128, 0.8), rgba(15, 0, 20, 0.9));
    z-index: -1;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 0, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 255, 0.1) 1px, transparent 1px);
    perspective: 1000px;
    transform-style: preserve-3d;
    animation: grid-animation 20s linear infinite;
}

@keyframes grid-animation {
    0% {
        transform: rotateX(60deg) translateZ(0);
    }
    100% {
        transform: rotateX(60deg) translateZ(50px);
    }
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.hero-title::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--magenta), var(--neon-red));
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hero-text {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.7);
}

/* Glowing Elements */
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

.glow-1 {
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background-color: var(--magenta);
    animation: float 8s ease-in-out infinite;
}

.glow-2 {
    bottom: 10%;
    right: 15%;
    width: 250px;
    height: 250px;
    background-color: var(--neon-red);
    animation: float 10s ease-in-out infinite reverse;
}

.glow-3 {
    top: 50%;
    right: 30%;
    width: 200px;
    height: 200px;
    background-color: var(--accent);
    animation: float 12s ease-in-out infinite;
}

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

/* Sections Common Styles */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Services Section */
.services {
    background: linear-gradient(135deg, rgba(15, 0, 20, 0.9), rgba(74, 0, 128, 0.8));
}

.light-mode .services {
    background: linear-gradient(135deg, rgba(240, 240, 255, 0.9), rgba(255, 240, 255, 0.8));
}

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

.service-card {
    background-color: rgba(30, 0, 40, 0.6);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.light-mode .service-card {
    background-color: rgba(255, 240, 255, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 255, 0.03), transparent);
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.3);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-icon {
    font-size: 3rem;
    color: var(--magenta);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.service-card:hover .service-icon {
    transform: scale(1.2);
    color: var(--neon-red);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
}

.light-mode .service-desc {
    color: #666;
}

/* Portfolio Section */
.portfolio {
    background-color: rgba(15, 0, 20, 0.7);
}

.light-mode .portfolio {
    background-color: rgba(245, 240, 255, 0.7);
}

.portfolio-slider {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.device-mockup {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.device-mockup:hover {
    transform: scale(1.02);
}

.device-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #1a0022;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 0, 255, 0.3);
    border: 1px solid rgba(255, 0, 255, 0.2);
}

.light-mode .device-frame {
    background-color: #f0f0f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 0, 255, 0.2);
}

.device-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.project-info {
    margin-top: 20px;
    text-align: center;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-desc {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 0, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
    border: none;
}

.slider-nav:hover {
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 0, 255, 0.3);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Why Choose Us Section */
.why-us {
    background: linear-gradient(135deg, rgba(15, 0, 20, 0.9), rgba(74, 0, 128, 0.8));
}

.light-mode .why-us {
    background: linear-gradient(135deg, rgba(240, 240, 255, 0.9), rgba(255, 240, 255, 0.8));
}

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

.feature-card {
    background-color: rgba(30, 0, 40, 0.6);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.light-mode .feature-card {
    background-color: rgba(255, 240, 255, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--magenta);
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
    color: var(--neon-red);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ccc;
}

.light-mode .feature-desc {
    color: #666;
}

/* Testimonials Section */
.testimonials {
    background-color: rgba(15, 0, 20, 0.7);
}

.light-mode .testimonials {
    background-color: rgba(245, 240, 255, 0.7);
}

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

.testimonial-card {
    background-color: rgba(30, 0, 40, 0.6);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    border: 1px solid rgba(255, 0, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.light-mode .testimonial-card {
    background-color: rgba(255, 240, 255, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.testimonial-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 0, 255, 0.2);
    border-color: rgba(255, 0, 255, 0.3);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 25px;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--magenta);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--magenta);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.author-info p {
    font-size: 0.85rem;
    color: #ccc;
}

.light-mode .author-info p {
    color: #666;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, rgba(15, 0, 20, 0.9), rgba(74, 0, 128, 0.8));
}

.light-mode .stats {
    background: linear-gradient(135deg, rgba(240, 240, 255, 0.9), rgba(255, 240, 255, 0.8));
}

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

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--magenta);
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.stat-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 0, 255, 0.1);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 2s infinite;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
}

.light-mode .stat-label {
    color: #666;
}

/* Contact Section */
.contact {
    background-color: rgba(15, 0, 20, 0.7);
}

.light-mode .contact {
    background-color: rgba(245, 240, 255, 0.7);
}

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

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--magenta);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.contact-text {
    font-size: 1rem;
}

.social-links {
    display: flex;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 0, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--magenta);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

.social-link:hover {
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
}

.contact-form {
    background-color: rgba(30, 0, 40, 0.6);
    border-radius: 10px;
    padding: 40px;
    border: 1px solid rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.light-mode .contact-form {
    background-color: rgba(255, 240, 255, 0.6);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
}

.light-mode .form-label {
    color: #666;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 255, 0.1);
    border-radius: 5px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.light-mode .form-control {
    background-color: rgba(0, 0, 0, 0.05);
    color: black;
}

.form-control:focus {
    outline: none;
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.5);
}

/* Footer */
.footer {
    padding: 50px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 0, 20, 0.9), rgba(74, 0, 128, 0.8));
}

.light-mode .footer {
    background: linear-gradient(135deg, rgba(240, 240, 255, 0.9), rgba(255, 240, 255, 0.8));
}

.footer-logo {
    font-size: 2rem;
    color: var(--magenta);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.light-mode .footer-links a {
    color: #666;
}

.footer-links a:hover {
    color: var(--magenta);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.copyright {
    font-size: 0.9rem;
    color: #777;
}

.light-mode .copyright {
    color: #999;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: white;
    color: #333;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 25px;
    background-color: rgba(30, 0, 40, 0.6);
    border-radius: 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.light-mode .theme-toggle {
    background-color: rgba(255, 240, 255, 0.6);
}

.toggle-ball {
    width: 20px;
    height: 20px;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    border-radius: 50%;
    transform: translateX(0);
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.light-mode .toggle-ball {
    transform: translateX(25px);
}

/* Neon Text Effect */
.neon-text {
    text-shadow: 
        0 0 5px rgba(255, 0, 255, 0.7),
        0 0 10px rgba(255, 0, 255, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3);
}

/* Cyberpunk Lines */
.cyber-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.cyber-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--magenta), transparent);
    height: 1px;
}

.cyber-line:nth-child(1) {
    top: 10%;
    width: 80%;
    left: 10%;
    animation: cyber-line-anim 8s infinite linear;
}

.cyber-line:nth-child(2) {
    top: 30%;
    width: 60%;
    right: 5%;
    animation: cyber-line-anim 12s infinite linear reverse;
}

.cyber-line:nth-child(3) {
    top: 50%;
    width: 70%;
    left: 5%;
    animation: cyber-line-anim 10s infinite linear;
}

.cyber-line:nth-child(4) {
    top: 70%;
    width: 50%;
    right: 10%;
    animation: cyber-line-anim 14s infinite linear reverse;
}

.cyber-line:nth-child(5) {
    top: 90%;
    width: 90%;
    left: 5%;
    animation: cyber-line-anim 9s infinite linear;
}

@keyframes cyber-line-anim {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Glitch Effect */
.glitch-effect {
    position: relative;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glitch-effect::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-effect::after {
    left: -2px;
    text-shadow: 2px 0 var(--neon-red);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0%, 100% { clip-path: inset(0 0 98% 0); }
    20% { clip-path: inset(33% 0 33% 0); }
    40% { clip-path: inset(50% 0 43% 0); }
    60% { clip-path: inset(25% 0 6% 0); }
    80% { clip-path: inset(75% 0 19% 0); }
}

@keyframes glitch-anim-2 {
    0%, 100% { clip-path: inset(0 0 78% 0); }
    20% { clip-path: inset(15% 0 49% 0); }
    40% { clip-path: inset(38% 0 29% 0); }
    60% { clip-path: inset(57% 0 35% 0); }
    80% { clip-path: inset(89% 0 5% 0); }
}

/* Scanlines Effect */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 15;
    opacity: 0.15;
}

.scanlines::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(255, 0, 255, 0.1) 51%
    );
    background-size: 100% 4px;
    animation: scanlines 0.2s linear infinite;
}

@keyframes scanlines {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(4px);
    }
}

/* Video Portfolio Styles */
.portfolio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.1), rgba(15, 0, 20, 0.3));
    z-index: 2;
    pointer-events: none;
}

.video-play-btn {
    background: linear-gradient(90deg, var(--magenta), var(--neon-red));
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(15, 0, 20, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.5s ease;
        z-index: 999;
        backdrop-filter: blur(10px);
    }
    
    .light-mode .nav-links {
        background-color: rgba(245, 240, 255, 0.95);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 25px;
    }
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
}

.fade-in-up.active {
    animation: fadeInUp 0.6s forwards;
}