/* ==========================================================================
   Módulo: Sistema POS y Punto de Venta en Colombia (p/sistema-pos)
   Diseño Apple Minimalista / Cero badges saturados / Responsive
   ========================================================================== */

.sistema-pos-page {
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
}

/* ── Hero Section ── */
.spos-hero {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 4rem auto;
    padding-top: 1.5rem;
}

.spos-eyebrow {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #c9a84c;
    margin-bottom: 1.25rem;
}

.spos-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.theme--dark .spos-hero-title {
    color: #ffffff;
}

.theme--light .spos-hero-title {
    color: #0f172a;
}

.spos-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0 auto 2.25rem auto;
    max-width: 680px;
}

.theme--dark .spos-hero-subtitle {
    color: #a1a1a6;
}

.theme--light .spos-hero-subtitle {
    color: #475569;
}

.spos-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.spos-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(135deg, #e5c97b 0%, #c9a84c 100%);
    color: #0a0a0f !important;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
    transition: all 0.25s ease;
}

.spos-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5);
}

.spos-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.theme--dark .spos-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #f5f5f7 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.theme--dark .spos-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.theme--light .spos-btn-secondary {
    background: #f1f5f9;
    color: #0f172a !important;
    border: 1px solid #cbd5e1;
}

.theme--light .spos-btn-secondary:hover {
    background: #e2e8f0;
}

.spos-hero-trust-row {
    font-size: 0.85rem;
    color: #8e8e93;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.spos-hero-trust-row .dot {
    color: #c9a84c;
}

/* ── Tarjeta de Definición GEO / IA ── */
.spos-definition-card {
    max-width: 980px;
    margin: 0 auto 5rem auto;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    text-align: center;
}

