:root {
    --primary: #0f2b5c;
    --primary-light: #2563eb;
    --accent: #25d366;
    --accent-hover: #1ebd59;
    --bg-main: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(226, 232, 240, 0.9);
    --radius: 20px;
    --shadow-soft: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
}

/* Luces sutiles de fondo */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}
.glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.07);
    top: -150px;
    left: -100px;
}
.glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(37, 211, 102, 0.07);
    top: 40%;
    right: -100px;
}

/* NAVBAR HEADER GIGANTE Y ANCHO */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    z-index: 1000;
}
.nav-container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    padding: 1.6rem 0; /* Doble de espacio vertical */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
}

/* Logo en grande */
.logo-large {
    height: 75px; /* Logo el doble de grande */
    width: auto;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin: 0;
}

.brand-text span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-btn-subtle {
    background: var(--accent);
    color: #ffffff;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.nav-btn-subtle:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* MAIN CONTENT ADJUSTMENT */
.main-content {
    padding-top: 130px; /* Compensación por la altura del header gigante */
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-wa-compact {
    background: var(--accent);
    color: #ffffff;
    padding: 0.75rem 1.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.22);
    transition: all 0.25s ease;
}

.btn-wa-compact:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--card-border);
}

.btn-outline:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* LAYOUT & SECTIONS */
.section-container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    padding: 4.5rem 0;
}

.wide-section {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
}

/* HERO */
.hero-section {
    padding: 3rem 0 4rem 0;
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero-content h2 {
    font-size: clamp(2.2rem, 3.8vw, 3.3rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light) 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-pills {
    display: flex;
    gap: 1.5rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.hero-pills i { color: var(--accent); }

/* QR CARD */
.glass-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 2.2rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.bot-status { font-weight: 700; color: var(--accent); font-size: 0.88rem; }

.status-badge {
    background: rgba(37, 211, 102, 0.1);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
}

.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.qr-img-box {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 16px;
    display: inline-block;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.qr-img-box img { width: 170px; height: 170px; display: block; object-fit: contain; }

.qr-card h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }

.qr-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.2rem; }

.qr-phone-num { margin-top: 1rem; font-weight: 700; color: var(--primary); font-size: 0.9rem; }

/* TRUST BANNER */
.trust-banner {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto 3rem auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.trust-card {
    background: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.trust-card i { color: var(--primary-light); font-size: 1.2rem; }

/* FEATURE GRID */
.split-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    background: #fff;
    padding: 3.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
    align-items: center;
}

.split-info h2 { font-size: 2.1rem; margin-bottom: 1rem; }
.split-info p { color: var(--text-muted); line-height: 1.6; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

.f-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: transform 0.2s;
}

.f-item:hover { transform: translateY(-3px); }
.f-item i { display: block; color: var(--primary-light); font-size: 1.5rem; margin-bottom: 0.5rem; }

/* CARDS GRID */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 3rem auto;
}

.tag-title {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-header h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
.section-header p { color: var(--text-muted); }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.cards-grid.3-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card {
    background: #fff;
    padding: 2.2rem;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* DARK SECTION */
.dark-section {
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
    max-width: 1400px;
    width: 92%;
    margin: 3rem auto;
}

.dark-tag { color: #60a5fa; }
.section-header.dark h2 { color: #fff; }
.section-header.dark p { color: #94a3b8; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.2rem;
    border-radius: 20px;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.step-card h3 { color: #fff; margin-bottom: 0.5rem; }
.step-card p { color: #94a3b8; font-size: 0.95rem; }

/* BOT SHOWCASE WITH REAL CHAT */
.bot-showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.bot-info-copy h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.bot-description { color: var(--text-muted); line-height: 1.6; }

.check-list { list-style: none; margin: 1.5rem 0 2rem 0; }
.check-list li { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; font-weight: 500; }
.check-list i { color: var(--accent); }

/* CHAT MOCKUP FRAME */
.bot-mockup-wrapper {
    display: flex;
    justify-content: center;
}

.chat-mockup-frame {
    width: 100%;
    max-width: 420px;
    background: #efeae2;
    border-radius: 28px;
    border: 1px solid #d1d5db;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.wa-chat-header {
    background: #075e54;
    color: #ffffff;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-user-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
}

.wa-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wa-details strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
}

.wa-details span {
    font-size: 0.75rem;
    color: #25d366;
}

.wa-header-actions {
    display: flex;
    gap: 1.2rem;
    color: #ffffff;
    font-size: 1.05rem;
    opacity: 0.9;
}

.wa-chat-body {
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 310px;
    background-image: radial-gradient(#d1d5db 1px, transparent 1px);
    background-size: 16px 16px;
}

.wa-date-divider {
    text-align: center;
    margin: 0.4rem 0;
}

.wa-date-divider span {
    background: rgba(255, 255, 255, 0.85);
    color: #54656f;
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-weight: 600;
}

.wa-msg {
    max-width: 82%;
    padding: 0.6rem 0.8rem 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #111b21;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.wa-msg.received {
    background: #ffffff;
    align-self: flex-start;
    border-top-left-radius: 0;
}

.wa-msg.sent {
    background: #d9fdd3;
    align-self: flex-end;
    border-top-right-radius: 0;
}

.wa-time {
    display: block;
    font-size: 0.65rem;
    color: #667781;
    text-align: right;
    margin-top: 0.2rem;
}

.read-ticks {
    color: #53bdeb;
    margin-left: 2px;
}

.wa-chat-input-bar {
    background: #f0f2f5;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: #54656f;
    border-top: 1px solid #e9edef;
}

.wa-input-placeholder {
    flex: 1;
    background: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #8696a0;
}

.wa-send-btn {
    width: 34px;
    height: 34px;
    background: #00a884;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* QR FULL SECTION */
.qr-full-section {
    background: linear-gradient(135deg, #0f2b5c 0%, #020617 100%);
    color: #fff;
    padding: 4.5rem 2rem;
    text-align: center;
    border-radius: 30px;
    max-width: 1400px;
    width: 92%;
    margin: 3rem auto;
}

.qr-full-container h2 { font-size: 2.3rem; color: #fff; margin-bottom: 0.6rem; }
.qr-full-container p { color: #94a3b8; margin-bottom: 2rem; }

.qr-giant-box {
    background: #fff;
    padding: 1.5rem;
    border-radius: 24px;
    display: inline-block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    margin-bottom: 2rem;
}

.qr-giant-box img { width: 220px; height: 220px; display: block; object-fit: contain; }

/* FOOTER */
.footer {
    background: #09132b;
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
}

.footer-container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-col p { margin-top: 1rem; font-size: 0.9rem; }
.footer-col h4 { color: #fff; margin-bottom: 1.2rem; }

.footer-col a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent); }

.social-links { display: flex; gap: 0.8rem; }

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.social-links a:hover { background: var(--accent); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.85rem;
}

/* RESPONSIVO */
@media (max-width: 968px) {
    .nav-links, .nav-btn-subtle { display: none; }
    .hero-container, .split-box, .bot-showcase-container, .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .main-content {
        padding-top: 110px;
    }
    .logo-large {
        height: 55px;
    }
    .brand-text h1 {
        font-size: 1.1rem;
    }
}