/* CSS Variables & Reset */
:root {
    /* Brand Colors */
    --primary-color: #152636; /* Brand Dark */
    --secondary-color: #26AFA5; /* Brand Teal */
    --accent-color: #1E8E86; /* Slightly darker teal for contrast/gradients */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #152636 0%, #0F1D2A 100%);
    --gradient-accent: linear-gradient(90deg, #26AFA5 0%, #152636 100%);
    --gradient-text: linear-gradient(90deg, #152636 0%, #26AFA5 100%);
    
    /* Neutrals */
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --stroke: #E2E8F0;
    
    /* Effects */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.15), 0 4px 6px -2px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 10px 10px -5px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.shape-1 {
    top: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
}

.shape-2 {
    top: 400px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(38, 175, 165, 0.15) 0%, rgba(255, 255, 255, 0) 70%); /* Brand Teal */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.features {
    background: var(--white);
    padding: 80px 0 40px; /* Reduced bottom padding */
    position: relative;
    z-index: 10;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--secondary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(56, 189, 248, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.025em;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px; /* Pill shape */
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    /* Brand Gradient: Teal to Dark */
    background: linear-gradient(135deg, #26AFA5 0%, #152636 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(38, 175, 165, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(38, 175, 165, 0.5);
    background: linear-gradient(135deg, #2ECBC0 0%, #1E3A52 100%);
}

/* Button inside Dark CTA Section - Needs High Contrast */
/* Button inside White CTA Section - Standard Primary */
.cta-section .btn-primary {
    background: linear-gradient(135deg, #26AFA5 0%, #152636 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(38, 175, 165, 0.4);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(38, 175, 165, 0.5);
    background: linear-gradient(135deg, #2ECBC0 0%, #1E3A52 100%);
}

.nav-cta.btn-primary {
    padding: 10px 24px;
    font-size: 0.9rem;
    background: linear-gradient(90deg, #26AFA5 0%, #152636 100%); /* Brand Colors */
    color: var(--white);
    box-shadow: 0 4px 10px rgba(38, 175, 165, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid #E2E8F0;
    color: var(--primary-color);
    margin-left: 16px;
    padding-left: 20px; /* Balanced padding */
    padding-right: 20px;
}

.btn-secondary:hover {
    background-color: var(--white);
    border-color: var(--secondary-color);
    color: #0284C7;
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: #128C7E; /* Darker Teal for better contrast with white text */
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    margin-top: 20px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

.icon-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: transparent;
    color: var(--primary-color);
    font-size: 1rem;
    margin-right: 8px;
}

.btn-secondary:hover .icon-play {
    color: #0284C7;
}

.icon-whatsapp {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.dot {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.nav-links li a:hover {
    color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 6px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badgemod {
    display: inline-block;
    padding: 8px 16px;
    background-color: #FEF3C7; /* Amber/Yellow specific for contrast "Don't use pen and paper" */
    color: #92400E;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 24px;
    border: 1px solid #FCD34D;
}

/* --- Mockup Styles --- */

/* Dashboard Mockup */
.dashboard-mockup {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: flex;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    position: relative;
    z-index: 10;
}

.dash-sidebar {
    width: 60px;
    background-color: #F1F5F9;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #E2E8F0;
}

.dash-dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 20px; }
.dash-dot.red { background-color: #EF4444; }
.dash-dot.yellow { background-color: #F59E0B; }
.dash-dot.green { background-color: #10B981; }

.dash-line { width: 30px; height: 4px; background-color: #CBD5E1; border-radius: 2px; margin-bottom: 12px; }
.dash-line.short { width: 20px; }

.dash-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin-bottom: 0;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dash-title { width: 120px; height: 16px; background-color: #CBD5E1; border-radius: 4px; }
.dash-user { width: 30px; height: 30px; background-color: #E2E8F0; border-radius: 50%; }

.dash-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: #F8FAFC;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
}

.stat-label { display: block; font-size: 0.7rem; color: #64748B; margin-bottom: 4px; }
.stat-value { display: block; font-size: 0.9rem; font-weight: 700; color: var(--primary-color); }
.stat-trend { font-size: 0.7rem; font-weight: 600; }
.stat-trend.up { color: #10B981; }
.stat-trend.down { color: #EF4444; }
.stat-trend.stable { color: #3B82F6; }

.dash-chart-area {
    flex: 1;
    background-color: #F8FAFC;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 10px;
}

.chart-bar {
    width: 10%;
    background-color: #CBD5E1;
    border-radius: 4px 4px 0 0;
}

.chart-bar.active {
    background: linear-gradient(to top, var(--secondary-color), var(--accent-color));
}

/* Asset List Mockup */
.asset-mockup {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid #E2E8F0;
    padding: 20px;
    width: 100%;
}

.asset-header {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 2px solid #F1F5F9;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
}

.asset-row:last-child { border-bottom: none; }

.asset-info { display: flex; align-items: center; gap: 12px; }

.asset-icon { width: 32px; height: 32px; background-color: #F1F5F9; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.asset-icon.elevator::before { content: '🛗'; }
.asset-icon.pump::before { content: '💧'; }
.asset-icon.light::before { content: '💡'; }
.asset-icon.gym::before { content: '🏋️'; }

.asset-name { font-weight: 500; font-size: 0.9rem; color: var(--text-dark); }

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.success { background-color: #DCFCE7; color: #166534; }
.status-badge.warning { background-color: #FEF3C7; color: #92400E; }
.status-badge.error { background-color: #FEE2E2; color: #991B1B; }

/* WhatsApp Mockup */
.whatsapp-mockup {
    width: 100%;
    max-width: 600px; /* Significantly wider */
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    border: 10px solid #1E293B; /* Bezel */
}

.wa-header {
    background-color: #075E54;
    padding: 15px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.wa-avatar { width: 36px; height: 36px; background-color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #075E54; }
.wa-info { display: flex; flex-direction: column; }
.wa-name { font-weight: 600; font-size: 0.95rem; }
.wa-status { font-size: 0.75rem; opacity: 0.8; }

.wa-body {
    padding: 20px;
    height: 450px; /* Significantly taller */
    display: flex;
    flex-direction: column;
    gap: 16px; /* More spacing between messages */
    background-color: #E5DDD5;
    background-image: radial-gradient(#d4c5b9 1.5px, transparent 1.5px); /* Custom pattern */
    background-size: 20px 20px;
}

.wa-message {
    padding: 12px 16px; /* Larger padding */
    border-radius: 12px;
    position: relative;
    max-width: 85%;
    font-size: 0.85rem; /* Smaller font as requested */
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    line-height: 1.5;
    color: #000000; /* Pure black */
    font-weight: 500;
}

.wa-message p {
    margin: 0;
    color: #000000 !important; /* Force black on paragraph */
}

.wa-message.out {
    align-self: flex-end;
    background-color: #DCF8C6;
    color: #000000;
    border-top-right-radius: 2px;
}

.wa-message.in {
    align-self: flex-start;
    background-color: #FFF;
    color: #000000;
    border-top-left-radius: 2px;
}

.wa-time {
    display: block;
    font-size: 0.65rem;
    color: rgba(0,0,0,0.45);
    text-align: right;
    margin-top: 2px;
}

.wa-footer {
    padding: 10px;
    background-color: #F0F0F0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.wa-input {
    flex: 1;
    height: 35px;
    background-color: #FFF;
    border-radius: 18px;
}

.wa-send {
    color: #075E54;
    font-weight: bold;
    font-size: 1.2rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    transition: var(--transition);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--secondary-color);
}

/* Features */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
}

/* Feature mockups handled above, removing old placeholder block style if needed or keeping generic */
.image-placeholder-small {
    /* Keeping this for fallback, but main is now asset-mockup */
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #E2E8F0;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-list {
    margin-top: 30px;
}

.check-list li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--text-dark);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background-color: #E0F2FE;
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Pricing Section */
.pricing-section {
    background: #F8FAFC;
    position: relative;
}

.mb-50 {
    margin-bottom: 50px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center; /* Vertically align for featured card pop */
}

.pricing-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    text-align: center;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border: 2px solid var(--secondary-color);
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.price-header h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.price-sub {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-value {
    font-size: 2.2rem; /* Adjusted for COP length */
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1.2;
}

.currency {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-right: 2px;
}

.period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
    align-self: flex-end;
    margin-bottom: 4px;
}

.pricing-card .check-list {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-card .btn-block {
    display: block;
    width: 100%;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary); /* Brand Dark Gradient */
    color: var(--white);
    padding: 60px 0 100px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(38, 175, 165, 0.1), transparent 50%),
                radial-gradient(circle at bottom left, rgba(38, 175, 165, 0.05), transparent 50%);
    display: block; /* Re-enable subtle overlay */
}

.cta-container {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* AI Section */
.ai-section {
    background: linear-gradient(135deg, #0F172A 0%, #334155 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    /* Add a subtle pattern overlay if possible, or just keep cleaner gradient */
}

.ai-section h2 {
    color: var(--white);
}

.ai-section p {
    color: #CBD5E1;
}

.badge-ai {
    background-color: var(--secondary-color);
    color: #0F172A;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.btn-ai {
    background: var(--white);
    color: var(--primary-color);
    margin-top: 20px;
}

.btn-ai:hover {
    background: #E2E8F0;
    transform: translateY(-2px);
}

.chat-ui {
   display: none; /* Hiding the old block */
}

/* CTA Form Expanded */
.lead-form-expanded {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    margin: 40px auto 0;
    padding: 40px;
    background: var(--white); /* Solid White */
    border-radius: 24px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow-xl); /* Strong lift */
}

.form-group input {
    width: 100%;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #CBD5E1; /* Darker border */
    background: #F8FAFC; /* Light background */
    color: var(--primary-color); /* Dark text */
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05); /* Inner shadow */
}

.form-group input:focus {
    border-color: var(--secondary-color);
    background: #FFF;
    box-shadow: 0 0 0 4px rgba(38, 175, 165, 0.1); /* Focus ring */
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 80px 0 40px;
    border-top: 1px solid var(--stroke);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Optimized columns */
    gap: 40px;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .h1 { font-size: 2.5rem; }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .lead-form {
        flex-direction: column;
    }

    .lead-form input {
        width: 100%;
    }

    .btn-lg {
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 85%;
        background: var(--white);
        flex-direction: column;
        padding-top: 100px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
}
