
/* --- VARIABLES CSS & THEME --- */
:root {
    --primary: #005F73;       /* Deep Teal */
    --primary-dark: #003e4b;
    --secondary: #E0F2F1;     /* Soft Mint */
    --accent: #EE6C4D;        /* Coral */
    --accent-hover: #d15638;
    --text-main: #2B2D42;
    --text-light: #6c757d;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 10px 15px -3px rgba(0, 95, 115, 0.08);
    --shadow-float: 0 20px 40px rgba(0,0,0,0.12);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- UTILITIES --- */
.text-primary-custom { color: var(--primary); }
.bg-primary-custom { background-color: var(--primary); }
.bg-secondary-custom { background-color: var(--secondary); }

.btn-accent {
    background-color: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 12px rgba(238, 108, 77, 0.3);
}

.btn-outline-light-custom {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-light-custom:hover {
    background-color: white;
    color: var(--primary);
}

.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover {
    background-color: var(--primary);
    color: white;
}

/* --- NAVBAR --- */
.navbar {
    padding: 1.2rem 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
}
.nav-link { font-weight: 500; color: var(--text-main); margin: 0 10px; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* --- HERO CAROUSEL --- */
.hero-carousel {
    position: relative;
    height: 700px; 
    overflow: hidden;
    margin-top: 76px;
}
.carousel-item {
    height: 700px;
    background-size: cover;
    background-position: center;
}
.carousel-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0, 95, 115, 0.9) 0%, rgba(0, 95, 115, 0.75) 50%, rgba(0, 95, 115, 0.2) 100%);
    display: flex; align-items: center;
}
.hero-content { position: relative; z-index: 2; color: white; max-width: 650px; }
.hero-badge {
    display: inline-flex; align-items: center; padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(5px);
    color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}

/* --- INTERACTIVE TABS SECTION (NEW) --- */
.interactive-tabs .nav-pills .nav-link {
    background: white;
    color: var(--text-main);
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.interactive-tabs .nav-pills .nav-link:hover {
    border-color: var(--primary);
    background: #f8fdfe;
    transform: translateX(5px);
}

.interactive-tabs .nav-pills .nav-link.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 95, 115, 0.2);
}

.interactive-tabs .nav-link i { font-size: 24px; transition: 0.3s; }
.interactive-tabs .nav-link.active i { transform: scale(1.1); }

/* Abstract Mockup Container */
.mockup-container {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-float);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 20px;
    min-height: 400px;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* CSS-Only Dashboard Elements for Dynamic Content */
.mock-header { height: 40px; background: #f1f3f5; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; padding: 0 15px; gap: 10px; }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #dee2e6; }
.mock-sidebar { width: 60px; height: 300px; background: #f8f9fa; border-radius: 8px; float: left; margin-right: 20px; }
.mock-content { overflow: hidden; }
.mock-line { height: 12px; background: #e9ecef; border-radius: 4px; margin-bottom: 10px; width: 100%; }
.mock-card { background: white; border: 1px solid #eee; border-radius: 8px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.mock-chart-bar { height: 100px; background: #e0f2f1; border-radius: 8px; display: flex; align-items: flex-end; justify-content: space-around; padding-bottom: 10px; }
.bar { width: 12%; background: var(--primary); border-radius: 4px 4px 0 0; opacity: 0.7; }

/* Fade Animation for Tabs */
.tab-pane { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- FLOATING DEVICES ANIMATION --- */
.floating-devices { position: relative; height: 400px; display: flex; align-items: center; justify-content: center; }
.device { position: absolute; border-radius: 12px; box-shadow: var(--shadow-float); border: 1px solid rgba(0,0,0,0.1); background: white; transition: all 0.5s; }

.device-laptop {
    width: 80%; height: 300px; z-index: 1; top: 50px; left: 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    animation: float 6s ease-in-out infinite;
}
.device-phone {
    width: 80px; height: 160px; z-index: 3; bottom: 20px; right: 20px;
    background: #2B2D42; border: 4px solid #1a1c29;
    animation: float 5s ease-in-out infinite 1s;
}
.device-tablet {
    width: 200px; height: 260px; z-index: 2; top: 20px; right: -20px;
    background: white;
    animation: float 7s ease-in-out infinite 0.5s;
}

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

/* --- CARDS & OTHERS --- */
.feature-card { padding: 30px; border-radius: 16px; border: 1px solid rgba(0,0,0,0.03); box-shadow: var(--shadow-sm); transition: all 0.3s ease; height: 100%; background: white; }
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-5px); border-color: rgba(0, 95, 115, 0.1); }
.icon-box { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.icon-box.blue { background: rgba(0, 95, 115, 0.1); color: var(--primary); }
.icon-box.orange { background: rgba(238, 108, 77, 0.1); color: var(--accent); }
.icon-box.green { background: rgba(32, 201, 151, 0.1); color: #20c997; }

.module-item { background: white; border-radius: 12px; padding: 20px; display: flex; align-items: start; gap: 15px; border: 1px solid #f0f0f0; transition: all 0.2s ease; }
.module-item:hover { border-color: var(--primary); background-color: #fcfcfc; }
.module-icon { font-size: 24px; color: var(--primary); min-width: 30px; }

.pricing-card { background: white; border-radius: 16px; padding: 40px 30px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-sm); transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.pricing-card.featured { border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(0, 95, 115, 0.1); position: relative; }
.pricing-card.featured::before { content: 'Más Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.pricing-price { font-size: 2.5rem; font-weight: 800; color: var(--text-main); margin: 20px 0 10px 0; font-family: 'Plus Jakarta Sans', sans-serif; }

.check-list { margin: 30px 0; padding: 0; list-style: none; flex-grow: 1; }
.check-list li { margin-bottom: 12px; display: flex; align-items: flex-start; font-size: 0.95rem; }
.check-list i { color: var(--primary); margin-right: 10px; margin-top: 3px; font-weight: bold; }
.check-list li.disabled { color: #ccc; text-decoration: line-through; }
.check-list li.disabled i { color: #ccc; }

/* Floating Whatsapp */
.floating-wa { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 1000; transition: transform 0.3s; }
.floating-wa:hover { transform: scale(1.1); color: white; }

footer { background-color: #1a1c29; color: #b0b3b8; padding: 60px 0 30px 0; }
footer h5 { color: white; margin-bottom: 20px; }
footer a { color: #b0b3b8; text-decoration: none; transition: 0.2s; }
footer a:hover { color: var(--accent); }

@media (max-width: 768px) {
    .hero-carousel, .carousel-item { height: 600px; }
    .hero-content h1 { font-size: 2.5rem; }
    .interactive-tabs .nav-pills .nav-link { padding: 15px; font-size: 0.9rem; }
    .floating-devices { transform: scale(0.8); height: 350px; }
}
