/* ==========================================================================
   Vertical: Software POS para Almacenes Agropecuarios y Tiendas del Campo
   Estilos Aislados (Clean Code) — Jeloda V2
   ========================================================================== */

.agro-page {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

/* Badge Agro */
.badge-agro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    text-transform: uppercase;
}

.theme--light .badge-agro {
    background: rgba(5, 150, 105, 0.08);
    border-color: rgba(5, 150, 105, 0.25);
    color: #047857;
}

/* Gradiente Agro */
.text-agro-gradient {
    background: linear-gradient(135deg, #34d399 0%, #dfba55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.theme--light .text-agro-gradient {
    background: linear-gradient(135deg, #059669 0%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Botón CTA Agro */
.btn-agro-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    color: #061e12 !important;
    background: linear-gradient(135deg, #34d399 0%, #dfba55 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.35);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-agro-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
    color: #04140b !important;
}

/* Hero Stats Numbers */
.stat-number-agro {
    color: #34d399 !important;
}

.theme--light .stat-number-agro {
    color: #059669 !important;
}

/* Tarjetas de Producto Agro (Demo Menudeo / Lotes) */
.agro-product-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.theme--light .agro-product-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.agro-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.agro-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.theme--light .agro-card-icon {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.25);
    color: #059669;
}

.agro-card-icon i {
    font-size: 26px;
}

.agro-card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #dfba55;
    margin-bottom: 4px;
    display: block;
}

.agro-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.theme--light .agro-card-title {
    color: #0f172a;
}

.agro-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.theme--light .agro-card-row {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.agro-card-row:last-child {
    border-bottom: none;
}

.agro-row-label {
    color: #94a3b8;
}

.theme--light .agro-row-label {
    color: #64748b;
}

.agro-row-val {
    font-weight: 600;
    color: #e2e8f0;
}

.theme--light .agro-row-val {
    color: #1e293b;
}

.agro-badge-stock {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

.theme--light .agro-badge-stock {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.agro-badge-alert {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Mac Window Mockup */
.mac-window-frame {
    background: #0f172a;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    margin: 0 auto;
}

.mac-window-header {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mac-window-dots {
    display: flex;
    gap: 6px;
}

.mac-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.mac-dot-red { background: #ef4444; }
.mac-dot-yellow { background: #f59e0b; }
.mac-dot-green { background: #10b981; }

.mac-window-title {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mac-window-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Highlights Box */
.agro-highlights-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(16px);
}

.theme--light .agro-highlights-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* Testimonials Agro */
.agro-testimonial-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.theme--light .agro-testimonial-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* FAQ Accordion Agro */
.agro-faq-accordion .accordion-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.theme--light .agro-faq-accordion .accordion-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

.agro-faq-accordion .accordion-header {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 1.02rem;
    color: #f1f5f9;
    cursor: pointer;
    user-select: none;
}

.theme--light .agro-faq-accordion .accordion-header {
    color: #0f172a;
}

.agro-faq-accordion .accordion-header:hover {
    color: #34d399;
}

.agro-faq-accordion .accordion-body {
    padding: 0 22px 18px 22px;
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.94rem;
}

.theme--light .agro-faq-accordion .accordion-body {
    color: #475569;
}

/* Final CTA Agro */
.agro-cta-box {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 24px;
    padding: 48px 24px;
}

.theme--light .agro-cta-box {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.8) 0%, rgba(254, 252, 232, 0.7) 100%);
    border-color: rgba(5, 150, 105, 0.2);
}
