/* ========================================
   SolucionaRD Styles
   ======================================== */

/* Variables */
:root {
    --primary-green: #25D366;
    --dark: #000000;
    --light-gray: #f8f9fa;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding-top: 80px; /* Espacio para el navbar fixed */
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 60px;
    padding-bottom: 80px;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-shape-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(37, 211, 102, 0.1) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.text-highlight-green {
    color: var(--primary-green);
    position: relative;
}

.text-highlight-green::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(37, 211, 102, 0.2);
    z-index: -1;
}

/* CTA Buttons */
.btn-whatsapp {
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

.scale-hover {
    transition: transform 0.3s ease;
    max-width: 400px;
}

.scale-hover:hover {
    transform: scale(1.05);
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #e5ddd5 0%, #e5ddd5 100%);
    border-radius: 30px;
    overflow: hidden;
}

/* Chat Bubbles */
.chat-bubble {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    animation: fadeInUp 0.5s ease;
}

.chat-bubble.bot {
    background: white;
    border-radius: 12px 12px 12px 2px;
}

.chat-bubble.user {
    background: #dcf8c6;
    border-radius: 12px 12px 2px 12px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-input-simulation {
    border: 1px solid #ddd;
}

/* Section Padding */
.section-padding {
    padding: 80px 0;
}

/* Step Cards */
.step-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-green);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.icon-box {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.step-card:hover .icon-box {
    transform: scale(1.1);
}

/* Utility Classes */
.transition-hover {
    transition: all 0.3s ease;
}

.ls-1 {
    letter-spacing: 1px;
}

.grayscale-logo {
    filter: grayscale(50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.grayscale-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive */
@media (max-width: 991px) {
    body {
        padding-top: 70px;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 60px;
    }
    
    .phone-mockup {
        width: 280px;
        height: 560px;
    }
    
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .btn-whatsapp {
        width: 100%;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: var(--primary-green);
    color: white;
}

::-moz-selection {
    background: var(--primary-green);
    color: white;
}
