:root {
    --primary: #00dbd7;
    --primary-dark: #00817e;
    --accent: #ff6c6c;
    --accent-secondary: #8a4fff;
    --bg-dark: #0a1118;
    --bg-darker: #060a0f;
    --bg-medium: #101922;
    --text-light: #f8f9fa;
    --text-dim: #adb5bd;

    /* Light Theme Variables */
    --light-bg: #f5f9fc;
    --light-bg-secondary: #edf2f7;
    --light-text: #2d3748;
    --light-text-dim: #718096;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    cursor: default;
    /* MODIFICADO */
    perspective: 1000px;
    transition: all 0.5s ease;
}

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

/* Scroll Progress Indicator */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent-secondary));
    z-index: 1000;
}



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

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

a:hover~.cursor,
button:hover~.cursor {
    width: 50px;
    height: 50px;
    border: 2px dashed var(--primary);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 219, 215, 0.3);
    cursor: pointer;
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-widget.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-widget:hover {
    transform: scale(1.1);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 90px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
}

body.light-mode .theme-toggle {
    color: var(--light-text);
}

/* Diagonal Section Style */
.diagonal-section {
    position: relative;
    padding: 8rem 0;
    margin-top: -6rem;
    clip-path: polygon(0 6rem, 100% 0, 100% calc(100% - 6rem), 0 100%);
    transform: translateZ(-10px);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(10, 17, 24, 0.95);
    padding: 1rem 0;
}

.light-mode header.scrolled {
    background-color: rgba(245, 249, 252, 0.95);
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

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

.logo {
    position: relative;
    z-index: 2;
}

.logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(0, 219, 215, 0.3));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

.light-mode .nav-toggle {
    color: var(--light-text);
}

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

nav li {
    position: relative;
    perspective: 1000px;
}

.nav-item {
    margin: 0 1.5rem;
    position: relative;
    transition: transform 0.5s ease;
}



nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    /* MODIFICADO */
    display: block;
    border-radius: 50px;
    overflow: hidden;
    z-index: 1;
}

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

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

nav a:hover {
    color: var(--text-light);
    transform: translateY(-2px);
}

.light-mode nav a:hover {
    color: white;
}

nav a:hover::before {
    opacity: 1;
}

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

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.8;
    background: url('https://cdn.pixabay.com/photo/2018/05/14/16/54/cyber-3400789_1280.jpg') no-repeat center center;
    background-size: cover;
    filter: saturate(1.2) hue-rotate(10deg);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(10, 17, 24, 0.9) 0%, rgba(6, 10, 15, 0.7) 100%);
    z-index: 0;
}

