/* =========================================================
   Caporal SG — Landing Page Styles
   ========================================================= */

:root {
    --navy:       #0A2540;
    --navy-light: #1a3a5c;
    --green:      #1B6B3A;
    --green-mid:  #2d8a50;
    --green-bright:#34A853;
    --accent:     #00C853;
    --white:      #ffffff;
    --light:      #F0F7F4;
    --gray-50:    #F8FAFC;
    --gray-100:   #F1F5F9;
    --gray-200:   #E2E8F0;
    --gray-400:   #94A3B8;
    --gray-600:   #475569;
    --text:       #1E293B;
    --text-light: #64748B;

    --font:       'Inter', system-ui, -apple-system, sans-serif;
    --radius:     12px;
    --radius-lg:  20px;
    --shadow:     0 4px 24px rgba(10, 37, 64, 0.08);
    --shadow-lg:  0 16px 48px rgba(10, 37, 64, 0.14);
    --transition: 0.25s ease;
}

/* =========================================================
   HERO SCREENSHOT
   ========================================================= */
.hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-screenshot {
    width: 100%;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.45));
    display: block;
}

/* =========================================================
   SOFTWARE SHOWCASE
   ========================================================= */
.showcase { background: var(--white); }

.showcase-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stab {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    border: 2px solid var(--gray-200);
    background: transparent;
    transition: all var(--transition);
    cursor: pointer;
    font-family: var(--font);
    white-space: nowrap;
}

.stab.active,
.stab:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.showcase-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.showcase-slide.active { display: flex; }

.showcase-slide img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.showcase-caption {
    color: var(--text-light);
    font-size: 0.92rem;
    text-align: center;
    max-width: 640px;
    line-height: 1.65;
}

/* =========================================================
   FIELD SECTION
   ========================================================= */
.field-section {
    background: var(--gray-50);
    padding: 96px 0;
}

.field-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.field-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}

.field-content .eyebrow { margin-bottom: 12px; }

.field-content h2 {
    color: var(--navy);
    margin-bottom: 20px;
}

.field-content > p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.field-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.field-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
}

.field-list span { font-size: 1.3rem; flex-shrink: 0; }

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

.gradient-text {
    background: linear-gradient(135deg, var(--green-bright) 0%, #00E5FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-lg { padding: 15px 32px; font-size: 1rem; }

.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-mid);
    border-color: var(--green-mid);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27, 107, 58, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--gray-200);
}
.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; border-radius: var(--radius); }

.link-btn {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: var(--font);
    padding: 0;
}

/* ---- SECTION HEADERS ---- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 12px;
}
.section-sub {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 16px auto 0;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 37, 64, 0.97);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}
.logo-icon { font-size: 1.5rem; }
.logo-text { font-size: 1.1rem; font-weight: 600; }
.logo-text strong { color: var(--green-bright); }

.logo-img {
    display: block;
    width: auto;
    height: 44px;
}

/* Pill blanco para el logo sobre fondos oscuros (navbar / footer) */
a.logo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 6px 14px;
    transition: background var(--transition);
}
a.logo:hover {
    background: rgba(255, 255, 255, 1);
}

.nav-links {
    display: flex;
    gap: 32px;
    margin-left: auto;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.nav-cta { margin-left: 16px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    margin-left: auto;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    background: var(--navy);
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(52, 168, 83, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 100, 200, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(52, 168, 83, 0.15);
    border: 1px solid rgba(52, 168, 83, 0.3);
    color: var(--green-bright);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title { color: var(--white); margin-bottom: 20px; }

.hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.hero-ctas .btn-outline {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.25);
}
.hero-ctas .btn-outline:hover {
    color: var(--white);
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

.hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.55);
    font-size: 0.82rem;
}
.hero-trust svg { color: var(--green-bright); flex-shrink: 0; }

/* MOCKUP */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; }

.mockup-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 380px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.3);
}

