:root {
    --bg-color: #ffffff;
    --bg-alt: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --accent: #a855f7;
    --whatsapp: #25D366;
    --gradient-text: linear-gradient(135deg, #6366f1 0%, #d946ef 100%);
    --font-main: 'Outfit', sans-serif;
    --section-padding: 5rem 5%;
    --transition-speed: 0.3s;
    --border-color: #e2e8f0;
    --card-radius: 20px;
    --shadow-sm: 0 2px 4px rgba(99, 102, 241, 0.05);
    --shadow-md: 0 10px 30px -10px rgba(99, 102, 241, 0.15);
    --shadow-float: 0 20px 40px -10px rgba(99, 102, 241, 0.2);
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

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

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

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-block;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: 0.3s;
}

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

.btn-secondary {
    background: white;
    color: var(--text-main);
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: inline-block;
    font-weight: 500;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eef2ff;
}

.badge {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

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

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition-speed);
}

.brand-container:hover {
    opacity: 0.9;
}

.nav-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}

.logo-dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-item:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--text-main);
    color: white;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
}

.hero-section {
    position: relative;
    padding: 6rem 5% 8rem 5%;
    background-color: #fff;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    z-index: 0;
    animation: floatBlob 10s infinite alternate;
}

.blob-1 {
    background: #818cf8;
    top: -100px;
    right: -100px;
}

.blob-2 {
    background: #f472b6;
    bottom: -50px;
    left: -100px;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

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

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
}

.composition-container {
    position: relative;
    width: 300px;
    height: 420px;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

.phone-mockup {
    width: 240px;
    height: 420px;
    background: white;
    border-radius: 35px;
    border: 8px solid #1e293b;
    position: absolute;
    left: 10px;
    top: 0;
    box-shadow: var(--shadow-float);
    overflow: hidden;
    z-index: 1;
}

.phone-screen {
    height: 100%;
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
}

.map-header {
    height: 120px;
    background: #e2e8f0;
    position: relative;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #ef4444;
}

.app-ui {
    padding: 15px;
}

.ui-row {
    height: 12px;
    background: #cbd5e1;
    border-radius: 6px;
    margin-bottom: 10px;
    width: 100%;
}

.ui-row.short {
    width: 60%;
}

.ui-card {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
}

.floating-card {
    position: absolute;
    bottom: 60px;
    right: -40px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-float);
    z-index: 2;
    width: 220px;
    border: 1px solid white;
    animation: float 7s ease-in-out infinite reverse;
}

.icon-box-float {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    z-index: 5;
    opacity: 0.7;
}

.mouse-icon {
    width: 22px;
    height: 34px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.arrow-anim {
    font-size: 1.2rem;
    animation: arrowBounce 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    100% { top: 16px; opacity: 0; }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

.tech-marquee {
    background: var(--text-main);
    padding: 1.2rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 4rem;
    animation: marqueeSlide 25s linear infinite;
}

.tech-item {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    opacity: 0.8;
}

.tech-item i {
    color: var(--accent);
}

@keyframes marqueeSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.problem-section {
    padding: var(--section-padding);
    background: var(--bg-alt);
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    border-left: 4px solid #ef4444;
}

.icon-alert {
    font-size: 2rem;
    color: #ef4444;
    margin-bottom: 1rem;
    display: block;
}

.services-section {
    padding: var(--section-padding);
}

.feature-card {
    padding: 2.5rem 2rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--card-radius);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.icon-box {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: #e0e7ff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.benefits-section {
    padding: var(--section-padding);
    background: var(--bg-alt);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.benefit-item i {
    font-size: 1.8rem;
    color: var(--primary);
    background: white;
    padding: 12px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.benefit-text h4 {
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.portfolio-section {
    padding: var(--section-padding);
}

.portfolio-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid var(--border-color);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.portfolio-img-wrapper {
    height: 260px;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-content {
    padding: 1.8rem;
    background: white;
}

.portfolio-img-wrapper.img-contain {
    background-color: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.portfolio-img-wrapper.img-contain img {
    object-fit: contain;
    transform: none !important;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.portfolio-card:hover .portfolio-img-wrapper.img-contain img {
    transform: none;
}

.about-section {
    padding: var(--section-padding);
    text-align: center;
    background: var(--bg-alt);
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-top: 1rem;
}

.contact-section {
    padding: var(--section-padding);
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    padding: 3rem;
    background: white;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.input-field {
    width: 100%;
    padding: 1.1rem;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-main);
    transition: 0.3s;
    outline: none;
}

.input-field:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}

.alternative-contact {
    margin-top: 2rem;
}

.whatsapp-text-link {
    color: var(--text-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    border-bottom: 2px solid var(--whatsapp);
}

.site-footer {
    background-color: var(--text-main);
    color: #cbd5e1;
    padding: 5rem 5% 2rem 5%;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.footer-brand .logo-text {
    color: #fff !important;
}

.footer-brand .nav-logo {
    height: 50px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-bio {
    opacity: 0.8;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 300px;
}

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

.footer-links a {
    color: #cbd5e1;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

.footer-contact-list i {
    color: var(--primary);
    font-size: 1.2rem;
    background: rgba(99, 102, 241, 0.1);
    padding: 8px;
    border-radius: 8px;
    margin-top: -5px;
}

.footer-contact-list a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.4s;
}

.footer-socials a:hover {
    background: var(--gradient-text);
    border-color: transparent;
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1001;
    transition: 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

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

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        clip-path: circle(0% at 100% 0);
        transition: all 0.5s;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
    }

    .nav-logo {
        height: 35px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero-section {
        padding-top: 3rem;
        text-align: center;
        display: block;
    }

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

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

    .cta-group {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    .hero-visual {
        display: block;
        transform: scale(0.85);
        margin-top: -20px;
        margin-bottom: 2rem;
    }

    .floating-card {
        right: 0;
    }

    .grid-3, .grid-2, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 4rem 5% 6rem 5%;
        text-align: center;
    }

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

    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact-list li {
        justify-content: center;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}