:root {
    /* Color Palette - Modern Dark/Purple/Cyan */
    --bg-dark: #07070a;
    --text-main: #f0f0f5;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary: #06b6d4;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Mesh Gradients */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-dark);
}

.blob {
    position: absolute;
    filter: blur(120px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate;
    will-change: transform;
    transform: translateZ(0);
}

.color-1 {
    width: 500px;
    height: 500px;
    background: #4c1d95;
    top: -100px;
    left: -100px;
}
.color-2 {
    width: 400px;
    height: 400px;
    background: #0891b2;
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}
.color-3 {
    width: 300px;
    height: 300px;
    background: #be123c;
    top: 50%;
    left: 40%;
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 80px) scale(1.1); }
}

/* Typography */
h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
h1 span {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Base Classes */
.row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 1.5rem 0;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(7, 7, 10, 0.7);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-logo-img {
    height: 35px;
    width: auto;
    border-radius: 6px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2.2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.menu-toggle:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}
.btn-primary-sm {
    padding: 0.6rem 1.2rem;
    background: var(--primary);
    color: white;
}
.btn-primary-sm:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}
.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-top: 5rem;
}
.hero-text {
    flex: 1;
}
.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Image Wrapper */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}
.hero-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-logo {
    width: 100%;
    height: auto;
    border-radius: 15%;
    position: relative;
    z-index: 2;
    transform: translateY(0);
    animation: floatLogo 5s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    will-change: transform;
}
.logo-glow {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(6, 182, 212, 0.2) 60%, transparent 80%);
    z-index: 1;
    filter: blur(30px);
    animation: pulse 4s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Services Section */
.services {
    padding: 8rem 2rem 4rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}
.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.service-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s;
}
.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.3);
}
.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-size: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: transform 0.3s ease;
}
.service-card:hover .icon-wrapper {
    transform: scale(1.1);
}
.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem 8rem;
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.contact-info {
    padding: 4.5rem;
    background: rgba(139, 92, 246, 0.05);
    border-right: 1px solid var(--glass-border);
}
.contact-info p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}
.contact-item i {
    font-size: 1.6rem;
    color: var(--secondary);
}
.contact-item a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.contact-item a:hover {
    color: var(--primary);
}
.contact-form {
    padding: 4.5rem;
}
.input-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.input-group label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}
.input-group input, .input-group textarea {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}
.w-100 {
    width: 100%;
}

/* Footer */
footer {
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
    background: rgba(7, 7, 10, 0.5);
    backdrop-filter: blur(10px);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}
.footer-links {
    display: flex;
    gap: 2rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--primary);
}
.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounceIn 1s;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.visible {
    opacity: 1;
    transform: translate(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 2rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }
    h1 {
        font-size: 3.2rem;
    }
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        font-size: 2.8rem;
        padding: 0.5rem;
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 7, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        
        /* Hidden by default */
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease-in-out;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links li {
        text-align: center;
        width: 100%;
    }
    .nav-links a.btn-primary-sm {
        display: block;
        margin: 0 2rem;
        padding: 1rem;
        font-size: 1.1rem;
    }
    h1 {
        font-size: 2.8rem;
    }
    .contact-info, .contact-form {
        padding: 2.5rem 1.5rem;
    }
    .services {
        padding: 4rem 1rem 2rem;
    }
    .contact {
        padding: 4rem 1rem;
    }
}
@media (max-width: 480px) {
    h1 {
        font-size: 2.3rem;
    }
    .hero-actions {
        flex-direction: column;
    }
}

/* Reduced Motion Optimization */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .blob, .hero-logo, .logo-glow, .whatsapp-btn {
        animation: none !important;
    }
}