.mockup-header {
    background: rgba(255,255,255,0.07);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mockup-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F57; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #28C840; }
.mockup-title {
    color: rgba(255,255,255,0.5);
    font-size: 0.78rem;
    margin-left: 8px;
}

.mockup-body { padding: 20px; }

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.ms-item {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ms-icon { font-size: 1.3rem; }
.ms-val { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.ms-lbl { font-size: 0.65rem; color: rgba(255,255,255,0.4); }

.mockup-chart { margin-bottom: 16px; }
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 72px;
    margin-bottom: 6px;
}
.cb {
    flex: 1;
    height: var(--h);
    background: rgba(52, 168, 83, 0.35);
    border-radius: 4px 4px 0 0;
    transition: background var(--transition);
}
.cb.active { background: var(--green-bright); }
.chart-label { font-size: 0.7rem; color: rgba(255,255,255,0.35); text-align: center; }

.mockup-alert {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 200, 0, 0.1);
    border: 1px solid rgba(255, 200, 0, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}
.alert-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #FFBD2E;
    animation: pulse 1.5s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* Floating cards */
.hero-card-float {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 0.82rem;
    animation: float 4s ease-in-out infinite;
}
.hero-card-float span { font-size: 1.4rem; }
.hero-card-float strong { display: block; font-size: 0.85rem; color: var(--navy); }
.hero-card-float small { color: var(--text-light); }

.card-float-1 { bottom: -20px; left: -40px; animation-delay: 0s; }
.card-float-2 { top: 20px; right: -30px; animation-delay: 2s; }

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

/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 40px 0;
}
.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.45); margin-top: 6px; }
.stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,0.1); }

/* =========================================================
   FEATURES
   ========================================================= */
.features { background: var(--gray-50); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: var(--green);
    box-shadow: 0 12px 40px rgba(27, 107, 58, 0.1);
    transform: translateY(-4px);
}
.feature-icon-wrap {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
}
.feature-card h3 { margin-bottom: 8px; color: var(--navy); }
.feature-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.65; }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: var(--white); }

.steps {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}
.step-num {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-body h3 { color: var(--navy); margin-bottom: 8px; }
.step-body p { color: var(--text-light); font-size: 0.9rem; line-height: 1.65; }

.step-arrow {
    padding-top: 20px;
    color: var(--gray-200);
    flex-shrink: 0;
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing { background: var(--gray-50); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.pricing-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-included-banner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 16px 24px;
    margin-bottom: 36px;
    font-size: 0.82rem;
    font-weight: 600;
}

.pricing-addons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 28px;
    margin-top: 28px;
    padding: 18px 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--text-light);
}
.pricing-addons strong { color: var(--navy); }
.addon-item { color: var(--text); }

.pricing-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
}
.pricing-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.pricing-card.featured {
    border-color: var(--green);
    box-shadow: 0 12px 48px rgba(27, 107, 58, 0.15);
    transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.plan-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}
.price-curr { font-size: 1.2rem; font-weight: 700; color: var(--text-light); margin-top: 4px; }
.price-amt { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.price-per { font-size: 0.88rem; color: var(--text-light); }

.plan-feats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.plan-feats li {
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.plan-feats li::before {
    content: '';
    width: 16px; height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.plan-feats li.yes::before {
    content: '✓';
    background: var(--green);
    color: white;
    font-weight: 700;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.plan-feats li.no {
    color: var(--gray-400);
}
.plan-feats li.no::before {
    content: '×';
    background: var(--gray-200);
    color: var(--gray-400);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--white); }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.testimonial-card:hover {
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(27, 107, 58, 0.08);
}

.t-stars { color: #F59E0B; font-size: 0.95rem; margin-bottom: 12px; }

.testimonial-card p {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-bright) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.t-author strong { display: block; font-size: 0.88rem; color: var(--navy); }
.t-author span { font-size: 0.78rem; color: var(--text-light); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--gray-50); }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.faq-wrap .section-header { text-align: left; margin-bottom: 0; }

.faq-list { display: flex; flex-direction: column; gap: 4px; }

.faq-item {}
.faq-q {
    width: 100%;
    text-align: left;
    padding: 18px 20px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background var(--transition);
    background: transparent;
}
.faq-q:hover { background: var(--gray-100); }
.faq-item.open .faq-q { background: var(--white); color: var(--green); }

.faq-icon {
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform var(--transition);
    flex-shrink: 0;
    color: var(--green);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.2s;
}
.faq-item.open .faq-a { max-height: 300px; }

.faq-a p {
    padding: 4px 20px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
    background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
    padding: 96px 0;
}
.final-cta-inner {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}
.final-cta h2 { color: var(--white); margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 40px; line-height: 1.7; }
.final-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy); padding: 72px 0 0; }

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    padding-bottom: 56px;
}