.light-mode .hero-overlay {
    background: linear-gradient(135deg, rgba(245, 249, 252, 0.8) 0%, rgba(237, 242, 247, 0.6) 100%);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(90deg, var(--primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.light-mode .hero-text h1 {
    background: linear-gradient(90deg, var(--primary-dark), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.light-mode .hero-text p {
    color: var(--light-text-dim);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-3d-visual {
    width: 400px;
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 20s infinite linear;
}

@keyframes rotate3d {
    0% {
        transform: rotateY(0) rotateX(10deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

.rotating-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('https://cdn.pixabay.com/photo/2015/06/18/07/16/hex-813411_1280.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow: 0 0 30px rgba(0, 219, 215, 0.5);
    transform-style: preserve-3d;
    transform: translateZ(0);
    animation: morphShape 8s ease-in-out infinite;
}

.rotating-shape::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    background: url('https://cdn.pixabay.com/photo/2016/10/11/21/43/geometric-1732847_1280.jpg') no-repeat center center;
    background-size: cover;
    border-radius: 50%;
    opacity: 0.7;
    box-shadow: 0 0 40px rgba(0, 219, 215, 0.8);
    transform: translateZ(50px);
}

@keyframes morphShape {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    33% {
        border-radius: 50% 50% 70% 30% / 50% 50% 70% 30%;
    }

    66% {
        border-radius: 30% 70% 50% 50% / 30% 70% 50% 50%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    cursor: pointer;
    /* MODIFICADO */
    transform: translateZ(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent-secondary));
    z-index: -1;
    transition: width 0.3s ease;
}

.btn:hover {
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 219, 215, 0.2);
}

.light-mode .btn:hover {
    color: white;
}

.btn:hover::before {
    width: 100%;
}

.botao-primario {
    background: linear-gradient(90deg, var(--primary), var(--accent-secondary));
    border: none;
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(0, 219, 215, 0.3);
}

.light-mode .botao-primario {
    color: white;
}

.botao-primario::before {
    background: linear-gradient(90deg, var(--accent-secondary), var(--primary));
    opacity: 0;
}

.botao-primario:hover::before {
    opacity: 1;
}

/* Products Section */
.products {
    background-color: var(--bg-medium);
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.light-mode .products {
    background-color: var(--light-bg-secondary);
}

.products::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('https://cdn.pixabay.com/photo/2023/07/20/12/49/ai-generated-8139228_1280.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
    filter: grayscale(100%);
}



.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.product-card {
    background: rgba(10, 17, 24, 0.7);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 219, 215, 0.1);
    margin-bottom: 2rem;
}

.light-mode .product-card {
    background: rgba(245, 249, 252, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent-secondary) 100%);
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.light-mode .product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.light-mode .product-card h3 {
    color: var(--primary-dark);
}

.product-card p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

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

.product-card-image {
    width: 100%;
    height: 250px;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

/* Comparison Slider */
.comparison-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.comparison-slider .before,
.comparison-slider .after {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-slider .before {
    left: 0;
    z-index: 2;
    width: 50%;
    border-right: 2px solid var(--primary);
}

.comparison-slider .after {
    right: 0;
}

.comparison-slider .before img,
.comparison-slider .after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.comparison-slider .after img {
    object-position: right;
}

.comparison-slider .slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 3;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-darker);
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.light-mode .testimonials {
    background-color: var(--light-bg);
}

.testimonial-slider {
    width: 100%;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    z-index: 1;
    margin-top: 2rem;
    padding: 2rem 0;
}

.testimonial-slide {
    background: rgba(16, 25, 34, 0.6);
    border-radius: 20px;
    padding: 3rem;
    margin: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 219, 215, 0.05);
}

.light-mode .testimonial-slide {
    background: rgba(245, 249, 252, 0.7);
}



.testimonial-quote {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--text-dim);
    line-height: 1.8;
}

.light-mode .testimonial-quote {
    color: var(--light-text-dim);
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -1rem;
    font-size: 5rem;
    line-height: 1;
}

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

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid var(--primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.light-mode .testimonial-info h4 {
    color: var(--light-text);
}

.testimonial-info p {
    color: var(--primary);
    font-size: 0.9rem;
}

/* About Section */
.about {
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.light-mode .about {
    background-color: var(--light-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    position: relative;
}

.about-text p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.light-mode .about-text p {
    color: var(--light-text-dim);
}

.about-text p strong {
    color: var(--primary);
    font-weight: 600;
}

.light-mode .about-text p strong {
    color: var(--primary-dark);
}

.about-image {
    position: relative;
    perspective: 1000px;
}

.about-image-wrapper {
    position: relative;
}

.about-image:hover .about-image-wrapper {
    transform: rotateY(0deg) rotateX(0deg);
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    transform: translateZ(0);
}

.light-mode .about-image img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px var(--primary);
    border-radius: 20px;
    z-index: -1;
    transform: translateZ(-50px);
}

/* Contact Section */
.contact {
    background-color: var(--bg-dark);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.light-mode .contact {
    background-color: var(--light-bg);
}

.contact::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('https://cdn.pixabay.com/photo/2015/06/16/09/39/grid-811032_1280.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info {
    border-radius: 20px;
    background: rgba(6, 10, 15, 0.7);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 219, 215, 0.05);
}

.light-mode .contact-info {
    background: rgba(245, 249, 252, 0.7);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.light-mode .contact-info h3 {
    color: var(--primary-dark);
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 219, 215, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.light-mode .contact-icon {
    background-color: rgba(0, 129, 126, 0.1);
    color: var(--primary-dark);
}

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

.light-mode .contact-text {
    color: var(--light-text-dim);
}

.contact-text strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.light-mode .contact-text strong {
    color: var(--light-text);
}

/* Footer */
footer {
    background-color: var(--bg-darker);
    padding: 3rem 0;
    position: relative;
}

.light-mode footer {
    background-color: var(--light-bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
}

.export-button {
    text-align: center;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.copyright {
    color: var(--text-dim);
    text-align: right;
}

.light-mode .copyright {
    color: var(--light-text-dim);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-darker);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    perspective: 1000px;
}

.light-mode .loader {
    background-color: var(--light-bg);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: float 4s ease-in-out infinite;
}

.loader-logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
}

.loader-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: pulseAndGlow 2s ease infinite;
}

@keyframes pulseAndGlow {
    0% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 5px rgba(0, 219, 215, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(0, 219, 215, 0.8));
    }

    100% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 5px rgba(0, 219, 215, 0.3));
    }
}

.loader-text {
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.light-mode .loader-text {
    color: var(--primary-dark);
}

.loader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.light-mode .loader-progress {
    background: rgba(0, 0, 0, 0.1);
}

.loader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent-secondary));
    animation: loading 2s ease forwards;
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

/* 3D Tilt Effect */




/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-3d-visual {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        grid-row: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: rgba(16, 25, 34, 0.95);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 100;
    }

    .light-mode nav {
        background-color: rgba(245, 249, 252, 0.95);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

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

    .copyright {
        text-align: center;
    }

    .theme-toggle {
        top: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .hero-3d-visual {
        width: 250px;
        height: 250px;
    }

    .testimonial-slide {
        padding: 2rem;
    }
}