:root {
    /* Colors */
    --primary: #0066FF;
    --primary-dark: #0052CC;
    --primary-light: #E6F0FF;
    --secondary: #25D366; /* WhatsApp Green */
    --secondary-dark: #128C7E;
    --dark: #0A0B10;
    --dark-accent: #151921;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border: #E2E8F0;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-title: 'Poppins', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-premium: 0 20px 40px rgba(0, 102, 255, 0.1);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; }

p { font-size: 1.1rem; color: var(--text-muted); }

/* Buttons */
.btn-primary, .btn-whatsapp, .btn-outline, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.39);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.45);
}

.btn-whatsapp {
    background: var(--secondary);
    color: white;
}

.btn-whatsapp:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-submit {
    background: var(--primary);
    color: white;
    width: 100%;
}

.btn-primary.large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0; /* Reduced from 20px to balance larger logo */
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px; /* Increased from 65px */
    width: auto;
    display: block;
}

.footer-brand .logo-img {
    height: 110px; /* Increased from 90px */
    filter: brightness(0) invert(1);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover:not(.btn-primary) {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--dark);
    color: white;
    overflow: hidden;
}

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

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 11, 16, 0.9) 30%, rgba(10, 11, 16, 0.2));
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-content h1 {
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: white;
    color: white;
}

.hero-actions .btn-outline:hover {
    background: white;
    color: var(--dark);
}

/* Sections Global */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header .subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* About Section */
.about {
    background: var(--bg-white);
}

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

.about-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.about-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Solutions Section */
.solutions {
    background: var(--bg-light);
}

.solution-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.solution-item.reverse {
    flex-direction: row-reverse;
}

.solution-info {
    flex: 1;
}

.solution-image {
    flex: 1;
    position: relative;
}

.solution-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tag-green { background: #E8F9EE; color: var(--secondary-dark); }
.tag-blue { background: #E6F0FF; color: var(--primary); }
.tag-dark { background: #EEF2F6; color: var(--dark); }

.benefit-list {
    list-style: none;
    margin: 25px 0;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
}

.benefit-list li i {
    color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature i {
    color: var(--primary);
}

.segments {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Custom Dev Section */
.custom-dev {
    background: var(--dark);
    color: white;
    text-align: center;
    position: relative;
}

.custom-content {
    max-width: 800px;
    margin: 0 auto;
}

.custom-content h2 { margin-bottom: 20px; }
.custom-content p { color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; font-size: 1.2rem; }

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

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

.category h4 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
}

.client-logo {
    height: 100px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-logo:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--primary);
    color: white;
    padding: 60px;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; }

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links {
    margin-top: 40px;
    display: flex;
    gap: 15px;
}

.social-links a {
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
}

.social-links a i {
    font-size: 1.2rem;
}

.social-links a:hover {
    transform: scale(1.1);
}

.contact-form-container {
    padding: 60px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

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

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 5px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--secondary-dark);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .solution-item, .solution-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        padding: 40px 20px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        text-align: center;
        gap: 25px;
        backdrop-filter: blur(10px);
        border-bottom: 2px solid var(--primary-light);
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-menu-toggle {
        display: block;
        padding: 10px;
        border-radius: 8px;
        background: var(--bg-light);
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn-whatsapp, .hero-actions .btn-outline {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}
.aos-animate {
    pointer-events: auto;
}