.theme--dark .spos-definition-card {
    background: rgba(22, 22, 28, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.theme--light .spos-definition-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.spos-section-title {
    font-size: 2.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.25rem 0;
}

.theme--dark .spos-section-title {
    color: #ffffff;
}

.theme--light .spos-section-title {
    color: #0f172a;
}

.spos-geo-passage {
    font-size: 1.15rem;
    line-height: 1.65;
    margin: 0 auto 2.5rem auto;
    max-width: 780px;
    font-weight: 400;
}

.theme--dark .spos-geo-passage {
    color: #cbd5e1;
}

.theme--light .spos-geo-passage {
    color: #334155;
}

.spos-metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.theme--light .spos-metrics-strip {
    border-top: 1px solid #f1f5f9;
}

.spos-metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spos-metric-val {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #c9a84c;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.spos-metric-lbl {
    font-size: 0.82rem;
    line-height: 1.4;
    color: #8e8e93;
    max-width: 180px;
}

/* ── Hardware y Periféricos ── */
.spos-hardware-section {
    max-width: 1100px;
    margin: 0 auto 5.5rem auto;
}

.spos-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.spos-section-desc {
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
}

.theme--dark .spos-section-desc {
    color: #a1a1a6;
}

.theme--light .spos-section-desc {
    color: #64748b;
}

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

.spos-hw-card {
    padding: 2.25rem 2rem;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.theme--dark .spos-hw-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.theme--dark .spos-hw-card:hover {
    border-color: rgba(201, 168, 76, 0.35);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.theme--light .spos-hw-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.theme--light .spos-hw-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.spos-hw-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: rgba(201, 168, 76, 0.12);
    color: #c9a84c;
}

.spos-hw-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

.theme--dark .spos-hw-title {
    color: #ffffff;
}

.theme--light .spos-hw-title {
    color: #0f172a;
}

.spos-hw-text {
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.theme--dark .spos-hw-text {
    color: #a1a1a6;
}

.theme--light .spos-hw-text {
    color: #64748b;
}

/* ── Flujo de Trabajo (Steps) ── */
.spos-workflow-section {
    max-width: 1100px;
    margin: 0 auto 5.5rem auto;
}

.spos-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.spos-step-card {
    padding: 2rem 1.75rem;
    border-radius: 18px;
    position: relative;
}

.theme--dark .spos-step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme--light .spos-step-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.spos-step-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #c9a84c;
    margin-bottom: 1rem;
    line-height: 1;
}

.spos-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.theme--dark .spos-step-title {
    color: #ffffff;
}

.theme--light .spos-step-title {
    color: #0f172a;
}

.spos-step-text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.theme--dark .spos-step-text {
    color: #a1a1a6;
}

.theme--light .spos-step-text {
    color: #64748b;
}

/* ── Tabla Comparativa ── */
.spos-comparison-section {
    max-width: 980px;
    margin: 0 auto 5.5rem auto;
}

.spos-table-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.theme--light .spos-table-wrapper {
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.spos-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.spos-table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 700;
    font-size: 0.92rem;
}

.theme--dark .spos-table th {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.theme--light .spos-table th {
    background: #f8fafc;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.spos-table th.col-jeloda {
    color: #c9a84c !important;
}

.spos-table td {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme--dark .spos-table td {
    color: #a1a1a6;
}

.theme--light .spos-table td {
    border-bottom: 1px solid #f1f5f9;
    color: #64748b;
}

.spos-table td strong {
    color: inherit;
}

.theme--dark .spos-table td strong {
    color: #ffffff;
}

.theme--light .spos-table td strong {
    color: #0f172a;
}

.spos-table td.col-jeloda {
    background: rgba(201, 168, 76, 0.04);
    font-weight: 600;
    color: #c9a84c;
}

.theme--dark .spos-table td.col-jeloda {
    color: #e5c97b;
}

/* ── FAQ Acordeón ── */
.spos-faq-section {
    max-width: 820px;
    margin: 0 auto 5.5rem auto;
}

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

.spos-faq-item {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.theme--dark .spos-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.theme--light .spos-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.spos-faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    list-style: none;
    user-select: none;
}

.theme--dark .spos-faq-summary {
    color: #ffffff;
}

.theme--light .spos-faq-summary {
    color: #0f172a;
}

.spos-faq-summary::-webkit-details-marker {
    display: none;
}

.spos-chevron {
    transition: transform 0.25s ease;
    color: #8e8e93;
    flex-shrink: 0;
}

.spos-faq-item[open] .spos-chevron {
    transform: rotate(180deg);
    color: #c9a84c;
}

.spos-faq-body {
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.theme--dark .spos-faq-body {
    color: #a1a1a6;
}

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

.spos-faq-body p {
    margin: 0;
}

/* ── Bottom CTA ── */
.spos-bottom-cta {
    max-width: 980px;
    margin: 0 auto;
}

.spos-cta-card {
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(24, 24, 30, 0.9) 0%, rgba(38, 32, 18, 0.85) 100%);
    border: 1px solid rgba(201, 168, 76, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.theme--light .spos-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.spos-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.spos-cta-desc {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0 auto 2.25rem auto;
    max-width: 600px;
}

.spos-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.spos-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 26px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.spos-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

/* ── Responsividad ── */
@media (max-width: 992px) {
    .spos-hardware-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .spos-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .spos-metrics-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .spos-hero-title {
        font-size: 2.15rem;
    }
    .spos-section-title {
        font-size: 1.75rem;
    }
    .spos-definition-card {
        padding: 2rem 1.25rem;
    }
    .spos-hardware-grid {
        grid-template-columns: 1fr;
    }
    .spos-steps-grid {
        grid-template-columns: 1fr;
    }
    .spos-metrics-strip {
        grid-template-columns: 1fr;
    }
    .spos-cta-card {
        padding: 2.5rem 1.5rem;
    }
    .spos-cta-title {
        font-size: 1.75rem;
    }
    /* Transformación de tabla comparativa de sistema-pos a Tarjetas en móvil */
    .spos-table-wrapper {
        overflow-x: visible !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    .spos-table,
    .spos-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
    }
    .spos-table thead {
        display: none !important;
    }
    .spos-table tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        border-radius: 20px !important;
        padding: 18px 16px !important;
        transition: transform 0.2s ease !important;
    }
    .theme--dark .spos-table tr {
        background: rgba(22, 22, 28, 0.85) !important;
        border: 1px solid rgba(201, 168, 76, 0.2) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4) !important;
    }
    .theme--light .spos-table tr {
        background: #ffffff !important;
        border: 1px solid rgba(201, 168, 76, 0.25) !important;
        box-shadow: 0 10px 25px rgba(201, 168, 76, 0.06) !important;
    }
    .spos-table td {
        padding: 0 !important;
        border: none !important;
        width: 100% !important;
        text-align: left !important;
    }
    .spos-table td:first-child {
        font-size: 1.12rem !important;
        font-weight: 800 !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
    .theme--dark .spos-table td:first-child {
        color: #e5c97b !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .theme--light .spos-table td:first-child {
        color: #b45309 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    .spos-table td.col-jeloda {
        border-radius: 14px !important;
        padding: 12px 14px !important;
        margin-bottom: 10px !important;
        font-size: 0.95rem !important;
    }
    .theme--dark .spos-table td.col-jeloda {
        background: linear-gradient(135deg, rgba(201, 168, 76, 0.16) 0%, rgba(201, 168, 76, 0.04) 100%) !important;
        border: 1px solid rgba(201, 168, 76, 0.35) !important;
        color: #ffffff !important;
    }
    .theme--light .spos-table td.col-jeloda {
        background: linear-gradient(135deg, rgba(254, 243, 199, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
        border: 1px solid rgba(201, 168, 76, 0.3) !important;
        color: #78350f !important;
    }
    .spos-table td.col-jeloda::before {
        content: "★ SISTEMA POS JELODA (RECOMENDADO):";
        display: block;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
        color: #c9a84c;
    }
    .theme--light .spos-table td.col-jeloda::before {
        color: #b45309;
    }
    .spos-table td:nth-of-type(3) {
        border-radius: 12px !important;
        padding: 10px 12px !important;
        font-size: 0.88rem !important;
    }
    .theme--dark .spos-table td:nth-of-type(3) {
        background: rgba(255, 255, 255, 0.02) !important;
        color: rgba(255, 255, 255, 0.65) !important;
        border: 1px solid rgba(255, 255, 255, 0.04) !important;
    }
    .theme--light .spos-table td:nth-of-type(3) {
        background: rgba(0, 0, 0, 0.02) !important;
        color: rgba(0, 0, 0, 0.65) !important;
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
    }
    .spos-table td:nth-of-type(3)::before {
        content: "Sistemas POS Tradicionales:";
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        opacity: 0.75;
        margin-bottom: 4px;
    }
}

/* ==========================================================================
   Showcase Visual con Capturas Reales de la Aplicación (Apple Minimalist)
   ========================================================================== */
.spos-app-showcase, .inv-app-showcase, .nube-app-showcase, .mini-app-showcase {
  max-width: 1060px;
  margin: 0 auto 4.5rem auto;
  position: relative;
}

.app-window-frame {
  background: #151b28;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.theme--light .app-window-frame {
  background: #f8fafc;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.app-window-frame:hover {
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 168, 76, 0.25);
}

.app-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme--light .app-window-bar {
  background: rgba(241, 245, 249, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.app-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.app-window-dots .dot-red { background: #ff5f56; }
.app-window-dots .dot-yellow { background: #ffbd2e; }
.app-window-dots .dot-green { background: #27c93f; }

.app-window-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-family: monospace;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 1.25rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme--light .app-window-address {
  background: rgba(255, 255, 255, 0.85);
  color: #475569;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.app-window-badge {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-window-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.app-window-body {
  position: relative;
  background: #0b0f19;
  line-height: 0;
}

.app-window-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Secondary Feature Showcase Grid */
.app-feature-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3.5rem 0 2rem 0;
}

@media (max-width: 860px) {
  .app-feature-showcase-grid {
    grid-template-columns: 1fr;
  }
}

.app-showcase-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.theme--light .app-showcase-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.app-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.25);
}

.app-showcase-card-img-wrap {
  overflow: hidden;
  line-height: 0;
  background: #0f172a;
}

.app-showcase-card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.app-showcase-card:hover .app-showcase-card-img {
  transform: scale(1.02);
}

.app-showcase-card-body {
  padding: 1.5rem;
}

.app-showcase-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.theme--dark .app-showcase-card-title { color: #ffffff; }
.theme--light .app-showcase-card-title { color: #0f172a; }

.app-showcase-card-desc {
  font-size: 0.92rem;
  line-height: 1.6;
}

.theme--dark .app-showcase-card-desc { color: #94a3b8; }
.theme--light .app-showcase-card-desc { color: #475569; }
