:root {
    --bg-dark: #07070a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.1);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --accent-blue: #3b82f6;
    --accent-blue-glow: rgba(59, 130, 246, 0.5);
    
    --accent-orange: #f97316;
    --accent-orange-glow: rgba(249, 115, 22, 0.5);
    
    --accent-purple: #a855f7;
    --accent-purple-glow: rgba(168, 85, 247, 0.5);
    
    --accent-red: #ef4444;
    --accent-red-glow: rgba(239, 68, 68, 0.5);
    
    --whatsapp: #25d366;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Glassmorphism Utils */
.glass-effect {
    background: rgba(7, 7, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
}

.glass-border {
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Highlights & Gradients */
.highlight {
    color: var(--accent-blue);
}
.highlight-orange {
    color: var(--accent-orange);
}
.highlight-purple {
    color: var(--accent-purple);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #2563eb);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--accent-blue-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-blue-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

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

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-blue);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.logo i {
    color: var(--accent-blue);
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-muted);
}
.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
}

.shape-1 {
    top: 10%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: var(--accent-blue-glow);
}

.shape-2 {
    bottom: 10%;
    left: 20%;
    width: 250px;
    height: 250px;
    background: var(--accent-purple-glow);
}

.hero-mockup {
    position: absolute;
    border-radius: 30px;
    z-index: 5;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mockup-main {
    width: 280px;
    height: 560px;
    transform: rotate(-5deg) translateY(-20px);
    z-index: 6;
}

.mockup-secondary {
    width: 250px;
    height: 500px;
    right: 0;
    bottom: 20px;
    transform: rotate(5deg);
    opacity: 0.8;
}

.hero-visual:hover .mockup-main {
    transform: rotate(-2deg) translateY(-30px);
}
.hero-visual:hover .mockup-secondary {
    transform: rotate(8deg) translate(10px, 10px);
}

/* Sections General */
.section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

/* Problema */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    text-align: left;
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.red-glow {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-red);
    box-shadow: 0 0 20px var(--accent-red-glow);
}

.orange-glow {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    box-shadow: 0 0 20px var(--accent-orange-glow);
}

.purple-glow {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
    box-shadow: 0 0 20px var(--accent-purple-glow);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Solucion Showcase */
.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 8rem;
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.showcase-row.reverse {
    direction: rtl;
}
.showcase-row.reverse > * {
    direction: ltr;
}

.step-badge {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
}

.showcase-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.showcase-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--whatsapp);
    background: rgba(37, 211, 102, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
}

.showcase-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glow-backdrop {
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    top: 10%;
}

.blue-backdrop { background: var(--accent-blue-glow); }
.orange-backdrop { background: var(--accent-orange-glow); }
.purple-backdrop { background: var(--accent-purple-glow); }

.mockup-img {
    position: relative;
    z-index: 5;
    width: 300px;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.mockup-img:hover {
    transform: translateY(-10px);
}

/* Web Mockup CSS (Since we couldn't generate the 3rd image) */
.web-mockup {
    width: 100%;
}

.browser-window {
    width: 100%;
    height: 350px;
    padding: 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #0f172a;
}

.browser-header {
    background: rgba(0,0,0,0.3);
    padding: 10px 15px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.browser-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Real Content Mockup */
.b2b-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}
.b2b-nav strong { color: var(--accent-purple); font-size: 1.1rem; display: flex; align-items: center; gap: 0.5rem; }
.b2b-icons { display: flex; gap: 15px; align-items: center; color: var(--text-muted); }
.b2b-cart { position: relative; display: flex; align-items: center; }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--accent-purple); color: white; font-size: 0.7rem; padding: 2px 5px; border-radius: 50%; font-weight: bold; }

.b2b-hero { 
    background: linear-gradient(135deg, rgba(168,85,247,0.2), rgba(168,85,247,0.05)); 
    border-radius: 10px; 
    padding: 15px 20px; 
    border: 1px solid rgba(168,85,247,0.3);
}
.b2b-hero h4 { color: var(--text-main); margin-bottom: 5px; font-size: 1.2rem; }
.b2b-hero p { color: var(--text-muted); font-size: 0.9rem; }

.b2b-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.b2b-product { 
    background: rgba(255,255,255,0.03); 
    border-radius: 8px; 
    padding: 15px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
}
.b2b-product:hover { transform: translateY(-5px); border-color: rgba(168,85,247,0.5); }
.product-icon-wrap { 
    width: 50px; 
    height: 50px; 
    background: rgba(255,255,255,0.05); 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 10px; 
}
.product-icon { font-size: 1.5rem; color: var(--text-muted); }
.p-name { font-size: 0.85rem; font-weight: 500; margin-bottom: 5px; color: var(--text-main); }
.p-price { font-weight: bold; color: var(--accent-purple); margin-bottom: 10px; }
.p-btn { 
    width: 100%; 
    padding: 5px; 
    background: var(--accent-purple); 
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: bold;
}
.p-btn:hover { background: #9333ea; }


/* Call to Action */
.call-to-action {
    text-align: center;
}

.cta-container {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, var(--bg-card), transparent);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 1rem;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-links, .projects-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a, .projects-links a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.social-links a:hover, .projects-links a:hover {
    color: var(--text-main);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Animations */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 10rem;
        gap: 6rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .showcase-row, .showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .showcase-row.reverse > * {
        direction: ltr;
    }

    .feature-list li {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links a, .projects-links a {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu needed in JS for real app, hidden for now */
    }
    .menu-toggle {
        display: block;
    }
    .grid-mock {
        grid-template-columns: repeat(2, 1fr);
    }
    .mockup-main { width: 220px; height: 440px; }
    .mockup-secondary { width: 180px; height: 360px; right: 10%; }
}