.footer-brand .footer-logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.88rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social a { color: var(--green-bright); font-size: 0.88rem; font-weight: 600; }

.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.footer-col h4 {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    margin-bottom: 10px;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 0;
}
.footer-bottom p {
    color: rgba(255,255,255,0.3);
    font-size: 0.82rem;
    text-align: center;
}

/* =========================================================
   CHAT WIDGET
   ========================================================= */
.chat-widget {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    pointer-events: none;
}

.chat-toggle {
    width: 58px; height: 58px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(27, 107, 58, 0.45);
    transition: all var(--transition);
    position: relative;
    color: white;
    pointer-events: auto;
}
.chat-toggle:hover {
    background: var(--green-mid);
    transform: scale(1.08);
}

.ct-icon { transition: all var(--transition); }
.ct-icon.close { display: none; }

.chat-badge {
    position: absolute;
    top: -4px; right: -4px;
    width: 20px; height: 20px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.chat-panel {
    width: 360px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 520px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.chat-panel.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

.chat-header {
    background: var(--navy);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chat-avatar {
    width: 36px; height: 36px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.chat-agent-info strong { color: var(--white); font-size: 0.9rem; display: block; }
.chat-online { color: var(--green-bright); font-size: 0.72rem; }
.chat-close {
    color: rgba(255,255,255,0.5);
    padding: 4px;
    transition: color var(--transition);
}
.chat-close:hover { color: var(--white); }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}

.chat-msg { display: flex; flex-direction: column; }
.chat-msg.bot { align-items: flex-start; }
.chat-msg.user { align-items: flex-end; }

.msg-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.87rem;
    line-height: 1.55;
}
.chat-msg.bot .msg-bubble {
    background: var(--gray-100);
    color: var(--text);
    border-bottom-left-radius: 4px;
}
.chat-msg.user .msg-bubble {
    background: var(--green);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-typing .msg-bubble {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 14px 18px;
}
.typing-dot {
    width: 7px; height: 7px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingBounce 1.2s infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}
.quick-reply {
    background: var(--white);
    border: 1.5px solid var(--green);
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    transition: all var(--transition);
    cursor: pointer;
    font-family: var(--font);
}
.quick-reply:hover {
    background: var(--green);
    color: white;
}

.chat-input-wrap {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-200);
}
.chat-input {
    flex: 1;
    border: 1.5px solid var(--gray-200);
    border-radius: 50px;
    padding: 10px 16px;
    font-size: 0.87rem;
    font-family: var(--font);
    outline: none;
    transition: border-color var(--transition);
    color: var(--text);
}
.chat-input:focus { border-color: var(--green); }
.chat-input::placeholder { color: var(--gray-400); }

.chat-send {
    width: 40px; height: 40px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: all var(--transition);
}
.chat-send:hover { background: var(--green-mid); }
.chat-send:disabled { background: var(--gray-200); color: var(--gray-400); cursor: not-allowed; }

/* =========================================================
   SCROLL ANIMATIONS
   ========================================================= */
.animate-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.feature-card:nth-child(2) { transition-delay: 0.08s; }
.feature-card:nth-child(3) { transition-delay: 0.16s; }
.feature-card:nth-child(4) { transition-delay: 0.08s; }
.feature-card:nth-child(5) { transition-delay: 0.16s; }
.feature-card:nth-child(6) { transition-delay: 0.24s; }
.pricing-card:nth-child(2) { transition-delay: 0.1s; }
.pricing-card:nth-child(3) { transition-delay: 0.2s; }
.testimonial-card:nth-child(2) { transition-delay: 0.1s; }
.testimonial-card:nth-child(3) { transition-delay: 0.2s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero-ctas { justify-content: center; }
    .hero-trust { justify-content: center; }
    .field-inner { grid-template-columns: 1fr; gap: 48px; }

    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
    .pricing-card.featured { transform: none; }
    .testimonials-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px; left: 0; right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .stats-grid { flex-wrap: wrap; justify-content: center; }
    .stat-divider { display: none; }

    .features-grid { grid-template-columns: 1fr; }

    .steps { flex-direction: column; align-items: center; }
    .step-arrow { transform: rotate(90deg); }

    .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
    .faq-wrap .section-header { text-align: center; }

    .footer-cols { grid-template-columns: repeat(2, 1fr); }

    .chat-panel { width: calc(100vw - 48px); }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .final-cta-btns { flex-direction: column; }
    .final-cta-btns .btn { width: 100%; justify-content: center; }
    .footer-cols { grid-template-columns: 1fr; }
    .chat-widget { bottom: 16px; right: 16px; }
    .pricing-grid-4 { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
    .pricing-included-banner { font-size: 0.78rem; gap: 8px 16px; }
}

/* =========================================================
   Currency Toggle — USD / VES
   ========================================================= */
.currency-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
    margin: 28px auto 12px;
    gap: 2px;
}

.ctab {
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: var(--font);
    white-space: nowrap;
}

.ctab.active {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 10px rgba(10,37,64,0.12);
}

.ctab:not(.active):hover {
    color: var(--navy);
}

.bcv-rate-badge {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 28px;
}

.bcv-rate-badge strong {
    color: var(--green);
    font-weight: 700;
}

.bcv-rate-badge .bcv-loading {
    opacity: 0.6;
    font-style: italic;
}

/* VES price inside card */
.price-ves-wrap {
    display: none;
}

.price-ves-wrap .price-curr {
    font-size: 1.1rem;
}

.price-ves-wrap .price-amt {
    font-size: 2.4rem;
}

.price-usd-ref {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .ctab { padding: 9px 16px; font-size: 0.82rem; }
}

/* =========================================================
   FEATURE LIST (inside feature cards)
   ========================================================= */
.feat-list {
    margin-top: 16px;
    border-top: 1px solid var(--gray-200);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feat-list li {
    font-size: 0.83rem;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.feat-list li::before {
    content: '→';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 0.78rem;
    margin-top: 1px;
}

/* =========================================================
   REQUIREMENTS SECTION
   ========================================================= */
.requirements { background: var(--white); }

.req-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.req-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.req-highlight {
    border-color: var(--green);
    background: linear-gradient(135deg, rgba(27,107,58,0.04) 0%, var(--gray-50) 100%);
}

.req-icon { font-size: 2.4rem; flex-shrink: 0; line-height: 1; }

.req-body h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.05rem; }
.req-body > p { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; margin-bottom: 16px; }

.req-tip {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: rgba(27,107,58,0.07);
    border: 1px solid rgba(27,107,58,0.15);
    border-radius: var(--radius);
    padding: 12px 14px;
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.55;
}

.req-spec-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.req-spec-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.req-spec-item span:first-child { font-weight: 700; flex-shrink: 0; }

.req-spec-ok { color: var(--green); }
.req-spec-min { color: #D97706; }
.req-spec-no { color: #DC2626; }

@media (max-width: 768px) {
    .req-grid { grid-template-columns: 1fr; }
    .req-card { flex-direction: column; gap: 12px; }
}
