/* Reset e Base */
:root {
    --bg-color: #050b14;
    --bg-secondary: #0c162d;
    --text-primary: #f0f4f8;
    --text-secondary: #a0abbc;
    --accent-cyan: #00F2FE;
    --accent-purple: #4FACFE;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --glass-bg: rgba(12, 22, 45, 0.6);
    --glass-border: rgba(0, 242, 254, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 242, 254, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(79, 172, 254, 0.05), transparent 25%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.2); /* Make logo pop slightly on dark bg */
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    position: relative;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-cyan);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5; /* Darkened to allow text to stand out */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem;
    background: var(--glass-bg);
    border-radius: 30px;
    max-width: 650px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 242, 254, 0.05);
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(0, 242, 254, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.3);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 242, 254, 0.5);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Services Section */
.services {
    background: var(--bg-color);
}

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

.service-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 242, 254, 0.15);
    border-color: var(--glass-border);
    background: rgba(12, 22, 45, 0.9);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Portfolio Section */
.portfolio {
    background: #08101e;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.portfolio-filters .filter-btn {
    background: transparent !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--text-secondary) !important;
    padding: 10px 28px !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
    font-family: var(--font-heading) !important;
    font-size: 1rem !important;
    min-width: auto !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    cursor: pointer;
}

.portfolio-filters .filter-btn.active,
.portfolio-filters .filter-btn:hover {
    background: var(--accent-gradient) !important;
    color: white !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.3) !important;
}

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

.portfolio-item {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.03);
    position: relative;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 40px rgba(0, 242, 254, 0.15);
    border-color: var(--glass-border);
}

.portfolio-image {
    height: 240px;
    background: linear-gradient(135deg, #0f1c35 0%, #060b14 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.2));
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.portfolio-link {
    display: inline-block;
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.portfolio-link:hover {
    color: white;
    text-shadow: 0 0 10px var(--accent-cyan);
    transform: translateX(5px);
}

.portfolio-more {
    text-align: center;
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 15px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Clients Section */
.clients {
    background: var(--bg-color);
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.2), transparent);
}

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

.client-item {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.client-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.1);
    border-color: var(--glass-border);
}

.client-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: #fff; /* Keep white so logos look correct */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.client-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
}

.clients-cta {
    text-align: center;
    padding: 3rem;
    background: var(--glass-bg);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    position: relative;
}

.clients-cta p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.clients-cta strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* About Section */
.about {
    background: #08101e;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-weight: 300;
}

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

.stat {
    text-align: center;
    padding: 2.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.stat:hover {
    transform: translateY(-10px);
    border-color: var(--glass-border);
    background: rgba(12, 22, 45, 0.8);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.15);
}

.stat h3 {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

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

/* Contact Section */
.contact {
    background: var(--bg-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.03);
}

.contact-item:hover {
    background: rgba(12, 22, 45, 0.8);
    transform: translateX(10px);
    border-color: var(--glass-border);
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.1);
}

.contact-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4));
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
    font-weight: 300;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: #050b14;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #5a6b82;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-help {
    margin-top: 1.5rem;
    padding: 1.2rem;
    background: rgba(0, 242, 254, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent-cyan);
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.form-help strong {
    color: var(--accent-cyan);
}

.whatsapp-direct {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1.2rem;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-direct p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.whatsapp-link {
    color: #25d366;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    color: #fff;
    text-shadow: 0 0 10px #25d366;
}

/* Footer */
.footer {
    background: #03060a;
    color: var(--text-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(1.2);
}

.footer-logo p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-links a:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 242, 254, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #5a6b82;
    font-size: 0.9rem;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Floating Elements */
.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Text Gradient */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(5, 11, 20, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        padding: 3rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background: var(--accent-cyan);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background: var(--accent-cyan);
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Glow Effects */
.glow {
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

/* Particle Background - hidden in new design to keep it clean, but kept class empty for HTML compatibility */
.particles {
    display: none;
}
